How to setup billing information using Google Ads API

117 views
Skip to first unread message

Ting Wang

unread,
Jun 25, 2019, 3:52:40 AM6/25/19
to AdWords API and Google Ads API Forum
Hi, 
I have a question regarding Billing Setup in Ads API.

I have a MCC account 'A' and one client account 'B' (which billing has been set up) under it. I'm trying to use Ads API to create a new customer and try to use the same payments that I set up with 'B'. I'm following this doc and put payments_account_name and payments_profile_id as it described and it gave me the errors:
{{ "errorCode": { "billingSetupError": "NO_SIGNUP_PERMISSION" }, "message": "The customer does not have permission to signup for billing." }}
After I got the error, I tried to retrieve billing setups for this account and It looks like payments_account_name and payments_profile_id has been set up.
Billing setup with ID '542089755', status 'Pending', payments account '', payments account Id '', payments account name 'Test1', payments profile id '6976-4552-1590', payments profile name '', secondary payments profile id ''.

What is the correct behavior to setup billing? Does my MCC has to be Consolidated Billing in order to use billing operations? Will this Status of Pending be approved automatically?

Thanks,
Ting

Google Ads API Forum Advisor Prod

unread,
Jun 25, 2019, 6:14:17 AM6/25/19
to adwor...@googlegroups.com

Hi Ting,

Thank you for reaching out to us.

  • What is the correct behavior to setup billing?
    • As per this page, Billing Setups can only be created by customers who have permission to setup billings. You may contact a representative for help in setting up permissions.
  • Does my MCC has to be Consolidated Billing in order to use billing operations?
    • Normally, Consolidated Billing is required in order for you to complete your billing setup. Could you kindly try and complete the setup for Consolidated Billing, and see if the issue persists?
  • Will this Status of Pending be approved automatically?
    • I'm afraid I cannot comment on whether pending Billing Setups will be approved automatically. You may however, track the status of Billing Setups using this page as a guide.
 

Regards,
Ziv Yves Sanchez
Google Ads API Team



ref:_00D1U1174p._5001UCZKQI:ref

Ting Wang

unread,
Jun 25, 2019, 6:14:46 PM6/25/19
to AdWords API and Google Ads API Forum
Hi,
Regarding this "You may contact a representative for help in setting up permissions". Which representative I should talk to? Customer Support?
I've already used the admin user token to do the billing setup through API. I didn't see there is any other permissions that I should set up for admin account.

Thanks,
Ting

Google Ads API Forum Advisor Prod

unread,
Jun 26, 2019, 3:12:11 AM6/26/19
to adwor...@googlegroups.com

Hi Ting,

Apologies for the lack of clarity. What I meant as "representative" was for a Google Ads representative that may assist you with setting up Consolidated Billing for your account, as this is outside of the scope for the API support team. You may refer to this page on how to set up Consolidated Billing. If you require assistance with your Consolidated Billing, you may also reach out to the Google Ads Product support team by logging in to your Google Ads account, and then going through the ? icon > Get help link.

After completing the setup for the above, you may then try to once again create Billing Setups for your accounts using the Google Ads API.



Regards,
Ziv Yves Sanchez
Google Ads API Team



ref:_00D1U1174p._5001UCZKQI:ref

Christophe Goetzmann

unread,
Jul 20, 2019, 9:36:45 AM7/20/19
to AdWords API and Google Ads API Forum
Hi,

I have exactly the same issue than Ting. I have contacted the team in charge of Consolidated Billing, but so far we do not spend enough to be eligible. 

You said "Normally, Consolidated Billing is required", so my question is : is there a way to complete a billing setup from the API if we do not have consolidated billing ?

Thanks ! 

Google Ads API Forum Advisor Prod

unread,
Jul 22, 2019, 4:46:07 PM7/22/19
to chris...@variant-marketing.fr, adwor...@googlegroups.com

Hi Christophe,

Thank you for contacting support. You could try creating a payment profile,if you don't have one already by following this article. Once you have the payment profile, please try to create a new payments account by following this guide. Let me know if you need additional information.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UEFZFK:ref

Christophe Goetzmann

unread,
Jul 24, 2019, 6:35:15 AM7/24/19
to AdWords API and Google Ads API Forum
Hi Nikisha,

thanks for your answer. 

Actually, I already have an active payment profile, for which I have full admin rights, and which is being used on another Google Ads Account. 

I am trying to use this existing payment profile to setup a first billing on a new Google Ads Account (created from the API). Here is the piece of code I use :


    billing_setup_service = client.get_service('BillingSetupService', version='v1')

    billing_setup_operation = client.get_type('BillingSetupOperation', version='v1')

    billing_setup = billing_setup_operation.create

    billing_setup.payments_account_info.payments_profile_id.value = "6340-7543-3902"

    billing_setup.payments_account_info.payments_account_name.value = "New Payment Account"

    billing_setup.start_time_type = client.get_type('TimeTypeEnum').NOW


    try:

        billing_response = billing_setup_service.mutate_billing_setup(customer_id, billing_setup_operation)



Where the payments_profile_id is the ID of the existing payment profile, and the customer_id is the ID of the new Google Ads account.

I get the following error : 

Request with ID "aOVy8WTVWBdyhqjyhgW_3g" failed with status "INVALID_ARGUMENT" and includes the following errors: Error with message "The customer does not have permission to signup for billing.".

Do you have any idea of what I should do ? 

Thank you very much for your help !
Christophe

Google Ads API Forum Advisor Prod

unread,
Jul 24, 2019, 5:16:29 PM7/24/19
to chris...@variant-marketing.fr, adwor...@googlegroups.com

Hi Christophe,

Could you please contact your technical account manager for getting help for the permission to setup billings as this is outside of the scope for the API support team. Let us know if you have any concerns related to Adwords API/Google Ads API.



Regards,
Nikisha Patel, Google Ads API Team



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