Hello Mike,

thank you, ManagedCustomerService 
<https://developers.google.com/adwords/api/docs/reference/v201502/ManagedCustomerService>
 
works fine and gives me the list of the customers who belong to this MCC.

Is it also possible to get the MCC's customerId? Because I need the MCC's 
customerId to use ManagedCustomerService 
<https://developers.google.com/adwords/api/docs/reference/v201502/ManagedCustomerService>
.


Am Freitag, 13. März 2015 14:55:52 UTC+1 schrieb Michael Cloonan (AdWords 
API Team):
>
> Hello,
>
> Refresh and access tokens must, by definition, be associated with an MCC 
> account.
>
> You can get a list of all customers (including their IDs) by using the 
> ManagedCustomerService 
> <https://developers.google.com/adwords/api/docs/reference/v201502/ManagedCustomerService>.
>  
> In this case, you would specify the MCC's customerId in the header. You can 
> get information about the current customer (i.e. the one whose ID is in the 
> header) using the CustomerService 
> <https://developers.google.com/adwords/api/docs/reference/v201502/CustomerService>
> .
>
> Regards,
> Mike, AdWords API Team
>
> On Friday, March 13, 2015 at 7:03:47 AM UTC-4, Michael D wrote:
>>
>> Hi,
>>
>> after a User logs in with oauth2 I get back accessToken, refreshToken etc.
>>
>> How can I found out if this is a normal account or an mcc account?
>>
>> How can I get the client customerId? For me it seems like every Service 
>> needs the clientCustomerId in its Header.
>>
>> Thanks
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/64595887-bb5b-40cb-9a27-2386be269ea3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to