1<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="dfareporting_v2_7.html">DCM/DFA Reporting And Trafficking API</a> . <a href="dfareporting_v2_7.creatives.html">creatives</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#get">get(profileId, id)</a></code></p> 79<p class="firstline">Gets one creative by ID.</p> 80<p class="toc_element"> 81 <code><a href="#insert">insert(profileId, body)</a></code></p> 82<p class="firstline">Inserts a new creative.</p> 83<p class="toc_element"> 84 <code><a href="#list">list(profileId, campaignId=None, advertiserId=None, sizeIds=None, archived=None, pageToken=None, sortOrder=None, renderingIds=None, maxResults=None, active=None, companionCreativeIds=None, types=None, searchString=None, ids=None, studioCreativeId=None, sortField=None, creativeFieldIds=None)</a></code></p> 85<p class="firstline">Retrieves a list of creatives, possibly filtered. This method supports paging.</p> 86<p class="toc_element"> 87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 88<p class="firstline">Retrieves the next page of results.</p> 89<p class="toc_element"> 90 <code><a href="#patch">patch(profileId, id, body)</a></code></p> 91<p class="firstline">Updates an existing creative. This method supports patch semantics.</p> 92<p class="toc_element"> 93 <code><a href="#update">update(profileId, body)</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="get">get(profileId, id)</code> 98 <pre>Gets one creative by ID. 99 100Args: 101 profileId: string, User profile ID associated with this request. (required) 102 id: string, Creative ID. (required) 103 104Returns: 105 An object of the form: 106 107 { # Contains properties of a Creative. 108 "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 109 { # Third-party Tracking URL. 110 "url": "A String", # URL for the specified third-party URL type. 111 "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives. 112 }, 113 ], 114 "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 115 "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 116 "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 117 "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. 118 "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 119 "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. 120 "timerCustomEvents": [ # List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE. 121 { # Creative Custom Event. 122 "targetType": "A String", # Target type used by the event. 123 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 124 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 125 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 126 "showStatusBar": True or False, # Whether to display the browser status bar. 127 "showScrollBar": True or False, # Whether to display the browser scroll bar. 128 "showAddressBar": True or False, # Whether to display the browser address bar. 129 "showMenuBar": True or False, # Whether to display the browser menu bar. 130 "title": "A String", # Title of popup window. 131 "showToolBar": True or False, # Whether to display the browser tool bar. 132 "positionType": "A String", # Popup window position either centered or at specific coordinate. 133 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 134 "top": 42, # Offset distance from top side of an asset or a window. 135 "left": 42, # Offset distance from left side of an asset or a window. 136 }, 137 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 138 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 139 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 140 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 141 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 142 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 143 }, 144 }, 145 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 146 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 147 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 148 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 149 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 150 "advertiserCustomEventName": "A String", # User-entered name for the event. 151 }, 152 ], 153 "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types. 154 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 155 "value": "A String", # The value of the dimension. 156 "dimensionName": "A String", # The name of the dimension. 157 "etag": "A String", # The eTag of this response for caching purposes. 158 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 159 "id": "A String", # The ID associated with the value if available. 160 }, 161 "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE. 162 "windowHeight": 42, # Height of the window. 163 "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 164 "windowWidth": 42, # Width of the window. 165 "positionOption": "A String", # Position in the browser where the window will open. 166 "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 167 }, 168 "dynamicAssetSelection": True or False, # Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO creatives. 169 "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. 170 "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. 171 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 172 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 173 }, 174 "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 175 "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 176 "archived": True or False, # Whether the creative is archived. Applicable to all creative types. 177 "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. 178 "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. 179 "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 180 "exitCustomEvents": [ # List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 181 { # Creative Custom Event. 182 "targetType": "A String", # Target type used by the event. 183 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 184 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 185 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 186 "showStatusBar": True or False, # Whether to display the browser status bar. 187 "showScrollBar": True or False, # Whether to display the browser scroll bar. 188 "showAddressBar": True or False, # Whether to display the browser address bar. 189 "showMenuBar": True or False, # Whether to display the browser menu bar. 190 "title": "A String", # Title of popup window. 191 "showToolBar": True or False, # Whether to display the browser tool bar. 192 "positionType": "A String", # Popup window position either centered or at specific coordinate. 193 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 194 "top": 42, # Offset distance from top side of an asset or a window. 195 "left": 42, # Offset distance from left side of an asset or a window. 196 }, 197 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 198 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 199 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 200 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 201 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 202 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 203 }, 204 }, 205 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 206 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 207 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 208 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 209 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 210 "advertiserCustomEventName": "A String", # User-entered name for the event. 211 }, 212 ], 213 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. 214 "counterCustomEvents": [ # List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. 215 { # Creative Custom Event. 216 "targetType": "A String", # Target type used by the event. 217 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 218 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 219 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 220 "showStatusBar": True or False, # Whether to display the browser status bar. 221 "showScrollBar": True or False, # Whether to display the browser scroll bar. 222 "showAddressBar": True or False, # Whether to display the browser address bar. 223 "showMenuBar": True or False, # Whether to display the browser menu bar. 224 "title": "A String", # Title of popup window. 225 "showToolBar": True or False, # Whether to display the browser tool bar. 226 "positionType": "A String", # Popup window position either centered or at specific coordinate. 227 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 228 "top": 42, # Offset distance from top side of an asset or a window. 229 "left": 42, # Offset distance from left side of an asset or a window. 230 }, 231 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 232 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 233 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 234 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 235 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 236 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 237 }, 238 }, 239 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 240 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 241 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 242 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 243 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 244 "advertiserCustomEventName": "A String", # User-entered name for the event. 245 }, 246 ], 247 "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. 248 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 249 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 250 }, 251 "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE. 252 "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types. 253 "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. 254 { # Creative Field Assignment. 255 "creativeFieldId": "A String", # ID of the creative field. 256 "creativeFieldValueId": "A String", # ID of the creative field value. 257 }, 258 ], 259 "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE. 260 "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 261 "A String", 262 ], 263 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. 264 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 265 "value": "A String", # The value of the dimension. 266 "dimensionName": "A String", # The name of the dimension. 267 "etag": "A String", # The eTag of this response for caching purposes. 268 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 269 "id": "A String", # The ID associated with the value if available. 270 }, 271 "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. 272 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. 273 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 274 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 275 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 276 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 277 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 278 }, 279 "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. 280 # 281 # Note: FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. 282 "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 283 "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. 284 "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 285 "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT 286 { # Creative Asset. 287 "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 288 "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 289 "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 290 "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 291 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 292 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 293 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 294 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 295 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 296 }, 297 "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 298 "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. 299 "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 300 "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 301 "A String", 302 ], 303 "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA. 304 "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. 305 "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. 306 "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 307 "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL. 308 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 309 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 310 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 311 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 312 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 313 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 314 }, 315 "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 316 "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. 317 "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 318 "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 319 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 320 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 321 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 322 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 323 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 324 }, 325 "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 326 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. 327 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 328 "value": "A String", # The value of the dimension. 329 "dimensionName": "A String", # The name of the dimension. 330 "etag": "A String", # The eTag of this response for caching purposes. 331 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 332 "id": "A String", # The ID associated with the value if available. 333 }, 334 "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. 335 # PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. 336 # BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 337 # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. 338 # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. 339 # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 340 # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 341 # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within DCM. 342 # For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. 343 "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 344 "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 345 "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. 346 "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 347 "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. 348 "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 349 "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 350 "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 351 "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 352 "top": 42, # Offset distance from top side of an asset or a window. 353 "left": 42, # Offset distance from left side of an asset or a window. 354 }, 355 "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 356 "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. 357 "A String", 358 ], 359 "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 360 "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 361 "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. 362 "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. 363 "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. 364 "targetType": "A String", # Target type used by the event. 365 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 366 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 367 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 368 "showStatusBar": True or False, # Whether to display the browser status bar. 369 "showScrollBar": True or False, # Whether to display the browser scroll bar. 370 "showAddressBar": True or False, # Whether to display the browser address bar. 371 "showMenuBar": True or False, # Whether to display the browser menu bar. 372 "title": "A String", # Title of popup window. 373 "showToolBar": True or False, # Whether to display the browser tool bar. 374 "positionType": "A String", # Popup window position either centered or at specific coordinate. 375 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 376 "top": 42, # Offset distance from top side of an asset or a window. 377 "left": 42, # Offset distance from left side of an asset or a window. 378 }, 379 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 380 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 381 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 382 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 383 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 384 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 385 }, 386 }, 387 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 388 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 389 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 390 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 391 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 392 "advertiserCustomEventName": "A String", # User-entered name for the event. 393 }, 394 "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 395 "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. 396 "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 397 "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. 398 "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. 399 }, 400 "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. 401 "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 402 "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. 403 "top": 42, # Offset distance from top side of an asset or a window. 404 "left": 42, # Offset distance from left side of an asset or a window. 405 }, 406 "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. 407 }, 408 ], 409 "redirectUrl": "A String", # URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT 410 "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID. 411 "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. 412 "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 413 "clickTags": [ # Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 414 { # Creative Click Tag. 415 "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 416 "name": "A String", # Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field. 417 "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url. 418 }, 419 ], 420 "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 421 "active": True or False, # Whether the creative is active. Applicable to all creative types. 422 "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types. 423 # 424 # Acceptable values are: 425 # - "APP" 426 # - "APP_INTERSTITIAL" 427 # - "IN_STREAM_VIDEO" 428 # - "DISPLAY" 429 # - "DISPLAY_INTERSTITIAL" 430 "A String", 431 ], 432 "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. 433 "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 434 "A String", 435 ], 436 "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". 437 "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 438 "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types. 439 "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types. 440 "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. 441 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 442 }, 443 "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 444 "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. 445 "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 446 "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 447 "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE. 448 "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection set to false. 449 "A String", 450 ], 451 "creativeAssetSelection": { # Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives. # Required if dynamicAssetSelection is true. 452 "rules": [ # Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives. 453 { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. 454 "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. 455 "targetingTemplateId": "A String", # A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field. 456 "name": "A String", # A user-friendly name for this rule. This is a required field. 457 }, 458 ], 459 "defaultAssetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field. 460 }, 461 "auto_advance_images": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. 462 "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 463 "A String", 464 ], 465 "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 466 "customHtml": "A String", # User-entered value. 467 "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. 468 }, 469 "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 470 }</pre> 471</div> 472 473<div class="method"> 474 <code class="details" id="insert">insert(profileId, body)</code> 475 <pre>Inserts a new creative. 476 477Args: 478 profileId: string, User profile ID associated with this request. (required) 479 body: object, The request body. (required) 480 The object takes the form of: 481 482{ # Contains properties of a Creative. 483 "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 484 { # Third-party Tracking URL. 485 "url": "A String", # URL for the specified third-party URL type. 486 "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives. 487 }, 488 ], 489 "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 490 "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 491 "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 492 "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. 493 "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 494 "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. 495 "timerCustomEvents": [ # List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE. 496 { # Creative Custom Event. 497 "targetType": "A String", # Target type used by the event. 498 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 499 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 500 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 501 "showStatusBar": True or False, # Whether to display the browser status bar. 502 "showScrollBar": True or False, # Whether to display the browser scroll bar. 503 "showAddressBar": True or False, # Whether to display the browser address bar. 504 "showMenuBar": True or False, # Whether to display the browser menu bar. 505 "title": "A String", # Title of popup window. 506 "showToolBar": True or False, # Whether to display the browser tool bar. 507 "positionType": "A String", # Popup window position either centered or at specific coordinate. 508 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 509 "top": 42, # Offset distance from top side of an asset or a window. 510 "left": 42, # Offset distance from left side of an asset or a window. 511 }, 512 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 513 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 514 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 515 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 516 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 517 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 518 }, 519 }, 520 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 521 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 522 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 523 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 524 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 525 "advertiserCustomEventName": "A String", # User-entered name for the event. 526 }, 527 ], 528 "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types. 529 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 530 "value": "A String", # The value of the dimension. 531 "dimensionName": "A String", # The name of the dimension. 532 "etag": "A String", # The eTag of this response for caching purposes. 533 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 534 "id": "A String", # The ID associated with the value if available. 535 }, 536 "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE. 537 "windowHeight": 42, # Height of the window. 538 "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 539 "windowWidth": 42, # Width of the window. 540 "positionOption": "A String", # Position in the browser where the window will open. 541 "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 542 }, 543 "dynamicAssetSelection": True or False, # Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO creatives. 544 "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. 545 "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. 546 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 547 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 548 }, 549 "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 550 "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 551 "archived": True or False, # Whether the creative is archived. Applicable to all creative types. 552 "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. 553 "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. 554 "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 555 "exitCustomEvents": [ # List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 556 { # Creative Custom Event. 557 "targetType": "A String", # Target type used by the event. 558 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 559 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 560 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 561 "showStatusBar": True or False, # Whether to display the browser status bar. 562 "showScrollBar": True or False, # Whether to display the browser scroll bar. 563 "showAddressBar": True or False, # Whether to display the browser address bar. 564 "showMenuBar": True or False, # Whether to display the browser menu bar. 565 "title": "A String", # Title of popup window. 566 "showToolBar": True or False, # Whether to display the browser tool bar. 567 "positionType": "A String", # Popup window position either centered or at specific coordinate. 568 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 569 "top": 42, # Offset distance from top side of an asset or a window. 570 "left": 42, # Offset distance from left side of an asset or a window. 571 }, 572 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 573 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 574 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 575 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 576 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 577 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 578 }, 579 }, 580 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 581 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 582 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 583 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 584 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 585 "advertiserCustomEventName": "A String", # User-entered name for the event. 586 }, 587 ], 588 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. 589 "counterCustomEvents": [ # List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. 590 { # Creative Custom Event. 591 "targetType": "A String", # Target type used by the event. 592 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 593 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 594 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 595 "showStatusBar": True or False, # Whether to display the browser status bar. 596 "showScrollBar": True or False, # Whether to display the browser scroll bar. 597 "showAddressBar": True or False, # Whether to display the browser address bar. 598 "showMenuBar": True or False, # Whether to display the browser menu bar. 599 "title": "A String", # Title of popup window. 600 "showToolBar": True or False, # Whether to display the browser tool bar. 601 "positionType": "A String", # Popup window position either centered or at specific coordinate. 602 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 603 "top": 42, # Offset distance from top side of an asset or a window. 604 "left": 42, # Offset distance from left side of an asset or a window. 605 }, 606 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 607 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 608 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 609 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 610 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 611 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 612 }, 613 }, 614 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 615 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 616 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 617 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 618 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 619 "advertiserCustomEventName": "A String", # User-entered name for the event. 620 }, 621 ], 622 "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. 623 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 624 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 625 }, 626 "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE. 627 "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types. 628 "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. 629 { # Creative Field Assignment. 630 "creativeFieldId": "A String", # ID of the creative field. 631 "creativeFieldValueId": "A String", # ID of the creative field value. 632 }, 633 ], 634 "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE. 635 "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 636 "A String", 637 ], 638 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. 639 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 640 "value": "A String", # The value of the dimension. 641 "dimensionName": "A String", # The name of the dimension. 642 "etag": "A String", # The eTag of this response for caching purposes. 643 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 644 "id": "A String", # The ID associated with the value if available. 645 }, 646 "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. 647 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. 648 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 649 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 650 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 651 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 652 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 653 }, 654 "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. 655 # 656 # Note: FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. 657 "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 658 "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. 659 "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 660 "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT 661 { # Creative Asset. 662 "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 663 "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 664 "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 665 "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 666 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 667 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 668 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 669 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 670 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 671 }, 672 "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 673 "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. 674 "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 675 "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 676 "A String", 677 ], 678 "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA. 679 "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. 680 "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. 681 "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 682 "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL. 683 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 684 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 685 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 686 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 687 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 688 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 689 }, 690 "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 691 "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. 692 "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 693 "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 694 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 695 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 696 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 697 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 698 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 699 }, 700 "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 701 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. 702 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 703 "value": "A String", # The value of the dimension. 704 "dimensionName": "A String", # The name of the dimension. 705 "etag": "A String", # The eTag of this response for caching purposes. 706 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 707 "id": "A String", # The ID associated with the value if available. 708 }, 709 "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. 710 # PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. 711 # BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 712 # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. 713 # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. 714 # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 715 # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 716 # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within DCM. 717 # For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. 718 "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 719 "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 720 "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. 721 "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 722 "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. 723 "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 724 "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 725 "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 726 "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 727 "top": 42, # Offset distance from top side of an asset or a window. 728 "left": 42, # Offset distance from left side of an asset or a window. 729 }, 730 "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 731 "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. 732 "A String", 733 ], 734 "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 735 "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 736 "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. 737 "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. 738 "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. 739 "targetType": "A String", # Target type used by the event. 740 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 741 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 742 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 743 "showStatusBar": True or False, # Whether to display the browser status bar. 744 "showScrollBar": True or False, # Whether to display the browser scroll bar. 745 "showAddressBar": True or False, # Whether to display the browser address bar. 746 "showMenuBar": True or False, # Whether to display the browser menu bar. 747 "title": "A String", # Title of popup window. 748 "showToolBar": True or False, # Whether to display the browser tool bar. 749 "positionType": "A String", # Popup window position either centered or at specific coordinate. 750 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 751 "top": 42, # Offset distance from top side of an asset or a window. 752 "left": 42, # Offset distance from left side of an asset or a window. 753 }, 754 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 755 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 756 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 757 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 758 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 759 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 760 }, 761 }, 762 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 763 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 764 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 765 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 766 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 767 "advertiserCustomEventName": "A String", # User-entered name for the event. 768 }, 769 "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 770 "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. 771 "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 772 "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. 773 "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. 774 }, 775 "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. 776 "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 777 "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. 778 "top": 42, # Offset distance from top side of an asset or a window. 779 "left": 42, # Offset distance from left side of an asset or a window. 780 }, 781 "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. 782 }, 783 ], 784 "redirectUrl": "A String", # URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT 785 "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID. 786 "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. 787 "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 788 "clickTags": [ # Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 789 { # Creative Click Tag. 790 "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 791 "name": "A String", # Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field. 792 "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url. 793 }, 794 ], 795 "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 796 "active": True or False, # Whether the creative is active. Applicable to all creative types. 797 "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types. 798 # 799 # Acceptable values are: 800 # - "APP" 801 # - "APP_INTERSTITIAL" 802 # - "IN_STREAM_VIDEO" 803 # - "DISPLAY" 804 # - "DISPLAY_INTERSTITIAL" 805 "A String", 806 ], 807 "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. 808 "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 809 "A String", 810 ], 811 "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". 812 "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 813 "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types. 814 "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types. 815 "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. 816 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 817 }, 818 "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 819 "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. 820 "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 821 "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 822 "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE. 823 "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection set to false. 824 "A String", 825 ], 826 "creativeAssetSelection": { # Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives. # Required if dynamicAssetSelection is true. 827 "rules": [ # Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives. 828 { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. 829 "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. 830 "targetingTemplateId": "A String", # A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field. 831 "name": "A String", # A user-friendly name for this rule. This is a required field. 832 }, 833 ], 834 "defaultAssetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field. 835 }, 836 "auto_advance_images": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. 837 "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 838 "A String", 839 ], 840 "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 841 "customHtml": "A String", # User-entered value. 842 "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. 843 }, 844 "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 845 } 846 847 848Returns: 849 An object of the form: 850 851 { # Contains properties of a Creative. 852 "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 853 { # Third-party Tracking URL. 854 "url": "A String", # URL for the specified third-party URL type. 855 "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives. 856 }, 857 ], 858 "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 859 "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 860 "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 861 "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. 862 "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 863 "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. 864 "timerCustomEvents": [ # List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE. 865 { # Creative Custom Event. 866 "targetType": "A String", # Target type used by the event. 867 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 868 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 869 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 870 "showStatusBar": True or False, # Whether to display the browser status bar. 871 "showScrollBar": True or False, # Whether to display the browser scroll bar. 872 "showAddressBar": True or False, # Whether to display the browser address bar. 873 "showMenuBar": True or False, # Whether to display the browser menu bar. 874 "title": "A String", # Title of popup window. 875 "showToolBar": True or False, # Whether to display the browser tool bar. 876 "positionType": "A String", # Popup window position either centered or at specific coordinate. 877 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 878 "top": 42, # Offset distance from top side of an asset or a window. 879 "left": 42, # Offset distance from left side of an asset or a window. 880 }, 881 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 882 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 883 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 884 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 885 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 886 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 887 }, 888 }, 889 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 890 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 891 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 892 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 893 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 894 "advertiserCustomEventName": "A String", # User-entered name for the event. 895 }, 896 ], 897 "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types. 898 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 899 "value": "A String", # The value of the dimension. 900 "dimensionName": "A String", # The name of the dimension. 901 "etag": "A String", # The eTag of this response for caching purposes. 902 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 903 "id": "A String", # The ID associated with the value if available. 904 }, 905 "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE. 906 "windowHeight": 42, # Height of the window. 907 "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 908 "windowWidth": 42, # Width of the window. 909 "positionOption": "A String", # Position in the browser where the window will open. 910 "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 911 }, 912 "dynamicAssetSelection": True or False, # Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO creatives. 913 "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. 914 "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. 915 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 916 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 917 }, 918 "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 919 "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 920 "archived": True or False, # Whether the creative is archived. Applicable to all creative types. 921 "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. 922 "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. 923 "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 924 "exitCustomEvents": [ # List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 925 { # Creative Custom Event. 926 "targetType": "A String", # Target type used by the event. 927 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 928 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 929 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 930 "showStatusBar": True or False, # Whether to display the browser status bar. 931 "showScrollBar": True or False, # Whether to display the browser scroll bar. 932 "showAddressBar": True or False, # Whether to display the browser address bar. 933 "showMenuBar": True or False, # Whether to display the browser menu bar. 934 "title": "A String", # Title of popup window. 935 "showToolBar": True or False, # Whether to display the browser tool bar. 936 "positionType": "A String", # Popup window position either centered or at specific coordinate. 937 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 938 "top": 42, # Offset distance from top side of an asset or a window. 939 "left": 42, # Offset distance from left side of an asset or a window. 940 }, 941 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 942 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 943 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 944 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 945 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 946 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 947 }, 948 }, 949 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 950 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 951 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 952 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 953 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 954 "advertiserCustomEventName": "A String", # User-entered name for the event. 955 }, 956 ], 957 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. 958 "counterCustomEvents": [ # List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. 959 { # Creative Custom Event. 960 "targetType": "A String", # Target type used by the event. 961 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 962 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 963 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 964 "showStatusBar": True or False, # Whether to display the browser status bar. 965 "showScrollBar": True or False, # Whether to display the browser scroll bar. 966 "showAddressBar": True or False, # Whether to display the browser address bar. 967 "showMenuBar": True or False, # Whether to display the browser menu bar. 968 "title": "A String", # Title of popup window. 969 "showToolBar": True or False, # Whether to display the browser tool bar. 970 "positionType": "A String", # Popup window position either centered or at specific coordinate. 971 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 972 "top": 42, # Offset distance from top side of an asset or a window. 973 "left": 42, # Offset distance from left side of an asset or a window. 974 }, 975 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 976 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 977 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 978 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 979 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 980 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 981 }, 982 }, 983 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 984 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 985 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 986 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 987 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 988 "advertiserCustomEventName": "A String", # User-entered name for the event. 989 }, 990 ], 991 "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. 992 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 993 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 994 }, 995 "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE. 996 "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types. 997 "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. 998 { # Creative Field Assignment. 999 "creativeFieldId": "A String", # ID of the creative field. 1000 "creativeFieldValueId": "A String", # ID of the creative field value. 1001 }, 1002 ], 1003 "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE. 1004 "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1005 "A String", 1006 ], 1007 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. 1008 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 1009 "value": "A String", # The value of the dimension. 1010 "dimensionName": "A String", # The name of the dimension. 1011 "etag": "A String", # The eTag of this response for caching purposes. 1012 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 1013 "id": "A String", # The ID associated with the value if available. 1014 }, 1015 "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. 1016 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. 1017 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1018 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1019 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1020 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1021 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1022 }, 1023 "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. 1024 # 1025 # Note: FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. 1026 "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1027 "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. 1028 "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1029 "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT 1030 { # Creative Asset. 1031 "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1032 "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1033 "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1034 "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 1035 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1036 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1037 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1038 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1039 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1040 }, 1041 "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1042 "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. 1043 "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 1044 "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1045 "A String", 1046 ], 1047 "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA. 1048 "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. 1049 "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. 1050 "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 1051 "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL. 1052 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1053 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1054 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1055 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1056 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1057 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1058 }, 1059 "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1060 "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. 1061 "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1062 "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1063 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1064 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1065 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1066 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1067 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1068 }, 1069 "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1070 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. 1071 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 1072 "value": "A String", # The value of the dimension. 1073 "dimensionName": "A String", # The name of the dimension. 1074 "etag": "A String", # The eTag of this response for caching purposes. 1075 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 1076 "id": "A String", # The ID associated with the value if available. 1077 }, 1078 "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. 1079 # PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. 1080 # BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1081 # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. 1082 # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. 1083 # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 1084 # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 1085 # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within DCM. 1086 # For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. 1087 "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 1088 "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1089 "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. 1090 "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1091 "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. 1092 "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1093 "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 1094 "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 1095 "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 1096 "top": 42, # Offset distance from top side of an asset or a window. 1097 "left": 42, # Offset distance from left side of an asset or a window. 1098 }, 1099 "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1100 "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. 1101 "A String", 1102 ], 1103 "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 1104 "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1105 "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. 1106 "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. 1107 "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. 1108 "targetType": "A String", # Target type used by the event. 1109 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 1110 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 1111 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 1112 "showStatusBar": True or False, # Whether to display the browser status bar. 1113 "showScrollBar": True or False, # Whether to display the browser scroll bar. 1114 "showAddressBar": True or False, # Whether to display the browser address bar. 1115 "showMenuBar": True or False, # Whether to display the browser menu bar. 1116 "title": "A String", # Title of popup window. 1117 "showToolBar": True or False, # Whether to display the browser tool bar. 1118 "positionType": "A String", # Popup window position either centered or at specific coordinate. 1119 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 1120 "top": 42, # Offset distance from top side of an asset or a window. 1121 "left": 42, # Offset distance from left side of an asset or a window. 1122 }, 1123 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 1124 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1125 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1126 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1127 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1128 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1129 }, 1130 }, 1131 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 1132 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 1133 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 1134 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 1135 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 1136 "advertiserCustomEventName": "A String", # User-entered name for the event. 1137 }, 1138 "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1139 "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. 1140 "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 1141 "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. 1142 "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. 1143 }, 1144 "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. 1145 "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 1146 "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. 1147 "top": 42, # Offset distance from top side of an asset or a window. 1148 "left": 42, # Offset distance from left side of an asset or a window. 1149 }, 1150 "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. 1151 }, 1152 ], 1153 "redirectUrl": "A String", # URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT 1154 "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID. 1155 "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. 1156 "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1157 "clickTags": [ # Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1158 { # Creative Click Tag. 1159 "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1160 "name": "A String", # Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field. 1161 "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url. 1162 }, 1163 ], 1164 "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 1165 "active": True or False, # Whether the creative is active. Applicable to all creative types. 1166 "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types. 1167 # 1168 # Acceptable values are: 1169 # - "APP" 1170 # - "APP_INTERSTITIAL" 1171 # - "IN_STREAM_VIDEO" 1172 # - "DISPLAY" 1173 # - "DISPLAY_INTERSTITIAL" 1174 "A String", 1175 ], 1176 "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. 1177 "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1178 "A String", 1179 ], 1180 "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". 1181 "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 1182 "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types. 1183 "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types. 1184 "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. 1185 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 1186 }, 1187 "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1188 "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. 1189 "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1190 "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 1191 "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE. 1192 "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection set to false. 1193 "A String", 1194 ], 1195 "creativeAssetSelection": { # Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives. # Required if dynamicAssetSelection is true. 1196 "rules": [ # Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives. 1197 { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. 1198 "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. 1199 "targetingTemplateId": "A String", # A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field. 1200 "name": "A String", # A user-friendly name for this rule. This is a required field. 1201 }, 1202 ], 1203 "defaultAssetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field. 1204 }, 1205 "auto_advance_images": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. 1206 "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1207 "A String", 1208 ], 1209 "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1210 "customHtml": "A String", # User-entered value. 1211 "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. 1212 }, 1213 "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 1214 }</pre> 1215</div> 1216 1217<div class="method"> 1218 <code class="details" id="list">list(profileId, campaignId=None, advertiserId=None, sizeIds=None, archived=None, pageToken=None, sortOrder=None, renderingIds=None, maxResults=None, active=None, companionCreativeIds=None, types=None, searchString=None, ids=None, studioCreativeId=None, sortField=None, creativeFieldIds=None)</code> 1219 <pre>Retrieves a list of creatives, possibly filtered. This method supports paging. 1220 1221Args: 1222 profileId: string, User profile ID associated with this request. (required) 1223 campaignId: string, Select only creatives with this campaign ID. 1224 advertiserId: string, Select only creatives with this advertiser ID. 1225 sizeIds: string, Select only creatives with these size IDs. (repeated) 1226 archived: boolean, Select only archived creatives. Leave blank to select archived and unarchived creatives. 1227 pageToken: string, Value of the nextPageToken from the previous result page. 1228 sortOrder: string, Order of sorted results. 1229 Allowed values 1230 ASCENDING - 1231 DESCENDING - 1232 renderingIds: string, Select only creatives with these rendering IDs. (repeated) 1233 maxResults: integer, Maximum number of results to return. 1234 active: boolean, Select only active creatives. Leave blank to select active and inactive creatives. 1235 companionCreativeIds: string, Select only in-stream video creatives with these companion IDs. (repeated) 1236 types: string, Select only creatives with these creative types. (repeated) 1237 Allowed values 1238 BRAND_SAFE_DEFAULT_INSTREAM_VIDEO - 1239 CUSTOM_DISPLAY - 1240 CUSTOM_DISPLAY_INTERSTITIAL - 1241 DISPLAY - 1242 DISPLAY_IMAGE_GALLERY - 1243 DISPLAY_REDIRECT - 1244 FLASH_INPAGE - 1245 HTML5_BANNER - 1246 IMAGE - 1247 INSTREAM_VIDEO - 1248 INSTREAM_VIDEO_REDIRECT - 1249 INTERNAL_REDIRECT - 1250 INTERSTITIAL_INTERNAL_REDIRECT - 1251 RICH_MEDIA_DISPLAY_BANNER - 1252 RICH_MEDIA_DISPLAY_EXPANDING - 1253 RICH_MEDIA_DISPLAY_INTERSTITIAL - 1254 RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL - 1255 RICH_MEDIA_IM_EXPAND - 1256 RICH_MEDIA_INPAGE_FLOATING - 1257 RICH_MEDIA_MOBILE_IN_APP - 1258 RICH_MEDIA_PEEL_DOWN - 1259 TRACKING_TEXT - 1260 VPAID_LINEAR_VIDEO - 1261 VPAID_NON_LINEAR_VIDEO - 1262 searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "creative*2015" will return objects with names like "creative June 2015", "creative April 2015", or simply "creative 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "creative" will match objects with name "my creative", "creative 2015", or simply "creative". 1263 ids: string, Select only creatives with these IDs. (repeated) 1264 studioCreativeId: string, Select only creatives corresponding to this Studio creative ID. 1265 sortField: string, Field by which to sort the list. 1266 Allowed values 1267 ID - 1268 NAME - 1269 creativeFieldIds: string, Select only creatives with these creative field IDs. (repeated) 1270 1271Returns: 1272 An object of the form: 1273 1274 { # Creative List Response 1275 "nextPageToken": "A String", # Pagination token to be used for the next list operation. 1276 "kind": "dfareporting#creativesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativesListResponse". 1277 "creatives": [ # Creative collection. 1278 { # Contains properties of a Creative. 1279 "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 1280 { # Third-party Tracking URL. 1281 "url": "A String", # URL for the specified third-party URL type. 1282 "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives. 1283 }, 1284 ], 1285 "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1286 "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1287 "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 1288 "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. 1289 "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1290 "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. 1291 "timerCustomEvents": [ # List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE. 1292 { # Creative Custom Event. 1293 "targetType": "A String", # Target type used by the event. 1294 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 1295 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 1296 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 1297 "showStatusBar": True or False, # Whether to display the browser status bar. 1298 "showScrollBar": True or False, # Whether to display the browser scroll bar. 1299 "showAddressBar": True or False, # Whether to display the browser address bar. 1300 "showMenuBar": True or False, # Whether to display the browser menu bar. 1301 "title": "A String", # Title of popup window. 1302 "showToolBar": True or False, # Whether to display the browser tool bar. 1303 "positionType": "A String", # Popup window position either centered or at specific coordinate. 1304 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 1305 "top": 42, # Offset distance from top side of an asset or a window. 1306 "left": 42, # Offset distance from left side of an asset or a window. 1307 }, 1308 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 1309 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1310 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1311 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1312 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1313 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1314 }, 1315 }, 1316 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 1317 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 1318 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 1319 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 1320 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 1321 "advertiserCustomEventName": "A String", # User-entered name for the event. 1322 }, 1323 ], 1324 "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types. 1325 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 1326 "value": "A String", # The value of the dimension. 1327 "dimensionName": "A String", # The name of the dimension. 1328 "etag": "A String", # The eTag of this response for caching purposes. 1329 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 1330 "id": "A String", # The ID associated with the value if available. 1331 }, 1332 "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE. 1333 "windowHeight": 42, # Height of the window. 1334 "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 1335 "windowWidth": 42, # Width of the window. 1336 "positionOption": "A String", # Position in the browser where the window will open. 1337 "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 1338 }, 1339 "dynamicAssetSelection": True or False, # Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO creatives. 1340 "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. 1341 "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. 1342 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 1343 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 1344 }, 1345 "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 1346 "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1347 "archived": True or False, # Whether the creative is archived. Applicable to all creative types. 1348 "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. 1349 "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. 1350 "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1351 "exitCustomEvents": [ # List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1352 { # Creative Custom Event. 1353 "targetType": "A String", # Target type used by the event. 1354 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 1355 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 1356 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 1357 "showStatusBar": True or False, # Whether to display the browser status bar. 1358 "showScrollBar": True or False, # Whether to display the browser scroll bar. 1359 "showAddressBar": True or False, # Whether to display the browser address bar. 1360 "showMenuBar": True or False, # Whether to display the browser menu bar. 1361 "title": "A String", # Title of popup window. 1362 "showToolBar": True or False, # Whether to display the browser tool bar. 1363 "positionType": "A String", # Popup window position either centered or at specific coordinate. 1364 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 1365 "top": 42, # Offset distance from top side of an asset or a window. 1366 "left": 42, # Offset distance from left side of an asset or a window. 1367 }, 1368 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 1369 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1370 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1371 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1372 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1373 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1374 }, 1375 }, 1376 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 1377 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 1378 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 1379 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 1380 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 1381 "advertiserCustomEventName": "A String", # User-entered name for the event. 1382 }, 1383 ], 1384 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. 1385 "counterCustomEvents": [ # List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. 1386 { # Creative Custom Event. 1387 "targetType": "A String", # Target type used by the event. 1388 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 1389 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 1390 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 1391 "showStatusBar": True or False, # Whether to display the browser status bar. 1392 "showScrollBar": True or False, # Whether to display the browser scroll bar. 1393 "showAddressBar": True or False, # Whether to display the browser address bar. 1394 "showMenuBar": True or False, # Whether to display the browser menu bar. 1395 "title": "A String", # Title of popup window. 1396 "showToolBar": True or False, # Whether to display the browser tool bar. 1397 "positionType": "A String", # Popup window position either centered or at specific coordinate. 1398 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 1399 "top": 42, # Offset distance from top side of an asset or a window. 1400 "left": 42, # Offset distance from left side of an asset or a window. 1401 }, 1402 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 1403 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1404 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1405 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1406 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1407 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1408 }, 1409 }, 1410 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 1411 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 1412 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 1413 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 1414 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 1415 "advertiserCustomEventName": "A String", # User-entered name for the event. 1416 }, 1417 ], 1418 "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. 1419 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 1420 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 1421 }, 1422 "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE. 1423 "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types. 1424 "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. 1425 { # Creative Field Assignment. 1426 "creativeFieldId": "A String", # ID of the creative field. 1427 "creativeFieldValueId": "A String", # ID of the creative field value. 1428 }, 1429 ], 1430 "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE. 1431 "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1432 "A String", 1433 ], 1434 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. 1435 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 1436 "value": "A String", # The value of the dimension. 1437 "dimensionName": "A String", # The name of the dimension. 1438 "etag": "A String", # The eTag of this response for caching purposes. 1439 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 1440 "id": "A String", # The ID associated with the value if available. 1441 }, 1442 "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. 1443 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. 1444 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1445 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1446 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1447 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1448 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1449 }, 1450 "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. 1451 # 1452 # Note: FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. 1453 "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1454 "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. 1455 "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1456 "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT 1457 { # Creative Asset. 1458 "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1459 "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1460 "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1461 "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 1462 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1463 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1464 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1465 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1466 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1467 }, 1468 "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1469 "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. 1470 "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 1471 "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1472 "A String", 1473 ], 1474 "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA. 1475 "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. 1476 "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. 1477 "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 1478 "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL. 1479 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1480 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1481 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1482 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1483 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1484 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1485 }, 1486 "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1487 "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. 1488 "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1489 "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1490 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1491 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1492 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1493 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1494 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1495 }, 1496 "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1497 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. 1498 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 1499 "value": "A String", # The value of the dimension. 1500 "dimensionName": "A String", # The name of the dimension. 1501 "etag": "A String", # The eTag of this response for caching purposes. 1502 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 1503 "id": "A String", # The ID associated with the value if available. 1504 }, 1505 "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. 1506 # PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. 1507 # BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1508 # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. 1509 # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. 1510 # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 1511 # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 1512 # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within DCM. 1513 # For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. 1514 "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 1515 "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1516 "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. 1517 "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1518 "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. 1519 "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1520 "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 1521 "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 1522 "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 1523 "top": 42, # Offset distance from top side of an asset or a window. 1524 "left": 42, # Offset distance from left side of an asset or a window. 1525 }, 1526 "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1527 "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. 1528 "A String", 1529 ], 1530 "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 1531 "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1532 "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. 1533 "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. 1534 "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. 1535 "targetType": "A String", # Target type used by the event. 1536 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 1537 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 1538 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 1539 "showStatusBar": True or False, # Whether to display the browser status bar. 1540 "showScrollBar": True or False, # Whether to display the browser scroll bar. 1541 "showAddressBar": True or False, # Whether to display the browser address bar. 1542 "showMenuBar": True or False, # Whether to display the browser menu bar. 1543 "title": "A String", # Title of popup window. 1544 "showToolBar": True or False, # Whether to display the browser tool bar. 1545 "positionType": "A String", # Popup window position either centered or at specific coordinate. 1546 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 1547 "top": 42, # Offset distance from top side of an asset or a window. 1548 "left": 42, # Offset distance from left side of an asset or a window. 1549 }, 1550 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 1551 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1552 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1553 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1554 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1555 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1556 }, 1557 }, 1558 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 1559 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 1560 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 1561 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 1562 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 1563 "advertiserCustomEventName": "A String", # User-entered name for the event. 1564 }, 1565 "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1566 "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. 1567 "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 1568 "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. 1569 "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. 1570 }, 1571 "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. 1572 "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 1573 "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. 1574 "top": 42, # Offset distance from top side of an asset or a window. 1575 "left": 42, # Offset distance from left side of an asset or a window. 1576 }, 1577 "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. 1578 }, 1579 ], 1580 "redirectUrl": "A String", # URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT 1581 "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID. 1582 "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. 1583 "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1584 "clickTags": [ # Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1585 { # Creative Click Tag. 1586 "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1587 "name": "A String", # Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field. 1588 "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url. 1589 }, 1590 ], 1591 "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 1592 "active": True or False, # Whether the creative is active. Applicable to all creative types. 1593 "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types. 1594 # 1595 # Acceptable values are: 1596 # - "APP" 1597 # - "APP_INTERSTITIAL" 1598 # - "IN_STREAM_VIDEO" 1599 # - "DISPLAY" 1600 # - "DISPLAY_INTERSTITIAL" 1601 "A String", 1602 ], 1603 "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. 1604 "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1605 "A String", 1606 ], 1607 "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". 1608 "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 1609 "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types. 1610 "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types. 1611 "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. 1612 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 1613 }, 1614 "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1615 "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. 1616 "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1617 "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 1618 "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE. 1619 "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection set to false. 1620 "A String", 1621 ], 1622 "creativeAssetSelection": { # Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives. # Required if dynamicAssetSelection is true. 1623 "rules": [ # Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives. 1624 { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. 1625 "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. 1626 "targetingTemplateId": "A String", # A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field. 1627 "name": "A String", # A user-friendly name for this rule. This is a required field. 1628 }, 1629 ], 1630 "defaultAssetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field. 1631 }, 1632 "auto_advance_images": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. 1633 "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1634 "A String", 1635 ], 1636 "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1637 "customHtml": "A String", # User-entered value. 1638 "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. 1639 }, 1640 "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 1641 }, 1642 ], 1643 }</pre> 1644</div> 1645 1646<div class="method"> 1647 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 1648 <pre>Retrieves the next page of results. 1649 1650Args: 1651 previous_request: The request for the previous page. (required) 1652 previous_response: The response from the request for the previous page. (required) 1653 1654Returns: 1655 A request object that you can call 'execute()' on to request the next 1656 page. Returns None if there are no more items in the collection. 1657 </pre> 1658</div> 1659 1660<div class="method"> 1661 <code class="details" id="patch">patch(profileId, id, body)</code> 1662 <pre>Updates an existing creative. This method supports patch semantics. 1663 1664Args: 1665 profileId: string, User profile ID associated with this request. (required) 1666 id: string, Creative ID. (required) 1667 body: object, The request body. (required) 1668 The object takes the form of: 1669 1670{ # Contains properties of a Creative. 1671 "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 1672 { # Third-party Tracking URL. 1673 "url": "A String", # URL for the specified third-party URL type. 1674 "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives. 1675 }, 1676 ], 1677 "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1678 "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1679 "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 1680 "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. 1681 "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1682 "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. 1683 "timerCustomEvents": [ # List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE. 1684 { # Creative Custom Event. 1685 "targetType": "A String", # Target type used by the event. 1686 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 1687 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 1688 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 1689 "showStatusBar": True or False, # Whether to display the browser status bar. 1690 "showScrollBar": True or False, # Whether to display the browser scroll bar. 1691 "showAddressBar": True or False, # Whether to display the browser address bar. 1692 "showMenuBar": True or False, # Whether to display the browser menu bar. 1693 "title": "A String", # Title of popup window. 1694 "showToolBar": True or False, # Whether to display the browser tool bar. 1695 "positionType": "A String", # Popup window position either centered or at specific coordinate. 1696 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 1697 "top": 42, # Offset distance from top side of an asset or a window. 1698 "left": 42, # Offset distance from left side of an asset or a window. 1699 }, 1700 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 1701 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1702 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1703 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1704 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1705 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1706 }, 1707 }, 1708 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 1709 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 1710 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 1711 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 1712 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 1713 "advertiserCustomEventName": "A String", # User-entered name for the event. 1714 }, 1715 ], 1716 "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types. 1717 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 1718 "value": "A String", # The value of the dimension. 1719 "dimensionName": "A String", # The name of the dimension. 1720 "etag": "A String", # The eTag of this response for caching purposes. 1721 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 1722 "id": "A String", # The ID associated with the value if available. 1723 }, 1724 "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE. 1725 "windowHeight": 42, # Height of the window. 1726 "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 1727 "windowWidth": 42, # Width of the window. 1728 "positionOption": "A String", # Position in the browser where the window will open. 1729 "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 1730 }, 1731 "dynamicAssetSelection": True or False, # Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO creatives. 1732 "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. 1733 "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. 1734 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 1735 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 1736 }, 1737 "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 1738 "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1739 "archived": True or False, # Whether the creative is archived. Applicable to all creative types. 1740 "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. 1741 "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. 1742 "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1743 "exitCustomEvents": [ # List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1744 { # Creative Custom Event. 1745 "targetType": "A String", # Target type used by the event. 1746 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 1747 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 1748 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 1749 "showStatusBar": True or False, # Whether to display the browser status bar. 1750 "showScrollBar": True or False, # Whether to display the browser scroll bar. 1751 "showAddressBar": True or False, # Whether to display the browser address bar. 1752 "showMenuBar": True or False, # Whether to display the browser menu bar. 1753 "title": "A String", # Title of popup window. 1754 "showToolBar": True or False, # Whether to display the browser tool bar. 1755 "positionType": "A String", # Popup window position either centered or at specific coordinate. 1756 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 1757 "top": 42, # Offset distance from top side of an asset or a window. 1758 "left": 42, # Offset distance from left side of an asset or a window. 1759 }, 1760 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 1761 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1762 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1763 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1764 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1765 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1766 }, 1767 }, 1768 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 1769 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 1770 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 1771 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 1772 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 1773 "advertiserCustomEventName": "A String", # User-entered name for the event. 1774 }, 1775 ], 1776 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. 1777 "counterCustomEvents": [ # List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. 1778 { # Creative Custom Event. 1779 "targetType": "A String", # Target type used by the event. 1780 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 1781 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 1782 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 1783 "showStatusBar": True or False, # Whether to display the browser status bar. 1784 "showScrollBar": True or False, # Whether to display the browser scroll bar. 1785 "showAddressBar": True or False, # Whether to display the browser address bar. 1786 "showMenuBar": True or False, # Whether to display the browser menu bar. 1787 "title": "A String", # Title of popup window. 1788 "showToolBar": True or False, # Whether to display the browser tool bar. 1789 "positionType": "A String", # Popup window position either centered or at specific coordinate. 1790 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 1791 "top": 42, # Offset distance from top side of an asset or a window. 1792 "left": 42, # Offset distance from left side of an asset or a window. 1793 }, 1794 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 1795 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1796 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1797 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1798 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1799 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1800 }, 1801 }, 1802 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 1803 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 1804 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 1805 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 1806 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 1807 "advertiserCustomEventName": "A String", # User-entered name for the event. 1808 }, 1809 ], 1810 "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. 1811 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 1812 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 1813 }, 1814 "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE. 1815 "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types. 1816 "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. 1817 { # Creative Field Assignment. 1818 "creativeFieldId": "A String", # ID of the creative field. 1819 "creativeFieldValueId": "A String", # ID of the creative field value. 1820 }, 1821 ], 1822 "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE. 1823 "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1824 "A String", 1825 ], 1826 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. 1827 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 1828 "value": "A String", # The value of the dimension. 1829 "dimensionName": "A String", # The name of the dimension. 1830 "etag": "A String", # The eTag of this response for caching purposes. 1831 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 1832 "id": "A String", # The ID associated with the value if available. 1833 }, 1834 "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. 1835 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. 1836 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1837 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1838 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1839 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1840 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1841 }, 1842 "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. 1843 # 1844 # Note: FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. 1845 "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1846 "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. 1847 "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1848 "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT 1849 { # Creative Asset. 1850 "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1851 "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1852 "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1853 "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 1854 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1855 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1856 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1857 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1858 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1859 }, 1860 "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1861 "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. 1862 "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 1863 "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1864 "A String", 1865 ], 1866 "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA. 1867 "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. 1868 "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. 1869 "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 1870 "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL. 1871 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1872 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1873 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1874 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1875 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1876 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1877 }, 1878 "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1879 "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. 1880 "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1881 "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1882 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1883 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1884 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1885 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1886 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1887 }, 1888 "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 1889 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. 1890 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 1891 "value": "A String", # The value of the dimension. 1892 "dimensionName": "A String", # The name of the dimension. 1893 "etag": "A String", # The eTag of this response for caching purposes. 1894 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 1895 "id": "A String", # The ID associated with the value if available. 1896 }, 1897 "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. 1898 # PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. 1899 # BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1900 # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. 1901 # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. 1902 # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 1903 # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 1904 # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within DCM. 1905 # For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. 1906 "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 1907 "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1908 "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. 1909 "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1910 "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. 1911 "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1912 "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 1913 "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 1914 "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 1915 "top": 42, # Offset distance from top side of an asset or a window. 1916 "left": 42, # Offset distance from left side of an asset or a window. 1917 }, 1918 "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1919 "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. 1920 "A String", 1921 ], 1922 "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 1923 "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 1924 "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. 1925 "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. 1926 "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. 1927 "targetType": "A String", # Target type used by the event. 1928 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 1929 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 1930 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 1931 "showStatusBar": True or False, # Whether to display the browser status bar. 1932 "showScrollBar": True or False, # Whether to display the browser scroll bar. 1933 "showAddressBar": True or False, # Whether to display the browser address bar. 1934 "showMenuBar": True or False, # Whether to display the browser menu bar. 1935 "title": "A String", # Title of popup window. 1936 "showToolBar": True or False, # Whether to display the browser tool bar. 1937 "positionType": "A String", # Popup window position either centered or at specific coordinate. 1938 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 1939 "top": 42, # Offset distance from top side of an asset or a window. 1940 "left": 42, # Offset distance from left side of an asset or a window. 1941 }, 1942 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 1943 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 1944 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 1945 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 1946 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 1947 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 1948 }, 1949 }, 1950 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 1951 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 1952 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 1953 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 1954 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 1955 "advertiserCustomEventName": "A String", # User-entered name for the event. 1956 }, 1957 "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1958 "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. 1959 "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 1960 "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. 1961 "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. 1962 }, 1963 "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. 1964 "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 1965 "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. 1966 "top": 42, # Offset distance from top side of an asset or a window. 1967 "left": 42, # Offset distance from left side of an asset or a window. 1968 }, 1969 "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. 1970 }, 1971 ], 1972 "redirectUrl": "A String", # URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT 1973 "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID. 1974 "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. 1975 "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1976 "clickTags": [ # Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1977 { # Creative Click Tag. 1978 "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 1979 "name": "A String", # Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field. 1980 "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url. 1981 }, 1982 ], 1983 "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 1984 "active": True or False, # Whether the creative is active. Applicable to all creative types. 1985 "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types. 1986 # 1987 # Acceptable values are: 1988 # - "APP" 1989 # - "APP_INTERSTITIAL" 1990 # - "IN_STREAM_VIDEO" 1991 # - "DISPLAY" 1992 # - "DISPLAY_INTERSTITIAL" 1993 "A String", 1994 ], 1995 "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. 1996 "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 1997 "A String", 1998 ], 1999 "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". 2000 "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 2001 "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types. 2002 "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types. 2003 "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. 2004 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 2005 }, 2006 "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2007 "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. 2008 "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2009 "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 2010 "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE. 2011 "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection set to false. 2012 "A String", 2013 ], 2014 "creativeAssetSelection": { # Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives. # Required if dynamicAssetSelection is true. 2015 "rules": [ # Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives. 2016 { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. 2017 "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. 2018 "targetingTemplateId": "A String", # A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field. 2019 "name": "A String", # A user-friendly name for this rule. This is a required field. 2020 }, 2021 ], 2022 "defaultAssetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field. 2023 }, 2024 "auto_advance_images": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. 2025 "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2026 "A String", 2027 ], 2028 "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2029 "customHtml": "A String", # User-entered value. 2030 "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. 2031 }, 2032 "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 2033 } 2034 2035 2036Returns: 2037 An object of the form: 2038 2039 { # Contains properties of a Creative. 2040 "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 2041 { # Third-party Tracking URL. 2042 "url": "A String", # URL for the specified third-party URL type. 2043 "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives. 2044 }, 2045 ], 2046 "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2047 "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2048 "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 2049 "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. 2050 "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2051 "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. 2052 "timerCustomEvents": [ # List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE. 2053 { # Creative Custom Event. 2054 "targetType": "A String", # Target type used by the event. 2055 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 2056 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 2057 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 2058 "showStatusBar": True or False, # Whether to display the browser status bar. 2059 "showScrollBar": True or False, # Whether to display the browser scroll bar. 2060 "showAddressBar": True or False, # Whether to display the browser address bar. 2061 "showMenuBar": True or False, # Whether to display the browser menu bar. 2062 "title": "A String", # Title of popup window. 2063 "showToolBar": True or False, # Whether to display the browser tool bar. 2064 "positionType": "A String", # Popup window position either centered or at specific coordinate. 2065 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 2066 "top": 42, # Offset distance from top side of an asset or a window. 2067 "left": 42, # Offset distance from left side of an asset or a window. 2068 }, 2069 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 2070 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2071 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2072 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2073 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2074 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2075 }, 2076 }, 2077 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 2078 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 2079 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 2080 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 2081 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 2082 "advertiserCustomEventName": "A String", # User-entered name for the event. 2083 }, 2084 ], 2085 "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types. 2086 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 2087 "value": "A String", # The value of the dimension. 2088 "dimensionName": "A String", # The name of the dimension. 2089 "etag": "A String", # The eTag of this response for caching purposes. 2090 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 2091 "id": "A String", # The ID associated with the value if available. 2092 }, 2093 "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE. 2094 "windowHeight": 42, # Height of the window. 2095 "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 2096 "windowWidth": 42, # Width of the window. 2097 "positionOption": "A String", # Position in the browser where the window will open. 2098 "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 2099 }, 2100 "dynamicAssetSelection": True or False, # Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO creatives. 2101 "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. 2102 "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. 2103 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 2104 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 2105 }, 2106 "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 2107 "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2108 "archived": True or False, # Whether the creative is archived. Applicable to all creative types. 2109 "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. 2110 "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. 2111 "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2112 "exitCustomEvents": [ # List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2113 { # Creative Custom Event. 2114 "targetType": "A String", # Target type used by the event. 2115 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 2116 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 2117 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 2118 "showStatusBar": True or False, # Whether to display the browser status bar. 2119 "showScrollBar": True or False, # Whether to display the browser scroll bar. 2120 "showAddressBar": True or False, # Whether to display the browser address bar. 2121 "showMenuBar": True or False, # Whether to display the browser menu bar. 2122 "title": "A String", # Title of popup window. 2123 "showToolBar": True or False, # Whether to display the browser tool bar. 2124 "positionType": "A String", # Popup window position either centered or at specific coordinate. 2125 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 2126 "top": 42, # Offset distance from top side of an asset or a window. 2127 "left": 42, # Offset distance from left side of an asset or a window. 2128 }, 2129 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 2130 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2131 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2132 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2133 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2134 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2135 }, 2136 }, 2137 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 2138 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 2139 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 2140 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 2141 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 2142 "advertiserCustomEventName": "A String", # User-entered name for the event. 2143 }, 2144 ], 2145 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. 2146 "counterCustomEvents": [ # List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. 2147 { # Creative Custom Event. 2148 "targetType": "A String", # Target type used by the event. 2149 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 2150 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 2151 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 2152 "showStatusBar": True or False, # Whether to display the browser status bar. 2153 "showScrollBar": True or False, # Whether to display the browser scroll bar. 2154 "showAddressBar": True or False, # Whether to display the browser address bar. 2155 "showMenuBar": True or False, # Whether to display the browser menu bar. 2156 "title": "A String", # Title of popup window. 2157 "showToolBar": True or False, # Whether to display the browser tool bar. 2158 "positionType": "A String", # Popup window position either centered or at specific coordinate. 2159 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 2160 "top": 42, # Offset distance from top side of an asset or a window. 2161 "left": 42, # Offset distance from left side of an asset or a window. 2162 }, 2163 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 2164 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2165 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2166 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2167 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2168 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2169 }, 2170 }, 2171 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 2172 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 2173 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 2174 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 2175 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 2176 "advertiserCustomEventName": "A String", # User-entered name for the event. 2177 }, 2178 ], 2179 "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. 2180 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 2181 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 2182 }, 2183 "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE. 2184 "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types. 2185 "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. 2186 { # Creative Field Assignment. 2187 "creativeFieldId": "A String", # ID of the creative field. 2188 "creativeFieldValueId": "A String", # ID of the creative field value. 2189 }, 2190 ], 2191 "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE. 2192 "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2193 "A String", 2194 ], 2195 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. 2196 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 2197 "value": "A String", # The value of the dimension. 2198 "dimensionName": "A String", # The name of the dimension. 2199 "etag": "A String", # The eTag of this response for caching purposes. 2200 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 2201 "id": "A String", # The ID associated with the value if available. 2202 }, 2203 "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. 2204 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. 2205 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2206 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2207 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2208 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2209 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2210 }, 2211 "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. 2212 # 2213 # Note: FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. 2214 "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2215 "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. 2216 "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2217 "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT 2218 { # Creative Asset. 2219 "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2220 "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2221 "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2222 "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 2223 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2224 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2225 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2226 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2227 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2228 }, 2229 "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2230 "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. 2231 "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 2232 "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2233 "A String", 2234 ], 2235 "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA. 2236 "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. 2237 "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. 2238 "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 2239 "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL. 2240 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2241 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2242 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2243 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2244 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2245 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2246 }, 2247 "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2248 "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. 2249 "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2250 "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2251 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2252 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2253 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2254 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2255 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2256 }, 2257 "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2258 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. 2259 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 2260 "value": "A String", # The value of the dimension. 2261 "dimensionName": "A String", # The name of the dimension. 2262 "etag": "A String", # The eTag of this response for caching purposes. 2263 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 2264 "id": "A String", # The ID associated with the value if available. 2265 }, 2266 "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. 2267 # PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. 2268 # BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2269 # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. 2270 # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. 2271 # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 2272 # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 2273 # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within DCM. 2274 # For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. 2275 "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 2276 "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2277 "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. 2278 "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2279 "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. 2280 "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2281 "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 2282 "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 2283 "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 2284 "top": 42, # Offset distance from top side of an asset or a window. 2285 "left": 42, # Offset distance from left side of an asset or a window. 2286 }, 2287 "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2288 "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. 2289 "A String", 2290 ], 2291 "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 2292 "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2293 "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. 2294 "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. 2295 "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. 2296 "targetType": "A String", # Target type used by the event. 2297 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 2298 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 2299 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 2300 "showStatusBar": True or False, # Whether to display the browser status bar. 2301 "showScrollBar": True or False, # Whether to display the browser scroll bar. 2302 "showAddressBar": True or False, # Whether to display the browser address bar. 2303 "showMenuBar": True or False, # Whether to display the browser menu bar. 2304 "title": "A String", # Title of popup window. 2305 "showToolBar": True or False, # Whether to display the browser tool bar. 2306 "positionType": "A String", # Popup window position either centered or at specific coordinate. 2307 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 2308 "top": 42, # Offset distance from top side of an asset or a window. 2309 "left": 42, # Offset distance from left side of an asset or a window. 2310 }, 2311 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 2312 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2313 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2314 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2315 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2316 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2317 }, 2318 }, 2319 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 2320 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 2321 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 2322 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 2323 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 2324 "advertiserCustomEventName": "A String", # User-entered name for the event. 2325 }, 2326 "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2327 "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. 2328 "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 2329 "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. 2330 "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. 2331 }, 2332 "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. 2333 "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 2334 "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. 2335 "top": 42, # Offset distance from top side of an asset or a window. 2336 "left": 42, # Offset distance from left side of an asset or a window. 2337 }, 2338 "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. 2339 }, 2340 ], 2341 "redirectUrl": "A String", # URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT 2342 "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID. 2343 "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. 2344 "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2345 "clickTags": [ # Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2346 { # Creative Click Tag. 2347 "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2348 "name": "A String", # Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field. 2349 "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url. 2350 }, 2351 ], 2352 "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 2353 "active": True or False, # Whether the creative is active. Applicable to all creative types. 2354 "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types. 2355 # 2356 # Acceptable values are: 2357 # - "APP" 2358 # - "APP_INTERSTITIAL" 2359 # - "IN_STREAM_VIDEO" 2360 # - "DISPLAY" 2361 # - "DISPLAY_INTERSTITIAL" 2362 "A String", 2363 ], 2364 "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. 2365 "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2366 "A String", 2367 ], 2368 "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". 2369 "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 2370 "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types. 2371 "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types. 2372 "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. 2373 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 2374 }, 2375 "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2376 "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. 2377 "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2378 "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 2379 "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE. 2380 "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection set to false. 2381 "A String", 2382 ], 2383 "creativeAssetSelection": { # Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives. # Required if dynamicAssetSelection is true. 2384 "rules": [ # Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives. 2385 { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. 2386 "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. 2387 "targetingTemplateId": "A String", # A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field. 2388 "name": "A String", # A user-friendly name for this rule. This is a required field. 2389 }, 2390 ], 2391 "defaultAssetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field. 2392 }, 2393 "auto_advance_images": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. 2394 "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2395 "A String", 2396 ], 2397 "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2398 "customHtml": "A String", # User-entered value. 2399 "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. 2400 }, 2401 "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 2402 }</pre> 2403</div> 2404 2405<div class="method"> 2406 <code class="details" id="update">update(profileId, body)</code> 2407 <pre>Updates an existing creative. 2408 2409Args: 2410 profileId: string, User profile ID associated with this request. (required) 2411 body: object, The request body. (required) 2412 The object takes the form of: 2413 2414{ # Contains properties of a Creative. 2415 "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 2416 { # Third-party Tracking URL. 2417 "url": "A String", # URL for the specified third-party URL type. 2418 "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives. 2419 }, 2420 ], 2421 "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2422 "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2423 "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 2424 "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. 2425 "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2426 "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. 2427 "timerCustomEvents": [ # List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE. 2428 { # Creative Custom Event. 2429 "targetType": "A String", # Target type used by the event. 2430 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 2431 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 2432 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 2433 "showStatusBar": True or False, # Whether to display the browser status bar. 2434 "showScrollBar": True or False, # Whether to display the browser scroll bar. 2435 "showAddressBar": True or False, # Whether to display the browser address bar. 2436 "showMenuBar": True or False, # Whether to display the browser menu bar. 2437 "title": "A String", # Title of popup window. 2438 "showToolBar": True or False, # Whether to display the browser tool bar. 2439 "positionType": "A String", # Popup window position either centered or at specific coordinate. 2440 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 2441 "top": 42, # Offset distance from top side of an asset or a window. 2442 "left": 42, # Offset distance from left side of an asset or a window. 2443 }, 2444 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 2445 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2446 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2447 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2448 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2449 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2450 }, 2451 }, 2452 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 2453 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 2454 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 2455 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 2456 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 2457 "advertiserCustomEventName": "A String", # User-entered name for the event. 2458 }, 2459 ], 2460 "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types. 2461 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 2462 "value": "A String", # The value of the dimension. 2463 "dimensionName": "A String", # The name of the dimension. 2464 "etag": "A String", # The eTag of this response for caching purposes. 2465 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 2466 "id": "A String", # The ID associated with the value if available. 2467 }, 2468 "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE. 2469 "windowHeight": 42, # Height of the window. 2470 "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 2471 "windowWidth": 42, # Width of the window. 2472 "positionOption": "A String", # Position in the browser where the window will open. 2473 "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 2474 }, 2475 "dynamicAssetSelection": True or False, # Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO creatives. 2476 "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. 2477 "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. 2478 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 2479 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 2480 }, 2481 "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 2482 "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2483 "archived": True or False, # Whether the creative is archived. Applicable to all creative types. 2484 "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. 2485 "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. 2486 "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2487 "exitCustomEvents": [ # List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2488 { # Creative Custom Event. 2489 "targetType": "A String", # Target type used by the event. 2490 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 2491 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 2492 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 2493 "showStatusBar": True or False, # Whether to display the browser status bar. 2494 "showScrollBar": True or False, # Whether to display the browser scroll bar. 2495 "showAddressBar": True or False, # Whether to display the browser address bar. 2496 "showMenuBar": True or False, # Whether to display the browser menu bar. 2497 "title": "A String", # Title of popup window. 2498 "showToolBar": True or False, # Whether to display the browser tool bar. 2499 "positionType": "A String", # Popup window position either centered or at specific coordinate. 2500 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 2501 "top": 42, # Offset distance from top side of an asset or a window. 2502 "left": 42, # Offset distance from left side of an asset or a window. 2503 }, 2504 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 2505 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2506 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2507 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2508 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2509 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2510 }, 2511 }, 2512 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 2513 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 2514 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 2515 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 2516 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 2517 "advertiserCustomEventName": "A String", # User-entered name for the event. 2518 }, 2519 ], 2520 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. 2521 "counterCustomEvents": [ # List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. 2522 { # Creative Custom Event. 2523 "targetType": "A String", # Target type used by the event. 2524 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 2525 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 2526 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 2527 "showStatusBar": True or False, # Whether to display the browser status bar. 2528 "showScrollBar": True or False, # Whether to display the browser scroll bar. 2529 "showAddressBar": True or False, # Whether to display the browser address bar. 2530 "showMenuBar": True or False, # Whether to display the browser menu bar. 2531 "title": "A String", # Title of popup window. 2532 "showToolBar": True or False, # Whether to display the browser tool bar. 2533 "positionType": "A String", # Popup window position either centered or at specific coordinate. 2534 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 2535 "top": 42, # Offset distance from top side of an asset or a window. 2536 "left": 42, # Offset distance from left side of an asset or a window. 2537 }, 2538 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 2539 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2540 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2541 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2542 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2543 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2544 }, 2545 }, 2546 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 2547 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 2548 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 2549 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 2550 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 2551 "advertiserCustomEventName": "A String", # User-entered name for the event. 2552 }, 2553 ], 2554 "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. 2555 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 2556 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 2557 }, 2558 "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE. 2559 "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types. 2560 "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. 2561 { # Creative Field Assignment. 2562 "creativeFieldId": "A String", # ID of the creative field. 2563 "creativeFieldValueId": "A String", # ID of the creative field value. 2564 }, 2565 ], 2566 "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE. 2567 "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2568 "A String", 2569 ], 2570 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. 2571 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 2572 "value": "A String", # The value of the dimension. 2573 "dimensionName": "A String", # The name of the dimension. 2574 "etag": "A String", # The eTag of this response for caching purposes. 2575 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 2576 "id": "A String", # The ID associated with the value if available. 2577 }, 2578 "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. 2579 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. 2580 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2581 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2582 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2583 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2584 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2585 }, 2586 "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. 2587 # 2588 # Note: FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. 2589 "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2590 "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. 2591 "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2592 "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT 2593 { # Creative Asset. 2594 "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2595 "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2596 "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2597 "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 2598 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2599 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2600 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2601 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2602 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2603 }, 2604 "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2605 "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. 2606 "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 2607 "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2608 "A String", 2609 ], 2610 "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA. 2611 "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. 2612 "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. 2613 "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 2614 "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL. 2615 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2616 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2617 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2618 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2619 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2620 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2621 }, 2622 "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2623 "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. 2624 "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2625 "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2626 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2627 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2628 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2629 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2630 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2631 }, 2632 "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2633 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. 2634 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 2635 "value": "A String", # The value of the dimension. 2636 "dimensionName": "A String", # The name of the dimension. 2637 "etag": "A String", # The eTag of this response for caching purposes. 2638 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 2639 "id": "A String", # The ID associated with the value if available. 2640 }, 2641 "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. 2642 # PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. 2643 # BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2644 # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. 2645 # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. 2646 # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 2647 # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 2648 # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within DCM. 2649 # For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. 2650 "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 2651 "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2652 "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. 2653 "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2654 "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. 2655 "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2656 "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 2657 "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 2658 "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 2659 "top": 42, # Offset distance from top side of an asset or a window. 2660 "left": 42, # Offset distance from left side of an asset or a window. 2661 }, 2662 "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2663 "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. 2664 "A String", 2665 ], 2666 "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 2667 "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2668 "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. 2669 "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. 2670 "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. 2671 "targetType": "A String", # Target type used by the event. 2672 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 2673 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 2674 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 2675 "showStatusBar": True or False, # Whether to display the browser status bar. 2676 "showScrollBar": True or False, # Whether to display the browser scroll bar. 2677 "showAddressBar": True or False, # Whether to display the browser address bar. 2678 "showMenuBar": True or False, # Whether to display the browser menu bar. 2679 "title": "A String", # Title of popup window. 2680 "showToolBar": True or False, # Whether to display the browser tool bar. 2681 "positionType": "A String", # Popup window position either centered or at specific coordinate. 2682 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 2683 "top": 42, # Offset distance from top side of an asset or a window. 2684 "left": 42, # Offset distance from left side of an asset or a window. 2685 }, 2686 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 2687 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2688 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2689 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2690 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2691 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2692 }, 2693 }, 2694 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 2695 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 2696 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 2697 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 2698 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 2699 "advertiserCustomEventName": "A String", # User-entered name for the event. 2700 }, 2701 "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2702 "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. 2703 "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 2704 "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. 2705 "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. 2706 }, 2707 "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. 2708 "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 2709 "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. 2710 "top": 42, # Offset distance from top side of an asset or a window. 2711 "left": 42, # Offset distance from left side of an asset or a window. 2712 }, 2713 "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. 2714 }, 2715 ], 2716 "redirectUrl": "A String", # URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT 2717 "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID. 2718 "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. 2719 "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2720 "clickTags": [ # Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2721 { # Creative Click Tag. 2722 "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2723 "name": "A String", # Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field. 2724 "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url. 2725 }, 2726 ], 2727 "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 2728 "active": True or False, # Whether the creative is active. Applicable to all creative types. 2729 "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types. 2730 # 2731 # Acceptable values are: 2732 # - "APP" 2733 # - "APP_INTERSTITIAL" 2734 # - "IN_STREAM_VIDEO" 2735 # - "DISPLAY" 2736 # - "DISPLAY_INTERSTITIAL" 2737 "A String", 2738 ], 2739 "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. 2740 "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2741 "A String", 2742 ], 2743 "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". 2744 "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 2745 "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types. 2746 "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types. 2747 "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. 2748 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 2749 }, 2750 "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2751 "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. 2752 "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2753 "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 2754 "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE. 2755 "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection set to false. 2756 "A String", 2757 ], 2758 "creativeAssetSelection": { # Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives. # Required if dynamicAssetSelection is true. 2759 "rules": [ # Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives. 2760 { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. 2761 "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. 2762 "targetingTemplateId": "A String", # A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field. 2763 "name": "A String", # A user-friendly name for this rule. This is a required field. 2764 }, 2765 ], 2766 "defaultAssetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field. 2767 }, 2768 "auto_advance_images": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. 2769 "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2770 "A String", 2771 ], 2772 "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2773 "customHtml": "A String", # User-entered value. 2774 "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. 2775 }, 2776 "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 2777 } 2778 2779 2780Returns: 2781 An object of the form: 2782 2783 { # Contains properties of a Creative. 2784 "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 2785 { # Third-party Tracking URL. 2786 "url": "A String", # URL for the specified third-party URL type. 2787 "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives. 2788 }, 2789 ], 2790 "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2791 "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2792 "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 2793 "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. 2794 "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2795 "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. 2796 "timerCustomEvents": [ # List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE. 2797 { # Creative Custom Event. 2798 "targetType": "A String", # Target type used by the event. 2799 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 2800 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 2801 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 2802 "showStatusBar": True or False, # Whether to display the browser status bar. 2803 "showScrollBar": True or False, # Whether to display the browser scroll bar. 2804 "showAddressBar": True or False, # Whether to display the browser address bar. 2805 "showMenuBar": True or False, # Whether to display the browser menu bar. 2806 "title": "A String", # Title of popup window. 2807 "showToolBar": True or False, # Whether to display the browser tool bar. 2808 "positionType": "A String", # Popup window position either centered or at specific coordinate. 2809 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 2810 "top": 42, # Offset distance from top side of an asset or a window. 2811 "left": 42, # Offset distance from left side of an asset or a window. 2812 }, 2813 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 2814 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2815 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2816 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2817 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2818 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2819 }, 2820 }, 2821 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 2822 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 2823 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 2824 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 2825 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 2826 "advertiserCustomEventName": "A String", # User-entered name for the event. 2827 }, 2828 ], 2829 "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types. 2830 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 2831 "value": "A String", # The value of the dimension. 2832 "dimensionName": "A String", # The name of the dimension. 2833 "etag": "A String", # The eTag of this response for caching purposes. 2834 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 2835 "id": "A String", # The ID associated with the value if available. 2836 }, 2837 "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE. 2838 "windowHeight": 42, # Height of the window. 2839 "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 2840 "windowWidth": 42, # Width of the window. 2841 "positionOption": "A String", # Position in the browser where the window will open. 2842 "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. 2843 }, 2844 "dynamicAssetSelection": True or False, # Set this to true to enable the use of rules to target individual assets in this creative. When set to true creativeAssetSelection must be set. This also controls asset-level companions. When this is true, companion creatives should be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO creatives. 2845 "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. 2846 "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. 2847 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 2848 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 2849 }, 2850 "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 2851 "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2852 "archived": True or False, # Whether the creative is archived. Applicable to all creative types. 2853 "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. 2854 "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. 2855 "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2856 "exitCustomEvents": [ # List of exit events configured for the creative. For DISPLAY and DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags, For DISPLAY, an event is also created from the backupImageReportingLabel. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2857 { # Creative Custom Event. 2858 "targetType": "A String", # Target type used by the event. 2859 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 2860 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 2861 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 2862 "showStatusBar": True or False, # Whether to display the browser status bar. 2863 "showScrollBar": True or False, # Whether to display the browser scroll bar. 2864 "showAddressBar": True or False, # Whether to display the browser address bar. 2865 "showMenuBar": True or False, # Whether to display the browser menu bar. 2866 "title": "A String", # Title of popup window. 2867 "showToolBar": True or False, # Whether to display the browser tool bar. 2868 "positionType": "A String", # Popup window position either centered or at specific coordinate. 2869 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 2870 "top": 42, # Offset distance from top side of an asset or a window. 2871 "left": 42, # Offset distance from left side of an asset or a window. 2872 }, 2873 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 2874 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2875 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2876 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2877 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2878 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2879 }, 2880 }, 2881 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 2882 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 2883 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 2884 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 2885 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 2886 "advertiserCustomEventName": "A String", # User-entered name for the event. 2887 }, 2888 ], 2889 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. 2890 "counterCustomEvents": [ # List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from clickTags. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. 2891 { # Creative Custom Event. 2892 "targetType": "A String", # Target type used by the event. 2893 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 2894 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 2895 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 2896 "showStatusBar": True or False, # Whether to display the browser status bar. 2897 "showScrollBar": True or False, # Whether to display the browser scroll bar. 2898 "showAddressBar": True or False, # Whether to display the browser address bar. 2899 "showMenuBar": True or False, # Whether to display the browser menu bar. 2900 "title": "A String", # Title of popup window. 2901 "showToolBar": True or False, # Whether to display the browser tool bar. 2902 "positionType": "A String", # Popup window position either centered or at specific coordinate. 2903 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 2904 "top": 42, # Offset distance from top side of an asset or a window. 2905 "left": 42, # Offset distance from left side of an asset or a window. 2906 }, 2907 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 2908 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2909 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2910 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2911 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2912 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2913 }, 2914 }, 2915 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 2916 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 2917 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 2918 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 2919 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 2920 "advertiserCustomEventName": "A String", # User-entered name for the event. 2921 }, 2922 ], 2923 "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. 2924 "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. 2925 "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. 2926 }, 2927 "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: DISPLAY when the primary asset type is not HTML_IMAGE. 2928 "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types. 2929 "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. 2930 { # Creative Field Assignment. 2931 "creativeFieldId": "A String", # ID of the creative field. 2932 "creativeFieldValueId": "A String", # ID of the creative field value. 2933 }, 2934 ], 2935 "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE. 2936 "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2937 "A String", 2938 ], 2939 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. 2940 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 2941 "value": "A String", # The value of the dimension. 2942 "dimensionName": "A String", # The name of the dimension. 2943 "etag": "A String", # The eTag of this response for caching purposes. 2944 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 2945 "id": "A String", # The ID associated with the value if available. 2946 }, 2947 "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. 2948 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE, FLASH_INPAGE creatives, and for DISPLAY creatives with a primary asset of type HTML_IMAGE, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: DISPLAY, DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. 2949 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2950 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2951 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2952 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2953 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2954 }, 2955 "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. 2956 # 2957 # Note: FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. 2958 "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2959 "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. 2960 "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 2961 "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT 2962 { # Creative Asset. 2963 "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2964 "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2965 "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2966 "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 2967 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2968 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2969 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2970 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2971 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2972 }, 2973 "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2974 "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. 2975 "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 2976 "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2977 "A String", 2978 ], 2979 "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA. 2980 "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. 2981 "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA. 2982 "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 2983 "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL. 2984 "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE, creatives if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 2985 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2986 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2987 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2988 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2989 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 2990 }, 2991 "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2992 "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. 2993 "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 2994 "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 2995 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 2996 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 2997 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 2998 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 2999 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 3000 }, 3001 "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. 3002 "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. 3003 "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue. 3004 "value": "A String", # The value of the dimension. 3005 "dimensionName": "A String", # The name of the dimension. 3006 "etag": "A String", # The eTag of this response for caching purposes. 3007 "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT. 3008 "id": "A String", # The ID associated with the value if available. 3009 }, 3010 "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field. 3011 # PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives. 3012 # BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 3013 # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. 3014 # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. 3015 # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 3016 # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. 3017 # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within DCM. 3018 # For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. 3019 "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 3020 "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 3021 "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. 3022 "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 3023 "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. 3024 "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 3025 "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 3026 "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 3027 "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN. 3028 "top": 42, # Offset distance from top side of an asset or a window. 3029 "left": 42, # Offset distance from left side of an asset or a window. 3030 }, 3031 "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 3032 "companionCreativeIds": [ # List of companion creatives assigned to an in-stream video creative asset. Acceptable values include IDs of existing flash and image creatives. Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to true. 3033 "A String", 3034 ], 3035 "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. 3036 "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. 3037 "zIndex": 42, # zIndex value of an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. Acceptable values are -999999999 to 999999999, inclusive. 3038 "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. 3039 "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. 3040 "targetType": "A String", # Target type used by the event. 3041 "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. 3042 "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. 3043 "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. 3044 "showStatusBar": True or False, # Whether to display the browser status bar. 3045 "showScrollBar": True or False, # Whether to display the browser scroll bar. 3046 "showAddressBar": True or False, # Whether to display the browser address bar. 3047 "showMenuBar": True or False, # Whether to display the browser menu bar. 3048 "title": "A String", # Title of popup window. 3049 "showToolBar": True or False, # Whether to display the browser tool bar. 3050 "positionType": "A String", # Popup window position either centered or at specific coordinate. 3051 "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. 3052 "top": 42, # Offset distance from top side of an asset or a window. 3053 "left": 42, # Offset distance from left side of an asset or a window. 3054 }, 3055 "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID 3056 "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. 3057 "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". 3058 "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. 3059 "id": "A String", # ID of this size. This is a read-only, auto-generated field. 3060 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. 3061 }, 3062 }, 3063 "advertiserCustomEventId": "A String", # Unique ID of this event used by DDM Reporting and Data Transfer. This is a read-only field. 3064 "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion. 3065 "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. 3066 "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events. 3067 "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. 3068 "advertiserCustomEventName": "A String", # User-entered name for the event. 3069 }, 3070 "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 3071 "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height. Acceptable values are 0 to 9.99, inclusive. 3072 "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 3073 "type": "A String", # Type of asset to upload. This is a required field. FLASH and IMAGE are no longer supported for new uploads. All image assets should use HTML_IMAGE. 3074 "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed. 3075 }, 3076 "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. 3077 "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. 3078 "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. 3079 "top": 42, # Offset distance from top side of an asset or a window. 3080 "left": 42, # Offset distance from left side of an asset or a window. 3081 }, 3082 "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA. Value must be greater than or equal to 0. 3083 }, 3084 ], 3085 "redirectUrl": "A String", # URL of hosted image or hosted video or another ad tag. For INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. The standard for a VAST (Video Ad Serving Template) ad response allows for a redirect link to another VAST 2.0 or 3.0 call. This is a required field when applicable. Applicable to the following creative types: DISPLAY_REDIRECT, INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT 3086 "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID. 3087 "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. 3088 "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative type: FLASH_INPAGE. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 3089 "clickTags": [ # Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 3090 { # Creative Click Tag. 3091 "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 3092 "name": "A String", # Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative assets, this field must match the value of the creative asset's creativeAssetId.name field. 3093 "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url. 3094 }, 3095 ], 3096 "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 3097 "active": True or False, # Whether the creative is active. Applicable to all creative types. 3098 "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices or in mobile apps for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing creatives may have these compatibilities since new creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types. 3099 # 3100 # Acceptable values are: 3101 # - "APP" 3102 # - "APP_INTERSTITIAL" 3103 # - "IN_STREAM_VIDEO" 3104 # - "DISPLAY" 3105 # - "DISPLAY_INTERSTITIAL" 3106 "A String", 3107 ], 3108 "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. 3109 "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 3110 "A String", 3111 ], 3112 "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". 3113 "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types. 3114 "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types. 3115 "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not. Applicable to all creative types. 3116 "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. 3117 "time": "A String", # Timestamp of the last change in milliseconds since epoch. 3118 }, 3119 "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 3120 "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. 3121 "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID. 3122 "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. 3123 "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE. 3124 "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID and all INSTREAM_VIDEO with dynamicAssetSelection set to false. 3125 "A String", 3126 ], 3127 "creativeAssetSelection": { # Encapsulates the list of rules for asset selection and a default asset in case none of the rules match. Applicable to INSTREAM_VIDEO creatives. # Required if dynamicAssetSelection is true. 3128 "rules": [ # Rules determine which asset will be served to a viewer. Rules will be evaluated in the order in which they are stored in this list. This list must contain at least one rule. Applicable to INSTREAM_VIDEO creatives. 3129 { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. 3130 "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. 3131 "targetingTemplateId": "A String", # A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field. 3132 "name": "A String", # A user-friendly name for this rule. This is a required field. 3133 }, 3134 ], 3135 "defaultAssetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative, and will be served if none of the rules match. This is a required field. 3136 }, 3137 "auto_advance_images": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. 3138 "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 3139 "A String", 3140 ], 3141 "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. 3142 "customHtml": "A String", # User-entered value. 3143 "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. 3144 }, 3145 "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: all INSTREAM_VIDEO and all VPAID. 3146 }</pre> 3147</div> 3148 3149</body></html>