PHP Code I'm using to download my report $user->LoadService('ReportDefinitionService', ADWORDS_VERSION); // Create selector. $selector = new Selector(); $selector->fields = array("AttributeValues", "Impressions", "Clicks", "Cost", "AveragePosition"); $daterange = new DateRange($start, $end); $selector->dateRange = $daterange; $predicate1 = new Predicate(); $predicate1->field = "CampaignId"; $predicate1->operator = "IN"; $predicate1->values = $campaign_ids; $selector->predicates = array($predicate1); // Create report definition. $reportDefinition = new ReportDefinition(); $reportDefinition->selector = $selector; $reportDefinition->reportName = 'Report #' . time(); $reportDefinition->dateRangeType = 'CUSTOM_DATE'; $reportDefinition->reportType = 'PLACEHOLDER_FEED_ITEM_REPORT'; $reportDefinition->downloadFormat = 'CSV'; $reportDefinition->includeZeroImpressions = FALSE; $reportData = ReportUtils::DownloadReport($reportDefinition, null, $user);
torstai, 2. tammikuuta 2014 16.36.20 UTC+2 Paul Matthews (AdWords API Team) kirjoitti: > > Hi Joni, > > Can you provide us with the report definition? As this will help us > explain what you're seeing. For instance, you may be using segmentation > fields which means you'd get more than one result per feed item. > > For further information on this, please see the Placeholder Feed Item > Report > description<https://developers.google.com/adwords/api/docs/appendix/reports#placeholder-feed-item> > . > > Regards, > > - Paul, AdWords API Team. > > On Wednesday, 25 December 2013 21:25:00 UTC, Joni Salmi wrote: >> >> Hi, >> >> I'm having problems gettings stats for Ad Extensions. >> >> I've attached a picture in which I can't seem to understand how the total >> values are calculated. >> Most fields in picture are still in finnish, but I translated the >> relevant ones. The table on top >> of the picture is data from Placeholder Feed Item Report it seems correct >> but my client only wants >> the total values which I don't know how are calculated, how if I should >> use different Report Type. >> >> - Joni >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.