Hello! 

I've read in the documentation, that *spendingLimit* must be -1 or greater 
than 0:
https://developers.google.com/adwords/api/docs/reference/v201809/BudgetOrderService.BudgetOrder

And I get 0, what does it mean? I will show you my request and the API 
answer. 

*Request:*
<?xml version="1.0"?>
<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/v201809"; 
soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"; 
soapenv:mustUnderstand="0">
      <ns1:clientCustomerId>359-395-1800</ns1:clientCustomerId>
      <ns1:developerToken>XXXX</ns1:developerToken>
      <ns1:userAgent>Calltouch Manual AdWords Collector v1.0</ns1:userAgent>
      <ns1:validateOnly>false</ns1:validateOnly>
      <ns1:partialFailure>false</ns1:partialFailure>
    </ns1:RequestHeader>
  </soapenv:Header>
  <soapenv:Body>
<get xmlns="https://adwords.google.com/api/adwords/billing/v201809";>
      <serviceSelector>
      <fields  
xmlns="https://adwords.google.com/api/adwords/cm/v201809";>BillingAccountId,BillingAccountName,BudgetOrderName</fields>
<dateRange xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
<min 
xmlns="https://adwords.google.com/api/adwords/cm/v201809";>20200601</min>
<max 
xmlns="https://adwords.google.com/api/adwords/cm/v201809";>20200703</max>
            </dateRange>
</serviceSelector>
    </get> 
</soapenv:Body>
</soapenv:Envelope>


*Answer:*
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
<soap:Header>
<ns2:ResponseHeader 
xmlns:ns2="https://adwords.google.com/api/adwords/billing/v201809"; 
xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
<requestId>0005b2ceba82eb320a81300d4c0a5caf</requestId>
<serviceName>BudgetOrderService</serviceName>
<methodName>get</methodName>
<operations>1</operations>
<responseTime>240</responseTime>
</ns2:ResponseHeader>
</soap:Header>
<soap:Body>
<ns2:getResponse 
xmlns:ns2="https://adwords.google.com/api/adwords/billing/v201809"; 
xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
<ns2:rval>
<totalNumEntries>1</totalNumEntries>
<Page.Type>BudgetOrderPage</Page.Type>
<ns2:entries>
<ns2:billingAccountId>8746-9380-2903-8268</ns2:billingAccountId>
<ns2:id>6467090536</ns2:id>
<ns2:billingAccountName>Детский сад Legacy</ns2:billingAccountName>
<ns2:primaryBillingId>8094-5508-1567</ns2:primaryBillingId>
<ns2:spendingLimit>
<ComparableValue.Type>Money</ComparableValue.Type>
<microAmount>0</microAmount>
</ns2:spendingLimit>
<ns2:startDateTime>20200915 161432 Europe/Moscow</ns2:startDateTime>
<ns2:endDateTime>20371231 105959 Europe/Moscow</ns2:endDateTime>
<ns2:lastRequest>
<ns2:status>APPROVED</ns2:status>
<ns2:billingAccountName>Детский сад Legacy</ns2:billingAccountName>
</ns2:lastRequest>
</ns2:entries>
</ns2:rval>
</ns2:getResponse>
</soap:Body>
</soap:Envelope>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bf6cd436-a7f5-438c-8688-f5af138ed447n%40googlegroups.com.

Reply via email to