Is feed_item_target.target_case a thing?

9 views
Skip to first unread message

Yuxiang Wang

unread,
Jul 11, 2019, 6:35:54 AM7/11/19
to AdWords API and Google Ads API Forum
Hi,

I'm using GoogleAds API and I want to tell the type of a feed item target, e.g. Campaign, Criterion.AdSchedule etc.
I find that I can call FeedItemTarget.TargetCase and it will return enum FeedItemTarget.TargetOneOfCase {AdGroup, AdSchedule, Campaign, Device, GeoTargetConstant, Keyword, None}.

But I didn't find anything regarding this method or enum is GoogleAds API. Is it useable?

Thanks

Google Ads API Forum Advisor Prod

unread,
Jul 11, 2019, 2:40:50 PM7/11/19
to wangyux...@gmail.com, adwor...@googlegroups.com
Hello Wang, 

You should be able to use the feed_item_target resource to pull the specific Feed Item targeting criteria details. Could you please give this a try and let us know if you have any issues?

Thanks,
Bharani, Google Ads API Team

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