RE: customer id not exists in mcc

4 views
Skip to first unread message

Google Ads API Forum Advisor

unread,
1:01 PM (9 hours ago) 1:01 PM
to ramana...@gmail.com, adwor...@googlegroups.com

Hi,

 

Thank you for reaching out to the Google Ads API support team.

 

Please be informed that I have removed your response from the forums as it contains the PII information.

 

Based on the provided information, I understand that one of your CID '4967658808' does not exist in your MCC account '5071773039' but you are still able to retrieve campaigns for it. I have logged into your MCC account and I could see that the client account that you have shared is present under the 'Inactive account' list and it is cancelled. Also, I could see that the client account '4967658808' is linked to the MCC account. Since your user has direct access, the API request will succeed when you specify 496-765-8808 as the customer_id in your request, regardless of the login-customer-id you use.

 

The Google Ads API doesn't provide a direct way to list the cancelled accounts under a manager account. However, you can use the following workaround to retrieve this list. You can retrieve the list of ENABLED accounts using the customer_client resource. Please refer to the sample GAQL query below for your reference:

SELECT customer_client.id, customer_client.descriptive_name FROM customer_client
I would recommend you refer to the guides List Accessible Accounts and List cancelled accounts to get more information on how to retrieve the cancelled accounts via the Google Ads API.
 
I hope this helps! Feel free to get back to us in case of any further queries.
 

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-11-12 18:00:42Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01vTGDu:ref" (ADR-00339129)



Reply all
Reply to author
Forward
0 new messages