Ad object is immutable in AdWords?

47 views
Skip to first unread message

z_anatolii

unread,
Jan 15, 2019, 6:09:24 AM1/15/19
to AdWords API and Google Ads API Forum
Ad object is immutable in AdWords. To modify Ad, you must pass the REMOVE operation for the current Ad object and the ADD operation for the new Ad object with the changed attributes.
Have I do this in any case? (when I changing any attribute in Ad) or Can I updating some attributes and pass the SET operation?

googleadsapi...@google.com

unread,
Jan 15, 2019, 2:47:55 PM1/15/19
to AdWords API and Google Ads API Forum
Hi,

You can use AdService to update ads. Please refer to this section of guide for better clarity on mutating Ads. For reference, you can look at this code sample in java that updates finalUrl for ExpandedTextAds. For code in other programming languages, please refer here. Please note that only some types of ads support mutatability.

Regards,
Dhanya, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

anatolii_z

unread,
Jan 16, 2019, 6:13:16 AM1/16/19
to AdWords API and Google Ads API Forum
Does ExpandedTextAd type of ads support mutability, right?

вторник, 15 января 2019 г., 21:47:55 UTC+2 пользователь googleadsapi-forumadvisor написал:

googleadsapi...@google.com

unread,
Jan 16, 2019, 10:58:46 AM1/16/19
to AdWords API and Google Ads API Forum
Hi,

Yes, ExpandedTextAds support mutability. Please see the linked sample doc in my email for an example.

Regards,
Dhanya, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Reply all
Reply to author
Forward
0 new messages