Hello,

I would like to be able to update the final urls and also custom parameters 
of an existing expanded text ad.
In the example below, when I try just to update the ad status it works 
good, but when I try to update also final urls (or custom parameters) i get 
the error of "IMMUTABLE FIELD".
Is it possible to update this information with the current ADS API V1?

Many thanks in advance!

Christoph

*Example Code (fragment)*
$ad = new Ad
([
'final_urls' => [new StringValue(['value' => 'http://www.example2.com'])],
]);
$adGroupAd = new AdGroupAd
([
'resource_name' => ResourceNames::forAdGroupAd($customerId, $adGroupId, 
$adId),
'status' => AdGroupAdStatus::ENABLED,
'ad' => $ad,
]);


*Example error (fragment)*
ERROR:  { "fieldName": "final_urls" } ] } }, { "errorCode": { 
"requestError": "IMMUTABLE_FIELD" }

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6175644d-c02c-4c95-9406-7d9e566e06e2%40googlegroups.com.

Reply via email to