@@ -39,6 +39,26 @@ class StudioCreative extends \Google\Collection
3939 * VPAID linear video creative format.
4040 */
4141 public const FORMAT_VPAID_LINEAR_VIDEO = 'VPAID_LINEAR_VIDEO ' ;
42+ /**
43+ * In-stream video creative format.
44+ */
45+ public const FORMAT_INSTREAM_VIDEO = 'INSTREAM_VIDEO ' ;
46+ /**
47+ * The orientation of the studio creative is unknown.
48+ */
49+ public const ORIENTATION_ORIENTATION_UNKNOWN = 'ORIENTATION_UNKNOWN ' ;
50+ /**
51+ * The asset is a landscape asset.
52+ */
53+ public const ORIENTATION_ASSET_LANDSCAPE = 'ASSET_LANDSCAPE ' ;
54+ /**
55+ * The asset is a portrait asset.
56+ */
57+ public const ORIENTATION_ASSET_PORTRAIT = 'ASSET_PORTRAIT ' ;
58+ /**
59+ * The asset is a square asset.
60+ */
61+ public const ORIENTATION_ASSET_SQUARE = 'ASSET_SQUARE ' ;
4262 /**
4363 * The status of the studio creative is unknown. This value is unused.
4464 */
@@ -81,6 +101,12 @@ class StudioCreative extends \Google\Collection
81101 protected $ createdInfoDataType = '' ;
82102 protected $ dimensionType = StudioCreativeDimension::class;
83103 protected $ dimensionDataType = '' ;
104+ /**
105+ * Optional. Duration of this studio creative in seconds.
106+ *
107+ * @var int
108+ */
109+ public $ durationSeconds ;
84110 /**
85111 * Dynamic profile ID of this studio creative.
86112 *
@@ -109,6 +135,16 @@ class StudioCreative extends \Google\Collection
109135 * @var string
110136 */
111137 public $ name ;
138+ /**
139+ * Optional. LINT.ThenChange( //depot/google3/ads/richmedia/studio/proto/stubb
140+ * y/creative.proto:orientation,
141+ * //depot/google3/ads/xfa/proto/api/enum.proto:orientation, //depot/google3/j
142+ * ava/com/google/ads/richmedia/studio/domain/model/converter/CreativeConverte
143+ * r.java:orientation ) Orientation of this studio creative.
144+ *
145+ * @var string
146+ */
147+ public $ orientation ;
112148 /**
113149 * Output only. Status of this studio creative. It is a read-only field.
114150 *
@@ -204,6 +240,22 @@ public function getDimension()
204240 {
205241 return $ this ->dimension ;
206242 }
243+ /**
244+ * Optional. Duration of this studio creative in seconds.
245+ *
246+ * @param int $durationSeconds
247+ */
248+ public function setDurationSeconds ($ durationSeconds )
249+ {
250+ $ this ->durationSeconds = $ durationSeconds ;
251+ }
252+ /**
253+ * @return int
254+ */
255+ public function getDurationSeconds ()
256+ {
257+ return $ this ->durationSeconds ;
258+ }
207259 /**
208260 * Dynamic profile ID of this studio creative.
209261 *
@@ -224,7 +276,7 @@ public function getDynamicProfileId()
224276 * Format of this studio creative. This is a required field on insertion.
225277 *
226278 * Accepted values: UNKNOWN, BANNER, EXPANDING, INTERSTITIAL,
227- * VPAID_LINEAR_VIDEO
279+ * VPAID_LINEAR_VIDEO, INSTREAM_VIDEO
228280 *
229281 * @param self::FORMAT_* $format
230282 */
@@ -290,6 +342,29 @@ public function getName()
290342 {
291343 return $ this ->name ;
292344 }
345+ /**
346+ * Optional. LINT.ThenChange( //depot/google3/ads/richmedia/studio/proto/stubb
347+ * y/creative.proto:orientation,
348+ * //depot/google3/ads/xfa/proto/api/enum.proto:orientation, //depot/google3/j
349+ * ava/com/google/ads/richmedia/studio/domain/model/converter/CreativeConverte
350+ * r.java:orientation ) Orientation of this studio creative.
351+ *
352+ * Accepted values: ORIENTATION_UNKNOWN, ASSET_LANDSCAPE, ASSET_PORTRAIT,
353+ * ASSET_SQUARE
354+ *
355+ * @param self::ORIENTATION_* $orientation
356+ */
357+ public function setOrientation ($ orientation )
358+ {
359+ $ this ->orientation = $ orientation ;
360+ }
361+ /**
362+ * @return self::ORIENTATION_*
363+ */
364+ public function getOrientation ()
365+ {
366+ return $ this ->orientation ;
367+ }
293368 /**
294369 * Output only. Status of this studio creative. It is a read-only field.
295370 *
0 commit comments