Hi Ray,

I'm having trouble figuring out how to implement your response.  I am able 
to run a report and get the stats when I utilize a customer ID that has one 
account.  I can get all the stats for that account.

However, I do not understand how I am supposed to get that same report 
response for multiple accounts.  For example, the report I can get has one 
row that gives me all my info for that account (Clicks, Impressions, 
Conversions, etc.).

How do I run that same ACCOUNT_PERFORMANCE_REPORT so that it will return 
multiple rows with Clicks, Impressions, Stats, etc. for more than one 
account?

Please advise.  (It would be great if there was an example somewhere I 
could take a look at)

Thanks!

Mike

On Monday, January 13, 2014 12:31:26 PM UTC-8, Ray Tsang (AdWords API Team) 
wrote:
>
> Mike,
>
> There is a way to retrieve stats for all accounts within an MCC.  You will 
> need to iterate over all of the descendant accounts of the MCC, and for 
> each of those account, get the stats from reporting.
>
> You can continue to use OAuth 2.0 as the MCC account user.  For example:
> 1. Use the 
> ManageCustomerService<https://developers.google.com/adwords/api/docs/reference/v201309/ManagedCustomerService>
>  to 
> get a list of accounts (and the customer ID) managed by the MCC
> 2. For each account, query for the 
> stats<https://developers.google.com/adwords/api/docs/guides/reporting>that 
> you need to aggregate by specifying the Client Customer ID (without 
> the dashes).
>
> Cheers,
>
> --
> Ray Tsang (AdWords API Advisor)
>
>
>
> On Tuesday, January 7, 2014 4:05:39 PM UTC-5, Mike C wrote:
>>
>> Hi Adwords Team,
>>
>> I've followed the adwords_on_rails demo to create a rails app with a 
>> dashboard view that shows an account's stats (clicks, impressions, 
>> conversions, etc.), just like an adwords dashboard.
>>
>> When a user logs in they authenticate through OAuth and land on a 
>> selection screen where they select an account ID through a generated list 
>> or input one manually (per your setup in adwords_on_rails).  It all works 
>> perfectly.
>>
>> However, is there a way that I can see an overview with stats for all the 
>> accounts within an MCC?   Just like when I sign into adwords with the main 
>> MCC account credentials, I see a dash with all my clients accounts and 
>> their associated stats (all impressions, clicks etc. for client 1, client 
>> 2, etc.).
>>
>> How would I set it up so that I could see that view within the app?  When 
>> I OAuth in as the MCC account, I see a list of all the clients and can 
>> click on their id set the account id and go into their individual dash. 
>>  Even though the MCC's account ID is clickable, if I use it, the dash 
>> returns no data.
>>
>> This is important so that we can have agency views as well as franchises 
>> that have multiple accounts that want a main dash to see all their 
>> individual account stats.
>>
>> Any help would be greatly appreciated!
>>
>> Thanks in advance!
>>
>> Mike
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to