Hello Oliver,
I have clarified this issue. In fact you can achieve the same behavior as with the XML definition: 1. reportDefinition.setIncludeZeroImpressions(true) does have no effect on the output. The report will be the same as if the value is omitted. 2. reportDefinition.setIncludeZeroImpressions(false) could be achieved with 'WHERE' filter: SELECT ... WHERE Impressions > 0. We will document this on the AWQL definition page. -Danial, AdWords API Team. Original Message Follows: ------------------------ From: Oliver <oliver.darra...@gmail.com> Subject: Re: How to set this parameter when using AWQL? Date: Wed, 15 Aug 2012 06:24:27 -0700 (PDT) > That's great, thanks. > > I guess the question now is, will AWQL work properly without this feature? > Do I even need this feature for any reason? > > Oliver > > On Wednesday, August 15, 2012 12:21:40 PM UTC+1, Danial Klimkin wrote: > > > > Hello Oliver, > > > > > > Looks like this feature is lacking in the AWQL at the moment. I will log a > > feature request for it. > > > > > > -Danial, AdWords API Team. > > > > > > On Wednesday, August 8, 2012 9:40:41 AM UTC+4, Oliver wrote: > >> > >> What if I want to include zero impressions when using AWQL i.e. I want to > >> do the equivalent of: > >> > >> reportDefinition.setIncludeZeroImpressions(true); > >> > >> > >> Comparing the code that downloads an adhoc report using ReportDefinition: > >> > >> http://google-api-adwords-java.googlecode.com/svn/trunk/examples/v201206/DownloadAdHocReport.java > >> > >> and the code that does the same using AWQL, I can see the only difference > >> is, with AWQL I have no way of doing setIncludeZeroImpressions(true). > >> > >> Is there a solution to the above? > >> > >> Oliver > >> > >> > >> > >> On Wednesday, August 8, 2012 3:24:05 AM UTC+1, Anash P. Oommen wrote: > >>> > >>> Hi Oliver, > >>> > >>> Try Impressions >= 100 in the query and see if that works for you. > >>> > >>> Cheers, > >>> Anash P. Oommen, > >>> AdWords API Advisor. > >>> > >>> On Tuesday, 7 August 2012 22:46:37 UTC+5:30, Oliver wrote: > >>>> > >>>> When downloading adhoc reports using AWQL as shown in this example: > >>>> > >>>> > >>>> http://google-api-adwords-java.googlecode.com/svn/trunk/examples/v201206/DownloadAdHocReportWithAwql.java > >>>> > >>>> how do you set the 'includeZeroImpressions' field? We used to set it on > >>>> the ReportDefinition object before. > >>>> > >>>> Oliver > >>>> > >>> > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > 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 -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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