| Package | Description |
|---|---|
| com.google.api.services.displayvideo.v2.model |
| Modifier and Type | Method and Description |
|---|---|
YoutubeVideoDetails |
YoutubeVideoDetails.clone() |
YoutubeVideoDetails |
MastheadAd.getVideo()
The YouTube video used by the ad.
|
YoutubeVideoDetails |
AudioAd.getVideo()
The YouTube video of the ad.
|
YoutubeVideoDetails |
VideoDiscoveryAd.getVideo()
The YouTube video the ad promotes.
|
YoutubeVideoDetails |
CommonInStreamAttribute.getVideo()
The YouTube video of the ad.
|
YoutubeVideoDetails |
YoutubeVideoDetails.set(String fieldName,
Object value) |
YoutubeVideoDetails |
YoutubeVideoDetails.setId(String id)
Output only.
|
YoutubeVideoDetails |
YoutubeVideoDetails.setUnavailableReason(String unavailableReason)
The reason why the video data is not available.
|
YoutubeVideoDetails |
YoutubeVideoDetails.setVideoAssetId(Long videoAssetId)
Required.
|
| Modifier and Type | Method and Description |
|---|---|
List<YoutubeVideoDetails> |
MastheadAd.getCompanionYoutubeVideos()
The videos that appear next to the Masthead Ad on desktop.
|
List<YoutubeVideoDetails> |
VideoPerformanceAd.getVideos()
The list of YouTube video assets used by this ad.
|
| Modifier and Type | Method and Description |
|---|---|
MastheadAd |
MastheadAd.setVideo(YoutubeVideoDetails video)
The YouTube video used by the ad.
|
AudioAd |
AudioAd.setVideo(YoutubeVideoDetails video)
The YouTube video of the ad.
|
VideoDiscoveryAd |
VideoDiscoveryAd.setVideo(YoutubeVideoDetails video)
The YouTube video the ad promotes.
|
CommonInStreamAttribute |
CommonInStreamAttribute.setVideo(YoutubeVideoDetails video)
The YouTube video of the ad.
|
| Modifier and Type | Method and Description |
|---|---|
MastheadAd |
MastheadAd.setCompanionYoutubeVideos(List<YoutubeVideoDetails> companionYoutubeVideos)
The videos that appear next to the Masthead Ad on desktop.
|
VideoPerformanceAd |
VideoPerformanceAd.setVideos(List<YoutubeVideoDetails> videos)
The list of YouTube video assets used by this ad.
|
Copyright © 2011–2026 Google. All rights reserved.