Download non-monthly billed invoices via API

56 views
Skip to first unread message

Leon Hunter

unread,
Nov 10, 2022, 7:25:40 AM11/10/22
to Google Ads API and AdWords API Forum
Hello,

I need to use the Google Ads API to download invoices from my account, which is not set to monthly billing.

The documentation (https://developers.google.com/google-ads/api/docs/billing/overview) specifies that the payment settings must be set to monthly billing in order to use this API functionality, but that is not possible for my use-case.

Is there any way to retrieve invoices via an API for an account which does not use monthly billing?

Google Ads API Forum Advisor

unread,
Nov 10, 2022, 8:27:32 AM11/10/22
to leonhu...@gmail.com, adwor...@googlegroups.com
Hi Leon,

Thank you for raising this concern to the Google Ads Forum.

With regard to your concern regarding the "Is there any way to retrieve invoices via an API for an account which does not use monthly billing" that you mentioned, I can suggest to start with this guide for retrieving invoices with the Google Ads API. Let me know if this works for you. 

Best regards,
Google Logo
Jinky
Google Ads API Team
 

 

ref:_00D1U1174p._5004Q2g2M9o:ref

Leon Hunter

unread,
Nov 10, 2022, 9:03:34 AM11/10/22
to Google Ads API and AdWords API Forum
Hello,

I have followed the steps in that guide, attempting to retrieve an invoice - but I receive an API error:

{"errors":[{"errorCode":{"invoiceError":"BILLING_SETUP_NOT_ON_MONTHLY_INVOICING"},"message":"Cannot request invoices for a billing setup that is not on monthly invoicing."}],"requestId":"ldPTrbRHcIxjska26bbWww"}

Google Ads API Forum Advisor

unread,
Nov 10, 2022, 10:30:51 AM11/10/22
to leonhu...@gmail.com, adwor...@googlegroups.com
Hi Leon,

The error message indicates that you are not meeting the first prerequisite for using this service, which is to have monthly invoicing enabled. Please enable this feature. 

If you suspect it already is enabled, please privately provide us with the complete request and response logs.

Thanks,

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2g2M9o:ref

Leon Hunter

unread,
Nov 10, 2022, 11:15:30 AM11/10/22
to Google Ads API and AdWords API Forum
Hi Matt,

Is there any way at all to programmatically download invoices without turning on monthly invoicing?

And also to clarify, on the documents page, in the statements tab - this is what I am trying to access via the API.

Google Ads API Forum Advisor

unread,
Nov 10, 2022, 12:18:03 PM11/10/22
to leonhu...@gmail.com, adwor...@googlegroups.com
Hi Leon,

Thank you for your reply.

Unfortunately, the prerequisites listed here are needed before you can be able to retrieve invoices using the API.

As for the "documents page, in the statements tab", I'm afraid that our API support team is not familiar with all the different views in the UI. However, if that specific page contains your account's invoice information, then those should map as well to the invoice feature of the API.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


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