Re: Countrycode and report Geo performance report

2017-07-20 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi David, The Geo Performance Report doesn't support zero impressions. This could be the reason why you don't see any values in the downloaded report for this date range. Could you check the *Geographic*

Re: Countrycode and report Geo performance report

2017-07-20 Thread David Zerah
Hi, Thank you so much. I have managed to do my stuff by using the two fonctions. Do you know why if I make a call with the download Geo Performance Report, from the beginning of the year until June 27th, there is no values in the CSV ? Thank you for your time Le mardi 18 juillet 2017 18:07:10

Re: Countrycode and report Geo performance report

2017-07-18 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, You need to use the following line of code to use LocationCriterionService : use Google\AdsApi\AdWords\v201705\cm\LocationCriterionService; The LookupLocation.php

Re: Countrycode and report Geo performance report

2017-07-18 Thread David Zerah
Hi, Thank you for your answer. I know how to deal with that problem. By the way, how can I create a new LocationCriterionService ? I have to use a specific namespace that I cannot find (use Google\AdsApi\AdWords\v201705\cm\Location) this one doesn't work. That's the thing I have done $selector =

Re: Countrycode and report Geo performance report

2017-07-17 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi David, You need to use the selector from your initial post to retrieve the Geo Performance Report . I'm afraid its not possible to get the Cost using LocationCriterionService. Once you get the CountyCr

Re: Countrycode and report Geo performance report

2017-07-17 Thread David Zerah
Hi, I'd like to thank you for your answer. In fact, should I put the location id in the set fiels? Moreover, i have seen that you use a new selector, I want to get the field spend from geo performance report. How can I get ? When i create a new locationservice, should i have to use something

Re: Countrycode and report Geo performance report

2017-07-14 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi David, You can perform a LocationCriterionService.get() request with the following selector to get the name of the location using a location Id. $selector = new Selector(); $selector->setField

Countrycode and report Geo performance report

2017-07-14 Thread David Zerah
Hi everybody, I have found many post discussing about what I have been looking for about 2 days. I hope I will find some answers here and I want to thank all the potential reader and answer people. To begin with, I use PHP Google Adwords v201705 library. The goal is : to pick all daily cost grou