CampaignCriteria
Create, Read or Delete negative criteria in campaign-level.
Table Specific Information
Select
The 本製品 will use the Yahoo! Ads API to process WHERE clause conditions built with the following column and operator. The AccountId is required to make a request and the rest of the filter is executed client-side within the 本製品.
- AccountId supports the '='.
- CampaignId supports the '=,IN'.
- CriterionId supports the '=,IN'.
- Use supports the '=,IN'.
For example:
SELECT * FROM CampaignCriteria WHERE AccountId = '1234339' SELECT * FROM CampaignCriteria WHERE AccountId = '1234339' AND CriterionId IN ('89745') SELECT * FROM CampaignCriteria WHERE AccountId = '1234339' AND Use IN ('NEGATIVE')
INSERT
Insert can be executed by specifying the AccountId, CampaignId, CriterionCriterionType, CriterionKeywordKeywordMatchType, CriterionKeywordText and Use columns. The columns that are not read-only can be inserted optionally. Following is an example of how to insert into this table
INSERT INTO CampaignCriteria (AccountId, CampaignId, CriterionType, KeywordKeywordMatchType, KeywordText, Use) VALUES ('1234339', 1833923, 'KEYWORD', 'PHRASE', 'NEGATIVE', 'NEGATIVE')
DELETE
Delete can be executed by specifying the AccountId, CampaignId, CriterionCriterionId, CriterionCriterionType and Use in the WHERE Clause.
For example:
DELETE FROM CampaignCriteria WHERE AccountId = '1234339' AND CampaignId = '1833923' AND CriterionId = '128702426' AND CriterionType = 'KEYWORD' AND Use = 'NEGATIVE'
Columns
Name | Type | ReadOnly | References | Description |
CriterionId [KEY] | Int64 | True |
CampaignCriterionServiceCriterion ID. | |
AccountId | Int64 | False |
SearchAdsAccounts.AccountId |
Account ID. |
CampaignId | Int64 | False |
SearchAdsCampaigns.CampaignId |
Campaign ID. |
CampaignName | String | False |
Campaign name. | |
CriterionTrackId | Int64 | False |
Track ID. | |
CriterionType | String | False |
Displays the type of criteria. 使用できる値は次のとおりです。KEYWORD, UNKNOWN | |
KeywordKeywordMatchType | String | False |
Describes keyword match type. This field is required when criterionType is 'KEYWORD'. 使用できる値は次のとおりです。EXACT, PHRASE, BROAD, UNKNOWN | |
KeywordText | String | False |
CampaignCriterionServiceKeyword element. Maximum of 80 letters, 10 word. This field is required when criterionType is 'KEYWORD'. | |
Use | String | False |
Describes the criteria to be selected. 使用できる値は次のとおりです。NEGATIVE, UNKNOWN |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
ReferenceNumber | String |
This column will be used in Bulk operations to get specific values from the Temp tables. |