Update ad groups
Update multiple existing ad groups.
Path parameters
Unique identifier of an ad account.
Request body
Example request
[
{
"billable_event": "CLICKTHROUGH",
"budget_type": "DAILY",
"pacing_delivery_type": "STANDARD",
"placement_group": "ALL",
"status": "ACTIVE",
"targeting_spec": {
"SHOPPING_RETARGETING": [
{
"lookback_window": 30,
"exclusion_window": 14,
"tag_types": [
0,
6
]
}
]
},
"targeting_spec_operations": [
{
"values": [
{
"lookback_window": 30,
"exclusion_window": 14,
"tag_types": [
0,
6
]
}
]
}
],
"tracking_urls": {
"impression": [
"URL1",
"URL2"
],
"click": [
"URL1",
"URL2"
],
"engagement": [
"URL1",
"URL2"
],
"buyable_button": [
"URL1",
"URL2"
],
"audience_verification": [
"URL1",
"URL2"
]
}
}
]Response
The request has succeeded.
Example response
{
"items": [
{
"data": {
"billable_event": "CLICKTHROUGH",
"placement_group": "ALL",
"status": "ACTIVE",
"targeting_spec": {
"SHOPPING_RETARGETING": [
{
"lookback_window": 30,
"exclusion_window": 14,
"tag_types": [
0,
6
]
}
]
},
"tracking_urls": {
"impression": [
"URL1",
"URL2"
],
"click": [
"URL1",
"URL2"
],
"engagement": [
"URL1",
"URL2"
],
"buyable_button": [
"URL1",
"URL2"
],
"audience_verification": [
"URL1",
"URL2"
]
}
},
"exceptions": [
{
"code": 2,
"message": "Advertiser not found."
}
]
}
]
}Changes
Changed in 14 of the 29 revisions of this API.1615102
- ▲
added the new required request property
items/idnew-required-request-property
- ●
removed
AdGroupCommonsubschema #2from theitems/request propertyallOflistrequest-property-all-of-removed
- ○
added the new optional request property
items/auto_targeting_enablednew-optional-request-property
- ○
added the new optional request property
items/bid_in_micro_currencynew-optional-request-property
- ○
added the new optional request property
items/bid_multipliernew-optional-request-property
- ○
added the new optional request property
items/bid_strategy_typenew-optional-request-property
- ○
added the new optional request property
items/billable_eventnew-optional-request-property
- ○
added the new optional request property
items/budget_in_micro_currencynew-optional-request-property
- ○
added the new optional request property
items/budget_typenew-optional-request-property
- ○
added the new optional request property
items/campaign_idnew-optional-request-property
- ○
added the new optional request property
items/customer_segment_idnew-optional-request-property
- ○
added the new optional request property
items/end_timenew-optional-request-property
- ○
added the new optional request property
items/ext_featuresnew-optional-request-property
- ○
added the new optional request property
items/feed_profile_idnew-optional-request-property
- ○
added the new optional request property
items/is_creative_optimizationnew-optional-request-property
- ○
added the new optional request property
items/is_local_inventorynew-optional-request-property
- ○
added the new optional request property
items/lifetime_frequency_capnew-optional-request-property
- ○
added the new optional request property
items/local_inventory_radius_in_milesnew-optional-request-property
- ○
added the new optional request property
items/namenew-optional-request-property
- ○
added the new optional request property
items/optimization_goal_metadatanew-optional-request-property
- ○
added the new optional request property
items/pacing_delivery_typenew-optional-request-property
- ○
added the new optional request property
items/performance_plus_campaign_settingsnew-optional-request-property
- ○
added the new optional request property
items/placement_groupnew-optional-request-property
- ○
added the new optional request property
items/placement_traffic_typenew-optional-request-property
- ○
added the new optional request property
items/promotion_application_levelnew-optional-request-property
- ○
added the new optional request property
items/promotion_idnew-optional-request-property
- ○
added the new optional request property
items/promotion_idsnew-optional-request-property
- ○
added the new optional request property
items/start_timenew-optional-request-property
- ○
added the new optional request property
items/statusnew-optional-request-property
- ○
added the new optional request property
items/targeting_specnew-optional-request-property
- ○
added the new optional request property
items/targeting_spec_operationsnew-optional-request-property
- ○
added the new optional request property
items/targeting_template_idsnew-optional-request-property
- ○
added the new optional request property
items/tracking_urlsnew-optional-request-property
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
added the non-success response with the status
404response-non-success-status-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
added the optional property
items/items/data/auto_targeting_enabledto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/bid_multiplierto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/budget_typeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/pacing_delivery_typeto the response with the200statusresponse-optional-property-added
- ○
added
AdGroupBaseto theitems/items/dataresponse propertyallOflist for the response status200response-property-all-of-added
- ○
removed
AdGroupCommonsubschema #2from theitems/items/dataresponse propertyallOflist for the response status200response-property-all-of-removed
- ○
the response property
itemsbecame required for the status200response-property-became-required
- ○
the response property
items/items/exceptions/items/messagebecame required for the status200response-property-became-required
This revision also has 182 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
items/items/data/allOf[AdGroupCommon]/targeting_spec/AUDIENCE_EXCLUDE/items/response property's minItems was decreased from100to0for the response status200response-property-min-items-decreased
- ▲
the
items/items/data/allOf[AdGroupCommon]/targeting_spec/AUDIENCE_INCLUDE/items/response property's minItems was decreased from100to0for the response status200response-property-min-items-decreased
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/MAXIMUM_AGEnew-optional-request-property
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/MINIMUM_AGEnew-optional-request-property
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/MAXIMUM_AGEto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/MINIMUM_AGEto the response with the200statusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the new optional request property
items/allOf[AdGroupCommon]/optimization_goal_metadata/allOf[OptimizationGoalMetadata]/conversion_tag_v3_goal_metadata/reporting_eventnew-optional-request-property
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/optimization_goal_metadata/allOf[OptimizationGoalMetadata]/conversion_tag_v3_goal_metadata/reporting_eventto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the new optional request property
items/allOf[AdGroupCommon]/promotion_application_levelnew-optional-request-property
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/promotion_application_levelto the response with the200statusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
the
items/allOf[AdGroupCommon]/optimization_goal_metadata/allOf[OptimizationGoalMetadata]/frequency_goal_metadata/frequencyrequest property's max was set to20.00request-property-max-set
- ●
the
items/allOf[AdGroupCommon]/optimization_goal_metadata/allOf[OptimizationGoalMetadata]/frequency_goal_metadata/frequencyrequest property's min was set to2.00request-property-min-set
- ●
added the new
19+enum value to theitems/items/data/allOf[AdGroupCommon]/targeting_spec/AGE_BUCKET/items/response property for the response status200response-property-enum-value-added
- ●
added the new
20+enum value to theitems/items/data/allOf[AdGroupCommon]/targeting_spec/AGE_BUCKET/items/response property for the response status200response-property-enum-value-added
- ○
added the new optional request property
items/allOf[AdGroupCommon]/is_creative_optimizationnew-optional-request-property
- ○
added the new optional request property
items/allOf[AdGroupCommon]/promotion_idnew-optional-request-property
- ○
added the new optional request property
items/allOf[subschema #2]/bid_multipliernew-optional-request-property
- ○
added the new
19+enum value to the request propertyitems/allOf[AdGroupCommon]/targeting_spec/AGE_BUCKET/items/request-property-enum-value-added
- ○
added the new
20+enum value to the request propertyitems/allOf[AdGroupCommon]/targeting_spec/AGE_BUCKET/items/request-property-enum-value-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/is_creative_optimizationto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/promotion_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[subschema #2]/bid_multiplierto the response with the200statusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
the
items/request property type/format changed from/toobject/request-property-type-changed
- ●
removed the request property
items/allOf[AdGroupCommon]/targeting_spec/AUDIENCE_INCLUDE'request-property-removed
- ●
removed the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/AUDIENCE_INCLUDE'from the response with the200statusresponse-optional-property-removed
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/AUDIENCE_INCLUDEnew-optional-request-property
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_template_idsnew-optional-request-property
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/AUDIENCE_INCLUDEto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_template_idsto the response with the200statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
DELETED_DRAFTenum value to theitems/items/data/allOf[AdGroupCommon]/status/allOf[EntityStatus]/response property for the response status200response-property-enum-value-added
- ●
added the new
DELETED_DRAFTenum value to theitems/items/data/allOf[subschema #2]/summary_status/allOf[AdGroupSummaryStatus]/response property for the response status200response-property-enum-value-added
- ●
added the new
DRAFTenum value to theitems/items/data/allOf[AdGroupCommon]/status/allOf[EntityStatus]/response property for the response status200response-property-enum-value-added
- ●
added the new
DRAFTenum value to theitems/items/data/allOf[subschema #2]/summary_status/allOf[AdGroupSummaryStatus]/response property for the response status200response-property-enum-value-added
- ○
the
request property default valueALLwas addedrequest-property-default-value-added
- ○
added the new
DELETED_DRAFTenum value to the request propertyitems/allOf[AdGroupCommon]/status/allOf[EntityStatus]/request-property-enum-value-added
- ○
added the new
DRAFTenum value to the request propertyitems/allOf[AdGroupCommon]/status/allOf[EntityStatus]/request-property-enum-value-added
- ○
the
response's property default valueALLwas added for the status200response-property-default-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
added the new
TWENTY_FOUR_HOURenum value to theitems/items/data/allOf[AdGroupCommon]/optimization_goal_metadata/allOf[OptimizationGoalMetadata]/frequency_goal_metadata/timerangeresponse property for the response status200response-property-enum-value-added
- ○
added the new
TWENTY_FOUR_HOURenum value to the request propertyitems/allOf[AdGroupCommon]/optimization_goal_metadata/allOf[OptimizationGoalMetadata]/frequency_goal_metadata/timerangerequest-property-enum-value-added
- ●
- ▲
added
BudgetTypeto theitems/allOf[AdGroupCommon]/budget_typerequest propertyallOflistrequest-property-all-of-added
- ▲
removed the enum value
BILLABLE_ENGAGEMENTof the request propertyitems/allOf[AdGroupCommon]/billable_eventrequest-property-enum-value-removed
- ▲
removed the enum value
CBO_ADGROUPof the request propertyitems/allOf[AdGroupCommon]/budget_typerequest-property-enum-value-removed
- ▲
removed the enum value
DAILYof the request propertyitems/allOf[AdGroupCommon]/budget_typerequest-property-enum-value-removed
- ▲
removed the enum value
LIFETIMEof the request propertyitems/allOf[AdGroupCommon]/budget_typerequest-property-enum-value-removed
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/AGE_BUCKETnew-optional-request-property
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/APPTYPEnew-optional-request-property
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/AUDIENCE_EXCLUDEnew-optional-request-property
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/AUDIENCE_INCLUDE'new-optional-request-property
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/GENDERnew-optional-request-property
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/GEOnew-optional-request-property
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/INTERESTnew-optional-request-property
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/LOCALEnew-optional-request-property
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/LOCATIONnew-optional-request-property
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/SHOPPING_RETARGETINGnew-optional-request-property
- ○
added the new optional request property
items/allOf[AdGroupCommon]/targeting_spec/TARGETING_STRATEGYnew-optional-request-property
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/AGE_BUCKETto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/APPTYPEto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/AUDIENCE_EXCLUDEto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/AUDIENCE_INCLUDE'to the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/GENDERto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/GEOto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/INTERESTto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/LOCALEto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/LOCATIONto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/SHOPPING_RETARGETINGto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/allOf[AdGroupCommon]/targeting_spec/TARGETING_STRATEGYto the response with the200statusresponse-optional-property-added
- ○
added
BudgetTypeto theitems/items/data/allOf[AdGroupCommon]/budget_typeresponse propertyallOflist for the response status200response-property-all-of-added
- ○
removed the
BILLABLE_ENGAGEMENTenum value from theitems/items/data/allOf[AdGroupCommon]/billable_eventresponse property for the response status200response-property-enum-value-removed
- ○
removed the
CBO_ADGROUPenum value from theitems/items/data/allOf[AdGroupCommon]/budget_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
DAILYenum value from theitems/items/data/allOf[AdGroupCommon]/budget_typeresponse property for the response status200response-property-enum-value-removed
- ○
removed the
LIFETIMEenum value from theitems/items/data/allOf[AdGroupCommon]/budget_typeresponse property for the response status200response-property-enum-value-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲