Mutate asset groups
documentedCreate, update, or remove asset groups in batch for a given customer.
POST /v23/customers/{customer_id}/assetGroups:mutateAsset 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}}/assetGroups:mutate" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "developer-token: {{ADS_DEVELOPER_TOKEN}}" \
-H "login-customer-id: {{$login_customer_id}}" \
-d '{"operations": [ {"create": {"name": "{{$assetGroupName}}", "campaign": "customers/{{$customer_id}}/campaigns/{{$campaign_id}}", "status": "ENABLED", "finalUrls": ["{{$final_url}}"]}} }], "partialFailure": false, "validateOnly": false, "responseContentType": "MUTABLE_RESOURCE" }'