We're running into a similar issue when calling the getName() for the 
following object from a campaign resource.
        campaign.getAdvertisingChannelType().getValueDescriptor().getName()

The error we're receiving is "Can't get the descriptor of an unrecognized 
enum value."
- Prime Molina


On Thursday, April 28, 2022 at 10:53:40 AM UTC-4 matan....@kendago.com 
wrote:

> Hi,
>
> I see a big change in google ads API response, in fields that used to be 
> Enums, and suddenly are a simple int.
>
> For example, campaign.advertising_channel_type.name used to be Enum, and 
> now is an int,
> while campaign.advertising_channel_sub_type is still an Enum.
>
> Is this some kind of temporary bug, or is this a permanent change in 
> behaviour?
>
> Thanks, Matan
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/52e031bf-9017-47c8-914a-929c2b4e3d9fn%40googlegroups.com.
  • Ch... 'Matan Wilchek' via Google Ads API and AdWords API Forum
    • ... 'Prime Molina' via Google Ads API and AdWords API Forum
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... 'Matan Wilchek' via Google Ads API and AdWords API Forum

Reply via email to