Unable to see any documentation on Updating the responsive search ad and expanded text ads in Search Campaign Using Google Ad Words API

51 views
Skip to first unread message

gagan gupta

unread,
Jul 22, 2020, 4:54:22 AM7/22/20
to AdWords API and Google Ads API Forum
Hi Team,

I was trying to Update the responsive search ad and expanded text ads in Search Campaign Using Google Ad Words API.
But Unable to find any solution in this regard.

Please help.

Thanks,
Gagan 

Google Ads API Forum Advisor Prod

unread,
Jul 22, 2020, 9:40:31 AM7/22/20
to gagan...@gmail.com, adwor...@googlegroups.com
Hi Gagan,

You can update ads using the AdService. You can find our guide on how to mutate the ads and which ad types support them. You will be able to update your expanded text ads, but not your responsive search ads.

Regards,
Anthony
Google Ads API Team

ref:_00D1U1174p._5004Q22Y8r4:ref

Dan D

unread,
Jul 24, 2020, 3:08:00 PM7/24/20
to AdWords API and Google Ads API Forum
Anthony,

That's great for Google AdWords API even there's even a nice example here  for it.  But what about us who took the time and effort to move over to the new Google Ads API.  There is no google example of how to update an Expanded Text Ad.

Every time I try, I'm getting:

Request with ID 'krnzj15jjMwJnIO8jhwQhg' has failed.

Google Ads failure details:

request_error: Field 'ad.expanded_text_ad.description' cannot be modified by 'UPDATE' operation.

request_error: Field 'ad.expanded_text_ad.headline_part1' cannot be modified by 'UPDATE' operation.

request_error: Field 'ad.expanded_text_ad.headline_part2' cannot be modified by 'UPDATE' operation.

request_error: Field 'ad.final_urls' cannot be modified by 'UPDATE' operation.


It would be great if the team could add to the Examples "Updating an expanded text ad"  any help in this direction for Google Ad API would be appreciated.

Thanks,
Dan

Google Ads API Forum Advisor Prod

unread,
Jul 24, 2020, 3:40:51 PM7/24/20
to dwda...@gmail.com, adwor...@googlegroups.com
Hi Dan,

Examples on how to update ads for Google Ads API can be found in our client library examples. For example, here is the code for updating ads in Java.

Cheers,

Dan D

unread,
Jul 24, 2020, 3:56:24 PM7/24/20
to AdWords API and Google Ads API Forum
Anthony,

Really love how you guys quickly respond - so much respect for that!

So, your answer pointed me in the right direction and I was able to find what I was looking for since I'm using the PHP Lib.  

For those of you (like me) that searched and coded for a ton of hours, hopefully this helps you for the PHP lib:


Thanks again,

Dan
Reply all
Reply to author
Forward
0 new messages