oauth2callback is only selecting manager and child accounts, but not selecting standalone accounts

18 views
Skip to first unread message

Stiofán Ó Riain

unread,
Mar 22, 2022, 8:24:17 AM3/22/22
to Google Ads API and AdWords API Forum
Hi all

Thank you for your help on this. My understanding is there are four types of Google Ads accounts:

Standalone accounts (not associated with a manager account)
Manager accounts
Client accounts (owned by a manager account)
Test accounts

When we run our oauth2callback code, it is only selecting manager and client accounts, but is not selecting standalone accounts. 

Can you check if the problem is the query we are using for this?

SELECT customer_client.client_customer, customer_client.level,'
            . ' customer_client.manager, customer_client.descriptive_name,'
            . ' customer_client.currency_code, customer_client.time_zone,'
            . ' customer_client.id'
            . ' FROM customer_client'
            . ' WHERE customer_client.level <= 1'

Is this wrong? Can you help?

Thank you!

Google Ads API Forum Advisor

unread,
Mar 22, 2022, 4:15:22 PM3/22/22
to off...@countyjobs.ie, adwor...@googlegroups.com
Hi Stiofán,

The  customer_client report only reports linked accounts to the manager that you are reporting from. CustomerClients only exist for manager customers. All direct and indirect client customers are included, as well as the manager itself.

To get all directly accessible accounts that you are a user on you can follow our List Accessible Accounts guide. If there any accessible MCC accounts you can then run  a customer_client report to get the linked accounts.

Regards,

Google Logo
Aryeh
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YqFdm:ref
Reply all
Reply to author
Forward
0 new messages