You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The XmlDeserializer fails to deserialize a CriterionPolicyError with the following exception: ReflectionException: Property _parameterMap does not exist. This is because the CriterionPolicyError is a child class to PolicyViolationError and the PolicyViolationError class does not have a _parameterMap property (but PolicyViolationError's parent class ApiError does). I've worked around the issue by hacking the XmlDeserializer to also check the parent class' parent when looking for a _parameterMap.
A simple example that triggers this error (using PHP v5.6 and AdWords API v201509):
The XmlDeserializer fails to deserialize a CriterionPolicyError with the following exception:
ReflectionException: Property _parameterMap does not exist
. This is because the CriterionPolicyError is a child class to PolicyViolationError and the PolicyViolationError class does not have a _parameterMap property (but PolicyViolationError's parent class ApiError does). I've worked around the issue by hacking the XmlDeserializer to also check the parent class' parent when looking for a _parameterMap.A simple example that triggers this error (using PHP v5.6 and AdWords API v201509):
And the stack trace is:
The text was updated successfully, but these errors were encountered: