Hello mark, you could post the script to help others who have the same 
doubts??

Em domingo, 8 de setembro de 2013 05:08:15 UTC-3, Mark Ibanez escreveu:
>
> Hi,
>
> Before I state my question, please allow me to describe what I am trying 
> to accomplish and how I am currently implementing it. I am downloading 
> reports from multiple accounts (different ClientCustomerIDs) from an MCC 
> account. I use Adhoc Reports within C# (.Net Library) to do this.
>
> I already have a working code to do this. The logic for this is as follows:
>
> 1. Create an AdWordsUser object
> 2. Set AdWordsUser.Config.ClientCustomerId to the MCC Account's 
> ClientCustomerId
> 3. Retrieve the list of accounts inside an MCC Account using the following 
> classes: ManagedCustomerService, ManagedCustomerPage, ManagedCustomer
> 4. Iterate through the ManagedCustomerPage.entries array
> 4a. Get ManagedCustomer object from array
> 4b. Parse ManagedCustomer.customerID value to ClientCustomerId format (eg. 
> 123-456-7890)
> 4c. Set AdWordsUser.Config.ClientCustomerId to parsed 
> ManagedCustomer.customerID value
> 4d. Get report using ReportUtilities.GetClientReport() method
> 4e. Process the report data and append to combined reports
>
> The above logic works fine although I think it is a bit inefficient in 
> terms of API calls. When using this logic, the number of API calls is 1 + 
> n, where n equals the number of accounts inside an MCC account. For 
> example, if the MCC account contains 10 client accounts, the number of API 
> calls needed is 11.
>
> So here's my question. Is there a more efficient way to accomplish the 
> logic described above using less API calls (1 API call would be ideal)? 
>
> I look forward to your answers. Thank you in advance for any help.
>
> Best regards,
>
> Mark Ibanez
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e03d22e2-bf76-4039-a0c1-c75665adce48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to