AdTypeEnum Values Documented in Google Ads API Not Appearing

287 views
Skip to first unread message

Elliot Partridge

unread,
Apr 29, 2022, 9:52:46 AM4/29/22
to Google Ads API and AdWords API Forum
Hello there,

I'm hoping that someone could shed light on the below; it seems that Enum values (`DISCOVERY_MULTI_ASSET_AD = 35, DISCOVERY_CAROUSEL_AD = 36`) documented in the v10 API are not appearing:

```
ad_types = client.get_type('AdTypeEnum')
values = set(ad_type.value for ad_type in ad_types.AdType) 

print(values)
>> {0, 1, 2, 3, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34}
```

Thanks!

Dorian Kind

unread,
Apr 29, 2022, 10:37:14 AM4/29/22
to Google Ads API and AdWords API Forum
See https://github.com/googleads/google-ads-python/issues/626. These enums were introduced in v10.1 and the client libraries aren't yet updated.

Google Ads API Forum Advisor

unread,
May 2, 2022, 12:38:20 PM5/2/22
to dor...@webrepublic.ch, adwor...@googlegroups.com
Hi Elliot,

Thanks for reaching out. Please see the client library forum post kindly linked by Dorian. Discovery Campaign enums should be supported in the client library within the next week.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2aOrY8:ref
Message has been deleted

Google Ads API Forum Advisor

unread,
Jun 28, 2022, 9:35:05 AM6/28/22
to zhe...@leadplus.co.jp, adwor...@googlegroups.com
Hi Zhe,

Thank you for the reply.

Moving forward, to answer your concerns in general, I would suggest you reach out to the client library owners through the forum thread given by Dorian, which is here: https://github.com/googleads/google-ads-python/issues/626, as they are more equipped to provide guidance on this matter.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


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