Inquiry About Accessing Past Performance Data for CLOSED Accounts via API

47 views
Skip to first unread message

Thanh Loan Hồ

unread,
Mar 17, 2025, 4:56:39 AMMar 17
to Google Ads API and AdWords API Forum
Dear Google Ads API Support Team,

I would like to clarify whether it is possible to retrieve past performance data via the API for an account with CLOSED status (Indicates a closed account unable to serve ads. Test account will also have CLOSED status. Status is permanent and may not be reopened.).

If retrieving past performance data via the API is not possible, can this data still be accessed through the Google Ads UI? Additionally, how long is past performance data retained and accessible for CLOSED accounts?

Thank you for your support. I look forward to your response.

Best regards,
LoanHo

Google Ads API Forum Advisor

unread,
Mar 17, 2025, 9:01:58 AMMar 17
to htl...@gmail.com, adwor...@googlegroups.com

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 Logo Google Ads API Team

Feedback
How was our support today?

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



Thanh Loan Hồ

unread,
Mar 18, 2025, 6:37:11 AMMar 18
to Google Ads API and AdWords API Forum
Thank you for your response. 
Based on the information provided, I would like to confirm the following points to ensure my understanding is correct:

1. The availability of report data for 11 years applies to all statuses: CANCELED, CLOSED, ENABLED, and SUSPENDED? Meaning, it is possible to retrieve historical data for all these statuses: CANCELED, CLOSED, ENABLED, and SUSPENDED.

2. Additionally, there are two other statuses: UNKNOWN and UNSPECIFIED. Since these are undefined statuses, does this mean that the reporting data retrieval is not supported for these two statuses?

Looking forward to your confirmation. Thank you!

Google Ads API Forum Advisor

unread,
Mar 18, 2025, 10:32:52 AMMar 18
to htl...@gmail.com, adwor...@googlegroups.com

Hi,

Yes, you can retrieve historical data for all these statuses: CANCELED, CLOSED, ENABLED, and SUSPENDED. For UNKNOWN and UNSPECIFIED status reporting data retrieval is not supported.

UNKNOWN -This status is returned only when the API version you are using does not recognize the status value and reporting data retrieval is not supported for this status.

UNSPECIFIED- The status has not been specified and reporting data retrieval is not supported for this status.


Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-03-18 14:32:09Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vHAUy:ref" (ADR-00294878)



Reply all
Reply to author
Forward
0 new messages