Remove linked google ads accounts from list of accessible accounts

47 views
Skip to first unread message

Michael Klem

unread,
Jun 20, 2023, 2:28:35 PM6/20/23
to Google Ads API and AdWords API Forum
I want to present a list of a user's Google Ads accounts to them so they can select which of their Google Ads accounts to link to our manager account. I want to exclude those accounts which have already been linked to our Google Ads manager account. Is there a filter query attribute I can use in the Google Ads API?

I am currently filtering this list in my code, but am hoping there is a way the API provides this.

Thanks

Google Ads API Forum Advisor

unread,
Jun 22, 2023, 8:17:17 AM6/22/23
to michae...@gmail.com, adwor...@googlegroups.com

Hi Michael,

Thank you for raising your concern to the Google Ads API team.

From the API's perspective, you can list customers accessible to you with the ListAccessibleCustomers method in CustomerService. The resulting list of customers is based on your OAuth credentials. The request returns a list of all accounts that you are able to act upon directly given your current credentials. This will not necessarily include all accounts within the account hierarchy; rather, it will only include accounts where your authenticated user has been added with admin or other rights in the account.

However, if this is not the feature you are looking for, since the Google Ads API mirrors the functionalities of the Google Ads UI, then for us to provide accurate guidance, kindly provide a full and uncropped screenshot of the Google Ads UI showing the said feature.

You may send it privately via the reply to author option. If this option is not available on your end, you may send it through our email (googleadsa...@google.com) instead.

Looking forward to your response.
 

This message is in relation to case "ref:_00D1U1174p._5004Q2mVgbP:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages