Hi Marco,

about the first part of your question, there's an open issue on the client 
library's tracker covering exactly your scenario: 
https://github.com/googleads/google-ads-python/issues/110
As a workaround, you might be able to use 
`google.protobuf.json_format.MessageToDict` to get the enum name.

HTH, best regards,
Dorian

On Wednesday, 22 May 2019 16:30:51 UTC+2, Marco Frighetto wrote:
>
> Hi there,
> how can i take in python the error name from the enumerate in protobuf 
> response?
>
> Furthermore, i see a discrepancy between the index and number in protobuf. 
> Is this intended to be so? See the screenshot attached (for reference 
> <https://github.com/googleads/google-ads-python/blob/master/google/ads/google_ads/v1/proto/errors/campaign_error_pb2.py>
> ). 
>
> Thank for you help.
> Marco
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 and Google Ads 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/a5c76e93-c9e8-4cf2-8cd1-2af9a01979aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to