Hi,

Could you check that you have imported the namespaces correctly as shown 
here 
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201710/ErrorHandling/HandlePolicyViolationError.php#L27>?
 
Please note that ManagedCustomerService doesn't support partial failures. 
The partial failure feature is only supported in the list of API services 
provided here 
<https://developers.google.com/adwords/api/docs/guides/partial-failure#technical_details>.
 
When partialFailure is set to true, you need to handle these 
partialFailures in the *try* block as shown here 
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201710/ErrorHandling/HandlePartialFailures.php#L98>.
 
You can catch other API exceptions in the *catch* block as shown here 
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201710/ErrorHandling/HandlePolicyViolationError.php#L70>
.

Regards,
Jude, 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/cc2d684f-9b1b-4679-98d5-97e68cbda72f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to