Google ADS - Setup upload conversion aciont(calls) with no currency set.

70 views
Skip to first unread message

Jefferson Cechinel

unread,
Jan 10, 2022, 3:23:02 PM1/10/22
to AdWords API and Google Ads API Forum
Hello everyone!
I need some help regarding setting a conversion action.

I'm trying to create an Upload Conversion Action of type "Call"' through Google ADS API but I didn't find anywhere how to properly set up de ValueSettings to have no currency code set.

The PHP code snippet:
'value_settings' => new ValueSettings([
   'default_currency_code' => 'UNSPECIFIED',
   'default_value' => 1,
   'always_use_default_value' => true,
 ]),  

In 'default_currency_code I tried: 'NONE', 'UNKNOWN', 'UNSPECIFIED' but hey all throw error of invalid value. If I don't set the field or set it to false, empty string or null the Conversion Action ends up created but with the account default's currency code set which is undesirable.

What value should I use for default_currency_code that represents the 'No currency set' in the web interface?
Screen Shot 2022-01-10 at 17.06.02.png
Thank you.




Google Ads API Forum Advisor

unread,
Jan 10, 2022, 8:28:12 PM1/10/22
to jeff...@febacapital.com, adwor...@googlegroups.com
Hi Jefferson,

Thank you for posting your concern.

So that I can further check, could you describe to us what is the behavior of the conversion action or what happens when you've set "No currency set" in the UI? With the help of this information, we can have a hint on what is appropriate value to set in the API to mimic its behavior.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2UiZT3:ref
Reply all
Reply to author
Forward
0 new messages