How to retrieve only active accounts using Ads API

182 views
Skip to first unread message

Sinea Calin

unread,
Jan 31, 2022, 3:11:13 AM1/31/22
to Google Ads API and AdWords API Forum
Hi i am trying to get only the active accounts but so far i am out of luck with a specific type of closed account. The type that's automatically closed after not having any spent for 15 months.

I tried to use GoogleAdsQuery to retrieve all active accounts from resource(customer_client) but that closed account is in the list.

I tried using ads_api method get_customer_client from CustomerClientService
I expected to get back None but i still get the deactivated client details.

Question how can i get a list of active customer clients ?

Sinea Calin

unread,
Jan 31, 2022, 3:11:48 AM1/31/22
to Google Ads API and AdWords API Forum
Or how can i tell the difference between an active and disabled account

Google Ads API Forum Advisor

unread,
Jan 31, 2022, 12:44:22 PM1/31/22
to sinea...@leadplus.co.jp, adwor...@googlegroups.com
Hello Sinea,

Thanks for reaching out. With regards to your concern, it looks like we have a duplicate thread for this issue. We can keep correspondence related to this issue on the other thread and I will close this thread to avoid any kind of confusion. Also, it has more context than this thread.

Best regards,
Google Logo
Jakeia Sabrina
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W2pbZ:ref
Message has been deleted

Google Ads API Forum Advisor

unread,
Feb 1, 2022, 4:42:54 PM2/1/22
to sinea...@leadplus.co.jp, adwor...@googlegroups.com
Hi Sinea,

Thank you for reaching out.

You can see here your original thread. Let me know if you have any question.

Thanks,
Google Logo
Nirmita Patel
Google Ads API Team
 

 

ref:_00D1U1174p._5004Q2W2pbZ:ref
Reply all
Reply to author
Forward
0 new messages