KeywordService provides operations for creating and managing keywords.
A keyword is a search term that you bid on and is associated with an ad group.
Create a keyword.
Capability required: CampaignWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keyword | Keyword | The new keyword. |
KeywordResponse - The response, which indicates if the operation succeeded or failed.
Create one or more keywords.
Capability required: CampaignWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywords | Keyword[] | A list of keyword objects. |
KeywordResponse[] - A list of responses, which indicate if the operations succeeded or failed.
Copy the keyword (specified by keywordID) to the ad group (specified by adGroupID).
Capability required: CampaignWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
| destinationAdGroupID | long | The ad group ID. |
| newSponsoredSearchMaxBid | double | The Sponsored Search maximum bid for the keyword. (For this parameter, you may pass in the null value.) |
KeywordResponse - The response, which indicates if the operation succeeded or failed.
Delete the keyword (specified by keywordID).
Capability required: CampaignWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
BasicResponse - The response, which indicates if the operation succeeded or failed.
Delete one or more keywords (specified by the list of keywordIDs).
Capability required: CampaignWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywordIDs | long[] | A list of keyword IDs. |
BasicResponse[] - A list of responses, which indicate if the operations succeeded or failed.
Return the editorial reason code for the keyword or updated keyword (specified by keywordID). Once you have the code, use the getEditorialReasonText operation to return the corresponding text.
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
KeywordEditorialReasons - The editorial reason codes.
Return the editorial reason text for the editorial reason code
(specified by editorialReasonCode) in a given language (specified by locale).
The editorial reason text provides reasons why the keyword was rejected
or suspended, and may also provide feedback to improve the quality of the keyword.
See also:
Editorial Reason Text and
Editorial Suggestion Text
Capability required: CampaignRead
License command group: AdvancedTools
| Parameter | Data Type | Description |
|---|---|---|
| editorialReasonCode | int | The editorial reason code. |
| locale | string | The locale is the language code plus the country code, separated by an underscore. The default locale is en_US for US English (see Market-Specific Values). Note that translations for some locales may not be available. (For this parameter, you may pass in the null string.) |
string - The editorial reason text.
Return the keyword (specified by keywordID).
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
Keyword - The keyword.
Return one or more keywords (specified by the list of keywordIDs).
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywordIDs | long[] | A list of keyword IDs. |
Keyword[] - A list of keywords.
Return the keywords for the account (specified by accountID).
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| accountID | string | The account ID. |
| includeDeleted | boolean | If true, include the deleted keywords. |
| startElement | int | The first element to be returned (0-based; if a value <= 0 is entered, will default to 0). |
| numElements | int | The number of elements to be returned (1000 maximum; if a value <=0 is entered, will default to 1000). |
Keyword[] - A list of keywords for the specified account.
Return the keywords for the ad group (specified by adGroupID) that are or are not participating in the marketplace.
Added in: Version 4.0.0
Capability required: Research
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| adGroupID | long | The ad group ID. |
| participatesInMarketplace | boolean | If true, return the ads that are
participating in the marketplace. If false, return the ads that are not participating in the marketplace. |
Keyword[] - A list of keywords for the specified ad group.
Return the keywords in the ad group (specified by adGroupID) with the Sponsored Search bid status (specified by BidStatus).
Added in: Version 4.0.0
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| adGroupID | long | The ad group ID. |
| sponsoredSearchBidStatus | BidStatus | The bid status. |
Keyword[] - A list of keywords with the specified Sponsored Search bid status.
Return the keywords for the ad group (specified by adGroupID).
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| adGroupID | long | The ad group ID. |
| includeDeleted | boolean | If true, include the deleted keywords. |
| startElement | int | The first element to be returned (0-based; if a value <=0 is entered, will default to 0). |
| numElements | int | The number of elements to be returned (1000 maximum; if a value <=0 is entered, will default to 1000). |
Keyword[] - A list of keywords for the specified ad group.
Return the keywords with the indicated editorial status for the
ad group (specified by adGroupID). Possible settings for "update" are:
| update | status | Return |
|---|---|---|
| true | Pending | Return all updated keywords that are waiting for editorial review. |
| true | Rejected | Return all updated keywords that were rejected editorial review. |
| false | Pending | Return all keywords that are waiting for editorial review. |
| false | Approved | Return all keywords that are approved. |
| false | Rejected | Return all keywords that are rejected. |
| false | Suspended | Return all keywords that are suspended. |
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| adGroupID | long | The ad group ID. |
| update | boolean | True or false (see the table above). |
| status | EditorialStatus | The editorial status. |
| includeDeleted | boolean | If true, include the deleted keywords. |
Keyword[] - A list of keywords with the indicated editorial status for the specified ad group.
Return the keywords with the indicated status for the ad group (specified by adGroupID).
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| adGroupID | long | The ad group ID. |
| status | KeywordStatus | The keyword status. |
| startElement | int | The first element to be returned (0-based; if a value <=0 is entered, will default to 0). |
| numElements | int | The total number of elements to be returned (1000 maximum; if a value <=0 is entered, will default to 1000). |
Keyword[] - A list of keywords with the indicated status for the specified ad group.
Return the maximum bid for Sponsored Search for the keyword (specified by keywordID).
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
double - maxBid The maximum bid for Sponsored Search.
Return the optimization guidelines for the keyword (specified by keywordID).
Capability required: CampaignRead
License command group: CampaignOptimization
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
KeywordOptimizationGuidelines - The optimization guidelines for the keyword.
Return the reasons why the keyword (specified by keywordID) is not participating in the marketplace.
Added in: Version 4.0.0
Capability required: Research
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
NotParticipatingInMarketplaceReason[] - A list of one or more reasons.
Return the Sponsored Search minimum bid for the optimization guidelines and the ad group (specified by adGroupID).
Added in: Version 4.0.0
Capability required: CampaignRead
License command group: CampaignOptimization
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
double - The minimum bid for Sponsored Search.
Return the Sponsored Search minimum bid for the keyword string (specified by sponsoredSearchMinBidRequest).
Added in: Version 4.0.0
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| sponsoredSearchMinBidRequest | SponsoredSearchMinBidRequest | The keyword string and ad group ID (optional). |
double - The Sponsored Search minimum bid.
Return the Sponsored Search minimum bids for the keyword strings (specified by sponsoredSearchMinBidRequests).
Added in: Version 4.0.0
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| sponsoredSearchMinBidRequests | SponsoredSearchMinBidRequest[] | A list of keyword strings and ad group IDs (optional). |
double[] - A list of Sponsored Search minimum bids.
Return the Sponsored Search minimum bid and other information for the keywords in the ad group (specified by AdGroupID). The bid values represent the updates, if any, made on the previous day.
Added in: Version 4.0.0
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| adGroupId | long | The ad group ID. |
| bidStatus | BidStatus | The bid status. |
BidUpdateInfo[] - A list of updated bid information for the keywords in the ad group.
Return the status of the keyword (specified by keywordID).
Capability required: CampaignRead
License command group: AdvancedTools
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
KeywordStatus - The status of the keyword.
Return the update for the keyword (specified by keywordID).
Capability required: CampaignRead
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
UpdateForKeyword - The update for the keyword.
Move the keyword (specified by keywordID) to the ad group (specified by adGroupID).
Capability required: CampaignWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
| destinationAdGroupID | long | The ad group ID. |
| newSponsoredSearchMaxBid | double | The Sponsored Search maximum bid for the keyword. (For this parameter, you may pass in the null value.) |
BasicResponse - The response, which indicates if the operation succeeded or failed.
Set the URL for the keyword (specified by keywordID).
Capability required: CampaignWrite
License command group: AdvancedTools
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
| url | string | The keyword URL. |
KeywordResponse - The response, which indicates if the operation succeeded or failed.
Set the optimization guidelines for the keyword.
Capability required: CampaignWrite
License command group: CampaignOptimization
| Parameter | Data Type | Description |
|---|---|---|
| optimizationGuidelines | KeywordOptimizationGuidelines | The optimization guidelines for the keyword. |
KeywordOptimizationGuidelinesResponse - The response, which indicates if the operation succeeded or failed.
Update a keyword.
Capability required: CampaignWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keyword | Keyword | The keyword. |
| updateAll | boolean | If true, the system performs a full update.
All elements are updated. If you pass in the null value or omit an element,
the current value is cleared.
If false, the system performs a partial update. Only those elements you specify are updated. If you pass in the null value or omit an optional element, the current value is not changed. |
KeywordResponse - The response, which indicates if the operation succeeded or failed.
Update one or more keywords.
Capability required: CampaignWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywords | Keyword[] | A list of keywords. |
| updateAll | boolean | If true, the system performs a full update.
All elements are updated. If you pass in the null value or omit an element,
the current value is cleared.
If false, the system performs a partial update. Only those elements you specify are updated. If you pass in the null value or omit an optional element, the current value is not changed. |
KeywordResponse[] - A list of responses, which indicate if the operations succeeded or failed.
Update the Sponsored Search maximum bid for the keyword (specified by keywordID).
Capability required: CampaignWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
| maxBid | double | The Sponsored Search maximum bid. |
KeywordResponse - The response, which indicates if the operation succeeded or failed.
Update the Sponsored Search maximum bid for one or more keywords (specified by the list of keywordIDs).
Capability required: CampaignWrite
License command group: Marketing
| Parameter | Data Type | Description |
|---|---|---|
| keywordIDs | long[] | A list of keyword IDs. |
| maxBids | double[] | A list of Sponsored Search maximum bids. |
KeywordResponse[] - A list of responses, which indicate if the operations succeeded or failed.
Set the status for the keyword (specified by keywordID).
Capability required: CampaignWrite
License command group: AdvancedTools
| Parameter | Data Type | Description |
|---|---|---|
| keywordID | long | The keyword ID. |
| status | KeywordStatus | The new keyword status. You can set the status to On or Off, but not Deleted. (To delete a keyword, use the deleteKeyword operation.) |
KeywordResponse - The response, which indicates if the operation succeeded or failed.
Set the status for one or more keywords (specified by the list of keywordIDs).
Capability required: CampaignWrite
License command group: AdvancedTools
| Parameter | Data Type | Description |
|---|---|---|
| keywordIDs | long[] | A list of keyword IDs. |
| status | KeywordStatus | The new keyword status. You can set the status to On or Off, but not Deleted. (To delete one or more keywords, use the deleteKeywords operation.) |
KeywordResponse[] - A list of responses, which indicate if the operations succeeded or failed.