callOnlyAd CANNOT_SET_FIELD error response

26 views
Skip to first unread message

denma test

unread,
Sep 7, 2020, 9:31:36 AM9/7/20
to AdWords API and Google Ads API Forum

I can create callOnlyAd Ad type using API, but getting error while using finalUrl, customParameter, getting below error.

Array ( [status] => error [message] => Error in ad creation [data] => Array ( [errorResponse] => [AdError.CANNOT_SET_FIELD @ operations[0].operand.ad.finalUrls, AdError.CANNOT_SET_URL @ operations[0].operand.ad.trackingUrlTemplate, AdError.CANNOT_SET_FIELD @ operations[0].operand.ad.urlCustomParameters] [errorMsg] => CANNOT_SET_FIELD ) )

Also i can see the caution message in adwords API document, can you confirm whether i can these parameters for ad creation. Please find caution message screenshot.
Screenshot_2020-09-07 type CallOnlyAd (v201809) AdWords API Google Developers.png

Google Ads API Forum Advisor Prod

unread,
Sep 8, 2020, 3:37:17 PM9/8/20
to denm...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out. The fields url, finalUrls, finalMobileUrls, finalAppUrls, urlCustomParameters, or trackingUrlTemplate could not be set on a call only ad. Otherwise, you would encounter the AdError.CANNOT_SET_FIELD.

Thanks and regards,
Xiaoming, Google Ads API Team




Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q24ZUO6:ref

denma test

unread,
Sep 9, 2020, 6:22:31 AM9/9/20
to AdWords API and Google Ads API Forum
Okay, thanks for the details. Can we set this using Google Ads API beta?

Google Ads API Forum Advisor Prod

unread,
Sep 9, 2020, 3:29:26 PM9/9/20
to denm...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out. The finalUrls could not be set for CallOnlyAd using Google Ads API.



Thanks and regards,
Xiaoming, Google Ads API Team




Reply all
Reply to author
Forward
0 new messages