Expanded Text Ads - Is it possible to update Custom Parameters or Final Urls with the new Ads API V1?

51 views
Skip to first unread message

Christoph Lanz

unread,
Jun 20, 2019, 2:11:58 AM6/20/19
to AdWords API and Google Ads API Forum
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" }

Google Ads API Forum Advisor Prod

unread,
Jun 20, 2019, 2:43:08 AM6/20/19
to adwor...@googlegroups.com
Hi Christoph,

The Google Ads API currently supports mutates for Ad Group Ad objects. So I can better investigate, could you provide the complete JSON logs generated by your request? You may send your reply via the Reply privately to author option.

Thanks and regards,
Peter
Google Ads API Team

ref:_00D1U1174p._5001UCYWZu:ref

Christoph Lanz

unread,
Jun 27, 2019, 7:12:02 AM6/27/19
to AdWords API and Google Ads API Forum
Hi Peter,

I did sent you the Json response privately right? Or maybe I didn't send it properly? Is there anything else that you need from my side?

Kind regards,

Christoph

Google Ads API Forum Advisor Prod

unread,
Jun 27, 2019, 10:50:45 PM6/27/19
to adwor...@googlegroups.com

Hi Christoph,

Were you able to receive my reply in private, that was sent on June 21, 2019? If you are unable to locate it in your inbox, you may refer below for the contents of my response :

My apologies for the delay. After discussing with the rest of the team, the AdGroupAdService can only update the AdGroupAdStatus and cannot mutate any of the other fields. The AdService, which is the service for mutating existing ads, is currently planned for an upcoming release as stated in this migration guide.

However, we currently do not have information as to when it would be available. For now, you can follow our blog for any announcements.



Thanks and regards,
Peter
Google Ads API Team



ref:_00D1U1174p._5001UCYWZu:ref

Christoph Lanz

unread,
Jun 28, 2019, 5:26:35 AM6/28/19
to adsapifor...@gmail.com, adwor...@googlegroups.com
Hi Peter,

Thank you very much for your answer, this helps a lot and we will find a workaround until when those updates come out.

Kind regards, and have a nice weekend,

Chirstoph

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 a topic in the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/dgTfb_WqZl0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/dEb5S000000000000000000000000000000000000000000000PTSFW600idcE1kxqRcyH2iFAWYs6gg%40sfdc.net.
Reply all
Reply to author
Forward
0 new messages