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: ?php date_default_timezone_set( Europe/Rome ); error_reporting(E_STRICT | E_ALL); require_once dirname(__FILE__) .

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

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.

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 federicotest...@gmail.com wrote: Hi Anash, thanks, 1st solution works well for me! How can I get the

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 rainelemen...@gmail.com wrote: Hey Anash,

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

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?

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