Suspended account status via Google Ads API

331 views
Skip to first unread message

Алексей Рябиков

unread,
Aug 10, 2023, 7:29:48 AM8/10/23
to Google Ads API and AdWords API Forum
Hello! 

I'm trying to get account status via API (PHP lib) and all is OK, with one exception: And enabled accounts AND suspended accounts return status ''2' screenshot (that equals 'Enabled'). 
As you see, Customer status has 'Suspended' in the list.

So, the question is: Is there any chance to get correct status for suspended accounts via api?

Thnx!

Google Ads API Forum Advisor

unread,
Aug 10, 2023, 12:45:11 PM8/10/23
to house...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out to Google Ads API Forum.

I understand that you are trying to get account status and enabled accounts and suspended accounts will return the same result that equals 'Enabled'. I tried accessing the screenshot you provided however it shows that the file has not yet been uploaded or has been deleted. With this, could you attach it in your next reply? This is so our team could check it and provide more appropriate guidance regarding your concern.

You may then send the requested information privately via the Reply to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com  alias instead.

This message is in relation to case "ref:_00D1U1174p._5004Q2nqYQC:ref"

Thanks,
 
Google Logo Google Ads API Team


Message has been deleted

Алексей Рябиков

unread,
Aug 12, 2023, 3:48:20 PM8/12/23
to Google Ads API and AdWords API Forum
Hi! Sure. 

File in attach. 

If I understand correctly, status code 2 equal to "Enabled". Because all accounts return 2 :)


четверг, 10 августа 2023 г. в 19:45:11 UTC+3, Google Ads API Forum Advisor:
googleAcc.jpg

Google Ads API Forum Advisor

unread,
Aug 14, 2023, 6:21:04 AM8/14/23
to house...@gmail.com, adwor...@googlegroups.com

Hi, 

Thank you for providing the screenshot.

I understand that you want to be able to pull the correct status for the suspended account (248-236-6678). Please note that the status for suspended account is currently not available in the API. However, our team has already submitted a feature request for this subject for review. All I can say is for now, please keep an eye on our blog and release notes for new releases and updates.

Reference Links:

Reply all
Reply to author
Forward
0 new messages