Hello Yasar,

Thanks for suggestion. 

1. It working if I set 'Shop now' or 'Learn more', etc words in call to 
action text. But Google Ads Web UI shows Automatic also as 1st option. How 
it can work through ads PHp API?

2. I have to set call to action text for 2 languages English & Arabic so 
Should I add 2 times 'call_to_action_text' => 'Shop Now' & 
'call_to_action_text' =>  تسوق الآن
or is there any other way to pass both values?

3. In Responsive Display Ad, there are 2 more optional parameters as :
'price_prefix' => 'as low as', 'promo_text' => 'Free shipping!'
I tried them to pass API but it doesn't reflected after display ad created 
at Google ads web UI.

Regards,
Amol

On Wednesday, November 24, 2021 at 8:58:46 PM UTC+5:30 adsapi wrote:

> 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 <https://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
>  
> <https://sweply.com/>"],"responsiveDisplayAd":{"marketingImages":[{"asset":"customers\/3845268791\/assets\/18577980722
>  
> <(857)%20798-0722>"}],"squareMarketingImages":[{"asset":"customers\/3845268791\/assets\/18629114990
>  
> <(862)%20911-4990>"}],"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* 
> <https://developers.google.com/google-ads/api/reference/rpc/v9/ResponsiveDisplayAdInfo>
>  
> 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* 
> <https://developers.google.com/google-ads/api/reference/data/call-to-action-translations?hl=en>.
>  
> For more information, refer to *this* 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.ads?hl=en#legacyresponsivedisplayadinfo>
>  
> document.
>
> Regards,
>
>
> Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 
> 2021 
> Google Ads API and AdWords API Annual Survey 
> <https://google.qualtrics.com/jfe/form/SV_eQbOpf4VxRyyqqO?source=so>
>  
>
> [image: Google Logo] 
> 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/363bb3f4-4898-4c2e-9a4b-d743d83b9775n%40googlegroups.com.
  • 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