Hi, A quick update: if you cannot find a way to set the zero impressions option in AwReporting, please file an issue in github here<https://github.com/googleads/aw-reporting/issues> and the authors will follow up with you.
Thanks, Josh, AdWords API Team On Thursday, May 22, 2014 5:31:29 PM UTC-4, Josh Radcliff (AdWords API Team) wrote: > > Hi Anurag, > > I'll check with the authors of AwReporting, but when using the AdWords API > for what we call structure > reports<https://developers.google.com/adwords/api/docs/guides/structure-reports> > (reports > without metrics) you would pass *includeZeroImpressions* of *true* in > your request. > > <reportDefinition xmlns:ns2=" > https://adwords.google.com/api/adwords/cm/v201402"> > <ns2:selector> > <ns2:fields>CampaignId</ns2:fields> > <ns2:fields>CampaignName</ns2:fields> > </ns2:selector> > <ns2:reportName>Criteria performance report</ns2:reportName> > <ns2:reportType>CAMPAIGN_PERFORMANCE_REPORT</ns2:reportType> > <ns2:dateRangeType>YESTERDAY</ns2:dateRangeType> > <ns2:downloadFormat>CSV</ns2:downloadFormat> > <ns2:includeZeroImpressions>*true*</ns2:includeZeroImpressions> > </reportDefinition> > > This can be set in the Java client library by calling > setIncludeZeroImpressions(true) > on your ReportDefinition. I'll look into if and how AwReporting supports > this and get back to you. > > Cheers, > Josh, AdWords API Team > > On Thursday, May 22, 2014 1:03:28 AM UTC-4, Anurag Laddha wrote: >> >> Greetings, >> >> We are using https://github.com/googleads/aw-reporting to download >> reports from google adwords and we are able to download the performance >> reports smoothly as long as the reports contain atleast one metric field >> >> But when we download reports that contain only attribute fields no data >> is returned from google apis (only field/column headers are returned but no >> data is present). >> >> Is it not possible to download reports that contains only attribute >> fields (no metric and segment fields)? No where is it mentioned in the >> google documentation ( >> https://developers.google.com/adwords/api/docs/guides/reporting) that a >> report must have alteast one metric field >> >> How can we download data only about attributes of our account, campaign, >> adgroup etc? >> >> Thanks! >> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
