bring data for all customerIds

17 views
Skip to first unread message

asaad....@datorama.com

unread,
Dec 5, 2016, 9:38:43 AM12/5/16
to AdWords API Forum
Hi ,
i'm using the adWords api , and i want to ask if there a way to get all customers data in 1 reuqest what i mean that :

when i build my request i use => 
AdWordsSession session = new AdWordsSession.Builder().withDeveloperToken)()
.withUserAgent(APPLICATION_NAME).withClientCustomerId(CUSOMTER_ID)
.withReportingConfiguration(configBuilder.skipReportHeader(true).skipReportSummary(true).includeZeroImpressions(false).build()).build();

what i want to know if there a way to get all clientCustomerIds in my account : 
the customerIds from 
ManagedCustomerPage page = customerServiceInterface.get(selector);



so is there way not to send  .withClientCustomerId(CUSOMTER_ID) and to replace it with another value to bring all the customerIds



Thanks,
Asad.

Shwetha Vastrad (AdWords API Team)

unread,
Dec 5, 2016, 1:05:45 PM12/5/16
to AdWords API Forum
Hi Asad,

A given report request can only include data from a single AdWords account. If you need to gather reporting data for multiple accounts, you need to submit a separate report request for each account by setting the clientCustomerId header. The ParallelReportDownload Java example demonstrates how to download a report for all accounts directly under a manager account in multiple parallel threads. Example code in other languages is provided here

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages