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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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,
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.