Adwords API (v201809) :: get selected BillingAccount of Client customer under MCC by APi request

67 views
Skip to first unread message

Frank Ruwolt

unread,
Oct 10, 2019, 11:03:57 AM10/10/19
to AdWords API and Google Ads API Forum
Hi Adwords Team,

as far as i know there can be only one selected billing account for a client customer at the same time. 

Would it be possible to find out the chosen/selected billing account of a customerr client account?
I know there's the BudgetOrderService with its getBillingAccounts() function, but this only returns all available billing accounts for that client customer.

Thanks
Frank




Google Ads API Forum Advisor Prod

unread,
Oct 10, 2019, 4:03:09 PM10/10/19
to fru...@adzlocal.de, adwor...@googlegroups.com

Hi Frank,

Thank you for reaching out. It is not possible to get the billing details via Adwords API. Using getBillingAccounts method of Budget Order Service, you can only get the list of all open and active billing accounts and not the selected billing account for a client customer account. Let us know if you have any further concerns.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UKMsjC:ref

Frank Ruwolt

unread,
Oct 11, 2019, 2:38:01 AM10/11/19
to AdWords API and Google Ads API Forum
Hi Nikisha,

thanks a lot for your fast response. 

Then i have a second question: Is it possible with the new Ads-Api?
(I saw the example https://github.com/googleads/google-ads-php/blob/ccd54a19204b6aa8944cd3120b047339f490df28/examples/Billing/GetBillingSetup.php, but again the comments say the code only gets the available billing details/setups, but that's not the selected setup for a customer client account)

Best regards
Frank  

Google Ads API Forum Advisor Prod

unread,
Oct 11, 2019, 9:48:53 AM10/11/19
to fru...@adzlocal.de, adwor...@googlegroups.com

Hi Frank,

With Google Ads API, you could use billing_setup resource or GetBillingSetup method of BillingSetupService to get the approved list of billing set up for an account. At any given instance of time, only one billing set up is active for the specified customer account. Based on the start_date_time and end_date_time of the billing set up, you will be able to retrieve the active billing set up which is currently selected for the client customer account. Let us know if this helps to clarify your concern.



Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UKMsjC:ref

Frank Ruwolt

unread,
Oct 14, 2019, 2:51:13 AM10/14/19
to AdWords API and Google Ads API Forum
Hi Nikisha,

thank a lot! That sounds promising - i'll give it a try. 

Regards,
Frank
Reply all
Reply to author
Forward
0 new messages