Hello Juan,

You can get the client customer Id of an account via API only when the user 
making the API call has access to the account or the account is linked to 
any of the Manager accounts in the hierarchy. You could find the client 
customer Id(eg: 123-456-7890) on top right corner of the account via UI. To 
link accounts you could use ManagedCustomerService.mutatelink 
<https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService#mutatelink>
 
operation. You could refer this guide 
<https://developers.google.com/adwords/api/docs/guides/accounts-overview#managedcustomerservice>
 
to know more about ManagedCustomerService. Please let me know if you have 
any further questions.

Regards,
Sai Teja, AdWords API Team.

On Monday, November 19, 2018 at 6:08:12 AM UTC-5, juan@norte.digital wrote:
>
> Hello, I am trying to consume the adswords API with a refresh token 
> generated after the user grants me the permissions, following this guide
>
> https://github.com/googleads/googleads-php-lib/wiki/API-access-on-behalf-of-your-clients-(web-flow)
>
> unfortunately I do not get the results I want,
> my question is: does that generated refreshtoken work with accounts that 
> are not in the account hierarchy of the developer token?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4667b16b-5687-4831-a1ac-2bd4e1d867c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to