Mutate ad group criteria
documentedCreate, update, or remove ad group criteria (e.g., keywords) in batch for a given customer.
POST /v23/customers/{customer_id}/adGroupCriteria:mutateAd Groupsno implementation yet0 runsNo 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}}/adGroupCriteria:mutate" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "developer-token: {{ADS_DEVELOPER_TOKEN}}" \
-H "login-customer-id: {{login_customer_id}}" \
-d '{"operations": [{"create": {"adGroup": "customers/{{$customer_id}}/adGroups/{{$ad_group_id}}", "type": "GENDER", "gender": {"type": "{{$gender_type}}"}}} ], "partialFailure": false, "validateOnly": false, "responseContentType": "MUTABLE_RESOURCE" }'