Hi Tom, Adding here for the reference of future readers - there are some fields in AdWords API reports that segment the data if you include them. When this happens, you won't get any zero impression entries back. Date is one of those fields, and disabled ads generally don't have any impressions.
http://code.google.com/apis/adwords/docs/appendix/reports.html lists the supported fields, and mentions whether the fields cause segmentation and prevents zero impression rows from being returned. Cheers, Anash P. Oommen, AdWords API Advisor. On Wednesday, 7 March 2012 21:03:12 UTC+5:30, kzimmermann wrote: > > After getting a crucial hint from Kevin Winter on this issue, the solution > to this problem is > simply to remove the 'Date' field from the fields list. Then everything > works as it should and > I can now retrieve information on Paused and Deleted Text Ads. > Thanks Kevin ! > > Best, > Tom > > On Thursday, March 1, 2012 3:03:47 PM UTC+1, kzimmermann wrote: >> >> Hi, >> I'm pulling an ad performance report to get not only the performance >> information of the ads, but also information on the ads themselves. >> >> I use the ReportService since it's free unlike the AdGroupAdService. >> Yet, it looks as though the ReportService would only return data for >> active ads (Status: ENABLED). The AdGroupAdService works exactly the >> same way, if I don't specify any predicates. This seems to be the default >> behaviour. >> Using the AdGroupAdService though, I can still get information on >> disabled ads, specifying a predicate like this: >> >> $statusPredicate = new Predicate('Status', 'IN', array('ENABLED', >> 'PAUSED', 'DISABLED')); >> $selector->predicates = array($statusPredicate); >> >> This returns not only enabled ads but also paused and even disabled ones. >> >> But when I use the ReportService, I still only get enabled ads, even >> though >> I still specify a predicate like above. >> >> Question: is it possible to retreive information on deleted ads using >> an ad performance report (ReportService) ? >> >> Any hinst are welcome. >> >> Best, >> Tom >> >> On Wednesday, 7 March 2012 21:03:12 UTC+5:30, kzimmermann wrote: > > After getting a crucial hint from Kevin Winter on this issue, the solution > to this problem is > simply to remove the 'Date' field from the fields list. Then everything > works as it should and > I can now retrieve information on Paused and Deleted Text Ads. > Thanks Kevin ! > > Best, > Tom > > On Thursday, March 1, 2012 3:03:47 PM UTC+1, kzimmermann wrote: >> >> Hi, >> I'm pulling an ad performance report to get not only the performance >> information of the ads, but also information on the ads themselves. >> >> I use the ReportService since it's free unlike the AdGroupAdService. >> Yet, it looks as though the ReportService would only return data for >> active ads (Status: ENABLED). The AdGroupAdService works exactly the >> same way, if I don't specify any predicates. This seems to be the default >> behaviour. >> Using the AdGroupAdService though, I can still get information on >> disabled ads, specifying a predicate like this: >> >> $statusPredicate = new Predicate('Status', 'IN', array('ENABLED', >> 'PAUSED', 'DISABLED')); >> $selector->predicates = array($statusPredicate); >> >> This returns not only enabled ads but also paused and even disabled ones. >> >> But when I use the ReportService, I still only get enabled ads, even >> though >> I still specify a predicate like above. >> >> Question: is it possible to retreive information on deleted ads using >> an ad performance report (ReportService) ? >> >> Any hinst are welcome. >> >> Best, >> Tom >> >> -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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
