AdGroupService
AdGroupService provides operations for creating and managing ad groups.
An ad group is a collection of related ads and keywords and is associated
with a campaign.
Operations
addAdGroupCreate an ad group.
Capability required: CampaignWrite
Parameters
ResponseAdGroupResponse - The response, which indicates if the operation succeeded or failed, and the ad group. Sample Code
addAdGroupsCreate a list of ad groups.
Capability required: CampaignWrite
Parameters
ResponseAdGroupResponse[] - A list of responses, which indicate if the operations succeeded or failed, and the list of ad groups. deleteAdGroupDelete an ad group.
Capability required: CampaignWrite
Parameters
ResponseBasicResponse - The response, which indicates if the operation succeeded or failed. deleteAdGroupsDelete a list of ad groups.
Capability required: CampaignWrite
Parameters
ResponseBasicResponse[] - A list of responses, which indicate if the operations succeeded or failed. getAdGroupReturn an ad group.
Capability required: CampaignRead
Parameters
ResponseAdGroup - The ad group. getAdGroupAdCountReturn the number of ads in an ad group.
Capability required: CampaignRead
Parameters
Responselong - The number of ads in the ad group. getAdGroupContentMatchMaxBidReturn the maximum bid for Content Match® for an ad group.
Capability required: CampaignRead
Parameters
Responsedouble - The maximum bid for Content Match in the specified ad group. getAdGroupExcludedWordsCountReturn the number of excluded words for an ad group.
Capability required: CampaignRead
Parameters
Responselong - The number of excluded words for the ad group. getAdGroupKeywordCountReturn the number of keywords for an ad group.
Capability required: CampaignRead
Parameters
Responselong - The number of keywords for the ad group. getAdGroupsReturn one or more ad groups (specified by adGroupIDs).
Capability required: CampaignRead
Parameters
ResponseAdGroup[] - The list of ad groups. getAdGroupsByCampaignIDReturn the ad groups for a campaign (specified by campaignID).
Capability required: CampaignRead
Parameters
ResponseAdGroup[] - The list of ad groups for the specified campaign. getAdGroupsByCampaignIDByStatusReturn the ad groups with the indicated status for the campaign (specified by campaignID).
Capability required: CampaignRead
Parameters
ResponseAdGroup[] - The list of ad groups with the indicated status for the specified campaign. getAdGroupSponsoredSearchMaxBidReturn the maximum bid for Sponsored Search for the ad group (specified by adGroupID).
Capability required: CampaignRead
Parameters
Responsedouble - The maximum bid for Sponsored Search. getContentMatchMinBidForAdGroupOptimizationGuidelinesReturn the Content Match® minimum bid for the optimization guidelines of the ad group (specified by adGroupID).
Capability required: CampaignRead
Parameters
Responsedouble - The minimum bid for Content Match. getOptimizationGuidelinesForAdGroupReturn the optimization guidelines for the ad group (specified by adGroupID).
Capability required: CampaignRead
Parameters
ResponseAdGroupOptimizationGuidelines - The optimization guidelines for the ad group. getSponsoredSearchMinBidForAdGroupReturn the minimum bid for Sponsored Search for the ad group (specified by adGroupID).
Capability required: CampaignRead
Parameters
Responsedouble - The minimum bid for Sponsored Search. getSponsoredSearchMinBidForAdGroupOptimizationGuidelinesReturn the Sponsored Search minimum bid for the optimization guidelines of the ad group (specified by adGroupID).
Capability required: CampaignRead
Parameters
Responsedouble - The minimum bid for Sponsored Search. getSponsoredSearchMinBidForAdGroupsReturn the minimum bids for Sponsored Search for the list of ad groups (specified by adGroupIDs).
Capability required: CampaignRead
Parameters
Responsedouble[] - The minimum bids for Sponsored Search. getStatusForAdGroupReturn the status of the ad group (specified by adGroupID).
Capability required: CampaignRead
Parameters
ResponseAdGroupStatus - The ad group status. moveAdGroupMove the ad group (specified by adGroupdID) to the campaign (specified by destinationCampaignID).
Capability required: CampaignWrite
Parameters
ResponseBasicResponse - The response, which indicates if the operation succeeded or failed. setAdGroupContentMatchMaxBidSet the maximum bid for Content Match® for the ad group (specified by AdGroupID).
Capability required: CampaignWrite
Parameters
ResponseAdGroupResponse - The response, which indicates if the operation succeeded or failed. setAdGroupSponsoredSearchMaxBidSet the maximum bid for Sponsored Search for the ad group (specified by AdGroupID).
Capability required: CampaignWrite
Parameters
ResponseAdGroupResponse - The response, which indicates if the operation succeeded or failed. setOptimizationGuidelinesForAdGroupSet the optimization guidelines for the ad group.
Capability required: CampaignWrite
Parameters
ResponseAdGroupOptimizationGuidelinesResponse - The response, which indicates if the operation succeeded or failed. splitAdGroupBasedOnTacticSplit the ad group into multiple ad groups — one for each tactic (CM and SS).
The split is performed ONLY if:
After the split, the original ad group's status is paused.
Capability required: CampaignWrite
Parameters
ResponseAdGroup[] - The new ad groups after the split. There will be 3 ad groups — the original ad group, a replica of the original ad group for Sponsored Search, and another replica of the original ad group for Content Match. After the split, the new ad groups' names will include the tactic type (SS and CM) appended to the original name. updateAdGroupUpdate an ad group.
Capability required: CampaignWrite
Parameters
ResponseAdGroupResponse - The response, which indicates if the operation succeeded or failed. updateAdGroupsUpdate one or more ad groups.
Capability required: CampaignWrite
Parameters
ResponseAdGroupResponse[] - A list of responses, which indicate if the operations succeeded or failed. updateStatusForAdGroupUpdate the status of the ad group (specified by adGroupID).
Capability required: CampaignWrite
Parameters
ResponseAdGroupResponse - The response, which indicates if the operation succeeded or failed. updateStatusForAdGroupsUpdate the status of one or more ad groups (specified by the list of adGroupIDs).
Capability required: CampaignWrite
Parameters
ResponseAdGroupResponse[] - A list of responses, which indicate if the operations succeeded or failed. |