Re: Undocumented exception trying to change budget

2018-04-23 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum
Hi Dmitry,

Could you please share the client customer id along with budget id so that 
I can troubleshoot the issue? You could choose '*Reply privately to author*' 
option while responding. 

Thanks,
Milind, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/43b14a2f-2955-4ff0-a48b-82e891fa8a1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Undocumented exception trying to change budget

2018-04-23 Thread dima
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)