Can't update po_number for ended budget

44 views
Skip to first unread message

Kimsrung Lov

unread,
May 29, 2015, 11:50:04 AM5/29/15
to adwor...@googlegroups.com
Hi there,

I got an error while I was trying to use set request to update po_number and amount when its budget order was already ended. I'm not sure if I could have done it wrong. Here is my selector:
{:billing_account_id=> my_billing_id,
:budget_order_name=>"Development Budget",
:spending_limit=>{:xsi_type=>"Money", :micro_amount=>1000000},
:id=> my_id,
:po_number=>"Testing Purpose"}
Enter code here...

but I got this [BudgetOrderError.INVALID_BUDGET_DATE_RANGE @ operations[0].operand.endDateTime; trigger:'End date cannot be in the past']. Sometimes, I got an error with start date.

Hope someone can help me with that.

Best,
kimsrung

Anthony Madrigal

unread,
May 29, 2015, 2:48:24 PM5/29/15
to adwor...@googlegroups.com, kimsru...@gmail.com
Hello Kimsrung,

It appears that you are missing the startDateTime and endDateTime in your selector. Those fields are required. You can find more information on those fields here. Once you include them, you should no longer get that error.

Regards,
Anthony, AdWords API Team

Kimsrung Lov

unread,
May 30, 2015, 10:11:02 AM5/30/15
to adwor...@googlegroups.com, kimsru...@gmail.com
Hi Anthony,

I'm aware of that, but the thing is my budget_order is already ended and I only want to update po_number, so if I put startDateTime and endDateTime which is already in the past, then I will get error with 'End date cannot be in the past'. Any clues about it.

Thanks,
Kimsrung
Reply all
Reply to author
Forward
0 new messages