How can I check whether billing information is setup in client account or not through Adwords Api?

40 views
Skip to first unread message

Ankit Agarwal

unread,
Mar 30, 2020, 4:19:23 AM3/30/20
to AdWords API and Google Ads API Forum
I am trying to implement a feature that will disable those client accounts to create an ad whose billing information is not setup.
But to implement this I need an endpoint from where I can whether billing information is setup or not.

Google Ads API Forum Advisor Prod

unread,
Mar 30, 2020, 3:29:14 PM3/30/20
to ankit....@lsasoftware.com, adwor...@googlegroups.com
Hi Ankit,

Thank you for reaching out to us. I see that you would like to check whether billing information is setup in client accounts. You can check whether BudgetOrders have been set for an account by using BudgetOrderService and using the .get() function to return a list of budget orders that have been created under a manager account. You can also use Budget Performance Reports to get a list of budgets that have been created for a list of accounts. Let me know if you have further questions.

Thank you,
Bryan, Google Ads API Team

ref:_00D1U1174p._5001UZV7oD:ref

Ankit Agarwal

unread,
Mar 31, 2020, 1:42:04 AM3/31/20
to AdWords API and Google Ads API Forum
Budget Order Service doc seems to be very confusing for me.
Let me rephrase my requirement here:

When a user connects with Google then at that moment I would like to know whether his client account is eligible to deliver ads or not. 

1.) Please provide me various conditions when client accounts may not be eligible to deliver ads? (like billing method not setup)
2.) Suppose User created an ad but his billing was not setup then how I am going to know that the ad is not being delivered since his billing is not setup?

Google Ads API Forum Advisor Prod

unread,
Mar 31, 2020, 1:16:34 PM3/31/20
to ankit....@lsasoftware.com, adwor...@googlegroups.com
Hi Ankit,

I see that you have two concerns. Below you will find my answers to each concern.

1. Conditions in which an account will not be eligible to serve ads.
These conditions include when the account is a test account that cannot serve ads, or if billing has not been set up. In these cases, an account will not be able to serve ads.

2. How to know if an account's billing setup is set or not.
Unfortunately through the API you can only see whether they've created budgets for the account. There isn't a field that correlates to if the account's billing setup has been set or not. I can add a request for this feature to be added if you would like. In the meantime, please follow our blog for updates on updates and new releases pertaining to this concern.

ankit agarwal

unread,
Mar 31, 2020, 3:27:53 PM3/31/20
to AdWords API and Google Ads API Forum
Please add this feature it would be really helpful.

I have one more question. Is there any field for ex 'ad status' which can tell me that my ad is created but is not delivering due to some reason?

Google Ads API Forum Advisor Prod

unread,
Mar 31, 2020, 4:43:53 PM3/31/20
to ankit...@gmail.com, adwor...@googlegroups.com
Hi Ankit,

For Ads there are two status fields you can call from. You can either get status of the ad or combinedApprovalStatus if your ad has been approved or not. However, it will not tell you the reason why the ad is not delivering. Let me know if you have further questions.

Ankit Agarwal

unread,
Apr 1, 2020, 8:12:23 AM4/1/20
to AdWords API and Google Ads API Forum
Hi,

I have a query if any user ad is disapproved due to some reason then how will that user get to know through Adwords API the exact reason for which his/her ad was disapproved?


On Monday, March 30, 2020 at 1:49:23 PM UTC+5:30, Ankit Agarwal wrote:

Google Ads API Forum Advisor Prod

unread,
Apr 1, 2020, 3:23:10 PM4/1/20
to ankit....@lsasoftware.com, adwor...@googlegroups.com
Hi Ankit,

Unfortunately through the API you won't be able to see the exact reason why your ads are disapproved. The API can only pull the status that has been updated at the product level on the Google Ads UI. Additionally, please refer to this document for more details on fixing disapproved ads. Let me know if you have further questions.
Reply all
Reply to author
Forward
0 new messages