POST https://googleads.googleapis.com/v1/customers/{customer_id}/googleAds:mutate/
Content-Type: application/json
Authorization: Bearer foo
developer-token: bar
{
"mutate_operations":
[
{
"ad_group_ad_operation": {
"update": {
"resource_name": "customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_group_ad_id}",
"ad": {
"tracking_url_template": "{lpurl}&foo=bar"
}
},
"update_mask": "ad.tracking_url_template"
}
}
]
}{ "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [ { "errors": [ { "errorCode": { "requestError": "IMMUTABLE_FIELD" }, "message": "Field 'ad.tracking_url_template' cannot be modified by 'UPDATE' operation.", "location": { "fieldPathElements": [ { "fieldName": "mutate_operations", "index": "0" }, { "fieldName": "ad_group_ad_operation" }, { "fieldName": "update" }, { "fieldName": "ad" }, { "fieldName": "tracking_url_template" } ] } } ] } ] }}Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.