Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Set Inventory Type on Line Item via APi

25 views
Skip to first unread message

Kenneth Mentele

unread,
Apr 14, 2025, 12:33:42 AMApr 14
to Google Ad Manager API Forum
Hello, 

Working through an integration update and we would like to be able to define the "Inventory Type" via API. I am not seeing this as an option in the API docs. 

Screenshot 2025-04-11 at 11.55.15 AM.png
Is this available via API and I am missing it? or is this only available in the UI or defaulted based on environment type? 

Thanks
Kenny 

Ad Manager API Forum Advisor

unread,
Apr 14, 2025, 4:10:45 AMApr 14
to ken...@placements.io, google-doubleclick...@googlegroups.com
Hi,

Thank you for contacting the Ad Manager API support team.

I understand that you are looking for "Inventory Type" in API which is available in the UI as one of the targeting options. As per the line item Targeting, the 'Inventory Type' targeting is not supported via API. You can use EnvironmentType for targeting all types of line items. If you want to add targeting for video line items or proposal line items then you can use RequestPlatformTargeting where you can target BROWSER, MOBILE_APP and VIDEO_PLAYER. Let us know if you have any further queries.
 
Thanks,
 
Google Logo Ad Manager API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-04-14 08:10:24Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01pSl7X:ref" (ADR-00299688)



Reply all
Reply to author
Forward
0 new messages