Re: ReportDefinition to get Network and Account Stats

2010-11-01 Thread AdWords API Advisor
Hi Frederico, Reports can only be run across one account, so there is no need to have a predicate for the account. Additionally, the fields used in predicates must be the field listed as belonging to the report, and ClientId isn't one of them: http://code.google.com/apis/adwords/docs/appendix/

Re: ReportDefinition to get Network and Account Stats

2010-10-29 Thread federico ulfo
Hi Wilrik, thanks a lot for your reply! For get the Account Stats, I setted $reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT'; but in order to select the account what field should I set? $adGroupPredicate = new Predicate(); $adGroupPredicate->field = 'ClientId'; $adGroupPredicate->ope

Re: ReportDefinition to get Network and Account Stats

2010-10-29 Thread Wilrik Mook
Hi Federico, You can find documentation about which fields to include in the ReportDefinition selector here: http://code.google.com/apis/adwords/docs/appendix/reports.html#keywords On this page you can find all possible fields for all types of reports. So, to include the network field in your re

ReportDefinition to get Network and Account Stats

2010-10-29 Thread Federico Ulfo
Hi, in order to get the Network (into campaign), and also to get the Account Stats, I need to use GetReportDefinitionService. Are there any working examples? Or can you please help me to modify this example to make it retrieving the networks: http://code.google.com/p/google-api-adwords-php/source