--- v16/common/ad_asset.proto 2024-05-29 16:00:42.000000000 +0000
+++ v17/common/ad_asset.proto 2024-05-29 16:00:49.000000000 +0000
@@ -61,6 +61,39 @@
message AdVideoAsset {
// The Asset resource name of this video.
optional string asset = 2;
+
+ // Contains info fields for this AdVideoAsset.
+ optional AdVideoAssetInfo ad_video_asset_info = 4;
+}
+
+// Contains info fields for AdVideoAssets.
+message AdVideoAssetInfo {
+ // List of inventory preferences for this AdVideoAsset. This field can only be
+ // set for DiscoveryVideoResponsiveAd. The video assets with an inventory
+ // asset preference set will be preferred over other videos from the same ad
+ // during serving time. For example, consider this ad being served for a
+ // specific inventory. The server will first try to match an eligible video
+ // with a matching preference for that inventory. Videos with no preferences
+ // are chosen only when a video with matching preference and eligible for a
+ // given ad slot can be found.
+ optional AdVideoAssetInventoryPreferences
+ ad_video_asset_inventory_preferences = 1;
+}
+
+// YouTube Video Asset inventory preferences.
+// Next tag: 4
+message AdVideoAssetInventoryPreferences {
+ // When true, YouTube Video Asset with this inventory preference will be
+ // preferred when choosing a video to serve In Feed.
+ optional bool in_feed_preference = 1;
+
+ // When true, YouTube Video Asset with this inventory preference will be
+ // preferred when choosing a video to serve In Stream.
+ optional bool in_stream_preference = 2;
+
+ // When true, YouTube Video Asset with this inventory preference will be
+ // preferred when choosing a video to serve on YouTube Shorts.
+ optional bool shorts_preference = 3;
}
// A media bundle asset used inside an ad.
@@ -69,8 +102,8 @@
optional string asset = 2;
}
-// A discovery carousel card asset used inside an ad.
-message AdDiscoveryCarouselCardAsset {
+// A Demand Gen carousel card asset used inside an ad.
+message AdDemandGenCarouselCardAsset {
// The Asset resource name of this discovery carousel card.
optional string asset = 1;
}
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-21。
[null,null,["最后更新时间 (UTC):2024-08-21。"],[[["The `AdVideoAsset` message now includes an optional `ad_video_asset_info` field to provide additional information about the video asset."],["`AdVideoAssetInfo` allows specifying inventory preferences for an `AdVideoAsset` to prioritize video selection during ad serving, particularly for Discovery video responsive ads."],["`AdVideoAssetInventoryPreferences` enables setting preferences for video assets to be served In Feed, In Stream, or on YouTube Shorts."],["`AdDiscoveryCarouselCardAsset` has been renamed to `AdDemandGenCarouselCardAsset`."]]],[]]