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/2edef9c7-1a6e-411b-a3be-a53405729150%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to