Hi Brandon, The budget team just got back to me with more details. As it turns out, budget order ID 186878453 was created via the UI and was abandoned at some point in the UI flow (e.g., the user navigated out of the budget order flow in her browser).
You could try submitting a BudgetOrderService.mutate <https://developers.google.com/adwords/api/docs/reference/v201409/BudgetOrderService#mutate> with a *REMOVE* operation for that *BudgetOrder* if it's causing problems. Regarding nullability, for orders created via the API, I would expect non-null values for spendingLimit, startDateTime and endDateTime. However, since a user can abandon a budget order mid-flow in the UI, it's probably best to adjust your code so it can tolerate nulls. Thanks, Josh, AdWords API Team On Thursday, January 29, 2015 at 9:04:15 AM UTC-5, Josh Radcliff (AdWords API Team) wrote: > > Hi Brandon, > > Thanks for confirming. I've raised this with the budget team and will > reply back once I've heard from them. > > Thanks, > Josh, AdWords API Team > > On Wednesday, January 28, 2015 at 8:02:30 PM UTC-5, Brandon wrote: >> >> Hi Josh, >> >> Yes, it is 186878453. >> >> Thanks, >> >> Brandon >> >> Josh Radcliff (AdWords API Team)於 2015年1月29日星期四 UTC+8上午5時32分58秒寫道: >>> >>> Hi Brandon, >>> >>> This may be due to a budget order getting stuck in the pending state, >>> possibly during the upgrade process. What's the budget order ID for the >>> object with null values? Is it 186878453, by any chance? >>> >>> Thanks, >>> Josh, AdWords API Team >>> >>> On Tuesday, January 27, 2015 at 8:33:42 PM UTC-5, Brandon wrote: >>>> >>>> Hi Josh, >>>> >>>> Thanks for the response. >>>> >>>> I still got null values today. >>>> >>>> Does it still needs a couple days to finish the upgrade? >>>> >>>> Thanks, >>>> >>>> Brandon >>>> >>>> Josh Radcliff (AdWords API Team)於 2015年1月27日星期二 UTC+8下午10時31分12秒寫道: >>>>> >>>>> Hi Brandon, >>>>> >>>>> Thanks for confirming your selector fields. Do you still get nulls >>>>> back today if you run those requests? I ask because your account was >>>>> upgraded to the new billing interface on January 21st. It may be that you >>>>> were requesting budget orders during that upgrade. >>>>> >>>>> Thanks, >>>>> Josh, AdWords API Team >>>>> >>>>> On Monday, January 26, 2015 at 8:09:44 PM UTC-5, Brandon wrote: >>>>>> >>>>>> Hi Josh, >>>>>> >>>>>> Yes, I included all of those fields. >>>>>> >>>>>> I got 4 BudgetOrder objects and there were only one of them had the >>>>>> null values. >>>>>> >>>>>> Here's the request xml: >>>>>> >>>>>> <?xml version="1.0" encoding="UTF-8"?> >>>>>> <soapenv:Envelope xmlns:soapenv=" >>>>>> http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" >>>>>> http://www.w3.org/2001/XMLSchema" xmlns:xsi=" >>>>>> http://www.w3.org/2001/XMLSchema-instance"> >>>>>> <soapenv:Header> >>>>>> <ns1:RequestHeader xmlns:ns1=" >>>>>> https://adwords.google.com/api/adwords/billing/v201409" >>>>>> soapenv:mustUnderstand="0"> >>>>>> <ns2:clientCustomerId xmlns:ns2=" >>>>>> https://adwords.google.com/api/adwords/cm/v201409 >>>>>> ">5531065781</ns2:clientCustomerId> >>>>>> <ns3:developerToken xmlns:ns3=" >>>>>> https://adwords.google.com/api/adwords/cm/v201409 >>>>>> ">DEVELOPER_TOKEN</ns3:developerToken> >>>>>> <ns4:userAgent xmlns:ns4=" >>>>>> https://adwords.google.com/api/adwords/cm/v201409">allproducts.com:GAD:v1.1.9 >>>>>> >>>>>> (AwApi-Java, AdWords-Axis/1.36.0, Common-Java/1.36.0, Axis/1.4, >>>>>> Java/1.8.0_05, maven)</ns4:userAgent> >>>>>> <ns5:validateOnly xmlns:ns5=" >>>>>> https://adwords.google.com/api/adwords/cm/v201409 >>>>>> ">false</ns5:validateOnly> >>>>>> <ns6:partialFailure xmlns:ns6=" >>>>>> https://adwords.google.com/api/adwords/cm/v201409 >>>>>> ">false</ns6:partialFailure> >>>>>> </ns1:RequestHeader> >>>>>> </soapenv:Header> >>>>>> <soapenv:Body> >>>>>> <get xmlns=" >>>>>> https://adwords.google.com/api/adwords/billing/v201409"> >>>>>> <serviceSelector> >>>>>> <ns7:fields xmlns:ns7=" >>>>>> https://adwords.google.com/api/adwords/cm/v201409 >>>>>> ">BillingAccountId</ns7:fields> >>>>>> <ns8:fields xmlns:ns8=" >>>>>> https://adwords.google.com/api/adwords/cm/v201409">Id</ns8:fields> >>>>>> <ns9:fields xmlns:ns9=" >>>>>> https://adwords.google.com/api/adwords/cm/v201409 >>>>>> ">SpendingLimit</ns9:fields> >>>>>> <ns10:fields xmlns:ns10=" >>>>>> https://adwords.google.com/api/adwords/cm/v201409 >>>>>> ">StartDateTime</ns10:fields> >>>>>> <ns11:fields xmlns:ns11=" >>>>>> https://adwords.google.com/api/adwords/cm/v201409 >>>>>> ">EndDateTime</ns11:fields> >>>>>> </serviceSelector> >>>>>> </get> >>>>>> </soapenv:Body> >>>>>> </soapenv:Envelope> >>>>>> >>>>>> Thanks, >>>>>> >>>>>> Brandon >>>>>> >>>>>> Josh Radcliff (AdWords API Team)於 2015年1月27日星期二 UTC+8上午2時06分46秒寫道: >>>>>>> >>>>>>> Hi Brandon, >>>>>>> >>>>>>> Did you include the field names for each of those attributes in your >>>>>>> request's Selector, e.g., *SpendingLimit, StartDateTime, >>>>>>> EndDateTime*? >>>>>>> >>>>>>> Thanks, >>>>>>> Josh, AdWords API Team >>>>>>> >>>>>>> On Sunday, January 25, 2015 at 8:38:52 PM UTC-5, Brandon wrote: >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I was trying to get budget information through the >>>>>>>> BudgetOrderService. >>>>>>>> >>>>>>>> But it threw a NullPointerException when I was getting the >>>>>>>> spendingLimit, startDateTime and endDateTime from the BudgetOrder >>>>>>>> object. >>>>>>>> >>>>>>>> I thought these aren't nullable fields. >>>>>>>> >>>>>>>> Is there something wrong with this account, like a wrong input? >>>>>>>> >>>>>>>> Or it's just the common case that I should deal with the null value >>>>>>>> every time? >>>>>>>> >>>>>>>> The clientCustomerId is 5531065781. >>>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> Brandon >>>>>>>> >>>>>>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/273bfc6f-9cbc-41d4-838e-adafbaf96f78%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
