Partial failure management in Google Ads V1

118 views
Skip to first unread message

Rafa Ramírez

unread,
Apr 15, 2019, 5:22:39 PM4/15/19
to AdWords API and Google Ads API Forum
Hi, I'm trying to mutate some ad group criteria and manage the errors:
- If I don't use partialFailure, I can catch the error, I get an ApiException
- But if I want to use partialFailure, to send all the correct operations and manage the ones that failed, the response is empty and I'm getting this exception from the PHP library

Exception: Class google.ads.googleads.v1.errors.GoogleAdsFailure hasn't been added to descriptor pool in /var/www/vendor/google/protobuf/src/Google/Protobuf/Any.php on line 275

Is there any way to fix this? Thanks!

googleadsapi...@google.com

unread,
Apr 15, 2019, 11:25:03 PM4/15/19
to AdWords API and Google Ads API Forum
Hi Rafa,

It appears that your issue is related to the PHP client library. That said, I would recommend that you open your concern to the PHP GitHub issue tracker as the client library owners are better equipped in assisting you here.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@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 and Google Ads 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/e491d424-79a2-4df8-a64c-68b8ec46133d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages