Friday, 3 June 2016

Getting OperatorError.OPERATOR_NOT_SUPPORTED in exception using Google Api v201603 PHP library

Hello everyone,
I am using Google Ads Api-v201603 (PHP Library) where sometimes, I am having an issue with my request which is returning me an Exception,

{"faultstring":"[OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0], RequiredError.REQUIRED @ operations[0].operand, RequiredError.REQUIRED @ operations[0].operator]","faultcode":"soap:Server","detail":{"ApiExceptionFault":{"message":"[OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0], RequiredError.REQUIRED @ operations[0].operand, RequiredError.REQUIRED @ operations[0].operator]","ApplicationException.Type":"ApiException","errors":[{"enc_type":0,"enc_value":{"reason":"OPERATOR_NOT_SUPPORTED","fieldPath":"operations[0]","trigger":"","type":null,"errorString":"OperatorError.OPERATOR_NOT_SUPPORTED","ApiError.Type":"OperatorError"},"enc_stype":"OperatorError","enc_ns":"https:\/\/adwords.google.com\/api\/adwords\/cm\/v201603"},{"enc_type":0,"enc_value":{"reason":"REQUIRED","fieldPath":"operations[0].operand","trigger":"","type":null,"errorString":"RequiredError.REQUIRED","ApiError.Type":"RequiredError"},"enc_stype":"RequiredError","enc_ns":"https:\/\/adwords.google.com\/api\/adwords\/cm\/v201603"},{"enc_type":0,"enc_value":{"reason":"REQUIRED","fieldPath":"operations[0].operator","trigger":"","type":null,"errorString":"RequiredError.REQUIRED","ApiError.Type":"RequiredError"},"enc_stype":"RequiredError","enc_ns":"https:\/\/adwords.google.com\/api\/adwords\/cm\/v201603"}]}}}

Same code is working for many requests but some times it returns this one.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+unsubscribe@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+unsubscribe@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/3b64d853-2958-4687-aeb4-456c87a067d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment