Expanded Dynamc Search Ad update

202 views
Skip to first unread message

denma test

unread,
Sep 14, 2020, 3:01:50 AM9/14/20
to AdWords API and Google Ads API Forum

Hi
I just tried to update descriptions of Expanded Dynamic Search ad, i followed the same way for other creatives update process but while update DSA got below error response form API.

Array ( [status] => error [message] => Error in ad update [data] => Array ( [errorResponse] => [AdError.CANNOT_MODIFY_AD @ operations[0].operand.id] [errorMsg] => CANNOT_MODIFY_AD ) )

Attached soap log with complete request and response.
dsa_log.txt

Google Ads API Forum Advisor Prod

unread,
Sep 14, 2020, 1:05:45 PM9/14/20
to denm...@gmail.com, adwor...@googlegroups.com

Hi,  

Thank you for reaching out. ExpandedDynamicSearchAd is not an ad type that could be mutated. You could refer to this table for more details on what types of ads could be mutated via the API.

Thanks and regards,
Xiaoming, Google Ads API Team

 



Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q24b4EE:ref

denma test

unread,
Sep 15, 2020, 3:20:51 AM9/15/20
to AdWords API and Google Ads API Forum
Hi
Actually i did create ad using $adGroupAdService->mutate() function alone, the problem is i cannot update the Ad as mentioned. Please provide details accordingly. Possible share PHP based samples.

denma test

unread,
Sep 15, 2020, 8:05:21 AM9/15/20
to AdWords API and Google Ads API Forum
Hi
Finally am stuck here,
1. Get Ad details using Adid, if i get the details then only can setup in edit form
2. Update Ad, getting error while mutate ad via Adservice. Below am mention the error once again,

Array ( [status] => error [message] => Error in ad update [data] => Array ( [errorResponse] => [AdError.CANNOT_MODIFY_AD @ operations[0].operand.id] [errorMsg] => CANNOT_MODIFY_AD ) )

Please clarify me to do these two things.
On Monday, September 14, 2020 at 10:35:45 PM UTC+5:30 adsapiforumadvisor wrote:

Google Ads API Forum Advisor Prod

unread,
Sep 15, 2020, 12:49:28 PM9/15/20
to denm...@gmail.com, adwor...@googlegroups.com

Hi,  

Thank you for reaching out. Please find my response to your questions below:
 

  1. To get the details of the ad you could query the ad_group_ad resource.
     

  2. Updating the existing ExpandedDynamicSearchAd is not supported via the API. You could refer to this table for types of ads that could be updated via the API.
     

denma test

unread,
Sep 16, 2020, 2:10:36 AM9/16/20
to AdWords API and Google Ads API Forum
HI
Thanks for the details.
1. To get the details of the ad you could query the ad_group_ad resource.- Can you share Adwords API link please
2. Updating the existing ExpandedDynamicSearchAd is not supported via the API. You could refer to this table for types of ads that could be updated via the API. - So can we remove existing one then add as new?

Google Ads API Forum Advisor Prod

unread,
Sep 16, 2020, 10:45:03 AM9/16/20
to denm...@gmail.com, adwor...@googlegroups.com

Hi, 

Thank you for reaching out. Please find my response to your questions below:
 

  1. You could query the Ad Performance Report to get the details of the ad.
     

  2. You could try to remove the existing one and then add as a new one.
     

Reply all
Reply to author
Forward
0 new messages