POST
/ad-campaigns/{campaign_id}/ad-groups
A new ad group with its keywords, negatives, ads, targets, device bids and assets, sent to Google as one
all-or-nothing request. SPENDS MONEY on a live campaign: the ad group serves as soon as Google approves it.
Parameters Path Parameters Ad campaign ID (a Google Search campaign)
integer
Ad campaign ID (a Google Search campaign)
Query Parameters preview
Review only: nothing is stored or sent
boolean
Review only: nothing is stored or sent
Request Body
required
Select media type application/json object acknowledge_removed_name
Set true to reuse the name of an ad group that was removed from this campaign
boolean
object ad_rotation_mode
Any of:
string
Allowed values: optimize rotate_forever
ads
Array<object>
<= 50 items
object descriptions
Array<object>
<= 20 items
object pinned_field
Any of:
string
Allowed values: HEADLINE_1 HEADLINE_2 HEADLINE_3 DESCRIPTION_1 DESCRIPTION_2
text
string
"" <= 500 characters
final_url
string
"" <= 2048 characters
headlines
Array<object>
<= 50 items
object pinned_field
Any of:
string
Allowed values: HEADLINE_1 HEADLINE_2 HEADLINE_3 DESCRIPTION_1 DESCRIPTION_2
text
string
"" <= 500 characters
path1
string
"" <= 100 characters
path2
string
"" <= 100 characters
status
string
default: enabled
Allowed values: enabled paused
asset_links
Array<object>
<= 100 items
A library asset of this customer (asset_id + field_type) or a new one (asset).
object asset
Any of:
object object key additional properties
audience_mode
Any of:
string
Allowed values: observation targeting
bid_modifiers
Array<object>
<= 3 items
object final_url_suffix
Any of:
string
<= 2048 characters
keywords
Array<object>
<= 20000 items
object final_url
Any of:
string
<= 2048 characters
match_type
string
default: broad <= 20 characters
status
string
default: enabled
Allowed values: enabled paused
name
string
"" <= 255 characters
status
string
default: enabled
Allowed values: enabled paused
targets
Array<object>
<= 1000 items
object tracking_url_template
Any of:
string
<= 2048 characters
Responses 200 Select media type application/json object Any of:
The outcome of one write. settled is false while Google has not answered every change (the API returns
202 then; re-read the ad group to see the outcome).
object Array<object>
object errors
Array<object>
object key additional properties
live
On a conflict: the value Google Ads has now
Applied | sending | in_review | failed | conflict | needs_attention | skipped
string
preview=true: what the write would do, checked against graph8’s rules; nothing is sent or stored.
object Array<object>
object consequences
Learning_reset | policy_review | history_restart | terminal
Array<string>
issues
Rule findings; severity error blocks it
Array<object>
object key additional properties
The permission this change needs: ads:edit or ads:launch
string
required_permission required
object key additional properties
pagination
Any of:
object Whether there are more pages
boolean
Current page number (1-indexed)
integer
422 Select media type application/json