I am currently trying to get all the child accounts for a manager account.
Request ID: mCqXs9CAU-CwEzP7x8tFMg

Error: Google Ads failure details: authorization_error: The customer can't 
be used because it isn't enabled.

I am using the php library and following the guide to get account 
hierarchies here: 
https://developers.google.com/google-ads/api/docs/account-management/get-account-hierarchy

I am passing the loginCustomerId
$googleAdsClient = (new 
GoogleAdsClientBuilder())->fromFile('../../Dashboard/php/google-ads-php/google_ads_php.ini')
->withOAuth2Credential($oAuth2Credential)
->withLoginCustomerId($loginCustomerId ?? $rootCustomerId)
->build();

I am using a basic access developer token and the manager account is active 
and not a testing account.

Any help would be appreciated, let me know if you need more information.

Thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a50bbae2-3d80-4a11-ae14-aefdd6be4072n%40googlegroups.com.
  • Go... John Lee
    • ... John Lee
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Steven Zhang
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to