Hi Yan, Yes, (1) is correct. You cannot page beyond 100K entries. You need to either group your requests one campaign id at a time, or use an adgroup performance report. (2) I don't have a raw HTTP request handy, but if you'd use a client library from https://developers.google.com/adwords/api/docs/clientlibraries, then it contains reporting examples. For instance, the PHP example is here: https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/Reporting/DownloadCriteriaReport.php.
You need to pick an appropriate report type. For AdGroups, AdGroup Performance report is the right one to use, you can see the columns on https://developers.google.com/adwords/api/docs/appendix/reports. I also recommend reading https://developers.google.com/adwords/api/docs/guides/structure-reports, which talks about the same thing you are trying to do, but for campaigns. Cheers, Anash P. Oommen AdWords API Advisor. On Monday, March 10, 2014 2:18:35 AM UTC-4, yan...@viki.com wrote: > > Hi everyone, > > Recently I ran into an issue while retrieving AdGroup data using > the ruby client library. Specifically, there are over a hundred thousand > ad groups that I have to retrieve, and I ran into the > START_INDEX_IS_TOO_HIGH error. > > I've read here: > http://googleadsdeveloper.blogspot.jp/2013/09/a-reminder-retrieving-large-result-sets.html > > that it is possible to use Adhoc reporting to retrieve AdGroup > data (Id, CampaignId, CampaignName, Name, Status, etc) > without encountering this error. > > So here are my questions. > > 1. I was using the AdGroupService of the ruby client library > to retrieve AdGroup data. Is it possible to fetch AdGroup data > using Adhoc reports? The number of AdGroups I need to > retrieve is definitely more than 100 thousand, and I have to > retrieve them all. > > 2. If the answer to question 1 is yes, could you point me to an > example of how this is done? Documentation will be even > better. I'm really new to SOAP and the only examples I've > found are: > > https://developers.google.com/adwords/api/docs/guides/reporting > https://developers.google.com/adwords/api/docs/guides/soap > > and is quite insufficient for me to write a request to perform > the data retrieval. > > Thank you. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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/d/optout.