Hi, I have managed to create a new report definition, but when I'm trying to download it or run it through the Adwords interface, I get "Unexpected exception". I use the PHP library to create the report definition:
$adGroupSelector = new Selector(); $adGroupSelector->fields = array('CampaignId', 'Name', 'KeywordContentMaxCpc', 'KeywordMaxCpc', 'MaxContentCpcMultiplier', 'MaxCpcMultiplier', 'MaxCpm', 'MaxCpmMultiplier', 'ProxyKeywordMaxCpc', 'ProxySiteMaxCpc', 'SiteMaxCpc', 'Status'); // Create report definition. $adGroupReportDefinition = new ReportDefinition(); $adGroupReportDefinition->reportName = 'Adgroup performance (do NOT delete - used by Adwire Media Toolbox)'; $adGroupReportDefinition->dateRangeType = 'YESTERDAY'; $adGroupReportDefinition->reportType = 'ADGROUP_PERFORMANCE_REPORT'; $adGroupReportDefinition->downloadFormat = 'XML'; $adGroupReportDefinition->selector = $adGroupSelector; // Create operations. $adGroupOperation = new ReportDefinitionOperation(); $adGroupOperation->operand = $adGroupReportDefinition; $adGroupOperation->operator = 'ADD'; Many thanks in advance! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en