I have an INVALID_BILLING_ACCOUNT exception while creating a budgetOrder 
using the same billing account as usual. 

I can retrieve the billing account without any pb.

Would someone help me?



<?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/v201809";>
            <ns2:clientCustomerId 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809";>4105198503</ns2:clientCustomerId>
            <ns3:developerToken 
xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201809";>REDACTED</ns3:developerToken>
            <ns4:userAgent 
xmlns:ns4="https://adwords.google.com/api/adwords/cm/v201809";>lnk-mcc300 
(AwApi-Java, AdWords-Axis/4.1.0, Common-Java/4.1.0, Axis/1.4, 
Java/1.8.0_111, maven)</ns4:userAgent>
            <ns5:validateOnly 
xmlns:ns5="https://adwords.google.com/api/adwords/cm/v201809";>false</ns5:validateOnly>
            <ns6:partialFailure 
xmlns:ns6="https://adwords.google.com/api/adwords/cm/v201809";>false</ns6:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <mutate 
xmlns="https://adwords.google.com/api/adwords/billing/v201809";>
            <operations>
                <ns7:operator 
xmlns:ns7="https://adwords.google.com/api/adwords/cm/v201809";>ADD</ns7:operator>
                <operand>
                    <billingAccountId>0595-4797-3956-3267</billingAccountId>
                    <primaryBillingId>2513-2327-4359</primaryBillingId>
                    <spendingLimit>
                        <ns8:microAmount 
xmlns:ns8="https://adwords.google.com/api/adwords/cm/v201809";>100000000</ns8:microAmount>
                    </spendingLimit>
                    <startDateTime>20190612 000001 
Europe/Paris</startDateTime>
                    <endDateTime>20190614 235959 Europe/Paris</endDateTime>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>

[main] INFO 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
SOAP response:
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
        <ns2:ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201809"; 
xmlns:ns2="https://adwords.google.com/api/adwords/billing/v201809";>
            <requestId>00058af82c5d15ea0ac14e46130bac35</requestId>
            <serviceName>BudgetOrderService</serviceName>
            <methodName>mutate</methodName>
            <operations>1</operations>
            <responseTime>423</responseTime>
        </ns2:ResponseHeader>
    </soap:Header>
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Server</faultcode>
            <faultstring>[BudgetOrderError.INVALID_BILLING_ACCOUNT @ 
operations[0].operand]</faultstring>
            <detail>
                <ns2:ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201809"; 
xmlns:ns2="https://adwords.google.com/api/adwords/billing/v201809";>
                    <message>[BudgetOrderError.INVALID_BILLING_ACCOUNT @ 
operations[0].operand]</message>
                    
<ApplicationException.Type>ApiException</ApplicationException.Type>
                    <errors 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns2:BudgetOrderError">
                        <fieldPath>operations[0].operand</fieldPath>
                        <fieldPathElements>
                            <field>operations</field>
                            <index>0</index>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>operand</field>
                        </fieldPathElements>
                        <trigger/>
                        
<errorString>BudgetOrderError.INVALID_BILLING_ACCOUNT</errorString>
                        <ApiError.Type>BudgetOrderError</ApiError.Type>
                        <ns2:reason>INVALID_BILLING_ACCOUNT</ns2:reason>
                    </errors>
                </ns2:ApiExceptionFault>
            </detail>
        </soap:Fault>
    </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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2fa8f563-e1c9-4b81-8694-32b9b43c501b%40googlegroups.com.

Reply via email to