Hi,
I can't update a couple of budgets of one of our customers (I have only a
refresh token), it fails with an undocumented error
BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM, at least
I couldn't find it.
What does it mean?
Thanks
[http-bio-5050-exec-7] WARN
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger
- Request made: Service: BudgetService Method: mutate clientCustomerId:
XX URL: https://adwords.google.com/api/adwords/cm/v201710/BudgetService
Request ID: 00056a6a1f8274100a379a113f01f938 ResponseTime(ms): 191
OperationsCount: 1 IsFault: true FaultMessage:
ApiException{applicationExceptionType=ApiException,
errors=[BudgetError{apiErrorType=BudgetError,
errorString=BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM,
fieldPath=operations[0].operand.amount,
fieldPathElements=[FieldPathElement{field=operations, index=0},
FieldPathElement{field=operand}, FieldPathElement{field=amount}],
reason=BUDGET_ERROR, trigger=}]}
[http-bio-5050-exec-7] INFO
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger -
SOAP request:
http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsd="http://www.w3.org/2001/XMLSchema;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
https://adwords.google.com/api/adwords/cm/v201710;
soapenv:mustUnderstand="0">
REDACTED
X (AwApi-Java, AdWords-Axis/3.10.0,
Common-Java/3.10.0, Axis/1.4, Java/1.8.0_152, maven)
false
false
https://adwords.google.com/api/adwords/cm/v201710;>
SET
XXX
100
[http-bio-5050-exec-7] INFO
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger -
SOAP response:
http://schemas.xmlsoap.org/soap/envelope/;>
https://adwords.google.com/api/adwords/cm/v201710;>
00056a6a1f8274100a379a113f01f938
BudgetService
mutate
1
191
soap:Client
[BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM
@ operations[0].operand.amount]
https://adwords.google.com/api/adwords/cm/v201710;>
[BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM
@ operations[0].operand.amount]
ApiException
http://www.w3.org/2001/XMLSchema-instance;
xsi:type="BudgetError">
operations[0].operand.amount
operations
0
operand
amount
BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM
BudgetError
BUDGET_ERROR
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString:
[BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM @
operations[0].operand.amount]
faultActor:
faultNode:
faultDetail:
{https://adwords.google.com/api/adwords/cm/v201710}ApiExceptionFault:[BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM
@
operations[0].operand.amount]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance;
xsi:type="BudgetError">operations[0].operand.amountoperations0operandamountBudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOMBudgetErrorBUDGET_ERROR
ApiException{applicationExceptionType=ApiException,
errors=[BudgetError{apiErrorType=BudgetError,
errorString=BudgetError.BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_CUSTOM,
fieldPath=operations[0].operand.amount,
fieldPathElements=[FieldPathElement{field=operations, index=0},
FieldPathElement{field=operand}, FieldPathElement{field=amount}],
reason=BUDGET_ERROR, trigger=}]}
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:104)
at
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:90)
at
com.google.api.ads.adwords.axis.v201710.cm.ApiException.getDeserializer(ApiException.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)