Xiaoming,
The asked information:

Logs:
POST /api/adwords/billing/v201809/BudgetOrderService?wsdl HTTP/1.1
Host: adwords.google.com
Connection: close
User-Agent: PHP-SOAP/7.4.7
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 1132
Authorization: REDACTED<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809"; xmlns:ns2="
https://adwords.google.com/api/adwords/billing/v201809";><SOAP-ENV:
Header><ns2:RequestHeader><ns1:clientCustomerId>1763513499</ns1:
clientCustomerId><ns1:developerToken>REDACTED</ns1:
developerToken><ns1:userAgent>PHP/SOAP:elama:prod-app (AwApi-PHP,
googleads-php-lib/39.0.0, PHP/7.4.7)</ns1:userAgent><
ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:
partialFailure></ns2:RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns2:
mutate><ns2:operations><ns1:operator>ADD</ns1:operator><ns2:operand><ns2:
billingAccountId>5480-1863-0155-8932</ns2:billingAccountId><ns2:
primaryBillingId>4754-4694-5794</ns2:primaryBillingId><
ns2:spendingLimit><ns1:microAmount>10000</ns1:microAmount></ns2:
spendingLimit><ns2:startDateTime>20200619 121950 Europe/Moscow</ns2:
startDateTime><ns2:endDateTime>20371231 105959 Europe/Moscow</ns2:
endDateTime></ns2:operand></ns2:operations></ns2:mutate></
SOAP-ENV:Body></SOAP-ENV:Envelope>HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Fri, 19 Jun 2020 09:19:52 GMT
Expires: Fri, 19 Jun 2020 09:19:52 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: h3-28=":443"; ma=2592000,h3-27=":443"; ma=2592000,h3-25=":443";
ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443";
ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443";
ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443";
ma=2592000,quic=":443"; ma=2592000; v="46,43"
Accept-Ranges: none
Vary: Accept-Encoding
Connection: close
Transfer-Encoding: chunked<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>
0005a86c652a242e0528dd3383057ec2</requestId><serviceName>
BudgetOrderService</serviceName><methodName>mutate</methodName><
operations>1</operations><responseTime>1448</responseTime></ns2:
ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
faultcode><faultstring>[BudgetOrderError.GENERIC_BILLING_ERROR @
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.GENERIC_BILLING_ERROR @ 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></trigger><errorString>BudgetOrderError.GENERIC_
BILLING_ERROR</errorString><ApiError.Type>BudgetOrderError</ApiError.
Type><ns2:reason>GENERIC_BILLING_ERROR</ns2:reason></errors></ns2:
ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>

МСС 6095457405 <(609)%20545-7405>

Customer:
clientCustomerId=1763513499 operations=1 service=BudgetOrderService
method=mutate responseTime=1448 requestId=0005a86c652a242e0528dd3383057ec2
server=adwords.google.com isFault=1
faultMessage=[BudgetOrderError.GENERIC_BILLING_ERROR @
operations[0].operand]

Their code:

 /**
     * @throws ApiException
     */
    public function createBudgetOrder(
        string $refreshToken,
        string $clientCustomerId,
        string $billingAccountId,
        string $primaryBillingId
    ) : BudgetOrder {
        $budgetOrder = new BudgetOrder();
        $budgetOrder->setPrimaryBillingId($primaryBillingId);
        $budgetOrder->setBillingAccountId($billingAccountId);
        $microAmount = $this->convertToMicro(0.01);
        $money = new Money();
        $money->setMicroAmount($microAmount);
        $budgetOrder->setSpendingLimit($money);
        $budgetOrder->setStartDateTime((new \DateTime())->format('Ymd His e'));
        $budgetOrder->setEndDateTime(self::BUDGET_ORDER_DEFAULT_END_DATE_TIME);
       $budgetOrderOperation = new BudgetOrderOperation();
        $budgetOrderOperation->setOperator('ADD');
        $budgetOrderOperation->setOperand($budgetOrder);
$result = $this->getBudgetOrderService($refreshToken,
$clientCustomerId)->mutate([$budgetOrderOperation]);        return
$result->getValue()[0];
    }


On Fri, Jun 19, 2020 at 9:34 AM Olga Popova <opop...@google.com> wrote:

> Hi Xiaoming,
> I'll ask them, and come back to you.
>
>
>
> Thank you,
> Olga
>
> On Thu, Jun 18, 2020 at 8:56 PM Google Ads API Forum Advisor Prod <
> adsapiforumadvi...@gmail.com> wrote:
>
>> Hi Olga,
>>
>> Thank you for reaching out. Could you please share the complete request
>> and response logs along with the source code used to create the BudgetOrder
>> and the MCC account id and client customer id via the *Reply privately
>> to author* option for me to further investigate?
>>
>> Thanks and regards,
>> Xiaoming, Google Ads API Team
>>
>>
>>
>> ref:_00D1U1174p._5004Q217YSQ:ref
>>
>> --
>> --
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> 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 a topic in the
>> Google Groups "AdWords API and Google Ads API Forum" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/adwords-api/VAHNzUJyRqw/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/FUSCe000000000000000000000000000000000000000000000QC50PE00RCURbblqTD2Crd8JdHfODA%40sfdc.net
>> <https://groups.google.com/d/msgid/adwords-api/FUSCe000000000000000000000000000000000000000000000QC50PE00RCURbblqTD2Crd8JdHfODA%40sfdc.net?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
>
> *  •  **Olga** Popova*
>
> *  •  *Agency Development Manager
>         Google Ireland Ltd.
>      opop...@google.com
> <opop...@google.com>
>
> *Google Ireland Ltd.  *
>
> *Gordon House, Barrow Street, Dublin 4, Ireland Registered in Dublin,
> Ireland | Registration Number: 368047 *
>
>
>

-- 

*  •  **Olga** Popova*

*  •  *Agency Development Manager
        Google Ireland Ltd.
     opop...@google.com
<opop...@google.com>

*Google Ireland Ltd.  *

*Gordon House, Barrow Street, Dublin 4, Ireland Registered in Dublin,
Ireland | Registration Number: 368047 *

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CALbN0Y_2V5wzMdT13NLjOjuENa5ZmscW4Ohj%3DsF%2BU%2Bz38SBo5w%40mail.gmail.com.

Reply via email to