blob: 14491d8e9202e21dabe0217ef83b595bd5a8c85b [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="displayvideo_v1.html">Display & Video 360 API</a> . <a href="displayvideo_v1.advertisers.html">advertisers</a> . <a href="displayvideo_v1.advertisers.creatives.html">creatives</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#create">create(advertiserId, body=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Creates a new creative.</p>
80<p class="toc_element">
81 <code><a href="#delete">delete(advertiserId, creativeId, x__xgafv=None)</a></code></p>
82<p class="firstline">Deletes a creative.</p>
83<p class="toc_element">
84 <code><a href="#get">get(advertiserId, creativeId, x__xgafv=None)</a></code></p>
85<p class="firstline">Gets a creative.</p>
86<p class="toc_element">
87 <code><a href="#list">list(advertiserId, filter=None, pageToken=None, orderBy=None, pageSize=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Lists creatives in an advertiser.</p>
89<p class="toc_element">
90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
93 <code><a href="#patch">patch(advertiserId, creativeId, body=None, updateMask=None, x__xgafv=None)</a></code></p>
94<p class="firstline">Updates an existing creative.</p>
95<h3>Method Details</h3>
96<div class="method">
97 <code class="details" id="create">create(advertiserId, body=None, x__xgafv=None)</code>
98 <pre>Creates a new creative.
99Returns the newly created creative if successful.
100
101Args:
102 advertiserId: string, Output only. The unique ID of the advertiser the creative belongs to. (required)
103 body: object, The request body.
104 The object takes the form of:
105
106{ # A single Creative.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700107 &quot;creativeAttributes&quot;: [ # Output only. A list of attributes of the creative that is generated by the system.
108 &quot;A String&quot;,
109 ],
110 &quot;creativeId&quot;: &quot;A String&quot;, # Output only. The unique ID of the creative. Assigned by the system.
111 &quot;entityStatus&quot;: &quot;A String&quot;, # Required. Controls whether or not the creative can serve.
112 #
113 # Accepted values are:
114 #
115 # * `ENTITY_STATUS_ACTIVE`
116 # * `ENTITY_STATUS_ARCHIVED`
117 # * `ENTITY_STATUS_PAUSED`
118 &quot;skipOffset&quot;: { # The length an audio or a video has been played. # Amount of time to play the video before the skip button appears.
119 #
120 # This field is required when skippable is true.
121 #
122 # This field is only supported for the following
123 # creative_type:
124 #
125 # * `CREATIVE_TYPE_VIDEO`
126 &quot;percentage&quot;: &quot;A String&quot;, # The offset in percentage of the audio or video duration.
127 &quot;seconds&quot;: &quot;A String&quot;, # The offset in seconds from the start of the audio or video.
128 },
129 &quot;requireHtml5&quot;: True or False, # Optional. Indicates that the creative relies on HTML5 to render properly.
130 #
131 # Optional and only valid for third-party tag creatives.
132 # Third-party tag creatives are creatives with following
133 # hosting_source:
134 #
135 # * `HOSTING_SOURCE_THIRD_PARTY`
136 #
137 # combined with following creative_type:
138 #
139 # * `CREATIVE_TYPE_STANDARD`
140 # * `CREATIVE_TYPE_EXPANDABLE`
141 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the creative.
142 &quot;skippable&quot;: True or False, # Whether the user can choose to skip a video creative.
143 #
144 # This field is only supported for the following
145 # creative_type:
146 #
147 # * `CREATIVE_TYPE_VIDEO`
148 &quot;jsTrackerUrl&quot;: &quot;A String&quot;, # JavaScript measurement URL from supported third-party verification
149 # providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not
150 # supported.
151 #
152 # This field is only supported in following
153 # creative_type:
154 #
155 # * `CREATIVE_TYPE_NATIVE`
156 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
157 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
158 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
159 # * `CREATIVE_TYPE_NATIVE_VIDEO`
160 &quot;thirdPartyUrls&quot;: [ # Tracking URLs from third parties to track interactions with a video
161 # creative.
162 #
163 # This field is only supported for the following
164 # creative_type:
165 #
166 # * `CREATIVE_TYPE_AUDIO`
167 # * `CREATIVE_TYPE_VIDEO`
168 # * `CREATIVE_TYPE_NATIVE_VIDEO`
169 { # Tracking URLs from third parties to track interactions with an audio or a
170 # video creative.
171 &quot;type&quot;: &quot;A String&quot;, # The type of interaction needs to be tracked by the tracking URL
172 &quot;url&quot;: &quot;A String&quot;, # Tracking URL used to track the interaction.
173 #
174 # Provide a URL with optional path or query string, beginning with `https:`.
175 # For example, https://www.example.com/path
Bu Sun Kim65020912020-05-20 12:08:20 -0700176 },
177 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700178 &quot;expandOnHover&quot;: True or False, # Optional. Indicates the creative will automatically expand on hover.
179 #
180 # Optional and only valid for third-party expandable creatives.
181 # Third-party expandable creatives are creatives with following hosting
182 # source:
183 #
184 # * `HOSTING_SOURCE_THIRD_PARTY`
185 #
186 # combined with following creative_type:
187 #
188 # * `CREATIVE_TYPE_EXPANDABLE`
189 &quot;exitEvents&quot;: [ # Required. Exit events for this creative.
190 # An exit (also known as a click tag) is any area in your creative that
191 # someone can click or tap to open an advertiser&#x27;s landing page.
192 # Every creative must include at least one exit.
193 # You can add an exit to your creative in any of the following ways:
194 #
195 # * Use Google Web Designer&#x27;s tap area.
196 # * Define a JavaScript variable called &quot;clickTag&quot;.
197 # * Use the Enabler (Enabler.exit()) to track exits in rich media formats.
198 { # Exit event of the creative.
199 &quot;url&quot;: &quot;A String&quot;, # Required. The click through URL of the exit event.
200 # This is required when type is:
201 #
202 # * `EXIT_EVENT_TYPE_DEFAULT`
203 # * `EXIT_EVENT_TYPE_BACKUP`
204 &quot;name&quot;: &quot;A String&quot;, # The name of the click tag of the exit event.
205 #
206 # The name must be unique within one creative.
207 #
208 # Leave it empty or unset for creatives containing image assets only.
209 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the exit event.
210 &quot;reportingName&quot;: &quot;A String&quot;, # The name used to identify this event in reports.
211 # Leave it empty or unset for creatives containing image assets only.
212 },
213 ],
214 &quot;additionalDimensions&quot;: [ # Additional dimensions.
215 # Applicable when creative_type is one of:
216 #
217 # * `CREATIVE_TYPE_STANDARD`
218 # * `CREATIVE_TYPE_EXPANDABLE`
219 # * `CREATIVE_TYPE_NATIVE`
220 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL`
221 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
222 # * `CREATIVE_TYPE_LIGHTBOX`
223 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
224 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
225 # * `CREATIVE_TYPE_PUBLISHER_HOSTED`
226 #
227 # If this field is specified, width_pixels and
228 # height_pixels are both required and must be
229 # greater than or equal to 0.
230 { # Dimensions.
231 &quot;heightPixels&quot;: 42, # The height in pixels.
232 &quot;widthPixels&quot;: 42, # The width in pixels.
233 },
234 ],
235 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the creative was created. Assigned by
236 # the system.
237 &quot;trackerUrls&quot;: [ # Tracking URLs for analytics providers or third-party ad technology vendors.
238 #
239 # The URLs must start with https (except on inventory that doesn&#x27;t require
240 # SSL compliance).
241 # If using macros in your URL, use only macros supported by Display &amp; Video
242 # 360.
243 #
244 # Standard URLs only, no IMG or SCRIPT tags.
245 #
246 # This field is only supported in following
247 # creative_type:
248 #
249 # * `CREATIVE_TYPE_NATIVE`
250 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
251 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
252 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
253 # * `CREATIVE_TYPE_NATIVE_VIDEO`
254 &quot;A String&quot;,
255 ],
256 &quot;iasCampaignMonitoring&quot;: True or False, # Indicates whether Integral Ad Science (IAS) campaign monitoring is enabled.
257 # To enable this for the creative, make sure the
258 # Advertiser.creative_config.ias_client_id
259 # has been set to your IAS client ID.
260 &quot;integrationCode&quot;: &quot;A String&quot;, # ID information used to link this creative to an external system.
261 # Must be UTF-8 encoded with a length of no more than 10,000 characters.
262 &quot;cmPlacementId&quot;: &quot;A String&quot;, # Output only. The unique ID of the Campaign Manager placement associated with the
263 # creative.
264 # This field is only applicable for creatives that are synced from Campaign
265 # Manager.
266 &quot;requireMraid&quot;: True or False, # Optional. Indicates that the creative requires MRAID (Mobile Rich Media Ad Interface
267 # Definitions system).
268 #
269 # Set this if the creative relies on mobile gestures for interactivity, such
270 # as swiping or tapping.
271 #
272 # Optional and only valid for third-party tag creatives.
273 #
274 # Third-party tag creatives are creatives with following
275 # hosting_source:
276 #
277 # * `HOSTING_SOURCE_THIRD_PARTY`
278 #
279 # combined with following creative_type:
280 #
281 # * `CREATIVE_TYPE_STANDARD`
282 # * `CREATIVE_TYPE_EXPANDABLE`
283 &quot;companionCreativeIds&quot;: [ # The IDs of companion creatives for a video creative.
284 #
285 # You can assign existing display creatives (with image or HTML5 assets)
286 # to serve surrounding the publisher&#x27;s video player. Companions display
287 # around the video player while the video is playing and remain after the
288 # video has completed.
289 #
290 # Creatives contain additional dimensions
291 # can not be companion creatives.
292 #
293 # This field is only supported for following
294 # creative_type:
295 #
296 # * `CREATIVE_TYPE_AUDIO`
297 # * `CREATIVE_TYPE_VIDEO`
298 &quot;A String&quot;,
299 ],
300 &quot;creativeType&quot;: &quot;A String&quot;, # Required. Immutable. The type of the creative.
301 &quot;obaIcon&quot;: { # OBA Icon for a Creative # Specifies the OBA icon for a video creative.
302 #
303 # This field is only supported in following
304 # creative_type:
305 #
306 # * `CREATIVE_TYPE_VIDEO`
307 &quot;dimensions&quot;: { # Dimensions. # The dimensions of the OBA icon.
308 &quot;heightPixels&quot;: 42, # The height in pixels.
309 &quot;widthPixels&quot;: 42, # The width in pixels.
310 },
311 &quot;resourceMimeType&quot;: &quot;A String&quot;, # The MIME type of the OBA icon resource.
312 &quot;viewTrackingUrl&quot;: &quot;A String&quot;, # Required. The view tracking URL of the OBA icon.
313 #
314 # Only URLs of the following domains are allowed:
315 #
316 # * https://info.evidon.com
317 # * https://l.betrad.com
318 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # Required. The click tracking URL of the OBA icon.
319 #
320 # Only URLs of the following domains are allowed:
321 #
322 # * https://info.evidon.com
323 # * https://l.betrad.com
324 &quot;position&quot;: &quot;A String&quot;, # The position of the OBA icon on the creative.
325 &quot;resourceUrl&quot;: &quot;A String&quot;, # The URL of the OBA icon resource.
326 &quot;landingPageUrl&quot;: &quot;A String&quot;, # Required. The landing page URL of the OBA icon.
327 #
328 # Only URLs of the following domains are allowed:
329 #
330 # * https://info.evidon.com
331 # * https://l.betrad.com
332 &quot;program&quot;: &quot;A String&quot;, # The program of the OBA icon. For example: “AdChoices”.
333 },
334 &quot;timerEvents&quot;: [ # Timer custom events for a rich media creative.
335 # Timers track the time during which a user views and interacts with a
336 # specified part of a rich media creative.
337 # A creative can have multiple timer events, each timed independently.
338 # Leave it empty or unset for creatives containing image assets only.
339 { # Timer event of the creative.
340 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the timer event.
341 &quot;reportingName&quot;: &quot;A String&quot;, # Required. The name used to identify this timer event in reports.
342 },
343 ],
344 &quot;notes&quot;: &quot;A String&quot;, # User notes for this creative.
345 # Must be UTF-8 encoded with a length of no more than 20,000 characters.
346 &quot;dynamic&quot;: True or False, # Output only. Indicates whether the creative is dynamic.
347 &quot;assets&quot;: [ # Required. Assets associated to this creative.
348 # Assets can be associated to the creative in one of following roles:
349 #
350 # * `ASSET_ROLE_UNSPECIFIED`
351 # * `ASSET_ROLE_MAIN`
352 # * `ASSET_ROLE_BACKUP`
353 # * `ASSET_ROLE_POLITE_LOAD`
354 { # Asset association for the creative.
355 &quot;asset&quot;: { # A single asset. # The associated asset.
356 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID of the uploaded asset. This is a unique identifier for the asset.
357 # This ID can be passed to other API calls, e.g.
358 # CreateCreative to associate
359 # the asset with a creative.
360 &quot;content&quot;: &quot;A String&quot;, # The asset content.
361 # For uploaded assets, the content is the serving path.
362 },
363 &quot;role&quot;: &quot;A String&quot;, # The role of this asset for the creative.
364 },
365 ],
366 &quot;vpaid&quot;: True or False, # Output only. Indicates the third-party VAST tag creative requires VPAID (Digital Video
367 # Player-Ad Interface).
368 #
369 # Output only and only valid for third-party VAST tag creatives.
370 #
371 # Third-party VAST tag creatives are creatives with following
372 # hosting_source:
373 #
374 # * `HOSTING_SOURCE_THIRD_PARTY`
375 #
376 # combined with following creative_type:
377 #
378 # * `CREATIVE_TYPE_VIDEO`
379 &quot;expandingDirection&quot;: &quot;A String&quot;, # Optional. Specifies the expanding direction of the creative.
380 #
381 # Required and only valid for third-party expandable creatives.
382 #
383 # Third-party expandable creatives are creatives with following hosting
384 # source:
385 #
386 # * `HOSTING_SOURCE_THIRD_PARTY`
387 #
388 # combined with following creative_type:
389 #
390 # * `CREATIVE_TYPE_EXPANDABLE`
391 &quot;thirdPartyTag&quot;: &quot;A String&quot;, # Optional. The original third-party tag used for the creative.
392 #
393 # Required and only valid for third-party tag creatives.
394 #
395 # Third-party tag creatives are creatives with following
396 # hosting_source:
397 #
398 # * `HOSTING_SOURCE_THIRD_PARTY`
399 #
400 # combined with following creative_type:
401 #
402 # * `CREATIVE_TYPE_STANDARD`
403 # * `CREATIVE_TYPE_EXPANDABLE`
404 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the creative.
405 #
406 # Must be UTF-8 encoded with a maximum size of 240 bytes.
407 &quot;hostingSource&quot;: &quot;A String&quot;, # Required. Indicates where the creative is hosted.
408 &quot;mediaDuration&quot;: &quot;A String&quot;, # Output only. Media duration of the creative.
409 # Applicable when creative_type
410 # is one of:
411 #
412 # * `CREATIVE_TYPE_VIDEO`
413 # * `CREATIVE_TYPE_AUDIO`
414 # * `CREATIVE_TYPE_NATIVE_VIDEO`
415 # * `CREATIVE_TYPE_PUBLISHER_HOSTED`
416 &quot;vastTagUrl&quot;: &quot;A String&quot;, # Optional. The URL of the VAST tag for a third-party VAST tag creative.
417 #
418 # Required and only valid for third-party VAST tag creatives.
419 #
420 # Third-party VAST tag creatives are creatives with following
421 # hosting_source:
422 #
423 # * `HOSTING_SOURCE_THIRD_PARTY`
424 #
425 # combined with following creative_type:
426 #
427 # * `CREATIVE_TYPE_VIDEO`
Bu Sun Kim65020912020-05-20 12:08:20 -0700428 &quot;reviewStatus&quot;: { # Review statuses for the creative. # Output only. The current status of the creative review process.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700429 &quot;approvalStatus&quot;: &quot;A String&quot;, # Represents the basic approval needed for a creative to begin serving.
430 # Summary of
431 # creative_and_landing_page_review_status
432 # and
433 # content_and_policy_review_status.
Bu Sun Kim65020912020-05-20 12:08:20 -0700434 &quot;creativeAndLandingPageReviewStatus&quot;: &quot;A String&quot;, # Creative and landing page review status for the creative.
435 &quot;exchangeReviewStatuses&quot;: [ # Exchange review statuses for the creative.
436 { # Exchange review status for the creative.
Bu Sun Kim65020912020-05-20 12:08:20 -0700437 &quot;status&quot;: &quot;A String&quot;, # Status of the exchange review.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700438 &quot;exchange&quot;: &quot;A String&quot;, # The exchange reviewing the creative.
Bu Sun Kim65020912020-05-20 12:08:20 -0700439 },
440 ],
441 &quot;contentAndPolicyReviewStatus&quot;: &quot;A String&quot;, # Content and policy review status for the creative.
442 &quot;publisherReviewStatuses&quot;: [ # Publisher review statuses for the creative.
443 { # Publisher review status for the creative.
444 &quot;status&quot;: &quot;A String&quot;, # Status of the publisher review.
445 &quot;publisherName&quot;: &quot;A String&quot;, # The publisher reviewing the creative.
446 },
447 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700448 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700449 &quot;counterEvents&quot;: [ # Counter events for a rich media creative.
450 # Counters track the number of times that a user interacts with any part of a
451 # rich media creative in a specified way (mouse-overs, mouse-outs, clicks,
452 # taps, data loading, keyboard entries, etc.).
453 # Any event that can be captured in the creative can be recorded as a
454 # counter.
455 # Leave it empty or unset for creatives containing image assets only.
456 { # Counter event of the creative.
457 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the counter event.
458 &quot;reportingName&quot;: &quot;A String&quot;, # Required. The name used to identify this counter event in reports.
459 },
460 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700461 &quot;progressOffset&quot;: { # The length an audio or a video has been played. # Amount of time to play the video before counting a view.
462 #
463 # This field is required when skippable is true.
464 #
465 # This field is only supported for the following
466 # creative_type:
467 #
468 # * `CREATIVE_TYPE_VIDEO`
469 &quot;percentage&quot;: &quot;A String&quot;, # The offset in percentage of the audio or video duration.
470 &quot;seconds&quot;: &quot;A String&quot;, # The offset in seconds from the start of the audio or video.
471 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700472 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the creative was last updated. Assigned by
473 # the system.
474 &quot;advertiserId&quot;: &quot;A String&quot;, # Output only. The unique ID of the advertiser the creative belongs to.
Bu Sun Kim65020912020-05-20 12:08:20 -0700475 &quot;universalAdId&quot;: { # A creative identifier provided by a registry that is unique across all # Optional. An optional creative identifier provided by a registry that is unique
476 # across all platforms.
477 #
478 # Universal Ad ID is part of the VAST 4.0 standard. It can be modified after
479 # the creative is created.
480 #
481 # This field is only supported for the following
482 # creative_type:
483 #
484 # * `CREATIVE_TYPE_VIDEO`
485 # platforms. This is part of the VAST 4.0 standard.
486 &quot;id&quot;: &quot;A String&quot;, # The unique creative identifier.
487 &quot;registry&quot;: &quot;A String&quot;, # The registry provides unique creative identifiers.
488 },
489 &quot;transcodes&quot;: [ # Output only. Audio/Video transcodes.
490 #
491 # Display &amp; Video 360 transcodes the main asset into a number of alternative
492 # versions that use different file formats or have different properties
493 # (resolution, audio bit rate, and video bit rate), each designed for
494 # specific video players or bandwidths.
495 #
496 # These transcodes give a publisher&#x27;s system more options to choose from for
497 # each impression on your video and ensures that the appropriate file serves
498 # based on the viewer’s connection and screen size.
499 #
500 # This field is only supported in following
501 # creative_type:
502 #
503 # * `CREATIVE_TYPE_VIDEO`
504 # * `CREATIVE_TYPE_NATIVE_VIDEO`
505 # * `CREATIVE_TYPE_AUDIO`
506 { # Represents information about the transcoded audio or video file.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700507 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the transcoded file.
508 &quot;bitRateKbps&quot;: &quot;A String&quot;, # The transcoding bit rate of the transcoded video, in kilobits per second.
509 &quot;dimensions&quot;: { # Dimensions. # The dimensions of the transcoded video.
510 &quot;heightPixels&quot;: 42, # The height in pixels.
511 &quot;widthPixels&quot;: 42, # The width in pixels.
512 },
513 &quot;frameRate&quot;: 3.14, # The frame rate of the transcoded video, in frames per second.
514 &quot;audioSampleRateHz&quot;: &quot;A String&quot;, # The sample rate for the audio stream of the transcoded video, or the sample
515 # rate for the transcoded audio, in hertz.
Bu Sun Kim65020912020-05-20 12:08:20 -0700516 &quot;transcoded&quot;: True or False, # Indicates if the transcoding was successful.
517 &quot;audioBitRateKbps&quot;: &quot;A String&quot;, # The bit rate for the audio stream of the transcoded video, or the bit rate
518 # for the transcoded audio, in kilobits per second.
519 &quot;fileSizeBytes&quot;: &quot;A String&quot;, # The size of the transcoded file, in bytes.
520 &quot;name&quot;: &quot;A String&quot;, # The name of the transcoded file.
Bu Sun Kim65020912020-05-20 12:08:20 -0700521 },
522 ],
523 &quot;cmTrackingAd&quot;: { # A Campaign Manager tracking ad. # The Campaign Manager tracking ad associated with the creative.
524 #
525 # Optional for the following creative_type when
526 # created by an advertiser that uses both Campaign Manager and third-party ad
527 # serving:
528 #
529 # * `CREATIVE_TYPE_NATIVE`
530 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
531 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
532 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
533 #
534 # Output only for other cases.
535 &quot;cmCreativeId&quot;: &quot;A String&quot;, # The creative ID of the campaign manager tracking Ad.
536 &quot;cmAdId&quot;: &quot;A String&quot;, # The ad ID of the campaign manager tracking Ad.
537 &quot;cmPlacementId&quot;: &quot;A String&quot;, # The placement ID of the campaign manager tracking Ad.
538 },
539 &quot;html5Video&quot;: True or False, # Output only. Indicates the third-party VAST tag creative requires HTML5 Video support.
540 #
541 # Output only and only valid for third-party VAST tag creatives.
542 #
543 # Third-party VAST tag creatives are creatives with following
544 # hosting_source:
545 #
546 # * `HOSTING_SOURCE_THIRD_PARTY`
547 #
548 # combined with following creative_type:
549 #
550 # * `CREATIVE_TYPE_VIDEO`
551 &quot;requirePingForAttribution&quot;: True or False, # Optional. Indicates that the creative will wait for a return ping for attribution.
552 #
553 # Only valid when using a Campaign Manager tracking ad with a third-party ad
554 # server parameter and the ${DC_DBM_TOKEN} macro.
555 #
556 # Optional and only valid for third-party tag creatives or third-party VAST
557 # tag creatives.
558 #
559 # Third-party tag creatives are creatives with following
560 # hosting_source:
561 #
562 # * `HOSTING_SOURCE_THIRD_PARTY`
563 #
564 # combined with following creative_type:
565 #
566 # * `CREATIVE_TYPE_STANDARD`
567 # * `CREATIVE_TYPE_EXPANDABLE`
568 #
569 # Third-party VAST tag creatives are creatives with following
570 # hosting_source:
571 #
572 # * `HOSTING_SOURCE_THIRD_PARTY`
573 #
574 # combined with following creative_type:
575 #
576 # * `CREATIVE_TYPE_VIDEO`
577 &quot;dimensions&quot;: { # Dimensions. # Required. Primary dimensions of the creative.
578 # Applicable to all creative types. The value of
579 # width_pixels and
580 # height_pixels defaults to `0`
581 # when creative_type is one of:
582 #
583 # * `CREATIVE_TYPE_VIDEO`
584 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL`
585 # * `CREATIVE_TYPE_AUDIO`
586 # * `CREATIVE_TYPE_NATIVE_VIDEO`
587 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO`
Bu Sun Kim65020912020-05-20 12:08:20 -0700588 &quot;heightPixels&quot;: 42, # The height in pixels.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700589 &quot;widthPixels&quot;: 42, # The width in pixels.
Bu Sun Kim65020912020-05-20 12:08:20 -0700590 },
591 &quot;appendedTag&quot;: &quot;A String&quot;, # Third-party HTML tracking tag to be appended to the creative tag.
Bu Sun Kim65020912020-05-20 12:08:20 -0700592}
593
594 x__xgafv: string, V1 error format.
595 Allowed values
596 1 - v1 error format
597 2 - v2 error format
598
599Returns:
600 An object of the form:
601
602 { # A single Creative.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700603 &quot;creativeAttributes&quot;: [ # Output only. A list of attributes of the creative that is generated by the system.
604 &quot;A String&quot;,
605 ],
606 &quot;creativeId&quot;: &quot;A String&quot;, # Output only. The unique ID of the creative. Assigned by the system.
607 &quot;entityStatus&quot;: &quot;A String&quot;, # Required. Controls whether or not the creative can serve.
608 #
609 # Accepted values are:
610 #
611 # * `ENTITY_STATUS_ACTIVE`
612 # * `ENTITY_STATUS_ARCHIVED`
613 # * `ENTITY_STATUS_PAUSED`
614 &quot;skipOffset&quot;: { # The length an audio or a video has been played. # Amount of time to play the video before the skip button appears.
615 #
616 # This field is required when skippable is true.
617 #
618 # This field is only supported for the following
619 # creative_type:
620 #
621 # * `CREATIVE_TYPE_VIDEO`
622 &quot;percentage&quot;: &quot;A String&quot;, # The offset in percentage of the audio or video duration.
623 &quot;seconds&quot;: &quot;A String&quot;, # The offset in seconds from the start of the audio or video.
624 },
625 &quot;requireHtml5&quot;: True or False, # Optional. Indicates that the creative relies on HTML5 to render properly.
626 #
627 # Optional and only valid for third-party tag creatives.
628 # Third-party tag creatives are creatives with following
629 # hosting_source:
630 #
631 # * `HOSTING_SOURCE_THIRD_PARTY`
632 #
633 # combined with following creative_type:
634 #
635 # * `CREATIVE_TYPE_STANDARD`
636 # * `CREATIVE_TYPE_EXPANDABLE`
637 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the creative.
638 &quot;skippable&quot;: True or False, # Whether the user can choose to skip a video creative.
639 #
640 # This field is only supported for the following
641 # creative_type:
642 #
643 # * `CREATIVE_TYPE_VIDEO`
644 &quot;jsTrackerUrl&quot;: &quot;A String&quot;, # JavaScript measurement URL from supported third-party verification
645 # providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not
646 # supported.
647 #
648 # This field is only supported in following
649 # creative_type:
650 #
651 # * `CREATIVE_TYPE_NATIVE`
652 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
653 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
654 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
655 # * `CREATIVE_TYPE_NATIVE_VIDEO`
656 &quot;thirdPartyUrls&quot;: [ # Tracking URLs from third parties to track interactions with a video
657 # creative.
658 #
659 # This field is only supported for the following
660 # creative_type:
661 #
662 # * `CREATIVE_TYPE_AUDIO`
663 # * `CREATIVE_TYPE_VIDEO`
664 # * `CREATIVE_TYPE_NATIVE_VIDEO`
665 { # Tracking URLs from third parties to track interactions with an audio or a
666 # video creative.
667 &quot;type&quot;: &quot;A String&quot;, # The type of interaction needs to be tracked by the tracking URL
668 &quot;url&quot;: &quot;A String&quot;, # Tracking URL used to track the interaction.
669 #
670 # Provide a URL with optional path or query string, beginning with `https:`.
671 # For example, https://www.example.com/path
Bu Sun Kim65020912020-05-20 12:08:20 -0700672 },
673 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700674 &quot;expandOnHover&quot;: True or False, # Optional. Indicates the creative will automatically expand on hover.
675 #
676 # Optional and only valid for third-party expandable creatives.
677 # Third-party expandable creatives are creatives with following hosting
678 # source:
679 #
680 # * `HOSTING_SOURCE_THIRD_PARTY`
681 #
682 # combined with following creative_type:
683 #
684 # * `CREATIVE_TYPE_EXPANDABLE`
685 &quot;exitEvents&quot;: [ # Required. Exit events for this creative.
686 # An exit (also known as a click tag) is any area in your creative that
687 # someone can click or tap to open an advertiser&#x27;s landing page.
688 # Every creative must include at least one exit.
689 # You can add an exit to your creative in any of the following ways:
690 #
691 # * Use Google Web Designer&#x27;s tap area.
692 # * Define a JavaScript variable called &quot;clickTag&quot;.
693 # * Use the Enabler (Enabler.exit()) to track exits in rich media formats.
694 { # Exit event of the creative.
695 &quot;url&quot;: &quot;A String&quot;, # Required. The click through URL of the exit event.
696 # This is required when type is:
697 #
698 # * `EXIT_EVENT_TYPE_DEFAULT`
699 # * `EXIT_EVENT_TYPE_BACKUP`
700 &quot;name&quot;: &quot;A String&quot;, # The name of the click tag of the exit event.
701 #
702 # The name must be unique within one creative.
703 #
704 # Leave it empty or unset for creatives containing image assets only.
705 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the exit event.
706 &quot;reportingName&quot;: &quot;A String&quot;, # The name used to identify this event in reports.
707 # Leave it empty or unset for creatives containing image assets only.
708 },
709 ],
710 &quot;additionalDimensions&quot;: [ # Additional dimensions.
711 # Applicable when creative_type is one of:
712 #
713 # * `CREATIVE_TYPE_STANDARD`
714 # * `CREATIVE_TYPE_EXPANDABLE`
715 # * `CREATIVE_TYPE_NATIVE`
716 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL`
717 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
718 # * `CREATIVE_TYPE_LIGHTBOX`
719 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
720 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
721 # * `CREATIVE_TYPE_PUBLISHER_HOSTED`
722 #
723 # If this field is specified, width_pixels and
724 # height_pixels are both required and must be
725 # greater than or equal to 0.
726 { # Dimensions.
727 &quot;heightPixels&quot;: 42, # The height in pixels.
728 &quot;widthPixels&quot;: 42, # The width in pixels.
729 },
730 ],
731 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the creative was created. Assigned by
732 # the system.
733 &quot;trackerUrls&quot;: [ # Tracking URLs for analytics providers or third-party ad technology vendors.
734 #
735 # The URLs must start with https (except on inventory that doesn&#x27;t require
736 # SSL compliance).
737 # If using macros in your URL, use only macros supported by Display &amp; Video
738 # 360.
739 #
740 # Standard URLs only, no IMG or SCRIPT tags.
741 #
742 # This field is only supported in following
743 # creative_type:
744 #
745 # * `CREATIVE_TYPE_NATIVE`
746 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
747 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
748 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
749 # * `CREATIVE_TYPE_NATIVE_VIDEO`
750 &quot;A String&quot;,
751 ],
752 &quot;iasCampaignMonitoring&quot;: True or False, # Indicates whether Integral Ad Science (IAS) campaign monitoring is enabled.
753 # To enable this for the creative, make sure the
754 # Advertiser.creative_config.ias_client_id
755 # has been set to your IAS client ID.
756 &quot;integrationCode&quot;: &quot;A String&quot;, # ID information used to link this creative to an external system.
757 # Must be UTF-8 encoded with a length of no more than 10,000 characters.
758 &quot;cmPlacementId&quot;: &quot;A String&quot;, # Output only. The unique ID of the Campaign Manager placement associated with the
759 # creative.
760 # This field is only applicable for creatives that are synced from Campaign
761 # Manager.
762 &quot;requireMraid&quot;: True or False, # Optional. Indicates that the creative requires MRAID (Mobile Rich Media Ad Interface
763 # Definitions system).
764 #
765 # Set this if the creative relies on mobile gestures for interactivity, such
766 # as swiping or tapping.
767 #
768 # Optional and only valid for third-party tag creatives.
769 #
770 # Third-party tag creatives are creatives with following
771 # hosting_source:
772 #
773 # * `HOSTING_SOURCE_THIRD_PARTY`
774 #
775 # combined with following creative_type:
776 #
777 # * `CREATIVE_TYPE_STANDARD`
778 # * `CREATIVE_TYPE_EXPANDABLE`
779 &quot;companionCreativeIds&quot;: [ # The IDs of companion creatives for a video creative.
780 #
781 # You can assign existing display creatives (with image or HTML5 assets)
782 # to serve surrounding the publisher&#x27;s video player. Companions display
783 # around the video player while the video is playing and remain after the
784 # video has completed.
785 #
786 # Creatives contain additional dimensions
787 # can not be companion creatives.
788 #
789 # This field is only supported for following
790 # creative_type:
791 #
792 # * `CREATIVE_TYPE_AUDIO`
793 # * `CREATIVE_TYPE_VIDEO`
794 &quot;A String&quot;,
795 ],
796 &quot;creativeType&quot;: &quot;A String&quot;, # Required. Immutable. The type of the creative.
797 &quot;obaIcon&quot;: { # OBA Icon for a Creative # Specifies the OBA icon for a video creative.
798 #
799 # This field is only supported in following
800 # creative_type:
801 #
802 # * `CREATIVE_TYPE_VIDEO`
803 &quot;dimensions&quot;: { # Dimensions. # The dimensions of the OBA icon.
804 &quot;heightPixels&quot;: 42, # The height in pixels.
805 &quot;widthPixels&quot;: 42, # The width in pixels.
806 },
807 &quot;resourceMimeType&quot;: &quot;A String&quot;, # The MIME type of the OBA icon resource.
808 &quot;viewTrackingUrl&quot;: &quot;A String&quot;, # Required. The view tracking URL of the OBA icon.
809 #
810 # Only URLs of the following domains are allowed:
811 #
812 # * https://info.evidon.com
813 # * https://l.betrad.com
814 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # Required. The click tracking URL of the OBA icon.
815 #
816 # Only URLs of the following domains are allowed:
817 #
818 # * https://info.evidon.com
819 # * https://l.betrad.com
820 &quot;position&quot;: &quot;A String&quot;, # The position of the OBA icon on the creative.
821 &quot;resourceUrl&quot;: &quot;A String&quot;, # The URL of the OBA icon resource.
822 &quot;landingPageUrl&quot;: &quot;A String&quot;, # Required. The landing page URL of the OBA icon.
823 #
824 # Only URLs of the following domains are allowed:
825 #
826 # * https://info.evidon.com
827 # * https://l.betrad.com
828 &quot;program&quot;: &quot;A String&quot;, # The program of the OBA icon. For example: “AdChoices”.
829 },
830 &quot;timerEvents&quot;: [ # Timer custom events for a rich media creative.
831 # Timers track the time during which a user views and interacts with a
832 # specified part of a rich media creative.
833 # A creative can have multiple timer events, each timed independently.
834 # Leave it empty or unset for creatives containing image assets only.
835 { # Timer event of the creative.
836 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the timer event.
837 &quot;reportingName&quot;: &quot;A String&quot;, # Required. The name used to identify this timer event in reports.
838 },
839 ],
840 &quot;notes&quot;: &quot;A String&quot;, # User notes for this creative.
841 # Must be UTF-8 encoded with a length of no more than 20,000 characters.
842 &quot;dynamic&quot;: True or False, # Output only. Indicates whether the creative is dynamic.
843 &quot;assets&quot;: [ # Required. Assets associated to this creative.
844 # Assets can be associated to the creative in one of following roles:
845 #
846 # * `ASSET_ROLE_UNSPECIFIED`
847 # * `ASSET_ROLE_MAIN`
848 # * `ASSET_ROLE_BACKUP`
849 # * `ASSET_ROLE_POLITE_LOAD`
850 { # Asset association for the creative.
851 &quot;asset&quot;: { # A single asset. # The associated asset.
852 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID of the uploaded asset. This is a unique identifier for the asset.
853 # This ID can be passed to other API calls, e.g.
854 # CreateCreative to associate
855 # the asset with a creative.
856 &quot;content&quot;: &quot;A String&quot;, # The asset content.
857 # For uploaded assets, the content is the serving path.
858 },
859 &quot;role&quot;: &quot;A String&quot;, # The role of this asset for the creative.
860 },
861 ],
862 &quot;vpaid&quot;: True or False, # Output only. Indicates the third-party VAST tag creative requires VPAID (Digital Video
863 # Player-Ad Interface).
864 #
865 # Output only and only valid for third-party VAST tag creatives.
866 #
867 # Third-party VAST tag creatives are creatives with following
868 # hosting_source:
869 #
870 # * `HOSTING_SOURCE_THIRD_PARTY`
871 #
872 # combined with following creative_type:
873 #
874 # * `CREATIVE_TYPE_VIDEO`
875 &quot;expandingDirection&quot;: &quot;A String&quot;, # Optional. Specifies the expanding direction of the creative.
876 #
877 # Required and only valid for third-party expandable creatives.
878 #
879 # Third-party expandable creatives are creatives with following hosting
880 # source:
881 #
882 # * `HOSTING_SOURCE_THIRD_PARTY`
883 #
884 # combined with following creative_type:
885 #
886 # * `CREATIVE_TYPE_EXPANDABLE`
887 &quot;thirdPartyTag&quot;: &quot;A String&quot;, # Optional. The original third-party tag used for the creative.
888 #
889 # Required and only valid for third-party tag creatives.
890 #
891 # Third-party tag creatives are creatives with following
892 # hosting_source:
893 #
894 # * `HOSTING_SOURCE_THIRD_PARTY`
895 #
896 # combined with following creative_type:
897 #
898 # * `CREATIVE_TYPE_STANDARD`
899 # * `CREATIVE_TYPE_EXPANDABLE`
900 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the creative.
901 #
902 # Must be UTF-8 encoded with a maximum size of 240 bytes.
903 &quot;hostingSource&quot;: &quot;A String&quot;, # Required. Indicates where the creative is hosted.
904 &quot;mediaDuration&quot;: &quot;A String&quot;, # Output only. Media duration of the creative.
905 # Applicable when creative_type
906 # is one of:
907 #
908 # * `CREATIVE_TYPE_VIDEO`
909 # * `CREATIVE_TYPE_AUDIO`
910 # * `CREATIVE_TYPE_NATIVE_VIDEO`
911 # * `CREATIVE_TYPE_PUBLISHER_HOSTED`
912 &quot;vastTagUrl&quot;: &quot;A String&quot;, # Optional. The URL of the VAST tag for a third-party VAST tag creative.
913 #
914 # Required and only valid for third-party VAST tag creatives.
915 #
916 # Third-party VAST tag creatives are creatives with following
917 # hosting_source:
918 #
919 # * `HOSTING_SOURCE_THIRD_PARTY`
920 #
921 # combined with following creative_type:
922 #
923 # * `CREATIVE_TYPE_VIDEO`
Bu Sun Kim65020912020-05-20 12:08:20 -0700924 &quot;reviewStatus&quot;: { # Review statuses for the creative. # Output only. The current status of the creative review process.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700925 &quot;approvalStatus&quot;: &quot;A String&quot;, # Represents the basic approval needed for a creative to begin serving.
926 # Summary of
927 # creative_and_landing_page_review_status
928 # and
929 # content_and_policy_review_status.
Bu Sun Kim65020912020-05-20 12:08:20 -0700930 &quot;creativeAndLandingPageReviewStatus&quot;: &quot;A String&quot;, # Creative and landing page review status for the creative.
931 &quot;exchangeReviewStatuses&quot;: [ # Exchange review statuses for the creative.
932 { # Exchange review status for the creative.
Bu Sun Kim65020912020-05-20 12:08:20 -0700933 &quot;status&quot;: &quot;A String&quot;, # Status of the exchange review.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700934 &quot;exchange&quot;: &quot;A String&quot;, # The exchange reviewing the creative.
Bu Sun Kim65020912020-05-20 12:08:20 -0700935 },
936 ],
937 &quot;contentAndPolicyReviewStatus&quot;: &quot;A String&quot;, # Content and policy review status for the creative.
938 &quot;publisherReviewStatuses&quot;: [ # Publisher review statuses for the creative.
939 { # Publisher review status for the creative.
940 &quot;status&quot;: &quot;A String&quot;, # Status of the publisher review.
941 &quot;publisherName&quot;: &quot;A String&quot;, # The publisher reviewing the creative.
942 },
943 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700944 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700945 &quot;counterEvents&quot;: [ # Counter events for a rich media creative.
946 # Counters track the number of times that a user interacts with any part of a
947 # rich media creative in a specified way (mouse-overs, mouse-outs, clicks,
948 # taps, data loading, keyboard entries, etc.).
949 # Any event that can be captured in the creative can be recorded as a
950 # counter.
951 # Leave it empty or unset for creatives containing image assets only.
952 { # Counter event of the creative.
953 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the counter event.
954 &quot;reportingName&quot;: &quot;A String&quot;, # Required. The name used to identify this counter event in reports.
955 },
956 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700957 &quot;progressOffset&quot;: { # The length an audio or a video has been played. # Amount of time to play the video before counting a view.
958 #
959 # This field is required when skippable is true.
960 #
961 # This field is only supported for the following
962 # creative_type:
963 #
964 # * `CREATIVE_TYPE_VIDEO`
965 &quot;percentage&quot;: &quot;A String&quot;, # The offset in percentage of the audio or video duration.
966 &quot;seconds&quot;: &quot;A String&quot;, # The offset in seconds from the start of the audio or video.
967 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700968 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the creative was last updated. Assigned by
969 # the system.
970 &quot;advertiserId&quot;: &quot;A String&quot;, # Output only. The unique ID of the advertiser the creative belongs to.
Bu Sun Kim65020912020-05-20 12:08:20 -0700971 &quot;universalAdId&quot;: { # A creative identifier provided by a registry that is unique across all # Optional. An optional creative identifier provided by a registry that is unique
972 # across all platforms.
973 #
974 # Universal Ad ID is part of the VAST 4.0 standard. It can be modified after
975 # the creative is created.
976 #
977 # This field is only supported for the following
978 # creative_type:
979 #
980 # * `CREATIVE_TYPE_VIDEO`
981 # platforms. This is part of the VAST 4.0 standard.
982 &quot;id&quot;: &quot;A String&quot;, # The unique creative identifier.
983 &quot;registry&quot;: &quot;A String&quot;, # The registry provides unique creative identifiers.
984 },
985 &quot;transcodes&quot;: [ # Output only. Audio/Video transcodes.
986 #
987 # Display &amp; Video 360 transcodes the main asset into a number of alternative
988 # versions that use different file formats or have different properties
989 # (resolution, audio bit rate, and video bit rate), each designed for
990 # specific video players or bandwidths.
991 #
992 # These transcodes give a publisher&#x27;s system more options to choose from for
993 # each impression on your video and ensures that the appropriate file serves
994 # based on the viewer’s connection and screen size.
995 #
996 # This field is only supported in following
997 # creative_type:
998 #
999 # * `CREATIVE_TYPE_VIDEO`
1000 # * `CREATIVE_TYPE_NATIVE_VIDEO`
1001 # * `CREATIVE_TYPE_AUDIO`
1002 { # Represents information about the transcoded audio or video file.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001003 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the transcoded file.
1004 &quot;bitRateKbps&quot;: &quot;A String&quot;, # The transcoding bit rate of the transcoded video, in kilobits per second.
1005 &quot;dimensions&quot;: { # Dimensions. # The dimensions of the transcoded video.
1006 &quot;heightPixels&quot;: 42, # The height in pixels.
1007 &quot;widthPixels&quot;: 42, # The width in pixels.
1008 },
1009 &quot;frameRate&quot;: 3.14, # The frame rate of the transcoded video, in frames per second.
1010 &quot;audioSampleRateHz&quot;: &quot;A String&quot;, # The sample rate for the audio stream of the transcoded video, or the sample
1011 # rate for the transcoded audio, in hertz.
Bu Sun Kim65020912020-05-20 12:08:20 -07001012 &quot;transcoded&quot;: True or False, # Indicates if the transcoding was successful.
1013 &quot;audioBitRateKbps&quot;: &quot;A String&quot;, # The bit rate for the audio stream of the transcoded video, or the bit rate
1014 # for the transcoded audio, in kilobits per second.
1015 &quot;fileSizeBytes&quot;: &quot;A String&quot;, # The size of the transcoded file, in bytes.
1016 &quot;name&quot;: &quot;A String&quot;, # The name of the transcoded file.
Bu Sun Kim65020912020-05-20 12:08:20 -07001017 },
1018 ],
1019 &quot;cmTrackingAd&quot;: { # A Campaign Manager tracking ad. # The Campaign Manager tracking ad associated with the creative.
1020 #
1021 # Optional for the following creative_type when
1022 # created by an advertiser that uses both Campaign Manager and third-party ad
1023 # serving:
1024 #
1025 # * `CREATIVE_TYPE_NATIVE`
1026 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
1027 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
1028 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
1029 #
1030 # Output only for other cases.
1031 &quot;cmCreativeId&quot;: &quot;A String&quot;, # The creative ID of the campaign manager tracking Ad.
1032 &quot;cmAdId&quot;: &quot;A String&quot;, # The ad ID of the campaign manager tracking Ad.
1033 &quot;cmPlacementId&quot;: &quot;A String&quot;, # The placement ID of the campaign manager tracking Ad.
1034 },
1035 &quot;html5Video&quot;: True or False, # Output only. Indicates the third-party VAST tag creative requires HTML5 Video support.
1036 #
1037 # Output only and only valid for third-party VAST tag creatives.
1038 #
1039 # Third-party VAST tag creatives are creatives with following
1040 # hosting_source:
1041 #
1042 # * `HOSTING_SOURCE_THIRD_PARTY`
1043 #
1044 # combined with following creative_type:
1045 #
1046 # * `CREATIVE_TYPE_VIDEO`
1047 &quot;requirePingForAttribution&quot;: True or False, # Optional. Indicates that the creative will wait for a return ping for attribution.
1048 #
1049 # Only valid when using a Campaign Manager tracking ad with a third-party ad
1050 # server parameter and the ${DC_DBM_TOKEN} macro.
1051 #
1052 # Optional and only valid for third-party tag creatives or third-party VAST
1053 # tag creatives.
1054 #
1055 # Third-party tag creatives are creatives with following
1056 # hosting_source:
1057 #
1058 # * `HOSTING_SOURCE_THIRD_PARTY`
1059 #
1060 # combined with following creative_type:
1061 #
1062 # * `CREATIVE_TYPE_STANDARD`
1063 # * `CREATIVE_TYPE_EXPANDABLE`
1064 #
1065 # Third-party VAST tag creatives are creatives with following
1066 # hosting_source:
1067 #
1068 # * `HOSTING_SOURCE_THIRD_PARTY`
1069 #
1070 # combined with following creative_type:
1071 #
1072 # * `CREATIVE_TYPE_VIDEO`
1073 &quot;dimensions&quot;: { # Dimensions. # Required. Primary dimensions of the creative.
1074 # Applicable to all creative types. The value of
1075 # width_pixels and
1076 # height_pixels defaults to `0`
1077 # when creative_type is one of:
1078 #
1079 # * `CREATIVE_TYPE_VIDEO`
1080 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL`
1081 # * `CREATIVE_TYPE_AUDIO`
1082 # * `CREATIVE_TYPE_NATIVE_VIDEO`
1083 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO`
Bu Sun Kim65020912020-05-20 12:08:20 -07001084 &quot;heightPixels&quot;: 42, # The height in pixels.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001085 &quot;widthPixels&quot;: 42, # The width in pixels.
Bu Sun Kim65020912020-05-20 12:08:20 -07001086 },
1087 &quot;appendedTag&quot;: &quot;A String&quot;, # Third-party HTML tracking tag to be appended to the creative tag.
Bu Sun Kim65020912020-05-20 12:08:20 -07001088 }</pre>
1089</div>
1090
1091<div class="method">
1092 <code class="details" id="delete">delete(advertiserId, creativeId, x__xgafv=None)</code>
1093 <pre>Deletes a creative.
1094Returns error code `NOT_FOUND` if the creative does not exist.
1095The creative should be archived first, i.e. set
1096entity_status to `ENTITY_STATUS_ARCHIVED`, before
1097it can be deleted.
1098
1099Args:
1100 advertiserId: string, The ID of the advertiser this creative belongs to. (required)
1101 creativeId: string, The ID of the creative to be deleted. (required)
1102 x__xgafv: string, V1 error format.
1103 Allowed values
1104 1 - v1 error format
1105 2 - v2 error format
1106
1107Returns:
1108 An object of the form:
1109
1110 { # A generic empty message that you can re-use to avoid defining duplicated
1111 # empty messages in your APIs. A typical example is to use it as the request
1112 # or the response type of an API method. For instance:
1113 #
1114 # service Foo {
1115 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1116 # }
1117 #
1118 # The JSON representation for `Empty` is empty JSON object `{}`.
1119 }</pre>
1120</div>
1121
1122<div class="method">
1123 <code class="details" id="get">get(advertiserId, creativeId, x__xgafv=None)</code>
1124 <pre>Gets a creative.
1125
1126Args:
1127 advertiserId: string, Required. The ID of the advertiser this creative belongs to. (required)
1128 creativeId: string, Required. The ID of the creative to fetch. (required)
1129 x__xgafv: string, V1 error format.
1130 Allowed values
1131 1 - v1 error format
1132 2 - v2 error format
1133
1134Returns:
1135 An object of the form:
1136
1137 { # A single Creative.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001138 &quot;creativeAttributes&quot;: [ # Output only. A list of attributes of the creative that is generated by the system.
1139 &quot;A String&quot;,
1140 ],
1141 &quot;creativeId&quot;: &quot;A String&quot;, # Output only. The unique ID of the creative. Assigned by the system.
1142 &quot;entityStatus&quot;: &quot;A String&quot;, # Required. Controls whether or not the creative can serve.
1143 #
1144 # Accepted values are:
1145 #
1146 # * `ENTITY_STATUS_ACTIVE`
1147 # * `ENTITY_STATUS_ARCHIVED`
1148 # * `ENTITY_STATUS_PAUSED`
1149 &quot;skipOffset&quot;: { # The length an audio or a video has been played. # Amount of time to play the video before the skip button appears.
1150 #
1151 # This field is required when skippable is true.
1152 #
1153 # This field is only supported for the following
1154 # creative_type:
1155 #
1156 # * `CREATIVE_TYPE_VIDEO`
1157 &quot;percentage&quot;: &quot;A String&quot;, # The offset in percentage of the audio or video duration.
1158 &quot;seconds&quot;: &quot;A String&quot;, # The offset in seconds from the start of the audio or video.
1159 },
1160 &quot;requireHtml5&quot;: True or False, # Optional. Indicates that the creative relies on HTML5 to render properly.
1161 #
1162 # Optional and only valid for third-party tag creatives.
1163 # Third-party tag creatives are creatives with following
1164 # hosting_source:
1165 #
1166 # * `HOSTING_SOURCE_THIRD_PARTY`
1167 #
1168 # combined with following creative_type:
1169 #
1170 # * `CREATIVE_TYPE_STANDARD`
1171 # * `CREATIVE_TYPE_EXPANDABLE`
1172 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the creative.
1173 &quot;skippable&quot;: True or False, # Whether the user can choose to skip a video creative.
1174 #
1175 # This field is only supported for the following
1176 # creative_type:
1177 #
1178 # * `CREATIVE_TYPE_VIDEO`
1179 &quot;jsTrackerUrl&quot;: &quot;A String&quot;, # JavaScript measurement URL from supported third-party verification
1180 # providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not
1181 # supported.
1182 #
1183 # This field is only supported in following
1184 # creative_type:
1185 #
1186 # * `CREATIVE_TYPE_NATIVE`
1187 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
1188 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
1189 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
1190 # * `CREATIVE_TYPE_NATIVE_VIDEO`
1191 &quot;thirdPartyUrls&quot;: [ # Tracking URLs from third parties to track interactions with a video
1192 # creative.
1193 #
1194 # This field is only supported for the following
1195 # creative_type:
1196 #
1197 # * `CREATIVE_TYPE_AUDIO`
1198 # * `CREATIVE_TYPE_VIDEO`
1199 # * `CREATIVE_TYPE_NATIVE_VIDEO`
1200 { # Tracking URLs from third parties to track interactions with an audio or a
1201 # video creative.
1202 &quot;type&quot;: &quot;A String&quot;, # The type of interaction needs to be tracked by the tracking URL
1203 &quot;url&quot;: &quot;A String&quot;, # Tracking URL used to track the interaction.
1204 #
1205 # Provide a URL with optional path or query string, beginning with `https:`.
1206 # For example, https://www.example.com/path
Bu Sun Kim65020912020-05-20 12:08:20 -07001207 },
1208 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001209 &quot;expandOnHover&quot;: True or False, # Optional. Indicates the creative will automatically expand on hover.
1210 #
1211 # Optional and only valid for third-party expandable creatives.
1212 # Third-party expandable creatives are creatives with following hosting
1213 # source:
1214 #
1215 # * `HOSTING_SOURCE_THIRD_PARTY`
1216 #
1217 # combined with following creative_type:
1218 #
1219 # * `CREATIVE_TYPE_EXPANDABLE`
1220 &quot;exitEvents&quot;: [ # Required. Exit events for this creative.
1221 # An exit (also known as a click tag) is any area in your creative that
1222 # someone can click or tap to open an advertiser&#x27;s landing page.
1223 # Every creative must include at least one exit.
1224 # You can add an exit to your creative in any of the following ways:
1225 #
1226 # * Use Google Web Designer&#x27;s tap area.
1227 # * Define a JavaScript variable called &quot;clickTag&quot;.
1228 # * Use the Enabler (Enabler.exit()) to track exits in rich media formats.
1229 { # Exit event of the creative.
1230 &quot;url&quot;: &quot;A String&quot;, # Required. The click through URL of the exit event.
1231 # This is required when type is:
1232 #
1233 # * `EXIT_EVENT_TYPE_DEFAULT`
1234 # * `EXIT_EVENT_TYPE_BACKUP`
1235 &quot;name&quot;: &quot;A String&quot;, # The name of the click tag of the exit event.
1236 #
1237 # The name must be unique within one creative.
1238 #
1239 # Leave it empty or unset for creatives containing image assets only.
1240 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the exit event.
1241 &quot;reportingName&quot;: &quot;A String&quot;, # The name used to identify this event in reports.
1242 # Leave it empty or unset for creatives containing image assets only.
1243 },
1244 ],
1245 &quot;additionalDimensions&quot;: [ # Additional dimensions.
1246 # Applicable when creative_type is one of:
1247 #
1248 # * `CREATIVE_TYPE_STANDARD`
1249 # * `CREATIVE_TYPE_EXPANDABLE`
1250 # * `CREATIVE_TYPE_NATIVE`
1251 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL`
1252 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
1253 # * `CREATIVE_TYPE_LIGHTBOX`
1254 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
1255 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
1256 # * `CREATIVE_TYPE_PUBLISHER_HOSTED`
1257 #
1258 # If this field is specified, width_pixels and
1259 # height_pixels are both required and must be
1260 # greater than or equal to 0.
1261 { # Dimensions.
1262 &quot;heightPixels&quot;: 42, # The height in pixels.
1263 &quot;widthPixels&quot;: 42, # The width in pixels.
1264 },
1265 ],
1266 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the creative was created. Assigned by
1267 # the system.
1268 &quot;trackerUrls&quot;: [ # Tracking URLs for analytics providers or third-party ad technology vendors.
1269 #
1270 # The URLs must start with https (except on inventory that doesn&#x27;t require
1271 # SSL compliance).
1272 # If using macros in your URL, use only macros supported by Display &amp; Video
1273 # 360.
1274 #
1275 # Standard URLs only, no IMG or SCRIPT tags.
1276 #
1277 # This field is only supported in following
1278 # creative_type:
1279 #
1280 # * `CREATIVE_TYPE_NATIVE`
1281 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
1282 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
1283 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
1284 # * `CREATIVE_TYPE_NATIVE_VIDEO`
1285 &quot;A String&quot;,
1286 ],
1287 &quot;iasCampaignMonitoring&quot;: True or False, # Indicates whether Integral Ad Science (IAS) campaign monitoring is enabled.
1288 # To enable this for the creative, make sure the
1289 # Advertiser.creative_config.ias_client_id
1290 # has been set to your IAS client ID.
1291 &quot;integrationCode&quot;: &quot;A String&quot;, # ID information used to link this creative to an external system.
1292 # Must be UTF-8 encoded with a length of no more than 10,000 characters.
1293 &quot;cmPlacementId&quot;: &quot;A String&quot;, # Output only. The unique ID of the Campaign Manager placement associated with the
1294 # creative.
1295 # This field is only applicable for creatives that are synced from Campaign
1296 # Manager.
1297 &quot;requireMraid&quot;: True or False, # Optional. Indicates that the creative requires MRAID (Mobile Rich Media Ad Interface
1298 # Definitions system).
1299 #
1300 # Set this if the creative relies on mobile gestures for interactivity, such
1301 # as swiping or tapping.
1302 #
1303 # Optional and only valid for third-party tag creatives.
1304 #
1305 # Third-party tag creatives are creatives with following
1306 # hosting_source:
1307 #
1308 # * `HOSTING_SOURCE_THIRD_PARTY`
1309 #
1310 # combined with following creative_type:
1311 #
1312 # * `CREATIVE_TYPE_STANDARD`
1313 # * `CREATIVE_TYPE_EXPANDABLE`
1314 &quot;companionCreativeIds&quot;: [ # The IDs of companion creatives for a video creative.
1315 #
1316 # You can assign existing display creatives (with image or HTML5 assets)
1317 # to serve surrounding the publisher&#x27;s video player. Companions display
1318 # around the video player while the video is playing and remain after the
1319 # video has completed.
1320 #
1321 # Creatives contain additional dimensions
1322 # can not be companion creatives.
1323 #
1324 # This field is only supported for following
1325 # creative_type:
1326 #
1327 # * `CREATIVE_TYPE_AUDIO`
1328 # * `CREATIVE_TYPE_VIDEO`
1329 &quot;A String&quot;,
1330 ],
1331 &quot;creativeType&quot;: &quot;A String&quot;, # Required. Immutable. The type of the creative.
1332 &quot;obaIcon&quot;: { # OBA Icon for a Creative # Specifies the OBA icon for a video creative.
1333 #
1334 # This field is only supported in following
1335 # creative_type:
1336 #
1337 # * `CREATIVE_TYPE_VIDEO`
1338 &quot;dimensions&quot;: { # Dimensions. # The dimensions of the OBA icon.
1339 &quot;heightPixels&quot;: 42, # The height in pixels.
1340 &quot;widthPixels&quot;: 42, # The width in pixels.
1341 },
1342 &quot;resourceMimeType&quot;: &quot;A String&quot;, # The MIME type of the OBA icon resource.
1343 &quot;viewTrackingUrl&quot;: &quot;A String&quot;, # Required. The view tracking URL of the OBA icon.
1344 #
1345 # Only URLs of the following domains are allowed:
1346 #
1347 # * https://info.evidon.com
1348 # * https://l.betrad.com
1349 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # Required. The click tracking URL of the OBA icon.
1350 #
1351 # Only URLs of the following domains are allowed:
1352 #
1353 # * https://info.evidon.com
1354 # * https://l.betrad.com
1355 &quot;position&quot;: &quot;A String&quot;, # The position of the OBA icon on the creative.
1356 &quot;resourceUrl&quot;: &quot;A String&quot;, # The URL of the OBA icon resource.
1357 &quot;landingPageUrl&quot;: &quot;A String&quot;, # Required. The landing page URL of the OBA icon.
1358 #
1359 # Only URLs of the following domains are allowed:
1360 #
1361 # * https://info.evidon.com
1362 # * https://l.betrad.com
1363 &quot;program&quot;: &quot;A String&quot;, # The program of the OBA icon. For example: “AdChoices”.
1364 },
1365 &quot;timerEvents&quot;: [ # Timer custom events for a rich media creative.
1366 # Timers track the time during which a user views and interacts with a
1367 # specified part of a rich media creative.
1368 # A creative can have multiple timer events, each timed independently.
1369 # Leave it empty or unset for creatives containing image assets only.
1370 { # Timer event of the creative.
1371 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the timer event.
1372 &quot;reportingName&quot;: &quot;A String&quot;, # Required. The name used to identify this timer event in reports.
1373 },
1374 ],
1375 &quot;notes&quot;: &quot;A String&quot;, # User notes for this creative.
1376 # Must be UTF-8 encoded with a length of no more than 20,000 characters.
1377 &quot;dynamic&quot;: True or False, # Output only. Indicates whether the creative is dynamic.
1378 &quot;assets&quot;: [ # Required. Assets associated to this creative.
1379 # Assets can be associated to the creative in one of following roles:
1380 #
1381 # * `ASSET_ROLE_UNSPECIFIED`
1382 # * `ASSET_ROLE_MAIN`
1383 # * `ASSET_ROLE_BACKUP`
1384 # * `ASSET_ROLE_POLITE_LOAD`
1385 { # Asset association for the creative.
1386 &quot;asset&quot;: { # A single asset. # The associated asset.
1387 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID of the uploaded asset. This is a unique identifier for the asset.
1388 # This ID can be passed to other API calls, e.g.
1389 # CreateCreative to associate
1390 # the asset with a creative.
1391 &quot;content&quot;: &quot;A String&quot;, # The asset content.
1392 # For uploaded assets, the content is the serving path.
1393 },
1394 &quot;role&quot;: &quot;A String&quot;, # The role of this asset for the creative.
1395 },
1396 ],
1397 &quot;vpaid&quot;: True or False, # Output only. Indicates the third-party VAST tag creative requires VPAID (Digital Video
1398 # Player-Ad Interface).
1399 #
1400 # Output only and only valid for third-party VAST tag creatives.
1401 #
1402 # Third-party VAST tag creatives are creatives with following
1403 # hosting_source:
1404 #
1405 # * `HOSTING_SOURCE_THIRD_PARTY`
1406 #
1407 # combined with following creative_type:
1408 #
1409 # * `CREATIVE_TYPE_VIDEO`
1410 &quot;expandingDirection&quot;: &quot;A String&quot;, # Optional. Specifies the expanding direction of the creative.
1411 #
1412 # Required and only valid for third-party expandable creatives.
1413 #
1414 # Third-party expandable creatives are creatives with following hosting
1415 # source:
1416 #
1417 # * `HOSTING_SOURCE_THIRD_PARTY`
1418 #
1419 # combined with following creative_type:
1420 #
1421 # * `CREATIVE_TYPE_EXPANDABLE`
1422 &quot;thirdPartyTag&quot;: &quot;A String&quot;, # Optional. The original third-party tag used for the creative.
1423 #
1424 # Required and only valid for third-party tag creatives.
1425 #
1426 # Third-party tag creatives are creatives with following
1427 # hosting_source:
1428 #
1429 # * `HOSTING_SOURCE_THIRD_PARTY`
1430 #
1431 # combined with following creative_type:
1432 #
1433 # * `CREATIVE_TYPE_STANDARD`
1434 # * `CREATIVE_TYPE_EXPANDABLE`
1435 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the creative.
1436 #
1437 # Must be UTF-8 encoded with a maximum size of 240 bytes.
1438 &quot;hostingSource&quot;: &quot;A String&quot;, # Required. Indicates where the creative is hosted.
1439 &quot;mediaDuration&quot;: &quot;A String&quot;, # Output only. Media duration of the creative.
1440 # Applicable when creative_type
1441 # is one of:
1442 #
1443 # * `CREATIVE_TYPE_VIDEO`
1444 # * `CREATIVE_TYPE_AUDIO`
1445 # * `CREATIVE_TYPE_NATIVE_VIDEO`
1446 # * `CREATIVE_TYPE_PUBLISHER_HOSTED`
1447 &quot;vastTagUrl&quot;: &quot;A String&quot;, # Optional. The URL of the VAST tag for a third-party VAST tag creative.
1448 #
1449 # Required and only valid for third-party VAST tag creatives.
1450 #
1451 # Third-party VAST tag creatives are creatives with following
1452 # hosting_source:
1453 #
1454 # * `HOSTING_SOURCE_THIRD_PARTY`
1455 #
1456 # combined with following creative_type:
1457 #
1458 # * `CREATIVE_TYPE_VIDEO`
Bu Sun Kim65020912020-05-20 12:08:20 -07001459 &quot;reviewStatus&quot;: { # Review statuses for the creative. # Output only. The current status of the creative review process.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001460 &quot;approvalStatus&quot;: &quot;A String&quot;, # Represents the basic approval needed for a creative to begin serving.
1461 # Summary of
1462 # creative_and_landing_page_review_status
1463 # and
1464 # content_and_policy_review_status.
Bu Sun Kim65020912020-05-20 12:08:20 -07001465 &quot;creativeAndLandingPageReviewStatus&quot;: &quot;A String&quot;, # Creative and landing page review status for the creative.
1466 &quot;exchangeReviewStatuses&quot;: [ # Exchange review statuses for the creative.
1467 { # Exchange review status for the creative.
Bu Sun Kim65020912020-05-20 12:08:20 -07001468 &quot;status&quot;: &quot;A String&quot;, # Status of the exchange review.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001469 &quot;exchange&quot;: &quot;A String&quot;, # The exchange reviewing the creative.
Bu Sun Kim65020912020-05-20 12:08:20 -07001470 },
1471 ],
1472 &quot;contentAndPolicyReviewStatus&quot;: &quot;A String&quot;, # Content and policy review status for the creative.
1473 &quot;publisherReviewStatuses&quot;: [ # Publisher review statuses for the creative.
1474 { # Publisher review status for the creative.
1475 &quot;status&quot;: &quot;A String&quot;, # Status of the publisher review.
1476 &quot;publisherName&quot;: &quot;A String&quot;, # The publisher reviewing the creative.
1477 },
1478 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001479 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001480 &quot;counterEvents&quot;: [ # Counter events for a rich media creative.
1481 # Counters track the number of times that a user interacts with any part of a
1482 # rich media creative in a specified way (mouse-overs, mouse-outs, clicks,
1483 # taps, data loading, keyboard entries, etc.).
1484 # Any event that can be captured in the creative can be recorded as a
1485 # counter.
1486 # Leave it empty or unset for creatives containing image assets only.
1487 { # Counter event of the creative.
1488 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the counter event.
1489 &quot;reportingName&quot;: &quot;A String&quot;, # Required. The name used to identify this counter event in reports.
1490 },
1491 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001492 &quot;progressOffset&quot;: { # The length an audio or a video has been played. # Amount of time to play the video before counting a view.
1493 #
1494 # This field is required when skippable is true.
1495 #
1496 # This field is only supported for the following
1497 # creative_type:
1498 #
1499 # * `CREATIVE_TYPE_VIDEO`
1500 &quot;percentage&quot;: &quot;A String&quot;, # The offset in percentage of the audio or video duration.
1501 &quot;seconds&quot;: &quot;A String&quot;, # The offset in seconds from the start of the audio or video.
1502 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001503 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the creative was last updated. Assigned by
1504 # the system.
1505 &quot;advertiserId&quot;: &quot;A String&quot;, # Output only. The unique ID of the advertiser the creative belongs to.
Bu Sun Kim65020912020-05-20 12:08:20 -07001506 &quot;universalAdId&quot;: { # A creative identifier provided by a registry that is unique across all # Optional. An optional creative identifier provided by a registry that is unique
1507 # across all platforms.
1508 #
1509 # Universal Ad ID is part of the VAST 4.0 standard. It can be modified after
1510 # the creative is created.
1511 #
1512 # This field is only supported for the following
1513 # creative_type:
1514 #
1515 # * `CREATIVE_TYPE_VIDEO`
1516 # platforms. This is part of the VAST 4.0 standard.
1517 &quot;id&quot;: &quot;A String&quot;, # The unique creative identifier.
1518 &quot;registry&quot;: &quot;A String&quot;, # The registry provides unique creative identifiers.
1519 },
1520 &quot;transcodes&quot;: [ # Output only. Audio/Video transcodes.
1521 #
1522 # Display &amp; Video 360 transcodes the main asset into a number of alternative
1523 # versions that use different file formats or have different properties
1524 # (resolution, audio bit rate, and video bit rate), each designed for
1525 # specific video players or bandwidths.
1526 #
1527 # These transcodes give a publisher&#x27;s system more options to choose from for
1528 # each impression on your video and ensures that the appropriate file serves
1529 # based on the viewer’s connection and screen size.
1530 #
1531 # This field is only supported in following
1532 # creative_type:
1533 #
1534 # * `CREATIVE_TYPE_VIDEO`
1535 # * `CREATIVE_TYPE_NATIVE_VIDEO`
1536 # * `CREATIVE_TYPE_AUDIO`
1537 { # Represents information about the transcoded audio or video file.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001538 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the transcoded file.
1539 &quot;bitRateKbps&quot;: &quot;A String&quot;, # The transcoding bit rate of the transcoded video, in kilobits per second.
1540 &quot;dimensions&quot;: { # Dimensions. # The dimensions of the transcoded video.
1541 &quot;heightPixels&quot;: 42, # The height in pixels.
1542 &quot;widthPixels&quot;: 42, # The width in pixels.
1543 },
1544 &quot;frameRate&quot;: 3.14, # The frame rate of the transcoded video, in frames per second.
1545 &quot;audioSampleRateHz&quot;: &quot;A String&quot;, # The sample rate for the audio stream of the transcoded video, or the sample
1546 # rate for the transcoded audio, in hertz.
Bu Sun Kim65020912020-05-20 12:08:20 -07001547 &quot;transcoded&quot;: True or False, # Indicates if the transcoding was successful.
1548 &quot;audioBitRateKbps&quot;: &quot;A String&quot;, # The bit rate for the audio stream of the transcoded video, or the bit rate
1549 # for the transcoded audio, in kilobits per second.
1550 &quot;fileSizeBytes&quot;: &quot;A String&quot;, # The size of the transcoded file, in bytes.
1551 &quot;name&quot;: &quot;A String&quot;, # The name of the transcoded file.
Bu Sun Kim65020912020-05-20 12:08:20 -07001552 },
1553 ],
1554 &quot;cmTrackingAd&quot;: { # A Campaign Manager tracking ad. # The Campaign Manager tracking ad associated with the creative.
1555 #
1556 # Optional for the following creative_type when
1557 # created by an advertiser that uses both Campaign Manager and third-party ad
1558 # serving:
1559 #
1560 # * `CREATIVE_TYPE_NATIVE`
1561 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
1562 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
1563 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
1564 #
1565 # Output only for other cases.
1566 &quot;cmCreativeId&quot;: &quot;A String&quot;, # The creative ID of the campaign manager tracking Ad.
1567 &quot;cmAdId&quot;: &quot;A String&quot;, # The ad ID of the campaign manager tracking Ad.
1568 &quot;cmPlacementId&quot;: &quot;A String&quot;, # The placement ID of the campaign manager tracking Ad.
1569 },
1570 &quot;html5Video&quot;: True or False, # Output only. Indicates the third-party VAST tag creative requires HTML5 Video support.
1571 #
1572 # Output only and only valid for third-party VAST tag creatives.
1573 #
1574 # Third-party VAST tag creatives are creatives with following
1575 # hosting_source:
1576 #
1577 # * `HOSTING_SOURCE_THIRD_PARTY`
1578 #
1579 # combined with following creative_type:
1580 #
1581 # * `CREATIVE_TYPE_VIDEO`
1582 &quot;requirePingForAttribution&quot;: True or False, # Optional. Indicates that the creative will wait for a return ping for attribution.
1583 #
1584 # Only valid when using a Campaign Manager tracking ad with a third-party ad
1585 # server parameter and the ${DC_DBM_TOKEN} macro.
1586 #
1587 # Optional and only valid for third-party tag creatives or third-party VAST
1588 # tag creatives.
1589 #
1590 # Third-party tag creatives are creatives with following
1591 # hosting_source:
1592 #
1593 # * `HOSTING_SOURCE_THIRD_PARTY`
1594 #
1595 # combined with following creative_type:
1596 #
1597 # * `CREATIVE_TYPE_STANDARD`
1598 # * `CREATIVE_TYPE_EXPANDABLE`
1599 #
1600 # Third-party VAST tag creatives are creatives with following
1601 # hosting_source:
1602 #
1603 # * `HOSTING_SOURCE_THIRD_PARTY`
1604 #
1605 # combined with following creative_type:
1606 #
1607 # * `CREATIVE_TYPE_VIDEO`
1608 &quot;dimensions&quot;: { # Dimensions. # Required. Primary dimensions of the creative.
1609 # Applicable to all creative types. The value of
1610 # width_pixels and
1611 # height_pixels defaults to `0`
1612 # when creative_type is one of:
1613 #
1614 # * `CREATIVE_TYPE_VIDEO`
1615 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL`
1616 # * `CREATIVE_TYPE_AUDIO`
1617 # * `CREATIVE_TYPE_NATIVE_VIDEO`
1618 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO`
Bu Sun Kim65020912020-05-20 12:08:20 -07001619 &quot;heightPixels&quot;: 42, # The height in pixels.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001620 &quot;widthPixels&quot;: 42, # The width in pixels.
Bu Sun Kim65020912020-05-20 12:08:20 -07001621 },
1622 &quot;appendedTag&quot;: &quot;A String&quot;, # Third-party HTML tracking tag to be appended to the creative tag.
Bu Sun Kim65020912020-05-20 12:08:20 -07001623 }</pre>
1624</div>
1625
1626<div class="method">
1627 <code class="details" id="list">list(advertiserId, filter=None, pageToken=None, orderBy=None, pageSize=None, x__xgafv=None)</code>
1628 <pre>Lists creatives in an advertiser.
1629
1630The order is defined by the order_by
1631parameter.
1632If a filter by
1633entity_status is not specified, creatives with
1634`ENTITY_STATUS_ARCHIVED` will not be included in the results.
1635
1636Args:
1637 advertiserId: string, Required. The ID of the advertiser to list creatives for. (required)
1638 filter: string, Allows filtering by creative properties.
1639
1640Supported syntax:
1641
1642* Filter expressions are made up of one or more restrictions.
1643* Restriction for the same field must be combined by `OR`.
1644* Restriction for different fields must be combined by `AND`.
1645* Between `(` and `)` there can only be restrictions combined by `OR`
1646for the same field.
1647* A restriction has the form of `{field} {operator} {value}`.
1648* The operator must be `EQUALS (=)` for the following fields:
1649 - `entityStatus`
1650 - `creativeType`.
1651 - `dimensions`
1652 - `minDuration`
1653 - `maxDuration`
1654 - `approvalStatus`
1655 - `exchangeReviewStatus`
1656 - `dynamic`
1657* The operator must be `HAS (:)` for the following fields:
1658 - `lineItemIds`
1659* For `entityStatus`, `minDuration`, `maxDuration`, and `dynamic` there may
1660be at most one restriction.
1661* For `dimensions`, the value is in the form of `&quot;{width}x{height}&quot;`.
1662* For `exchangeReviewStatus`, the value is in the form of
1663`{exchange}-{reviewStatus}`.
1664* For `minDuration` and `maxDuration`, the value is in the form of
1665`&quot;{duration}s&quot;`. Only seconds are supported with millisecond granularity.
1666* There may be multiple `lineItemIds` restrictions in order to search
1667against multiple possible line item IDs.
1668
1669Examples:
1670
1671* All native creatives: `creativeType=&quot;CREATIVE_TYPE_NATIVE&quot;`
1672* All active creatives with 300x400 or 50x100 dimensions:
1673`entityStatus=&quot;ENTITY_STATUS_ACTIVE&quot; AND (dimensions=&quot;300x400&quot;
1674OR dimensions=&quot;50x100&quot;)`
1675* All dynamic creatives that are approved by AdX or
1676AppNexus, with a minimum duration of 5 seconds and 200ms.
1677`dynamic=&quot;true&quot; AND minDuration=&quot;5.2s&quot; AND
1678(exchangeReviewStatus=&quot;EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED&quot;
1679OR exchangeReviewStatus=&quot;EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED&quot;)`
1680* All video creatives that are associated with line item ID 1 or 2:
1681creativeType=&quot;CREATIVE_TYPE_VIDEO&quot; AND (lineItemIds:1 OR lineItemIds:2)
1682
1683The length of this field should be no more than 500 characters.
1684 pageToken: string, A token identifying a page of results the server should return.
1685Typically, this is the value of
1686next_page_token
1687returned from the previous call to `ListCreatives` method.
1688If not specified, the first page of results will be returned.
1689 orderBy: string, Field by which to sort the list.
1690Acceptable values are:
1691
1692* `creativeId` (default)
1693* `createTime`
1694* `mediaDuration`
1695* `dimensions` (sorts by width first, then by height)
1696
1697The default sorting order is ascending. To specify descending order for
1698a field, a suffix &quot;desc&quot; should be added to the field name.
1699Example: `createTime desc`.
1700 pageSize: integer, Requested page size. Must be between `1` and `100`. If unspecified will
1701default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
1702is specified.
1703 x__xgafv: string, V1 error format.
1704 Allowed values
1705 1 - v1 error format
1706 2 - v2 error format
1707
1708Returns:
1709 An object of the form:
1710
1711 {
1712 &quot;creatives&quot;: [ # The list of creatives.
1713 #
1714 # This list will be absent if empty.
1715 { # A single Creative.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001716 &quot;creativeAttributes&quot;: [ # Output only. A list of attributes of the creative that is generated by the system.
1717 &quot;A String&quot;,
1718 ],
1719 &quot;creativeId&quot;: &quot;A String&quot;, # Output only. The unique ID of the creative. Assigned by the system.
1720 &quot;entityStatus&quot;: &quot;A String&quot;, # Required. Controls whether or not the creative can serve.
1721 #
1722 # Accepted values are:
1723 #
1724 # * `ENTITY_STATUS_ACTIVE`
1725 # * `ENTITY_STATUS_ARCHIVED`
1726 # * `ENTITY_STATUS_PAUSED`
1727 &quot;skipOffset&quot;: { # The length an audio or a video has been played. # Amount of time to play the video before the skip button appears.
1728 #
1729 # This field is required when skippable is true.
1730 #
1731 # This field is only supported for the following
1732 # creative_type:
1733 #
1734 # * `CREATIVE_TYPE_VIDEO`
1735 &quot;percentage&quot;: &quot;A String&quot;, # The offset in percentage of the audio or video duration.
1736 &quot;seconds&quot;: &quot;A String&quot;, # The offset in seconds from the start of the audio or video.
1737 },
1738 &quot;requireHtml5&quot;: True or False, # Optional. Indicates that the creative relies on HTML5 to render properly.
1739 #
1740 # Optional and only valid for third-party tag creatives.
1741 # Third-party tag creatives are creatives with following
1742 # hosting_source:
1743 #
1744 # * `HOSTING_SOURCE_THIRD_PARTY`
1745 #
1746 # combined with following creative_type:
1747 #
1748 # * `CREATIVE_TYPE_STANDARD`
1749 # * `CREATIVE_TYPE_EXPANDABLE`
1750 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the creative.
1751 &quot;skippable&quot;: True or False, # Whether the user can choose to skip a video creative.
1752 #
1753 # This field is only supported for the following
1754 # creative_type:
1755 #
1756 # * `CREATIVE_TYPE_VIDEO`
1757 &quot;jsTrackerUrl&quot;: &quot;A String&quot;, # JavaScript measurement URL from supported third-party verification
1758 # providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not
1759 # supported.
1760 #
1761 # This field is only supported in following
1762 # creative_type:
1763 #
1764 # * `CREATIVE_TYPE_NATIVE`
1765 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
1766 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
1767 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
1768 # * `CREATIVE_TYPE_NATIVE_VIDEO`
1769 &quot;thirdPartyUrls&quot;: [ # Tracking URLs from third parties to track interactions with a video
1770 # creative.
1771 #
1772 # This field is only supported for the following
1773 # creative_type:
1774 #
1775 # * `CREATIVE_TYPE_AUDIO`
1776 # * `CREATIVE_TYPE_VIDEO`
1777 # * `CREATIVE_TYPE_NATIVE_VIDEO`
1778 { # Tracking URLs from third parties to track interactions with an audio or a
1779 # video creative.
1780 &quot;type&quot;: &quot;A String&quot;, # The type of interaction needs to be tracked by the tracking URL
1781 &quot;url&quot;: &quot;A String&quot;, # Tracking URL used to track the interaction.
1782 #
1783 # Provide a URL with optional path or query string, beginning with `https:`.
1784 # For example, https://www.example.com/path
Bu Sun Kim65020912020-05-20 12:08:20 -07001785 },
1786 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001787 &quot;expandOnHover&quot;: True or False, # Optional. Indicates the creative will automatically expand on hover.
1788 #
1789 # Optional and only valid for third-party expandable creatives.
1790 # Third-party expandable creatives are creatives with following hosting
1791 # source:
1792 #
1793 # * `HOSTING_SOURCE_THIRD_PARTY`
1794 #
1795 # combined with following creative_type:
1796 #
1797 # * `CREATIVE_TYPE_EXPANDABLE`
1798 &quot;exitEvents&quot;: [ # Required. Exit events for this creative.
1799 # An exit (also known as a click tag) is any area in your creative that
1800 # someone can click or tap to open an advertiser&#x27;s landing page.
1801 # Every creative must include at least one exit.
1802 # You can add an exit to your creative in any of the following ways:
1803 #
1804 # * Use Google Web Designer&#x27;s tap area.
1805 # * Define a JavaScript variable called &quot;clickTag&quot;.
1806 # * Use the Enabler (Enabler.exit()) to track exits in rich media formats.
1807 { # Exit event of the creative.
1808 &quot;url&quot;: &quot;A String&quot;, # Required. The click through URL of the exit event.
1809 # This is required when type is:
1810 #
1811 # * `EXIT_EVENT_TYPE_DEFAULT`
1812 # * `EXIT_EVENT_TYPE_BACKUP`
1813 &quot;name&quot;: &quot;A String&quot;, # The name of the click tag of the exit event.
1814 #
1815 # The name must be unique within one creative.
1816 #
1817 # Leave it empty or unset for creatives containing image assets only.
1818 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the exit event.
1819 &quot;reportingName&quot;: &quot;A String&quot;, # The name used to identify this event in reports.
1820 # Leave it empty or unset for creatives containing image assets only.
1821 },
1822 ],
1823 &quot;additionalDimensions&quot;: [ # Additional dimensions.
1824 # Applicable when creative_type is one of:
1825 #
1826 # * `CREATIVE_TYPE_STANDARD`
1827 # * `CREATIVE_TYPE_EXPANDABLE`
1828 # * `CREATIVE_TYPE_NATIVE`
1829 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL`
1830 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
1831 # * `CREATIVE_TYPE_LIGHTBOX`
1832 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
1833 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
1834 # * `CREATIVE_TYPE_PUBLISHER_HOSTED`
1835 #
1836 # If this field is specified, width_pixels and
1837 # height_pixels are both required and must be
1838 # greater than or equal to 0.
1839 { # Dimensions.
1840 &quot;heightPixels&quot;: 42, # The height in pixels.
1841 &quot;widthPixels&quot;: 42, # The width in pixels.
1842 },
1843 ],
1844 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the creative was created. Assigned by
1845 # the system.
1846 &quot;trackerUrls&quot;: [ # Tracking URLs for analytics providers or third-party ad technology vendors.
1847 #
1848 # The URLs must start with https (except on inventory that doesn&#x27;t require
1849 # SSL compliance).
1850 # If using macros in your URL, use only macros supported by Display &amp; Video
1851 # 360.
1852 #
1853 # Standard URLs only, no IMG or SCRIPT tags.
1854 #
1855 # This field is only supported in following
1856 # creative_type:
1857 #
1858 # * `CREATIVE_TYPE_NATIVE`
1859 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
1860 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
1861 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
1862 # * `CREATIVE_TYPE_NATIVE_VIDEO`
1863 &quot;A String&quot;,
1864 ],
1865 &quot;iasCampaignMonitoring&quot;: True or False, # Indicates whether Integral Ad Science (IAS) campaign monitoring is enabled.
1866 # To enable this for the creative, make sure the
1867 # Advertiser.creative_config.ias_client_id
1868 # has been set to your IAS client ID.
1869 &quot;integrationCode&quot;: &quot;A String&quot;, # ID information used to link this creative to an external system.
1870 # Must be UTF-8 encoded with a length of no more than 10,000 characters.
1871 &quot;cmPlacementId&quot;: &quot;A String&quot;, # Output only. The unique ID of the Campaign Manager placement associated with the
1872 # creative.
1873 # This field is only applicable for creatives that are synced from Campaign
1874 # Manager.
1875 &quot;requireMraid&quot;: True or False, # Optional. Indicates that the creative requires MRAID (Mobile Rich Media Ad Interface
1876 # Definitions system).
1877 #
1878 # Set this if the creative relies on mobile gestures for interactivity, such
1879 # as swiping or tapping.
1880 #
1881 # Optional and only valid for third-party tag creatives.
1882 #
1883 # Third-party tag creatives are creatives with following
1884 # hosting_source:
1885 #
1886 # * `HOSTING_SOURCE_THIRD_PARTY`
1887 #
1888 # combined with following creative_type:
1889 #
1890 # * `CREATIVE_TYPE_STANDARD`
1891 # * `CREATIVE_TYPE_EXPANDABLE`
1892 &quot;companionCreativeIds&quot;: [ # The IDs of companion creatives for a video creative.
1893 #
1894 # You can assign existing display creatives (with image or HTML5 assets)
1895 # to serve surrounding the publisher&#x27;s video player. Companions display
1896 # around the video player while the video is playing and remain after the
1897 # video has completed.
1898 #
1899 # Creatives contain additional dimensions
1900 # can not be companion creatives.
1901 #
1902 # This field is only supported for following
1903 # creative_type:
1904 #
1905 # * `CREATIVE_TYPE_AUDIO`
1906 # * `CREATIVE_TYPE_VIDEO`
1907 &quot;A String&quot;,
1908 ],
1909 &quot;creativeType&quot;: &quot;A String&quot;, # Required. Immutable. The type of the creative.
1910 &quot;obaIcon&quot;: { # OBA Icon for a Creative # Specifies the OBA icon for a video creative.
1911 #
1912 # This field is only supported in following
1913 # creative_type:
1914 #
1915 # * `CREATIVE_TYPE_VIDEO`
1916 &quot;dimensions&quot;: { # Dimensions. # The dimensions of the OBA icon.
1917 &quot;heightPixels&quot;: 42, # The height in pixels.
1918 &quot;widthPixels&quot;: 42, # The width in pixels.
1919 },
1920 &quot;resourceMimeType&quot;: &quot;A String&quot;, # The MIME type of the OBA icon resource.
1921 &quot;viewTrackingUrl&quot;: &quot;A String&quot;, # Required. The view tracking URL of the OBA icon.
1922 #
1923 # Only URLs of the following domains are allowed:
1924 #
1925 # * https://info.evidon.com
1926 # * https://l.betrad.com
1927 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # Required. The click tracking URL of the OBA icon.
1928 #
1929 # Only URLs of the following domains are allowed:
1930 #
1931 # * https://info.evidon.com
1932 # * https://l.betrad.com
1933 &quot;position&quot;: &quot;A String&quot;, # The position of the OBA icon on the creative.
1934 &quot;resourceUrl&quot;: &quot;A String&quot;, # The URL of the OBA icon resource.
1935 &quot;landingPageUrl&quot;: &quot;A String&quot;, # Required. The landing page URL of the OBA icon.
1936 #
1937 # Only URLs of the following domains are allowed:
1938 #
1939 # * https://info.evidon.com
1940 # * https://l.betrad.com
1941 &quot;program&quot;: &quot;A String&quot;, # The program of the OBA icon. For example: “AdChoices”.
1942 },
1943 &quot;timerEvents&quot;: [ # Timer custom events for a rich media creative.
1944 # Timers track the time during which a user views and interacts with a
1945 # specified part of a rich media creative.
1946 # A creative can have multiple timer events, each timed independently.
1947 # Leave it empty or unset for creatives containing image assets only.
1948 { # Timer event of the creative.
1949 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the timer event.
1950 &quot;reportingName&quot;: &quot;A String&quot;, # Required. The name used to identify this timer event in reports.
1951 },
1952 ],
1953 &quot;notes&quot;: &quot;A String&quot;, # User notes for this creative.
1954 # Must be UTF-8 encoded with a length of no more than 20,000 characters.
1955 &quot;dynamic&quot;: True or False, # Output only. Indicates whether the creative is dynamic.
1956 &quot;assets&quot;: [ # Required. Assets associated to this creative.
1957 # Assets can be associated to the creative in one of following roles:
1958 #
1959 # * `ASSET_ROLE_UNSPECIFIED`
1960 # * `ASSET_ROLE_MAIN`
1961 # * `ASSET_ROLE_BACKUP`
1962 # * `ASSET_ROLE_POLITE_LOAD`
1963 { # Asset association for the creative.
1964 &quot;asset&quot;: { # A single asset. # The associated asset.
1965 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID of the uploaded asset. This is a unique identifier for the asset.
1966 # This ID can be passed to other API calls, e.g.
1967 # CreateCreative to associate
1968 # the asset with a creative.
1969 &quot;content&quot;: &quot;A String&quot;, # The asset content.
1970 # For uploaded assets, the content is the serving path.
1971 },
1972 &quot;role&quot;: &quot;A String&quot;, # The role of this asset for the creative.
1973 },
1974 ],
1975 &quot;vpaid&quot;: True or False, # Output only. Indicates the third-party VAST tag creative requires VPAID (Digital Video
1976 # Player-Ad Interface).
1977 #
1978 # Output only and only valid for third-party VAST tag creatives.
1979 #
1980 # Third-party VAST tag creatives are creatives with following
1981 # hosting_source:
1982 #
1983 # * `HOSTING_SOURCE_THIRD_PARTY`
1984 #
1985 # combined with following creative_type:
1986 #
1987 # * `CREATIVE_TYPE_VIDEO`
1988 &quot;expandingDirection&quot;: &quot;A String&quot;, # Optional. Specifies the expanding direction of the creative.
1989 #
1990 # Required and only valid for third-party expandable creatives.
1991 #
1992 # Third-party expandable creatives are creatives with following hosting
1993 # source:
1994 #
1995 # * `HOSTING_SOURCE_THIRD_PARTY`
1996 #
1997 # combined with following creative_type:
1998 #
1999 # * `CREATIVE_TYPE_EXPANDABLE`
2000 &quot;thirdPartyTag&quot;: &quot;A String&quot;, # Optional. The original third-party tag used for the creative.
2001 #
2002 # Required and only valid for third-party tag creatives.
2003 #
2004 # Third-party tag creatives are creatives with following
2005 # hosting_source:
2006 #
2007 # * `HOSTING_SOURCE_THIRD_PARTY`
2008 #
2009 # combined with following creative_type:
2010 #
2011 # * `CREATIVE_TYPE_STANDARD`
2012 # * `CREATIVE_TYPE_EXPANDABLE`
2013 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the creative.
2014 #
2015 # Must be UTF-8 encoded with a maximum size of 240 bytes.
2016 &quot;hostingSource&quot;: &quot;A String&quot;, # Required. Indicates where the creative is hosted.
2017 &quot;mediaDuration&quot;: &quot;A String&quot;, # Output only. Media duration of the creative.
2018 # Applicable when creative_type
2019 # is one of:
2020 #
2021 # * `CREATIVE_TYPE_VIDEO`
2022 # * `CREATIVE_TYPE_AUDIO`
2023 # * `CREATIVE_TYPE_NATIVE_VIDEO`
2024 # * `CREATIVE_TYPE_PUBLISHER_HOSTED`
2025 &quot;vastTagUrl&quot;: &quot;A String&quot;, # Optional. The URL of the VAST tag for a third-party VAST tag creative.
2026 #
2027 # Required and only valid for third-party VAST tag creatives.
2028 #
2029 # Third-party VAST tag creatives are creatives with following
2030 # hosting_source:
2031 #
2032 # * `HOSTING_SOURCE_THIRD_PARTY`
2033 #
2034 # combined with following creative_type:
2035 #
2036 # * `CREATIVE_TYPE_VIDEO`
Bu Sun Kim65020912020-05-20 12:08:20 -07002037 &quot;reviewStatus&quot;: { # Review statuses for the creative. # Output only. The current status of the creative review process.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002038 &quot;approvalStatus&quot;: &quot;A String&quot;, # Represents the basic approval needed for a creative to begin serving.
2039 # Summary of
2040 # creative_and_landing_page_review_status
2041 # and
2042 # content_and_policy_review_status.
Bu Sun Kim65020912020-05-20 12:08:20 -07002043 &quot;creativeAndLandingPageReviewStatus&quot;: &quot;A String&quot;, # Creative and landing page review status for the creative.
2044 &quot;exchangeReviewStatuses&quot;: [ # Exchange review statuses for the creative.
2045 { # Exchange review status for the creative.
Bu Sun Kim65020912020-05-20 12:08:20 -07002046 &quot;status&quot;: &quot;A String&quot;, # Status of the exchange review.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002047 &quot;exchange&quot;: &quot;A String&quot;, # The exchange reviewing the creative.
Bu Sun Kim65020912020-05-20 12:08:20 -07002048 },
2049 ],
2050 &quot;contentAndPolicyReviewStatus&quot;: &quot;A String&quot;, # Content and policy review status for the creative.
2051 &quot;publisherReviewStatuses&quot;: [ # Publisher review statuses for the creative.
2052 { # Publisher review status for the creative.
2053 &quot;status&quot;: &quot;A String&quot;, # Status of the publisher review.
2054 &quot;publisherName&quot;: &quot;A String&quot;, # The publisher reviewing the creative.
2055 },
2056 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002057 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002058 &quot;counterEvents&quot;: [ # Counter events for a rich media creative.
2059 # Counters track the number of times that a user interacts with any part of a
2060 # rich media creative in a specified way (mouse-overs, mouse-outs, clicks,
2061 # taps, data loading, keyboard entries, etc.).
2062 # Any event that can be captured in the creative can be recorded as a
2063 # counter.
2064 # Leave it empty or unset for creatives containing image assets only.
2065 { # Counter event of the creative.
2066 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the counter event.
2067 &quot;reportingName&quot;: &quot;A String&quot;, # Required. The name used to identify this counter event in reports.
2068 },
2069 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002070 &quot;progressOffset&quot;: { # The length an audio or a video has been played. # Amount of time to play the video before counting a view.
2071 #
2072 # This field is required when skippable is true.
2073 #
2074 # This field is only supported for the following
2075 # creative_type:
2076 #
2077 # * `CREATIVE_TYPE_VIDEO`
2078 &quot;percentage&quot;: &quot;A String&quot;, # The offset in percentage of the audio or video duration.
2079 &quot;seconds&quot;: &quot;A String&quot;, # The offset in seconds from the start of the audio or video.
2080 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002081 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the creative was last updated. Assigned by
2082 # the system.
2083 &quot;advertiserId&quot;: &quot;A String&quot;, # Output only. The unique ID of the advertiser the creative belongs to.
Bu Sun Kim65020912020-05-20 12:08:20 -07002084 &quot;universalAdId&quot;: { # A creative identifier provided by a registry that is unique across all # Optional. An optional creative identifier provided by a registry that is unique
2085 # across all platforms.
2086 #
2087 # Universal Ad ID is part of the VAST 4.0 standard. It can be modified after
2088 # the creative is created.
2089 #
2090 # This field is only supported for the following
2091 # creative_type:
2092 #
2093 # * `CREATIVE_TYPE_VIDEO`
2094 # platforms. This is part of the VAST 4.0 standard.
2095 &quot;id&quot;: &quot;A String&quot;, # The unique creative identifier.
2096 &quot;registry&quot;: &quot;A String&quot;, # The registry provides unique creative identifiers.
2097 },
2098 &quot;transcodes&quot;: [ # Output only. Audio/Video transcodes.
2099 #
2100 # Display &amp; Video 360 transcodes the main asset into a number of alternative
2101 # versions that use different file formats or have different properties
2102 # (resolution, audio bit rate, and video bit rate), each designed for
2103 # specific video players or bandwidths.
2104 #
2105 # These transcodes give a publisher&#x27;s system more options to choose from for
2106 # each impression on your video and ensures that the appropriate file serves
2107 # based on the viewer’s connection and screen size.
2108 #
2109 # This field is only supported in following
2110 # creative_type:
2111 #
2112 # * `CREATIVE_TYPE_VIDEO`
2113 # * `CREATIVE_TYPE_NATIVE_VIDEO`
2114 # * `CREATIVE_TYPE_AUDIO`
2115 { # Represents information about the transcoded audio or video file.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002116 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the transcoded file.
2117 &quot;bitRateKbps&quot;: &quot;A String&quot;, # The transcoding bit rate of the transcoded video, in kilobits per second.
2118 &quot;dimensions&quot;: { # Dimensions. # The dimensions of the transcoded video.
2119 &quot;heightPixels&quot;: 42, # The height in pixels.
2120 &quot;widthPixels&quot;: 42, # The width in pixels.
2121 },
2122 &quot;frameRate&quot;: 3.14, # The frame rate of the transcoded video, in frames per second.
2123 &quot;audioSampleRateHz&quot;: &quot;A String&quot;, # The sample rate for the audio stream of the transcoded video, or the sample
2124 # rate for the transcoded audio, in hertz.
Bu Sun Kim65020912020-05-20 12:08:20 -07002125 &quot;transcoded&quot;: True or False, # Indicates if the transcoding was successful.
2126 &quot;audioBitRateKbps&quot;: &quot;A String&quot;, # The bit rate for the audio stream of the transcoded video, or the bit rate
2127 # for the transcoded audio, in kilobits per second.
2128 &quot;fileSizeBytes&quot;: &quot;A String&quot;, # The size of the transcoded file, in bytes.
2129 &quot;name&quot;: &quot;A String&quot;, # The name of the transcoded file.
Bu Sun Kim65020912020-05-20 12:08:20 -07002130 },
2131 ],
2132 &quot;cmTrackingAd&quot;: { # A Campaign Manager tracking ad. # The Campaign Manager tracking ad associated with the creative.
2133 #
2134 # Optional for the following creative_type when
2135 # created by an advertiser that uses both Campaign Manager and third-party ad
2136 # serving:
2137 #
2138 # * `CREATIVE_TYPE_NATIVE`
2139 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
2140 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
2141 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
2142 #
2143 # Output only for other cases.
2144 &quot;cmCreativeId&quot;: &quot;A String&quot;, # The creative ID of the campaign manager tracking Ad.
2145 &quot;cmAdId&quot;: &quot;A String&quot;, # The ad ID of the campaign manager tracking Ad.
2146 &quot;cmPlacementId&quot;: &quot;A String&quot;, # The placement ID of the campaign manager tracking Ad.
2147 },
2148 &quot;html5Video&quot;: True or False, # Output only. Indicates the third-party VAST tag creative requires HTML5 Video support.
2149 #
2150 # Output only and only valid for third-party VAST tag creatives.
2151 #
2152 # Third-party VAST tag creatives are creatives with following
2153 # hosting_source:
2154 #
2155 # * `HOSTING_SOURCE_THIRD_PARTY`
2156 #
2157 # combined with following creative_type:
2158 #
2159 # * `CREATIVE_TYPE_VIDEO`
2160 &quot;requirePingForAttribution&quot;: True or False, # Optional. Indicates that the creative will wait for a return ping for attribution.
2161 #
2162 # Only valid when using a Campaign Manager tracking ad with a third-party ad
2163 # server parameter and the ${DC_DBM_TOKEN} macro.
2164 #
2165 # Optional and only valid for third-party tag creatives or third-party VAST
2166 # tag creatives.
2167 #
2168 # Third-party tag creatives are creatives with following
2169 # hosting_source:
2170 #
2171 # * `HOSTING_SOURCE_THIRD_PARTY`
2172 #
2173 # combined with following creative_type:
2174 #
2175 # * `CREATIVE_TYPE_STANDARD`
2176 # * `CREATIVE_TYPE_EXPANDABLE`
2177 #
2178 # Third-party VAST tag creatives are creatives with following
2179 # hosting_source:
2180 #
2181 # * `HOSTING_SOURCE_THIRD_PARTY`
2182 #
2183 # combined with following creative_type:
2184 #
2185 # * `CREATIVE_TYPE_VIDEO`
2186 &quot;dimensions&quot;: { # Dimensions. # Required. Primary dimensions of the creative.
2187 # Applicable to all creative types. The value of
2188 # width_pixels and
2189 # height_pixels defaults to `0`
2190 # when creative_type is one of:
2191 #
2192 # * `CREATIVE_TYPE_VIDEO`
2193 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL`
2194 # * `CREATIVE_TYPE_AUDIO`
2195 # * `CREATIVE_TYPE_NATIVE_VIDEO`
2196 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO`
Bu Sun Kim65020912020-05-20 12:08:20 -07002197 &quot;heightPixels&quot;: 42, # The height in pixels.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002198 &quot;widthPixels&quot;: 42, # The width in pixels.
Bu Sun Kim65020912020-05-20 12:08:20 -07002199 },
2200 &quot;appendedTag&quot;: &quot;A String&quot;, # Third-party HTML tracking tag to be appended to the creative tag.
Bu Sun Kim65020912020-05-20 12:08:20 -07002201 },
2202 ],
2203 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results.
2204 # Pass this value in the page_token field
2205 # in the subsequent call to `ListCreativesRequest` method to retrieve the
2206 # next page of results.
2207 # If this field is null, it means this is the last page.
2208 }</pre>
2209</div>
2210
2211<div class="method">
2212 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
2213 <pre>Retrieves the next page of results.
2214
2215Args:
2216 previous_request: The request for the previous page. (required)
2217 previous_response: The response from the request for the previous page. (required)
2218
2219Returns:
2220 A request object that you can call &#x27;execute()&#x27; on to request the next
2221 page. Returns None if there are no more items in the collection.
2222 </pre>
2223</div>
2224
2225<div class="method">
2226 <code class="details" id="patch">patch(advertiserId, creativeId, body=None, updateMask=None, x__xgafv=None)</code>
2227 <pre>Updates an existing creative.
2228Returns the updated creative if successful.
2229
2230Args:
2231 advertiserId: string, Output only. The unique ID of the advertiser the creative belongs to. (required)
2232 creativeId: string, Output only. The unique ID of the creative. Assigned by the system. (required)
2233 body: object, The request body.
2234 The object takes the form of:
2235
2236{ # A single Creative.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002237 &quot;creativeAttributes&quot;: [ # Output only. A list of attributes of the creative that is generated by the system.
2238 &quot;A String&quot;,
2239 ],
2240 &quot;creativeId&quot;: &quot;A String&quot;, # Output only. The unique ID of the creative. Assigned by the system.
2241 &quot;entityStatus&quot;: &quot;A String&quot;, # Required. Controls whether or not the creative can serve.
2242 #
2243 # Accepted values are:
2244 #
2245 # * `ENTITY_STATUS_ACTIVE`
2246 # * `ENTITY_STATUS_ARCHIVED`
2247 # * `ENTITY_STATUS_PAUSED`
2248 &quot;skipOffset&quot;: { # The length an audio or a video has been played. # Amount of time to play the video before the skip button appears.
2249 #
2250 # This field is required when skippable is true.
2251 #
2252 # This field is only supported for the following
2253 # creative_type:
2254 #
2255 # * `CREATIVE_TYPE_VIDEO`
2256 &quot;percentage&quot;: &quot;A String&quot;, # The offset in percentage of the audio or video duration.
2257 &quot;seconds&quot;: &quot;A String&quot;, # The offset in seconds from the start of the audio or video.
2258 },
2259 &quot;requireHtml5&quot;: True or False, # Optional. Indicates that the creative relies on HTML5 to render properly.
2260 #
2261 # Optional and only valid for third-party tag creatives.
2262 # Third-party tag creatives are creatives with following
2263 # hosting_source:
2264 #
2265 # * `HOSTING_SOURCE_THIRD_PARTY`
2266 #
2267 # combined with following creative_type:
2268 #
2269 # * `CREATIVE_TYPE_STANDARD`
2270 # * `CREATIVE_TYPE_EXPANDABLE`
2271 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the creative.
2272 &quot;skippable&quot;: True or False, # Whether the user can choose to skip a video creative.
2273 #
2274 # This field is only supported for the following
2275 # creative_type:
2276 #
2277 # * `CREATIVE_TYPE_VIDEO`
2278 &quot;jsTrackerUrl&quot;: &quot;A String&quot;, # JavaScript measurement URL from supported third-party verification
2279 # providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not
2280 # supported.
2281 #
2282 # This field is only supported in following
2283 # creative_type:
2284 #
2285 # * `CREATIVE_TYPE_NATIVE`
2286 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
2287 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
2288 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
2289 # * `CREATIVE_TYPE_NATIVE_VIDEO`
2290 &quot;thirdPartyUrls&quot;: [ # Tracking URLs from third parties to track interactions with a video
2291 # creative.
2292 #
2293 # This field is only supported for the following
2294 # creative_type:
2295 #
2296 # * `CREATIVE_TYPE_AUDIO`
2297 # * `CREATIVE_TYPE_VIDEO`
2298 # * `CREATIVE_TYPE_NATIVE_VIDEO`
2299 { # Tracking URLs from third parties to track interactions with an audio or a
2300 # video creative.
2301 &quot;type&quot;: &quot;A String&quot;, # The type of interaction needs to be tracked by the tracking URL
2302 &quot;url&quot;: &quot;A String&quot;, # Tracking URL used to track the interaction.
2303 #
2304 # Provide a URL with optional path or query string, beginning with `https:`.
2305 # For example, https://www.example.com/path
Bu Sun Kim65020912020-05-20 12:08:20 -07002306 },
2307 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002308 &quot;expandOnHover&quot;: True or False, # Optional. Indicates the creative will automatically expand on hover.
2309 #
2310 # Optional and only valid for third-party expandable creatives.
2311 # Third-party expandable creatives are creatives with following hosting
2312 # source:
2313 #
2314 # * `HOSTING_SOURCE_THIRD_PARTY`
2315 #
2316 # combined with following creative_type:
2317 #
2318 # * `CREATIVE_TYPE_EXPANDABLE`
2319 &quot;exitEvents&quot;: [ # Required. Exit events for this creative.
2320 # An exit (also known as a click tag) is any area in your creative that
2321 # someone can click or tap to open an advertiser&#x27;s landing page.
2322 # Every creative must include at least one exit.
2323 # You can add an exit to your creative in any of the following ways:
2324 #
2325 # * Use Google Web Designer&#x27;s tap area.
2326 # * Define a JavaScript variable called &quot;clickTag&quot;.
2327 # * Use the Enabler (Enabler.exit()) to track exits in rich media formats.
2328 { # Exit event of the creative.
2329 &quot;url&quot;: &quot;A String&quot;, # Required. The click through URL of the exit event.
2330 # This is required when type is:
2331 #
2332 # * `EXIT_EVENT_TYPE_DEFAULT`
2333 # * `EXIT_EVENT_TYPE_BACKUP`
2334 &quot;name&quot;: &quot;A String&quot;, # The name of the click tag of the exit event.
2335 #
2336 # The name must be unique within one creative.
2337 #
2338 # Leave it empty or unset for creatives containing image assets only.
2339 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the exit event.
2340 &quot;reportingName&quot;: &quot;A String&quot;, # The name used to identify this event in reports.
2341 # Leave it empty or unset for creatives containing image assets only.
2342 },
2343 ],
2344 &quot;additionalDimensions&quot;: [ # Additional dimensions.
2345 # Applicable when creative_type is one of:
2346 #
2347 # * `CREATIVE_TYPE_STANDARD`
2348 # * `CREATIVE_TYPE_EXPANDABLE`
2349 # * `CREATIVE_TYPE_NATIVE`
2350 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL`
2351 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
2352 # * `CREATIVE_TYPE_LIGHTBOX`
2353 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
2354 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
2355 # * `CREATIVE_TYPE_PUBLISHER_HOSTED`
2356 #
2357 # If this field is specified, width_pixels and
2358 # height_pixels are both required and must be
2359 # greater than or equal to 0.
2360 { # Dimensions.
2361 &quot;heightPixels&quot;: 42, # The height in pixels.
2362 &quot;widthPixels&quot;: 42, # The width in pixels.
2363 },
2364 ],
2365 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the creative was created. Assigned by
2366 # the system.
2367 &quot;trackerUrls&quot;: [ # Tracking URLs for analytics providers or third-party ad technology vendors.
2368 #
2369 # The URLs must start with https (except on inventory that doesn&#x27;t require
2370 # SSL compliance).
2371 # If using macros in your URL, use only macros supported by Display &amp; Video
2372 # 360.
2373 #
2374 # Standard URLs only, no IMG or SCRIPT tags.
2375 #
2376 # This field is only supported in following
2377 # creative_type:
2378 #
2379 # * `CREATIVE_TYPE_NATIVE`
2380 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
2381 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
2382 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
2383 # * `CREATIVE_TYPE_NATIVE_VIDEO`
2384 &quot;A String&quot;,
2385 ],
2386 &quot;iasCampaignMonitoring&quot;: True or False, # Indicates whether Integral Ad Science (IAS) campaign monitoring is enabled.
2387 # To enable this for the creative, make sure the
2388 # Advertiser.creative_config.ias_client_id
2389 # has been set to your IAS client ID.
2390 &quot;integrationCode&quot;: &quot;A String&quot;, # ID information used to link this creative to an external system.
2391 # Must be UTF-8 encoded with a length of no more than 10,000 characters.
2392 &quot;cmPlacementId&quot;: &quot;A String&quot;, # Output only. The unique ID of the Campaign Manager placement associated with the
2393 # creative.
2394 # This field is only applicable for creatives that are synced from Campaign
2395 # Manager.
2396 &quot;requireMraid&quot;: True or False, # Optional. Indicates that the creative requires MRAID (Mobile Rich Media Ad Interface
2397 # Definitions system).
2398 #
2399 # Set this if the creative relies on mobile gestures for interactivity, such
2400 # as swiping or tapping.
2401 #
2402 # Optional and only valid for third-party tag creatives.
2403 #
2404 # Third-party tag creatives are creatives with following
2405 # hosting_source:
2406 #
2407 # * `HOSTING_SOURCE_THIRD_PARTY`
2408 #
2409 # combined with following creative_type:
2410 #
2411 # * `CREATIVE_TYPE_STANDARD`
2412 # * `CREATIVE_TYPE_EXPANDABLE`
2413 &quot;companionCreativeIds&quot;: [ # The IDs of companion creatives for a video creative.
2414 #
2415 # You can assign existing display creatives (with image or HTML5 assets)
2416 # to serve surrounding the publisher&#x27;s video player. Companions display
2417 # around the video player while the video is playing and remain after the
2418 # video has completed.
2419 #
2420 # Creatives contain additional dimensions
2421 # can not be companion creatives.
2422 #
2423 # This field is only supported for following
2424 # creative_type:
2425 #
2426 # * `CREATIVE_TYPE_AUDIO`
2427 # * `CREATIVE_TYPE_VIDEO`
2428 &quot;A String&quot;,
2429 ],
2430 &quot;creativeType&quot;: &quot;A String&quot;, # Required. Immutable. The type of the creative.
2431 &quot;obaIcon&quot;: { # OBA Icon for a Creative # Specifies the OBA icon for a video creative.
2432 #
2433 # This field is only supported in following
2434 # creative_type:
2435 #
2436 # * `CREATIVE_TYPE_VIDEO`
2437 &quot;dimensions&quot;: { # Dimensions. # The dimensions of the OBA icon.
2438 &quot;heightPixels&quot;: 42, # The height in pixels.
2439 &quot;widthPixels&quot;: 42, # The width in pixels.
2440 },
2441 &quot;resourceMimeType&quot;: &quot;A String&quot;, # The MIME type of the OBA icon resource.
2442 &quot;viewTrackingUrl&quot;: &quot;A String&quot;, # Required. The view tracking URL of the OBA icon.
2443 #
2444 # Only URLs of the following domains are allowed:
2445 #
2446 # * https://info.evidon.com
2447 # * https://l.betrad.com
2448 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # Required. The click tracking URL of the OBA icon.
2449 #
2450 # Only URLs of the following domains are allowed:
2451 #
2452 # * https://info.evidon.com
2453 # * https://l.betrad.com
2454 &quot;position&quot;: &quot;A String&quot;, # The position of the OBA icon on the creative.
2455 &quot;resourceUrl&quot;: &quot;A String&quot;, # The URL of the OBA icon resource.
2456 &quot;landingPageUrl&quot;: &quot;A String&quot;, # Required. The landing page URL of the OBA icon.
2457 #
2458 # Only URLs of the following domains are allowed:
2459 #
2460 # * https://info.evidon.com
2461 # * https://l.betrad.com
2462 &quot;program&quot;: &quot;A String&quot;, # The program of the OBA icon. For example: “AdChoices”.
2463 },
2464 &quot;timerEvents&quot;: [ # Timer custom events for a rich media creative.
2465 # Timers track the time during which a user views and interacts with a
2466 # specified part of a rich media creative.
2467 # A creative can have multiple timer events, each timed independently.
2468 # Leave it empty or unset for creatives containing image assets only.
2469 { # Timer event of the creative.
2470 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the timer event.
2471 &quot;reportingName&quot;: &quot;A String&quot;, # Required. The name used to identify this timer event in reports.
2472 },
2473 ],
2474 &quot;notes&quot;: &quot;A String&quot;, # User notes for this creative.
2475 # Must be UTF-8 encoded with a length of no more than 20,000 characters.
2476 &quot;dynamic&quot;: True or False, # Output only. Indicates whether the creative is dynamic.
2477 &quot;assets&quot;: [ # Required. Assets associated to this creative.
2478 # Assets can be associated to the creative in one of following roles:
2479 #
2480 # * `ASSET_ROLE_UNSPECIFIED`
2481 # * `ASSET_ROLE_MAIN`
2482 # * `ASSET_ROLE_BACKUP`
2483 # * `ASSET_ROLE_POLITE_LOAD`
2484 { # Asset association for the creative.
2485 &quot;asset&quot;: { # A single asset. # The associated asset.
2486 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID of the uploaded asset. This is a unique identifier for the asset.
2487 # This ID can be passed to other API calls, e.g.
2488 # CreateCreative to associate
2489 # the asset with a creative.
2490 &quot;content&quot;: &quot;A String&quot;, # The asset content.
2491 # For uploaded assets, the content is the serving path.
2492 },
2493 &quot;role&quot;: &quot;A String&quot;, # The role of this asset for the creative.
2494 },
2495 ],
2496 &quot;vpaid&quot;: True or False, # Output only. Indicates the third-party VAST tag creative requires VPAID (Digital Video
2497 # Player-Ad Interface).
2498 #
2499 # Output only and only valid for third-party VAST tag creatives.
2500 #
2501 # Third-party VAST tag creatives are creatives with following
2502 # hosting_source:
2503 #
2504 # * `HOSTING_SOURCE_THIRD_PARTY`
2505 #
2506 # combined with following creative_type:
2507 #
2508 # * `CREATIVE_TYPE_VIDEO`
2509 &quot;expandingDirection&quot;: &quot;A String&quot;, # Optional. Specifies the expanding direction of the creative.
2510 #
2511 # Required and only valid for third-party expandable creatives.
2512 #
2513 # Third-party expandable creatives are creatives with following hosting
2514 # source:
2515 #
2516 # * `HOSTING_SOURCE_THIRD_PARTY`
2517 #
2518 # combined with following creative_type:
2519 #
2520 # * `CREATIVE_TYPE_EXPANDABLE`
2521 &quot;thirdPartyTag&quot;: &quot;A String&quot;, # Optional. The original third-party tag used for the creative.
2522 #
2523 # Required and only valid for third-party tag creatives.
2524 #
2525 # Third-party tag creatives are creatives with following
2526 # hosting_source:
2527 #
2528 # * `HOSTING_SOURCE_THIRD_PARTY`
2529 #
2530 # combined with following creative_type:
2531 #
2532 # * `CREATIVE_TYPE_STANDARD`
2533 # * `CREATIVE_TYPE_EXPANDABLE`
2534 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the creative.
2535 #
2536 # Must be UTF-8 encoded with a maximum size of 240 bytes.
2537 &quot;hostingSource&quot;: &quot;A String&quot;, # Required. Indicates where the creative is hosted.
2538 &quot;mediaDuration&quot;: &quot;A String&quot;, # Output only. Media duration of the creative.
2539 # Applicable when creative_type
2540 # is one of:
2541 #
2542 # * `CREATIVE_TYPE_VIDEO`
2543 # * `CREATIVE_TYPE_AUDIO`
2544 # * `CREATIVE_TYPE_NATIVE_VIDEO`
2545 # * `CREATIVE_TYPE_PUBLISHER_HOSTED`
2546 &quot;vastTagUrl&quot;: &quot;A String&quot;, # Optional. The URL of the VAST tag for a third-party VAST tag creative.
2547 #
2548 # Required and only valid for third-party VAST tag creatives.
2549 #
2550 # Third-party VAST tag creatives are creatives with following
2551 # hosting_source:
2552 #
2553 # * `HOSTING_SOURCE_THIRD_PARTY`
2554 #
2555 # combined with following creative_type:
2556 #
2557 # * `CREATIVE_TYPE_VIDEO`
Bu Sun Kim65020912020-05-20 12:08:20 -07002558 &quot;reviewStatus&quot;: { # Review statuses for the creative. # Output only. The current status of the creative review process.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002559 &quot;approvalStatus&quot;: &quot;A String&quot;, # Represents the basic approval needed for a creative to begin serving.
2560 # Summary of
2561 # creative_and_landing_page_review_status
2562 # and
2563 # content_and_policy_review_status.
Bu Sun Kim65020912020-05-20 12:08:20 -07002564 &quot;creativeAndLandingPageReviewStatus&quot;: &quot;A String&quot;, # Creative and landing page review status for the creative.
2565 &quot;exchangeReviewStatuses&quot;: [ # Exchange review statuses for the creative.
2566 { # Exchange review status for the creative.
Bu Sun Kim65020912020-05-20 12:08:20 -07002567 &quot;status&quot;: &quot;A String&quot;, # Status of the exchange review.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002568 &quot;exchange&quot;: &quot;A String&quot;, # The exchange reviewing the creative.
Bu Sun Kim65020912020-05-20 12:08:20 -07002569 },
2570 ],
2571 &quot;contentAndPolicyReviewStatus&quot;: &quot;A String&quot;, # Content and policy review status for the creative.
2572 &quot;publisherReviewStatuses&quot;: [ # Publisher review statuses for the creative.
2573 { # Publisher review status for the creative.
2574 &quot;status&quot;: &quot;A String&quot;, # Status of the publisher review.
2575 &quot;publisherName&quot;: &quot;A String&quot;, # The publisher reviewing the creative.
2576 },
2577 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002578 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002579 &quot;counterEvents&quot;: [ # Counter events for a rich media creative.
2580 # Counters track the number of times that a user interacts with any part of a
2581 # rich media creative in a specified way (mouse-overs, mouse-outs, clicks,
2582 # taps, data loading, keyboard entries, etc.).
2583 # Any event that can be captured in the creative can be recorded as a
2584 # counter.
2585 # Leave it empty or unset for creatives containing image assets only.
2586 { # Counter event of the creative.
2587 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the counter event.
2588 &quot;reportingName&quot;: &quot;A String&quot;, # Required. The name used to identify this counter event in reports.
2589 },
2590 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002591 &quot;progressOffset&quot;: { # The length an audio or a video has been played. # Amount of time to play the video before counting a view.
2592 #
2593 # This field is required when skippable is true.
2594 #
2595 # This field is only supported for the following
2596 # creative_type:
2597 #
2598 # * `CREATIVE_TYPE_VIDEO`
2599 &quot;percentage&quot;: &quot;A String&quot;, # The offset in percentage of the audio or video duration.
2600 &quot;seconds&quot;: &quot;A String&quot;, # The offset in seconds from the start of the audio or video.
2601 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002602 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the creative was last updated. Assigned by
2603 # the system.
2604 &quot;advertiserId&quot;: &quot;A String&quot;, # Output only. The unique ID of the advertiser the creative belongs to.
Bu Sun Kim65020912020-05-20 12:08:20 -07002605 &quot;universalAdId&quot;: { # A creative identifier provided by a registry that is unique across all # Optional. An optional creative identifier provided by a registry that is unique
2606 # across all platforms.
2607 #
2608 # Universal Ad ID is part of the VAST 4.0 standard. It can be modified after
2609 # the creative is created.
2610 #
2611 # This field is only supported for the following
2612 # creative_type:
2613 #
2614 # * `CREATIVE_TYPE_VIDEO`
2615 # platforms. This is part of the VAST 4.0 standard.
2616 &quot;id&quot;: &quot;A String&quot;, # The unique creative identifier.
2617 &quot;registry&quot;: &quot;A String&quot;, # The registry provides unique creative identifiers.
2618 },
2619 &quot;transcodes&quot;: [ # Output only. Audio/Video transcodes.
2620 #
2621 # Display &amp; Video 360 transcodes the main asset into a number of alternative
2622 # versions that use different file formats or have different properties
2623 # (resolution, audio bit rate, and video bit rate), each designed for
2624 # specific video players or bandwidths.
2625 #
2626 # These transcodes give a publisher&#x27;s system more options to choose from for
2627 # each impression on your video and ensures that the appropriate file serves
2628 # based on the viewer’s connection and screen size.
2629 #
2630 # This field is only supported in following
2631 # creative_type:
2632 #
2633 # * `CREATIVE_TYPE_VIDEO`
2634 # * `CREATIVE_TYPE_NATIVE_VIDEO`
2635 # * `CREATIVE_TYPE_AUDIO`
2636 { # Represents information about the transcoded audio or video file.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002637 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the transcoded file.
2638 &quot;bitRateKbps&quot;: &quot;A String&quot;, # The transcoding bit rate of the transcoded video, in kilobits per second.
2639 &quot;dimensions&quot;: { # Dimensions. # The dimensions of the transcoded video.
2640 &quot;heightPixels&quot;: 42, # The height in pixels.
2641 &quot;widthPixels&quot;: 42, # The width in pixels.
2642 },
2643 &quot;frameRate&quot;: 3.14, # The frame rate of the transcoded video, in frames per second.
2644 &quot;audioSampleRateHz&quot;: &quot;A String&quot;, # The sample rate for the audio stream of the transcoded video, or the sample
2645 # rate for the transcoded audio, in hertz.
Bu Sun Kim65020912020-05-20 12:08:20 -07002646 &quot;transcoded&quot;: True or False, # Indicates if the transcoding was successful.
2647 &quot;audioBitRateKbps&quot;: &quot;A String&quot;, # The bit rate for the audio stream of the transcoded video, or the bit rate
2648 # for the transcoded audio, in kilobits per second.
2649 &quot;fileSizeBytes&quot;: &quot;A String&quot;, # The size of the transcoded file, in bytes.
2650 &quot;name&quot;: &quot;A String&quot;, # The name of the transcoded file.
Bu Sun Kim65020912020-05-20 12:08:20 -07002651 },
2652 ],
2653 &quot;cmTrackingAd&quot;: { # A Campaign Manager tracking ad. # The Campaign Manager tracking ad associated with the creative.
2654 #
2655 # Optional for the following creative_type when
2656 # created by an advertiser that uses both Campaign Manager and third-party ad
2657 # serving:
2658 #
2659 # * `CREATIVE_TYPE_NATIVE`
2660 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
2661 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
2662 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
2663 #
2664 # Output only for other cases.
2665 &quot;cmCreativeId&quot;: &quot;A String&quot;, # The creative ID of the campaign manager tracking Ad.
2666 &quot;cmAdId&quot;: &quot;A String&quot;, # The ad ID of the campaign manager tracking Ad.
2667 &quot;cmPlacementId&quot;: &quot;A String&quot;, # The placement ID of the campaign manager tracking Ad.
2668 },
2669 &quot;html5Video&quot;: True or False, # Output only. Indicates the third-party VAST tag creative requires HTML5 Video support.
2670 #
2671 # Output only and only valid for third-party VAST tag creatives.
2672 #
2673 # Third-party VAST tag creatives are creatives with following
2674 # hosting_source:
2675 #
2676 # * `HOSTING_SOURCE_THIRD_PARTY`
2677 #
2678 # combined with following creative_type:
2679 #
2680 # * `CREATIVE_TYPE_VIDEO`
2681 &quot;requirePingForAttribution&quot;: True or False, # Optional. Indicates that the creative will wait for a return ping for attribution.
2682 #
2683 # Only valid when using a Campaign Manager tracking ad with a third-party ad
2684 # server parameter and the ${DC_DBM_TOKEN} macro.
2685 #
2686 # Optional and only valid for third-party tag creatives or third-party VAST
2687 # tag creatives.
2688 #
2689 # Third-party tag creatives are creatives with following
2690 # hosting_source:
2691 #
2692 # * `HOSTING_SOURCE_THIRD_PARTY`
2693 #
2694 # combined with following creative_type:
2695 #
2696 # * `CREATIVE_TYPE_STANDARD`
2697 # * `CREATIVE_TYPE_EXPANDABLE`
2698 #
2699 # Third-party VAST tag creatives are creatives with following
2700 # hosting_source:
2701 #
2702 # * `HOSTING_SOURCE_THIRD_PARTY`
2703 #
2704 # combined with following creative_type:
2705 #
2706 # * `CREATIVE_TYPE_VIDEO`
2707 &quot;dimensions&quot;: { # Dimensions. # Required. Primary dimensions of the creative.
2708 # Applicable to all creative types. The value of
2709 # width_pixels and
2710 # height_pixels defaults to `0`
2711 # when creative_type is one of:
2712 #
2713 # * `CREATIVE_TYPE_VIDEO`
2714 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL`
2715 # * `CREATIVE_TYPE_AUDIO`
2716 # * `CREATIVE_TYPE_NATIVE_VIDEO`
2717 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO`
Bu Sun Kim65020912020-05-20 12:08:20 -07002718 &quot;heightPixels&quot;: 42, # The height in pixels.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002719 &quot;widthPixels&quot;: 42, # The width in pixels.
Bu Sun Kim65020912020-05-20 12:08:20 -07002720 },
2721 &quot;appendedTag&quot;: &quot;A String&quot;, # Third-party HTML tracking tag to be appended to the creative tag.
Bu Sun Kim65020912020-05-20 12:08:20 -07002722}
2723
2724 updateMask: string, Required. The mask to control which fields to update.
2725 x__xgafv: string, V1 error format.
2726 Allowed values
2727 1 - v1 error format
2728 2 - v2 error format
2729
2730Returns:
2731 An object of the form:
2732
2733 { # A single Creative.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002734 &quot;creativeAttributes&quot;: [ # Output only. A list of attributes of the creative that is generated by the system.
2735 &quot;A String&quot;,
2736 ],
2737 &quot;creativeId&quot;: &quot;A String&quot;, # Output only. The unique ID of the creative. Assigned by the system.
2738 &quot;entityStatus&quot;: &quot;A String&quot;, # Required. Controls whether or not the creative can serve.
2739 #
2740 # Accepted values are:
2741 #
2742 # * `ENTITY_STATUS_ACTIVE`
2743 # * `ENTITY_STATUS_ARCHIVED`
2744 # * `ENTITY_STATUS_PAUSED`
2745 &quot;skipOffset&quot;: { # The length an audio or a video has been played. # Amount of time to play the video before the skip button appears.
2746 #
2747 # This field is required when skippable is true.
2748 #
2749 # This field is only supported for the following
2750 # creative_type:
2751 #
2752 # * `CREATIVE_TYPE_VIDEO`
2753 &quot;percentage&quot;: &quot;A String&quot;, # The offset in percentage of the audio or video duration.
2754 &quot;seconds&quot;: &quot;A String&quot;, # The offset in seconds from the start of the audio or video.
2755 },
2756 &quot;requireHtml5&quot;: True or False, # Optional. Indicates that the creative relies on HTML5 to render properly.
2757 #
2758 # Optional and only valid for third-party tag creatives.
2759 # Third-party tag creatives are creatives with following
2760 # hosting_source:
2761 #
2762 # * `HOSTING_SOURCE_THIRD_PARTY`
2763 #
2764 # combined with following creative_type:
2765 #
2766 # * `CREATIVE_TYPE_STANDARD`
2767 # * `CREATIVE_TYPE_EXPANDABLE`
2768 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the creative.
2769 &quot;skippable&quot;: True or False, # Whether the user can choose to skip a video creative.
2770 #
2771 # This field is only supported for the following
2772 # creative_type:
2773 #
2774 # * `CREATIVE_TYPE_VIDEO`
2775 &quot;jsTrackerUrl&quot;: &quot;A String&quot;, # JavaScript measurement URL from supported third-party verification
2776 # providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not
2777 # supported.
2778 #
2779 # This field is only supported in following
2780 # creative_type:
2781 #
2782 # * `CREATIVE_TYPE_NATIVE`
2783 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
2784 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
2785 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
2786 # * `CREATIVE_TYPE_NATIVE_VIDEO`
2787 &quot;thirdPartyUrls&quot;: [ # Tracking URLs from third parties to track interactions with a video
2788 # creative.
2789 #
2790 # This field is only supported for the following
2791 # creative_type:
2792 #
2793 # * `CREATIVE_TYPE_AUDIO`
2794 # * `CREATIVE_TYPE_VIDEO`
2795 # * `CREATIVE_TYPE_NATIVE_VIDEO`
2796 { # Tracking URLs from third parties to track interactions with an audio or a
2797 # video creative.
2798 &quot;type&quot;: &quot;A String&quot;, # The type of interaction needs to be tracked by the tracking URL
2799 &quot;url&quot;: &quot;A String&quot;, # Tracking URL used to track the interaction.
2800 #
2801 # Provide a URL with optional path or query string, beginning with `https:`.
2802 # For example, https://www.example.com/path
Bu Sun Kim65020912020-05-20 12:08:20 -07002803 },
2804 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002805 &quot;expandOnHover&quot;: True or False, # Optional. Indicates the creative will automatically expand on hover.
2806 #
2807 # Optional and only valid for third-party expandable creatives.
2808 # Third-party expandable creatives are creatives with following hosting
2809 # source:
2810 #
2811 # * `HOSTING_SOURCE_THIRD_PARTY`
2812 #
2813 # combined with following creative_type:
2814 #
2815 # * `CREATIVE_TYPE_EXPANDABLE`
2816 &quot;exitEvents&quot;: [ # Required. Exit events for this creative.
2817 # An exit (also known as a click tag) is any area in your creative that
2818 # someone can click or tap to open an advertiser&#x27;s landing page.
2819 # Every creative must include at least one exit.
2820 # You can add an exit to your creative in any of the following ways:
2821 #
2822 # * Use Google Web Designer&#x27;s tap area.
2823 # * Define a JavaScript variable called &quot;clickTag&quot;.
2824 # * Use the Enabler (Enabler.exit()) to track exits in rich media formats.
2825 { # Exit event of the creative.
2826 &quot;url&quot;: &quot;A String&quot;, # Required. The click through URL of the exit event.
2827 # This is required when type is:
2828 #
2829 # * `EXIT_EVENT_TYPE_DEFAULT`
2830 # * `EXIT_EVENT_TYPE_BACKUP`
2831 &quot;name&quot;: &quot;A String&quot;, # The name of the click tag of the exit event.
2832 #
2833 # The name must be unique within one creative.
2834 #
2835 # Leave it empty or unset for creatives containing image assets only.
2836 &quot;type&quot;: &quot;A String&quot;, # Required. The type of the exit event.
2837 &quot;reportingName&quot;: &quot;A String&quot;, # The name used to identify this event in reports.
2838 # Leave it empty or unset for creatives containing image assets only.
2839 },
2840 ],
2841 &quot;additionalDimensions&quot;: [ # Additional dimensions.
2842 # Applicable when creative_type is one of:
2843 #
2844 # * `CREATIVE_TYPE_STANDARD`
2845 # * `CREATIVE_TYPE_EXPANDABLE`
2846 # * `CREATIVE_TYPE_NATIVE`
2847 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL`
2848 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
2849 # * `CREATIVE_TYPE_LIGHTBOX`
2850 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
2851 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
2852 # * `CREATIVE_TYPE_PUBLISHER_HOSTED`
2853 #
2854 # If this field is specified, width_pixels and
2855 # height_pixels are both required and must be
2856 # greater than or equal to 0.
2857 { # Dimensions.
2858 &quot;heightPixels&quot;: 42, # The height in pixels.
2859 &quot;widthPixels&quot;: 42, # The width in pixels.
2860 },
2861 ],
2862 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the creative was created. Assigned by
2863 # the system.
2864 &quot;trackerUrls&quot;: [ # Tracking URLs for analytics providers or third-party ad technology vendors.
2865 #
2866 # The URLs must start with https (except on inventory that doesn&#x27;t require
2867 # SSL compliance).
2868 # If using macros in your URL, use only macros supported by Display &amp; Video
2869 # 360.
2870 #
2871 # Standard URLs only, no IMG or SCRIPT tags.
2872 #
2873 # This field is only supported in following
2874 # creative_type:
2875 #
2876 # * `CREATIVE_TYPE_NATIVE`
2877 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
2878 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
2879 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
2880 # * `CREATIVE_TYPE_NATIVE_VIDEO`
2881 &quot;A String&quot;,
2882 ],
2883 &quot;iasCampaignMonitoring&quot;: True or False, # Indicates whether Integral Ad Science (IAS) campaign monitoring is enabled.
2884 # To enable this for the creative, make sure the
2885 # Advertiser.creative_config.ias_client_id
2886 # has been set to your IAS client ID.
2887 &quot;integrationCode&quot;: &quot;A String&quot;, # ID information used to link this creative to an external system.
2888 # Must be UTF-8 encoded with a length of no more than 10,000 characters.
2889 &quot;cmPlacementId&quot;: &quot;A String&quot;, # Output only. The unique ID of the Campaign Manager placement associated with the
2890 # creative.
2891 # This field is only applicable for creatives that are synced from Campaign
2892 # Manager.
2893 &quot;requireMraid&quot;: True or False, # Optional. Indicates that the creative requires MRAID (Mobile Rich Media Ad Interface
2894 # Definitions system).
2895 #
2896 # Set this if the creative relies on mobile gestures for interactivity, such
2897 # as swiping or tapping.
2898 #
2899 # Optional and only valid for third-party tag creatives.
2900 #
2901 # Third-party tag creatives are creatives with following
2902 # hosting_source:
2903 #
2904 # * `HOSTING_SOURCE_THIRD_PARTY`
2905 #
2906 # combined with following creative_type:
2907 #
2908 # * `CREATIVE_TYPE_STANDARD`
2909 # * `CREATIVE_TYPE_EXPANDABLE`
2910 &quot;companionCreativeIds&quot;: [ # The IDs of companion creatives for a video creative.
2911 #
2912 # You can assign existing display creatives (with image or HTML5 assets)
2913 # to serve surrounding the publisher&#x27;s video player. Companions display
2914 # around the video player while the video is playing and remain after the
2915 # video has completed.
2916 #
2917 # Creatives contain additional dimensions
2918 # can not be companion creatives.
2919 #
2920 # This field is only supported for following
2921 # creative_type:
2922 #
2923 # * `CREATIVE_TYPE_AUDIO`
2924 # * `CREATIVE_TYPE_VIDEO`
2925 &quot;A String&quot;,
2926 ],
2927 &quot;creativeType&quot;: &quot;A String&quot;, # Required. Immutable. The type of the creative.
2928 &quot;obaIcon&quot;: { # OBA Icon for a Creative # Specifies the OBA icon for a video creative.
2929 #
2930 # This field is only supported in following
2931 # creative_type:
2932 #
2933 # * `CREATIVE_TYPE_VIDEO`
2934 &quot;dimensions&quot;: { # Dimensions. # The dimensions of the OBA icon.
2935 &quot;heightPixels&quot;: 42, # The height in pixels.
2936 &quot;widthPixels&quot;: 42, # The width in pixels.
2937 },
2938 &quot;resourceMimeType&quot;: &quot;A String&quot;, # The MIME type of the OBA icon resource.
2939 &quot;viewTrackingUrl&quot;: &quot;A String&quot;, # Required. The view tracking URL of the OBA icon.
2940 #
2941 # Only URLs of the following domains are allowed:
2942 #
2943 # * https://info.evidon.com
2944 # * https://l.betrad.com
2945 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # Required. The click tracking URL of the OBA icon.
2946 #
2947 # Only URLs of the following domains are allowed:
2948 #
2949 # * https://info.evidon.com
2950 # * https://l.betrad.com
2951 &quot;position&quot;: &quot;A String&quot;, # The position of the OBA icon on the creative.
2952 &quot;resourceUrl&quot;: &quot;A String&quot;, # The URL of the OBA icon resource.
2953 &quot;landingPageUrl&quot;: &quot;A String&quot;, # Required. The landing page URL of the OBA icon.
2954 #
2955 # Only URLs of the following domains are allowed:
2956 #
2957 # * https://info.evidon.com
2958 # * https://l.betrad.com
2959 &quot;program&quot;: &quot;A String&quot;, # The program of the OBA icon. For example: “AdChoices”.
2960 },
2961 &quot;timerEvents&quot;: [ # Timer custom events for a rich media creative.
2962 # Timers track the time during which a user views and interacts with a
2963 # specified part of a rich media creative.
2964 # A creative can have multiple timer events, each timed independently.
2965 # Leave it empty or unset for creatives containing image assets only.
2966 { # Timer event of the creative.
2967 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the timer event.
2968 &quot;reportingName&quot;: &quot;A String&quot;, # Required. The name used to identify this timer event in reports.
2969 },
2970 ],
2971 &quot;notes&quot;: &quot;A String&quot;, # User notes for this creative.
2972 # Must be UTF-8 encoded with a length of no more than 20,000 characters.
2973 &quot;dynamic&quot;: True or False, # Output only. Indicates whether the creative is dynamic.
2974 &quot;assets&quot;: [ # Required. Assets associated to this creative.
2975 # Assets can be associated to the creative in one of following roles:
2976 #
2977 # * `ASSET_ROLE_UNSPECIFIED`
2978 # * `ASSET_ROLE_MAIN`
2979 # * `ASSET_ROLE_BACKUP`
2980 # * `ASSET_ROLE_POLITE_LOAD`
2981 { # Asset association for the creative.
2982 &quot;asset&quot;: { # A single asset. # The associated asset.
2983 &quot;mediaId&quot;: &quot;A String&quot;, # Media ID of the uploaded asset. This is a unique identifier for the asset.
2984 # This ID can be passed to other API calls, e.g.
2985 # CreateCreative to associate
2986 # the asset with a creative.
2987 &quot;content&quot;: &quot;A String&quot;, # The asset content.
2988 # For uploaded assets, the content is the serving path.
2989 },
2990 &quot;role&quot;: &quot;A String&quot;, # The role of this asset for the creative.
2991 },
2992 ],
2993 &quot;vpaid&quot;: True or False, # Output only. Indicates the third-party VAST tag creative requires VPAID (Digital Video
2994 # Player-Ad Interface).
2995 #
2996 # Output only and only valid for third-party VAST tag creatives.
2997 #
2998 # Third-party VAST tag creatives are creatives with following
2999 # hosting_source:
3000 #
3001 # * `HOSTING_SOURCE_THIRD_PARTY`
3002 #
3003 # combined with following creative_type:
3004 #
3005 # * `CREATIVE_TYPE_VIDEO`
3006 &quot;expandingDirection&quot;: &quot;A String&quot;, # Optional. Specifies the expanding direction of the creative.
3007 #
3008 # Required and only valid for third-party expandable creatives.
3009 #
3010 # Third-party expandable creatives are creatives with following hosting
3011 # source:
3012 #
3013 # * `HOSTING_SOURCE_THIRD_PARTY`
3014 #
3015 # combined with following creative_type:
3016 #
3017 # * `CREATIVE_TYPE_EXPANDABLE`
3018 &quot;thirdPartyTag&quot;: &quot;A String&quot;, # Optional. The original third-party tag used for the creative.
3019 #
3020 # Required and only valid for third-party tag creatives.
3021 #
3022 # Third-party tag creatives are creatives with following
3023 # hosting_source:
3024 #
3025 # * `HOSTING_SOURCE_THIRD_PARTY`
3026 #
3027 # combined with following creative_type:
3028 #
3029 # * `CREATIVE_TYPE_STANDARD`
3030 # * `CREATIVE_TYPE_EXPANDABLE`
3031 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the creative.
3032 #
3033 # Must be UTF-8 encoded with a maximum size of 240 bytes.
3034 &quot;hostingSource&quot;: &quot;A String&quot;, # Required. Indicates where the creative is hosted.
3035 &quot;mediaDuration&quot;: &quot;A String&quot;, # Output only. Media duration of the creative.
3036 # Applicable when creative_type
3037 # is one of:
3038 #
3039 # * `CREATIVE_TYPE_VIDEO`
3040 # * `CREATIVE_TYPE_AUDIO`
3041 # * `CREATIVE_TYPE_NATIVE_VIDEO`
3042 # * `CREATIVE_TYPE_PUBLISHER_HOSTED`
3043 &quot;vastTagUrl&quot;: &quot;A String&quot;, # Optional. The URL of the VAST tag for a third-party VAST tag creative.
3044 #
3045 # Required and only valid for third-party VAST tag creatives.
3046 #
3047 # Third-party VAST tag creatives are creatives with following
3048 # hosting_source:
3049 #
3050 # * `HOSTING_SOURCE_THIRD_PARTY`
3051 #
3052 # combined with following creative_type:
3053 #
3054 # * `CREATIVE_TYPE_VIDEO`
Bu Sun Kim65020912020-05-20 12:08:20 -07003055 &quot;reviewStatus&quot;: { # Review statuses for the creative. # Output only. The current status of the creative review process.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003056 &quot;approvalStatus&quot;: &quot;A String&quot;, # Represents the basic approval needed for a creative to begin serving.
3057 # Summary of
3058 # creative_and_landing_page_review_status
3059 # and
3060 # content_and_policy_review_status.
Bu Sun Kim65020912020-05-20 12:08:20 -07003061 &quot;creativeAndLandingPageReviewStatus&quot;: &quot;A String&quot;, # Creative and landing page review status for the creative.
3062 &quot;exchangeReviewStatuses&quot;: [ # Exchange review statuses for the creative.
3063 { # Exchange review status for the creative.
Bu Sun Kim65020912020-05-20 12:08:20 -07003064 &quot;status&quot;: &quot;A String&quot;, # Status of the exchange review.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003065 &quot;exchange&quot;: &quot;A String&quot;, # The exchange reviewing the creative.
Bu Sun Kim65020912020-05-20 12:08:20 -07003066 },
3067 ],
3068 &quot;contentAndPolicyReviewStatus&quot;: &quot;A String&quot;, # Content and policy review status for the creative.
3069 &quot;publisherReviewStatuses&quot;: [ # Publisher review statuses for the creative.
3070 { # Publisher review status for the creative.
3071 &quot;status&quot;: &quot;A String&quot;, # Status of the publisher review.
3072 &quot;publisherName&quot;: &quot;A String&quot;, # The publisher reviewing the creative.
3073 },
3074 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003075 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003076 &quot;counterEvents&quot;: [ # Counter events for a rich media creative.
3077 # Counters track the number of times that a user interacts with any part of a
3078 # rich media creative in a specified way (mouse-overs, mouse-outs, clicks,
3079 # taps, data loading, keyboard entries, etc.).
3080 # Any event that can be captured in the creative can be recorded as a
3081 # counter.
3082 # Leave it empty or unset for creatives containing image assets only.
3083 { # Counter event of the creative.
3084 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the counter event.
3085 &quot;reportingName&quot;: &quot;A String&quot;, # Required. The name used to identify this counter event in reports.
3086 },
3087 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003088 &quot;progressOffset&quot;: { # The length an audio or a video has been played. # Amount of time to play the video before counting a view.
3089 #
3090 # This field is required when skippable is true.
3091 #
3092 # This field is only supported for the following
3093 # creative_type:
3094 #
3095 # * `CREATIVE_TYPE_VIDEO`
3096 &quot;percentage&quot;: &quot;A String&quot;, # The offset in percentage of the audio or video duration.
3097 &quot;seconds&quot;: &quot;A String&quot;, # The offset in seconds from the start of the audio or video.
3098 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003099 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the creative was last updated. Assigned by
3100 # the system.
3101 &quot;advertiserId&quot;: &quot;A String&quot;, # Output only. The unique ID of the advertiser the creative belongs to.
Bu Sun Kim65020912020-05-20 12:08:20 -07003102 &quot;universalAdId&quot;: { # A creative identifier provided by a registry that is unique across all # Optional. An optional creative identifier provided by a registry that is unique
3103 # across all platforms.
3104 #
3105 # Universal Ad ID is part of the VAST 4.0 standard. It can be modified after
3106 # the creative is created.
3107 #
3108 # This field is only supported for the following
3109 # creative_type:
3110 #
3111 # * `CREATIVE_TYPE_VIDEO`
3112 # platforms. This is part of the VAST 4.0 standard.
3113 &quot;id&quot;: &quot;A String&quot;, # The unique creative identifier.
3114 &quot;registry&quot;: &quot;A String&quot;, # The registry provides unique creative identifiers.
3115 },
3116 &quot;transcodes&quot;: [ # Output only. Audio/Video transcodes.
3117 #
3118 # Display &amp; Video 360 transcodes the main asset into a number of alternative
3119 # versions that use different file formats or have different properties
3120 # (resolution, audio bit rate, and video bit rate), each designed for
3121 # specific video players or bandwidths.
3122 #
3123 # These transcodes give a publisher&#x27;s system more options to choose from for
3124 # each impression on your video and ensures that the appropriate file serves
3125 # based on the viewer’s connection and screen size.
3126 #
3127 # This field is only supported in following
3128 # creative_type:
3129 #
3130 # * `CREATIVE_TYPE_VIDEO`
3131 # * `CREATIVE_TYPE_NATIVE_VIDEO`
3132 # * `CREATIVE_TYPE_AUDIO`
3133 { # Represents information about the transcoded audio or video file.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003134 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the transcoded file.
3135 &quot;bitRateKbps&quot;: &quot;A String&quot;, # The transcoding bit rate of the transcoded video, in kilobits per second.
3136 &quot;dimensions&quot;: { # Dimensions. # The dimensions of the transcoded video.
3137 &quot;heightPixels&quot;: 42, # The height in pixels.
3138 &quot;widthPixels&quot;: 42, # The width in pixels.
3139 },
3140 &quot;frameRate&quot;: 3.14, # The frame rate of the transcoded video, in frames per second.
3141 &quot;audioSampleRateHz&quot;: &quot;A String&quot;, # The sample rate for the audio stream of the transcoded video, or the sample
3142 # rate for the transcoded audio, in hertz.
Bu Sun Kim65020912020-05-20 12:08:20 -07003143 &quot;transcoded&quot;: True or False, # Indicates if the transcoding was successful.
3144 &quot;audioBitRateKbps&quot;: &quot;A String&quot;, # The bit rate for the audio stream of the transcoded video, or the bit rate
3145 # for the transcoded audio, in kilobits per second.
3146 &quot;fileSizeBytes&quot;: &quot;A String&quot;, # The size of the transcoded file, in bytes.
3147 &quot;name&quot;: &quot;A String&quot;, # The name of the transcoded file.
Bu Sun Kim65020912020-05-20 12:08:20 -07003148 },
3149 ],
3150 &quot;cmTrackingAd&quot;: { # A Campaign Manager tracking ad. # The Campaign Manager tracking ad associated with the creative.
3151 #
3152 # Optional for the following creative_type when
3153 # created by an advertiser that uses both Campaign Manager and third-party ad
3154 # serving:
3155 #
3156 # * `CREATIVE_TYPE_NATIVE`
3157 # * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`
3158 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL`
3159 # * `CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE`
3160 #
3161 # Output only for other cases.
3162 &quot;cmCreativeId&quot;: &quot;A String&quot;, # The creative ID of the campaign manager tracking Ad.
3163 &quot;cmAdId&quot;: &quot;A String&quot;, # The ad ID of the campaign manager tracking Ad.
3164 &quot;cmPlacementId&quot;: &quot;A String&quot;, # The placement ID of the campaign manager tracking Ad.
3165 },
3166 &quot;html5Video&quot;: True or False, # Output only. Indicates the third-party VAST tag creative requires HTML5 Video support.
3167 #
3168 # Output only and only valid for third-party VAST tag creatives.
3169 #
3170 # Third-party VAST tag creatives are creatives with following
3171 # hosting_source:
3172 #
3173 # * `HOSTING_SOURCE_THIRD_PARTY`
3174 #
3175 # combined with following creative_type:
3176 #
3177 # * `CREATIVE_TYPE_VIDEO`
3178 &quot;requirePingForAttribution&quot;: True or False, # Optional. Indicates that the creative will wait for a return ping for attribution.
3179 #
3180 # Only valid when using a Campaign Manager tracking ad with a third-party ad
3181 # server parameter and the ${DC_DBM_TOKEN} macro.
3182 #
3183 # Optional and only valid for third-party tag creatives or third-party VAST
3184 # tag creatives.
3185 #
3186 # Third-party tag creatives are creatives with following
3187 # hosting_source:
3188 #
3189 # * `HOSTING_SOURCE_THIRD_PARTY`
3190 #
3191 # combined with following creative_type:
3192 #
3193 # * `CREATIVE_TYPE_STANDARD`
3194 # * `CREATIVE_TYPE_EXPANDABLE`
3195 #
3196 # Third-party VAST tag creatives are creatives with following
3197 # hosting_source:
3198 #
3199 # * `HOSTING_SOURCE_THIRD_PARTY`
3200 #
3201 # combined with following creative_type:
3202 #
3203 # * `CREATIVE_TYPE_VIDEO`
3204 &quot;dimensions&quot;: { # Dimensions. # Required. Primary dimensions of the creative.
3205 # Applicable to all creative types. The value of
3206 # width_pixels and
3207 # height_pixels defaults to `0`
3208 # when creative_type is one of:
3209 #
3210 # * `CREATIVE_TYPE_VIDEO`
3211 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL`
3212 # * `CREATIVE_TYPE_AUDIO`
3213 # * `CREATIVE_TYPE_NATIVE_VIDEO`
3214 # * `CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO`
Bu Sun Kim65020912020-05-20 12:08:20 -07003215 &quot;heightPixels&quot;: 42, # The height in pixels.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003216 &quot;widthPixels&quot;: 42, # The width in pixels.
Bu Sun Kim65020912020-05-20 12:08:20 -07003217 },
3218 &quot;appendedTag&quot;: &quot;A String&quot;, # Third-party HTML tracking tag to be appended to the creative tag.
Bu Sun Kim65020912020-05-20 12:08:20 -07003219 }</pre>
3220</div>
3221
3222</body></html>