Hi Amol,

Thanks for getting back to us with the requested details.

I had to delete your post as it contained your logs. I am reposting below 
without the sensitive log information for reference :

“Hi Matt,

1. Pls find below request & response log:

"/google.ads.googleads.v8.services.AdGroupAdService/MutateAdGroupAds", 
CustomerId: ****,

Method Name: /google.ads.googleads.v8.services.AdGroupAdService/MutateAdGroupAds

Host: googleads.googleapis.com

Headers: {

"x-goog-api-client": "gl-php\/7.4.22 gapic\/ gax\/1.7.1 grpc\/1.39.0",

"x-goog-request-params": "customer_id=***",

"developer-token": "REDACTED",

"login-customer-id": "****"

}

Request:

{"customerId":"3845268791","operations":[{"create":{"status":"ENABLED","adGroup":"customers\/3845268791\/adGroups\/127955197897","ad":{"finalUrls":["https:\/\/sweply.com"],"responsiveDisplayAd":{"marketingImages":[{"asset":"customers\/3845268791\/assets\/18577980722"}],"squareMarketingImages":[{"asset":"customers\/3845268791\/assets\/18629114990"}],"headlines":[{"text":"h1"},{"text":"h2"},{"text":"h3"},{"text":"h4"},{"text":"h5"}],"longHeadline":{"text":"long
 here 
heading"},"descriptions":[{"text":"d1"},{"text":"d2"},{"text":"d3"},{"text":"d4"},{"text":"d5"}],"businessName":"unicom
 grp","callToActionText":"Automated"}}}}]}


Response

-------

Fault

-------

Status code: 3

Details: Request contains an invalid argument.

Failure: 
{"errors":[{"errorCode":{"adError":"INVALID_CALL_TO_ACTION_TEXT"},"message":"Invalid
 call to action 
text.","trigger":{"stringValue":"Automated"},"location":{"fieldPathElements":[{"fieldName":"operations","index":0},{"fieldName":"create"},{"fieldName":"ad"},{"fieldName":"responsive_display_ad"},{"fieldName":"call_to_action_text"}]}}],"requestId":"XZ3zFIs8aakowLDiRaVe9Q"}


2. I have another query pls let me know how to change or set language for "Call 
to action text". I have to set only English & Arabic.”

1. Upon checking the log’s you’ve provided with us, it appears that you’ve 
added Automated as call_to_action_text. Could you replace it with “shop now” 
and retry your request? Let us know how this goes after.

2. Kindly note that Responsive display ads allow you to specify call-to-action 
text. You can set the text for callToActionText in the English and Arabic 
languages as mentioned in this guide. For more information, refer to this 
document.

Regards,
Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 
Google Ads API and AdWords API Annual Survey

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2RvWvm:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/53Z-V000000000000000000000000000000000000000000000R331NG00ZwFVqy10QKyjuZT48_xMKw%40sfdc.net.
  • Re... Amol Kawale
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
      • ... Amol Kawale
        • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
          • ... Amol Kawale
            • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to