How to download an extremely large set of audiences?

51 views
Skip to first unread message

yhu...@marinsoftware.com

unread,
Jul 10, 2017, 3:54:54 AM7/10/17
to AdWords API Forum
Hi :)

I wanna download all audiences under a account which has more than 220,000 audiences. 

However, I can't use AdwordsUserListServiceInterface::get () since there is an limitation (SelectorError.START_INDEX_IS_TOO_HIGH).

Audience performance report does not work for me too because fields of UserList such as membershipLifeSpan, size etc are not available in the report.

Could you please give me any suggestion?

Thanks,

Yi Huang




Peter Oliquino

unread,
Jul 10, 2017, 4:39:47 AM7/10/17
to AdWords API Forum
Hello Yi,

You will need to implement Paging whenever you use the AdwordsUserListService.get() for getting this many userlists in order to limit the number of results you retrieve per request and avoid encountering the error. Let me know if this helps.

Best regards,
Peter
AdWords API Team

yhu...@marinsoftware.com

unread,
Jul 10, 2017, 9:47:59 PM7/10/17
to AdWords API Forum
Hi Peter,

The dilemma  here is the number of audience is more than 220,000 which could lead to a start index larger than 100,000. Then comes SelectorError.START_INDEX_IS_TOO_HIGH. This is the reason we cant use Paging.

Peter Oliquino

unread,
Jul 11, 2017, 12:19:44 AM7/11/17
to AdWords API Forum
Hello Yi,

My apologies for the mistake. Another solution or workaround would be to further break down the results by adding predicates and further grouping your queries by campaign or ad group. You may also resort to generating reports since most fields are also available in these reports such as the Audience Performance Report.

Thanks and regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages