Thk. That was useful ;-)

On Wednesday, May 22, 2019 at 5:06:53 PM UTC+2, Dorian Kind wrote:
>
> 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/a025a29c-2814-4481-bc77-a89417bb504c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to