Change in Google API Response

141 views
Skip to first unread message

Matan Wilchek

unread,
Apr 28, 2022, 10:53:40 AM4/28/22
to Google Ads API and AdWords API Forum
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

Prime Molina

unread,
Apr 28, 2022, 11:44:40 AM4/28/22
to Google Ads API and AdWords API Forum
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

Google Ads API Forum Advisor

unread,
Apr 29, 2022, 12:30:50 PM4/29/22
to adwor...@googlegroups.com
Hi,

Thank you for reaching out.

To investigate the issue further, could you please provide the complete request and response logs, with the request-id? If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Thanks,

Google Logo
Nirmita
Google Ads API Team
 


 

ref:_00D1U1174p._5004Q2aOVMx:ref

Matan Wilchek

unread,
May 1, 2022, 6:57:59 AM5/1/22
to Google Ads API and AdWords API Forum
Hi,

why didn't you just say that you're releasing a new API version (v10.1) and the problems are due to integration?

Thanks, Matan

Google Ads API Forum Advisor

unread,
May 2, 2022, 11:48:39 PM5/2/22
to adwor...@googlegroups.com
Hi,

Thank you for the reply. I work with Nirmita and allow me to assist you here.


Is this some kind of temporary bug, or is this a permanent change in behaviour?
- In order to know the visibility to this question, we will need the complete logs as mentioned by my colleague.


why didn't you just say that you're releasing a new API version (v10.1) and the problems are due to integration?
-  I would suggest referring to our Release Notes as we are posting there the new API updates such as the API versions. As for this part of the reply "and the problems are due to integration", would you be able to provide more context as to why the new version causes issues with your integration?

Best regards,
Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2aOVMx:ref
Reply all
Reply to author
Forward
0 new messages