Hi Ian,
Thank you for reaching out to our API support team.
Unfortunately, it is currently not possible via the Google Ads API to identify which accounts are cancelled or inactive. A feature request was already previously raised for this to be supported. For now, you may keep an eye on our
blog for updates and announcements.
That said, if any account returns an error due to being cancelled or inactive, you may try and filter them out using != or NOT IN operators, so they would be excluded in the results of your query. Also, you may opt to temporarily unlink them from your hierarchy and link them back once they have been identified for reactivation.
Best regards,
 |
| Peter Laurence Napa Oliquino |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q2W3dD8:ref