Hi Xiaoming: my MCC account id:948-575-5177 my client customer id :3735853227 my env info: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <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:mustUnderstand="0"> <ns2:clientCustomerId xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809">3735853227</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">RMB-DVIP (AwApi-Java, AdWords-Axis/4.10.0, Common-Java/4.10.0, Axis/1.4, Java/11.0.6, 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>2751-5259-5159-1017</billingAccountId> <budgetOrderName>test_e3ed6a99-fe6f-4d66-a7eb-987bdc0f1855</budgetOrderName> <primaryBillingId>1693-7845-7583</primaryBillingId> <spendingLimit> <ns8:microAmount xmlns:ns8="https://adwords.google.com/api/adwords/cm/v201809">1000000</ns8:microAmount> </spendingLimit><startDateTime>20200801 000000 Asia/Shanghai</startDateTime> <endDateTime>20201130 235959 Asia/Shanghai</endDateTime> </operand> </operations> </mutate> </soapenv:Body> </soapenv:Envelope>
10:09:58.008 [main] INFO com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - SOAP response: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <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>0005aa5d4dc60fef0ab472d41d0f56a9</requestId> <serviceName>BudgetOrderService</serviceName> <methodName>mutate</methodName> <operations>1</operations> <responseTime>365</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/> <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> and my code: public static void createBudgetOrder(AdWordsServicesInterface adWordsServices, AdWordsSession session) throws RemoteException { session.setClientCustomerId("3735853227"); BudgetOrderServiceInterface bos = adWordsServices.get(session, BudgetOrderServiceInterface.class); BudgetOrder order = new BudgetOrder(); order.setBillingAccountId("2751-5259-5159-1017"); order.setPrimaryBillingId("1693-7845-7583"); order.setStartDateTime("20200801 000000 Asia/Shanghai"); order.setEndDateTime("20201130 235959 Asia/Shanghai"); order.setBudgetOrderName("test"+"_"+UUID.randomUUID().toString()); Money amt = new Money(); amt.setMicroAmount(1000000L); // $0.01 in micros order.setSpendingLimit(amt); BudgetOrderOperation op = new BudgetOrderOperation(); op.setOperator(Operator.ADD); op.setOperand(order); BudgetOrderReturnValue response = bos.mutate(new BudgetOrderOperation[] {op }); } Thanks and regards, Xiaoming, Google Ads API Team 在2020年7月14日星期二 UTC+8 上午3:01:38<adsapiforumadvisor> 写道: > Hi Peng, > > Thank you for reaching out. For me to further investigate, 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? > > > > > Thanks and regards, > Xiaoming, Google Ads API Team > > > > > ref:_00D1U1174p._5004Q21lDcc: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 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/8c4966fe-45db-4259-a90d-e1dabfac82dbn%40googlegroups.com.