Hi,
I have created a RESPONSIVE_SEARCH_AD. I am trying to update headlines via.
API call. Although the documentation
<https://developers.google.com/google-ads/api/rest/reference/rest/v11/customers.ads#ResponsiveSearchAdInfo>
doesn't
say that this is immutable, I am getting an error saying the field is
immutable.
*Request:*
{
"operations": [
{
"updateMask": "ad.responsiveSearchAd.headlines",
"update": {
"status": "PAUSED",
"resourceName":
"customers/xxxx/adGroupAds/144865384680~627789042220",
"ad": {
"finalUrls": [
"https://gaagl.page.link/Eit5"
],
"type": "RESPONSIVE_SEARCH_AD",
"responsiveSearchAd": {
"headlines": [
{
"pinnedField": "HEADLINE_1",
"text": "Heading1"
},
{
"pinnedField": "HEADLINE_2",
"text": "Heading2"
},
{
"pinnedField": "HEADLINE_3",
"text": "Heading3"
}
],
"descriptions": [
{
"pinnedField": "DESCRIPTION_1",
"text": "Description1"
},
{
"pinnedField": "DESCRIPTION_2",
"text": "Description2"
}
]
}
},
"adGroup": "customers/xxxx/adGroups/144865384680"
}
}
],
"partialFailure": false,
"validateOnly": false
}
*Response:*
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type":
"type.googleapis.com/google.ads.googleads.v11.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"requestError": "IMMUTABLE_FIELD"
},
"message": "Field
'ad.responsive_search_ad.headlines' cannot be modified by 'UPDATE'
operation.",
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
},
{
"fieldName": "update"
},
{
"fieldName": "ad"
},
{
"fieldName": "responsive_search_ad"
},
{
"fieldName": "headlines"
}
]
}
}
],
"requestId": "yMGSQRq4i0V0yM7qhivDzw"
}
]
}
}
*Note:* I get this IMMUTABLE_FIELD error for mostly all the fields (other
than status) for all Ad Group Ad Types when i try to update.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/d96fd3c1-eb95-4df4-b49a-616a956d4afen%40googlegroups.com.