Sign in

Mutate ads

documented

Create, update, or remove ads in batch for a given customer.

POST /v23/customers/{customer_id}/ads:mutateAdsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://googleads.googleapis.com/v23/customers/{{$customer_id}}/ads:mutate" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "login-customer-id: {{$MANAGER_CUSTOMER_ID}}" \
  -H "developer-token: {{ADS_DEVELOPER_TOKEN}}" \
  -H "Accept: application/json" \
  -d '{"operations": [ {"create": { "adGroup": "customers/{{$customer_id}}/adGroups/{{$ad_group_id}}", "ad": { "responsiveSearchAd": { "headlines": [ {"text": "{{$HEADLINE_1}}"}, {"text": "{{$HEADLINE_2}}" } ], "descriptions": [ {"text": "{{$DESCRIPTION_1}}"}, {"text": "{{$DESCRIPTION_2}}" } ] }, "finalUrls": ["{{$FINAL_URL}}"] } } } ], "partialFailure": false, "responseContentType": "MUTABLE_RESOURCE", "validateOnly": false }'"