Hi Ray,

Thanks a lot for your response and it works great for the accounts which 
are listed under out MCC account after we change the clientCustomerId in 
the code. 

Now I have a different situation. We are connecting to third party AdWords 
account which are not listed under our MCC account. We are using OAuth to 
get the RefreshToken for the client. Now my question is how do we get the 
client's adwords customer id.

In Order to connect to client's account we need to have the RefreshToken 
(which are got from the OAuth process) as well as the client's customer Id. 
The OAuth process does not return the client's Customer Id. Then where 
should we get this value to connect to client's adwords account.

Thanks,
Bikram.

On Monday, January 13, 2014 2:51:24 PM UTC-8, Ray Tsang (AdWords API Team) 
wrote:
>
> Bikram,
>
> If you generated a refresh token as the MCC user, then that refresh token 
> can be used to access all of the children AdWords account that MCC has 
> access to.
>
> In order to access a specific account, you will need to set the 
> clientCustomerId<https://developers.google.com/adwords/api/docs/guides/soap>(e.g.,
>  the CID for one of the 3 accounts that you have under the MCC). 
>  Every client library should have a way to set it during the run time - 
> please refer to a client library's documentation.
>
> Cheers,
>
> --
> Ray Tsang (AdWords API Advisor)
>
> On Thursday, January 9, 2014 1:26:41 PM UTC-5, Bikram Bhuyan wrote:
>>
>> Hi,
>>
>> Currently we have a MCC account with 3 ad-words account under it. (i.e: 
>> when I log in to our mcc account I can see 3 account with different 
>> customer id). I generated my refresh token by giving access with my login 
>> and currently accessing data for our test account. Everything is working 
>> fine as expected.
>>
>> Wanted to know I think the same refresh token can be used to connect to 
>> the other accounts. In the code how can I point to different adwords 
>> account with the same refresh token. This part is little confusing to me. 
>> If you could provide some details that will be great.
>>
>> Thanks,
>> Bikram.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to