RE: create BudgetOrderError and trigger is null

35 views
Skip to first unread message

Google Ads API Forum Advisor Prod

unread,
Jul 13, 2020, 1:03:08 PM7/13/20
to pengl...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to us. I've deleted your post for your security as it contained sensitive information in your logs. Could you confirm if you've set up consolidated billing since you're using BudgetOrderService? 

Thank you,
Bryan, Google Ads API Team

ref:_00D1U1174p._5004Q21lDex:ref

pengl...@gmail.com

unread,
Jul 13, 2020, 10:43:21 PM7/13/20
to AdWords API and Google Ads API Forum
Hi  Bryan,
Thank you for your  reply.
I have confirmed that the consolidated billing is used in our google manager console. it works well in the console;
But the billing doesn't work during the API call;

And my test code follow:

ps: the customer is created in last test;
And the error info:
Request failed due to ApiException. Underlying ApiErrors:
  Error 0: BudgetOrderError{apiErrorType=BudgetOrderError, errorString=BudgetOrderError.GENERIC_BILLING_ERROR, fieldPath=operations[0].operand, fieldPathElements=[FieldPathElement{field=operations, index=0}, FieldPathElement{field=operand}], reason=GENERIC_BILLING_ERROR, trigger=}

pengl...@gmail.com

unread,
Jul 13, 2020, 10:51:13 PM7/13/20
to AdWords API and Google Ads API Forum
企业微信截图_ad5508fb-11f7-4bfa-a749-281c75f6a141.pngtestCode.png

Google Ads API Forum Advisor Prod

unread,
Jul 14, 2020, 10:34:30 AM7/14/20
to pengl...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for the update and information. I'll take a closer look at this internally with my team and get back to you.

Google Ads API Forum Advisor Prod

unread,
Jul 14, 2020, 3:15:50 PM7/14/20
to pengl...@gmail.com, adwor...@googlegroups.com
Greetings!

Thank you for providing the logs. I was able to search our system for the reason why this error was happening. The reason is:

[Missing purchase order number which is a required field for this Payments Profile.]

Please give that a try.

Thanks,
Nadine Wang, Google Ads API Team

ref:_00D1U1174p._5004Q21lDex:ref

pengl...@gmail.com

unread,
Jul 15, 2020, 10:14:01 PM7/15/20
to AdWords API and Google Ads API Forum
Hi Nadine Wang:
How can I understand the purchase order number?
the billingAccountId or primaryBillingId ,or field else?

peng.liu

Google Ads API Forum Advisor Prod

unread,
Jul 15, 2020, 10:36:28 PM7/15/20
to pengl...@gmail.com, adwor...@googlegroups.com
Greetings 刘鹏!

The purchase order number is your own code that you create. There's documentation about that in our Help Center (https://support.google.com/google-ads/answer/9285736?hl=zh-Hans). I believe the API is asking you to set the https://developers.google.com/adwords/api/docs/reference/v201809/BudgetOrderService.BudgetOrder?hl=en#ponumber when you make your request. Please give that a try.

Best,
Nadine, Google Ads API Team

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