Hi,

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

By reviewing your query, I understand that you want to retrieve past 
performance data through the Google Ads API for an account with CLOSED status. 
Please note that you can use the customer_client report, it provides the link 
between the given customer and a client customer. CustomerClients only exist 
for manager customers and all direct and indirect client customers are 
included, as well as the manager itself. Please see the below sample query to 
retrieve the 'status' (CANCELED, CLOSED, ENABLED, SUSPENDED) and 'account name' 
of the manager and client customer:

SELECT customer_client.id, customer.id, customer.resource_name, 
customer.descriptive_name, customer_client.descriptive_name, 
customer_client.resource_name, customer_client.status, customer.status, 
customer.test_account, customer.manager, customer_client.manager FROM 
customer_client

You can try making a request by using the Search or SearchStream by passing the 
customer ID and the Developer token. Also, you can use Query Builder to create 
your query and Query Validator to validate your query.

Please note that the reporting data collected by Google Ads will be available 
for 11 years. After that period, the data will not be accessible via the Google 
Ads interface or APIs. I would suggest you refer to this help center for more 
information.

Thanks,

Google Ads API Team


Feedback
How was our support today?


[2025-03-17 13:01:13Z GMT] This message is in relation to case 
"ref:!00D1U01174p.!5004Q02vHAUy:ref" (ADR-00294878)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit 
https://groups.google.com/d/msgid/adwords-api/RbXT2000000000000000000000000000000000000000000000ST9QU100_8wEq0cPTfaohsZUbX8OOA%40sfdc.net.
  • In... Thanh Loan Hồ
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Thanh Loan Hồ
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to