How to determine the currency of the data returned from AdWords API?

39 views
Skip to first unread message

adwordst...@gmail.com

unread,
Sep 19, 2017, 5:12:08 AM9/19/17
to AdWords API Forum
I am currently using a test account to get information from different services.; one of the services that I used is TargetingIdeaService. I got the average CPC from this service but I have difficulty determining the currency of this data. Does it follow the currency on my AdWord test account? If it does, how can I determine the currency of my test AdWord account?

Thanks,
robin

Zweitze

unread,
Sep 19, 2017, 6:16:36 AM9/19/17
to AdWords API Forum
Most (all?) reports have a field called AccountCurrencyCode.

Note: That may not work with test accounts, as they have no data to report on.
Alternatively, use CustomerService.getCustomer() and look for Customer.currencyCode.

Bharani Cherukuri (AdWords API Team)

unread,
Sep 19, 2017, 11:32:20 AM9/19/17
to AdWords API Forum
Hello Robin/Zweitze,

To get valid data from the TargetingIdeaService, you need to make a request to a production account. The TargetingIdeaService returns dummy data to test accounts. This said, if you are making a request against a production account, the average CPC will return the micro amounts with account's local currency. 

@Zweitze: That's right. Since test accounts don't serve ads, they also have no metrics in the reports. However, you will be able to lookup the account currency using the CustomerService.getCustomers() and retrieve the currency in which the account operates using Customer.currencyCode.

Thanks,
Bharani, AdWords API Team
Reply all
Reply to author
Forward
0 new messages