Re: Complete client report in a single API call (PHP)

2010-10-31 Thread federico ulfo
Hi and thanks, it finally works! Here the PHP code to Get the Keywords Stats for a selected client with ReportDefinitionService and downloadReport as Array: SetClientId('123-123-1234'); // select the client with clientId $reportDefinitionService = $user- >GetReportDefinitionService('v201

Re: Complete client report in a single API call (PHP)

2010-10-29 Thread AdWords API Advisor
Hi Frederico, There is no field called "clientCustomerId" that is available for the report type ACCOUNT_PERFORMANCE_REPORT: http://code.google.com/apis/adwords/docs/appendix/reports.html#account v201008 reports cannot target multiple client account, so ensure that the report definition is crea

Re: Complete client report in a single API call (PHP)

2010-10-27 Thread federico ulfo
Hi Anash, I tried to modify AddKeywordsPerformanceReportDefinition.php, I receive INVALID_FIELD_NAME_FOR_REPORT error, what's the correct Predicate::field for get the Customer stats? --- $user = new AdWordsUser(); $user->LogDefaults(); // Get the GetReportDefinitionService. $reportDefiniti

Re: Complete client report in a single API call (PHP)

2010-10-26 Thread AdWords API Advisor
Hi Federico, Try Account Performance report which was newly added in v201008. See http://code.google.com/apis/adwords/docs/appendix/reports.html#account for more details. Cheers, Anash P. Oommen, AdWords API Advisor. On Oct 26, 5:15 pm, federico ulfo wrote: > Hey Anash, > > I mean the stats of

Re: Complete client report in a single API call (PHP)

2010-10-26 Thread federico ulfo
Hey Anash, I mean the stats of a selected client (client_id: xxx-xxx-) so clicks, impression, avg cpc, avg cpm, ctr, avg position ... thanks Federico www.federicoulfo.it On Oct 26, 12:12 pm, AdWords API Advisor wrote: > Hi Federico, > > Can you please clarify your question? What do you mean

Re: Complete client report in a single API call (PHP)

2010-10-26 Thread AdWords API Advisor
Hi Federico, Can you please clarify your question? What do you mean by "tot. report of the selected client"? Cheers, Anash P. Oommen, AdWords API Advisor. On Oct 25, 10:32 pm, Federico Ulfo wrote: > Hi Anash, > > thanks, 1st solution works well for me! > How can I get the tot. report of the sel

Re: Complete client report in a single API call (PHP)

2010-10-25 Thread Federico Ulfo
Hi Anash, thanks, 1st solution works well for me! How can I get the tot. report of the selected client? It looks like is not always the sum of all campaign reports. Do you think is it possible to do a single report using scheduleRerportJob? http://code.google.com/apis/adwords/docs/developer/Repor

Re: Complete client report in a single API call (PHP)

2010-10-25 Thread AdWords API Advisor
HI Federico, You can't get the whole account details in a single call, you will need at least 4 API calls (a CampaignService.get(), AdGroupService.get(), AdGroupAdService.get() and AdGroupCriterionService.get()), and a reasonable amount of code to organize the objects in the required hierarchical

Complete client report in a single API call (PHP)

2010-10-23 Thread federico ulfo
Hi, is it possible to get the complete client report (as follow) in a single API call? CLIENT clicks, impression, avg CPC, avg CPM... -- CAMPAIGNS -- GROUPS -- KEYWORDS Thanks, Federico -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blo