AdService
AdService provides operations for creating and managing ads.
An ad is a message about your products or services and is associated with
an ad group.
Operations
addAdCreate an ad.
Capability required: CampaignWrite
Parameters
ResponseAdResponse - The response, which indicates if the operation succeeded or failed. addAdsCreate one or more ads.
Capability required: CampaignWrite
Parameters
ResponseAdResponse[] - A list of responses, which indicate if the operations succeeded or failed. Sample Code
deleteAdDelete an ad (specified by adID).
Capability required: CampaignWrite
Parameters
ResponseBasicResponse - The response, which indicates if the operation succeeded or failed. deleteAdsDelete one or more ads (specified by the list of adIDs).
Capability required: CampaignWrite
Parameters
ResponseBasicResponse[] - A list of responses, which indicate if the operations succeeded or failed. getAdReturn an ad (specified by adID).
Capability required: CampaignRead
Parameters
ResponseAd - The ad. getAdsReturn one or more ads (specified by the list of adIDs).
Capability required: CampaignRead
Parameters
ResponseAd[] - A list of ads. getAdsByAdGroupByParticipatesInMarketplaceReturn the ads for the ad group (specified by adGroupID) that are or are not participating in the marketplace.
Capability required: CampaignRead
Parameters
ResponseAd[] - A list of ads for the specified ad group. getAdsByAdGroupIDReturn the ads for the ad group (specified by adGroupID).
Capability required: CampaignRead
Parameters
ResponseAd[] - A list of ads for the specified ad group. getAdsByAdGroupIDByEditorialStatus
Return the ads with the indicated editorial status for the
ad group (specified by adGroupID). Possible settings for "update" are:
Capability required: CampaignRead
Parameters
ResponseAd[] - The list of ads with the indicated editorial status for the specified ad group. getAdsByAdGroupIDByStatusReturn the ads with the indicated status for the ad group (specified by adGroupID).
Capability required: CampaignRead
Parameters
ResponseAd[] - The list of ads with the indicated status for the specified ad group. getEditorialReasonsForAdReturn the editorial reason code for the ad or updated ad (specified by adID). Once you have the code, use the getEditorialReasonText operation to return the corresponding text.
Capability required: CampaignRead
Parameters
ResponseAdEditorialReasons - The editorial reason codes. getEditorialReasonText
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 an ad was rejected
or suspended, and may also provide feedback to improve the quality of the ad.
Capability required: CampaignRead
Parameters
Responsestring - The editorial reason text. getReasonsForAdNotParticipatingInMarketplaceReturn the reasons why the ad (specified by adID) is not participating in the marketplace.
Capability required: CampaignRead
Parameters
ResponseNotParticipatingInMarketplaceReason[] - A list of one or more reasons. getStatusForAdReturn the status of the ad (specified by adID).
Capability required: CampaignRead
Parameters
ResponseAdStatus - The status of the ad. getUpdateForAdReturn the update for the ad (specified by adID).
Capability required: CampaignRead
Parameters
ResponseUpdateForAd - The update for the ad. setAdUrlSet the URL for the ad (specified by adID).
Capability required: CampaignWrite
Parameters
ResponseAdResponse - The response, which indicates if the operation succeeded or failed. updateAdUpdate an ad.
Capability required: CampaignWrite
Parameters
ResponseAdResponse - The response, which indicates if the operation succeeded or failed. updateAdsUpdate one or more ads.
Capability required: CampaignWrite
Parameters
ResponseAdResponse[] - A list of responses, which indicate if the operations succeeded or failed. updateStatusForAdUpdate the status of an ad (specified by adID).
Capability required: CampaignWrite
Parameters
ResponseAdResponse - The response, which indicates if the operation succeeded or failed. updateStatusForAdsUpdate the status of one or more ads (specified by the list of adIDs).
Capability required: CampaignWrite
Parameters
ResponseAdResponse[] - A list of responses, which indicate if the operations succeeded or failed. |