Close httplib2 connections.
get(profileId, id, x__xgafv=None)
Gets one creative by ID.
insert(profileId, body=None, x__xgafv=None)
Inserts a new creative.
Retrieves a list of creatives, possibly filtered. This method supports paging.
list_next(previous_request, previous_response)
Retrieves the next page of results.
patch(profileId, id, body=None, x__xgafv=None)
Updates an existing creative. This method supports patch semantics.
update(profileId, body=None, x__xgafv=None)
Updates an existing creative.
close()
Close httplib2 connections.
get(profileId, id, x__xgafv=None)
Gets one creative by ID. Args: profileId: string, User profile ID associated with this request. (required) id: string, Creative ID. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Contains properties of a Creative. "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. "active": True or False, # Whether the creative is active. Applicable to all creative types. "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "A String", ], "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. "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. "archived": True or False, # Whether the creative is archived. Applicable to all creative types. "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. "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "autoAdvanceImages": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. "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. "backupImageClickThroughUrl": { # Click-through URL # Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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 Campaign Manager 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. "A String", ], "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. "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. "customHtml": "A String", # User-entered value. "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. }, "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. { # Creative Click Tag. "clickThroughUrl": { # Click-through URL # Parameter value for the specified click tag. This field contains a click-through url. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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. "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. }, ], "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives. "companionCreatives": [ # List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false. "A String", ], "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. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - "APP" - "APP_INTERSTITIAL" - "IN_STREAM_VIDEO" - "IN_STREAM_AUDIO" - "DISPLAY" - "DISPLAY_INTERSTITIAL" "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "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. "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. { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. "name": "A String", # A user-friendly name for this rule. This is a required field. "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. }, ], }, "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT { # Creative Asset. "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. "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "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 . "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. }, "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "A String", ], "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. "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. 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. "A String", ], "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "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. "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "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. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. "politeLoad": True or False, # Whether this asset is used as a polite load asset. "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. "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. "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. 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. 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. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. 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. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. "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. "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. "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. "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. "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. "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. }, ], "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. { # Creative Field Assignment. "creativeFieldId": "A String", # ID of the creative field. "creativeFieldValueId": "A String", # ID of the creative field value. }, ], "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. "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "positionOption": "A String", # Position in the browser where the window will open. "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "windowHeight": 42, # Height of the window. "windowWidth": 42, # Width of the window. }, "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. "htmlCodeLocked": True or False, # Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. "time": "A String", # Timestamp of the last change in milliseconds since epoch. }, "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. "mediaDescription": "A String", # Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID. "mediaDuration": 3.14, # Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID. "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. "obaIcon": { # Online Behavioral Advertiser icon. # Online behavioral advertising icon to be added to the creative. Applicable to the following creative types: all INSTREAM_VIDEO. "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked. "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked. "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked. "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices. "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right. "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom. }, "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. "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. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "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. "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by 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. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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. "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. "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. "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. "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. "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. "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. "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyUrls": [ # Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID. { # Third-party Tracking URL. "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video and in-stream audio creatives. "url": "A String", # URL for the specified third-party URL type. }, ], "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. "universalAdId": { # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID. # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID. "registry": "A String", # Registry used for the Ad ID value. "value": "A String", # ID value for this creative. Only alphanumeric characters and the following symbols are valid: "_/\-". Maximum length is 64 characters. Read only when registry is DCM. }, "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. }
insert(profileId, body=None, x__xgafv=None)
Inserts a new creative. Args: profileId: string, User profile ID associated with this request. (required) body: object, The request body. The object takes the form of: { # Contains properties of a Creative. "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. "active": True or False, # Whether the creative is active. Applicable to all creative types. "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "A String", ], "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. "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. "archived": True or False, # Whether the creative is archived. Applicable to all creative types. "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. "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "autoAdvanceImages": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. "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. "backupImageClickThroughUrl": { # Click-through URL # Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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 Campaign Manager 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. "A String", ], "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. "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. "customHtml": "A String", # User-entered value. "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. }, "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. { # Creative Click Tag. "clickThroughUrl": { # Click-through URL # Parameter value for the specified click tag. This field contains a click-through url. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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. "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. }, ], "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives. "companionCreatives": [ # List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false. "A String", ], "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. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - "APP" - "APP_INTERSTITIAL" - "IN_STREAM_VIDEO" - "IN_STREAM_AUDIO" - "DISPLAY" - "DISPLAY_INTERSTITIAL" "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "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. "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. { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. "name": "A String", # A user-friendly name for this rule. This is a required field. "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. }, ], }, "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT { # Creative Asset. "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. "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "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 . "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. }, "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "A String", ], "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. "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. 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. "A String", ], "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "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. "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "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. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. "politeLoad": True or False, # Whether this asset is used as a polite load asset. "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. "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. "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. 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. 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. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. 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. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. "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. "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. "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. "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. "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. "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. }, ], "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. { # Creative Field Assignment. "creativeFieldId": "A String", # ID of the creative field. "creativeFieldValueId": "A String", # ID of the creative field value. }, ], "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. "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "positionOption": "A String", # Position in the browser where the window will open. "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "windowHeight": 42, # Height of the window. "windowWidth": 42, # Width of the window. }, "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. "htmlCodeLocked": True or False, # Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. "time": "A String", # Timestamp of the last change in milliseconds since epoch. }, "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. "mediaDescription": "A String", # Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID. "mediaDuration": 3.14, # Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID. "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. "obaIcon": { # Online Behavioral Advertiser icon. # Online behavioral advertising icon to be added to the creative. Applicable to the following creative types: all INSTREAM_VIDEO. "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked. "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked. "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked. "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices. "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right. "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom. }, "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. "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. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "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. "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by 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. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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. "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. "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. "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. "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. "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. "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. "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyUrls": [ # Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID. { # Third-party Tracking URL. "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video and in-stream audio creatives. "url": "A String", # URL for the specified third-party URL type. }, ], "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. "universalAdId": { # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID. # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID. "registry": "A String", # Registry used for the Ad ID value. "value": "A String", # ID value for this creative. Only alphanumeric characters and the following symbols are valid: "_/\-". Maximum length is 64 characters. Read only when registry is DCM. }, "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. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Contains properties of a Creative. "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. "active": True or False, # Whether the creative is active. Applicable to all creative types. "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "A String", ], "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. "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. "archived": True or False, # Whether the creative is archived. Applicable to all creative types. "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. "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "autoAdvanceImages": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. "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. "backupImageClickThroughUrl": { # Click-through URL # Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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 Campaign Manager 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. "A String", ], "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. "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. "customHtml": "A String", # User-entered value. "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. }, "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. { # Creative Click Tag. "clickThroughUrl": { # Click-through URL # Parameter value for the specified click tag. This field contains a click-through url. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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. "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. }, ], "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives. "companionCreatives": [ # List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false. "A String", ], "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. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - "APP" - "APP_INTERSTITIAL" - "IN_STREAM_VIDEO" - "IN_STREAM_AUDIO" - "DISPLAY" - "DISPLAY_INTERSTITIAL" "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "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. "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. { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. "name": "A String", # A user-friendly name for this rule. This is a required field. "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. }, ], }, "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT { # Creative Asset. "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. "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "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 . "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. }, "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "A String", ], "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. "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. 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. "A String", ], "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "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. "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "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. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. "politeLoad": True or False, # Whether this asset is used as a polite load asset. "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. "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. "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. 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. 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. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. 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. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. "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. "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. "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. "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. "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. "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. }, ], "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. { # Creative Field Assignment. "creativeFieldId": "A String", # ID of the creative field. "creativeFieldValueId": "A String", # ID of the creative field value. }, ], "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. "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "positionOption": "A String", # Position in the browser where the window will open. "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "windowHeight": 42, # Height of the window. "windowWidth": 42, # Width of the window. }, "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. "htmlCodeLocked": True or False, # Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. "time": "A String", # Timestamp of the last change in milliseconds since epoch. }, "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. "mediaDescription": "A String", # Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID. "mediaDuration": 3.14, # Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID. "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. "obaIcon": { # Online Behavioral Advertiser icon. # Online behavioral advertising icon to be added to the creative. Applicable to the following creative types: all INSTREAM_VIDEO. "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked. "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked. "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked. "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices. "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right. "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom. }, "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. "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. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "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. "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by 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. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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. "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. "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. "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. "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. "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. "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. "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyUrls": [ # Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID. { # Third-party Tracking URL. "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video and in-stream audio creatives. "url": "A String", # URL for the specified third-party URL type. }, ], "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. "universalAdId": { # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID. # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID. "registry": "A String", # Registry used for the Ad ID value. "value": "A String", # ID value for this creative. Only alphanumeric characters and the following symbols are valid: "_/\-". Maximum length is 64 characters. Read only when registry is DCM. }, "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. }
list(profileId, active=None, advertiserId=None, archived=None, campaignId=None, companionCreativeIds=None, creativeFieldIds=None, ids=None, maxResults=None, pageToken=None, renderingIds=None, searchString=None, sizeIds=None, sortField=None, sortOrder=None, studioCreativeId=None, types=None, x__xgafv=None)
Retrieves a list of creatives, possibly filtered. This method supports paging. Args: profileId: string, User profile ID associated with this request. (required) active: boolean, Select only active creatives. Leave blank to select active and inactive creatives. advertiserId: string, Select only creatives with this advertiser ID. archived: boolean, Select only archived creatives. Leave blank to select archived and unarchived creatives. campaignId: string, Select only creatives with this campaign ID. companionCreativeIds: string, Select only in-stream video creatives with these companion IDs. (repeated) creativeFieldIds: string, Select only creatives with these creative field IDs. (repeated) ids: string, Select only creatives with these IDs. (repeated) maxResults: integer, Maximum number of results to return. pageToken: string, Value of the nextPageToken from the previous result page. renderingIds: string, Select only creatives with these rendering IDs. (repeated) 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". sizeIds: string, Select only creatives with these size IDs. (repeated) sortField: string, Field by which to sort the list. Allowed values ID - NAME - sortOrder: string, Order of sorted results. Allowed values ASCENDING - DESCENDING - studioCreativeId: string, Select only creatives corresponding to this Studio creative ID. types: string, Select only creatives with these creative types. (repeated) Allowed values IMAGE - DISPLAY_REDIRECT - CUSTOM_DISPLAY - INTERNAL_REDIRECT - CUSTOM_DISPLAY_INTERSTITIAL - INTERSTITIAL_INTERNAL_REDIRECT - TRACKING_TEXT - RICH_MEDIA_DISPLAY_BANNER - RICH_MEDIA_INPAGE_FLOATING - RICH_MEDIA_IM_EXPAND - RICH_MEDIA_DISPLAY_EXPANDING - RICH_MEDIA_DISPLAY_INTERSTITIAL - RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL - RICH_MEDIA_MOBILE_IN_APP - FLASH_INPAGE - INSTREAM_VIDEO - VPAID_LINEAR_VIDEO - VPAID_NON_LINEAR_VIDEO - INSTREAM_VIDEO_REDIRECT - RICH_MEDIA_PEEL_DOWN - HTML5_BANNER - DISPLAY - DISPLAY_IMAGE_GALLERY - BRAND_SAFE_DEFAULT_INSTREAM_VIDEO - INSTREAM_AUDIO - x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Creative List Response "creatives": [ # Creative collection. { # Contains properties of a Creative. "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. "active": True or False, # Whether the creative is active. Applicable to all creative types. "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "A String", ], "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. "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. "archived": True or False, # Whether the creative is archived. Applicable to all creative types. "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. "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "autoAdvanceImages": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. "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. "backupImageClickThroughUrl": { # Click-through URL # Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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 Campaign Manager 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. "A String", ], "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. "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. "customHtml": "A String", # User-entered value. "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. }, "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. { # Creative Click Tag. "clickThroughUrl": { # Click-through URL # Parameter value for the specified click tag. This field contains a click-through url. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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. "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. }, ], "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives. "companionCreatives": [ # List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false. "A String", ], "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. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - "APP" - "APP_INTERSTITIAL" - "IN_STREAM_VIDEO" - "IN_STREAM_AUDIO" - "DISPLAY" - "DISPLAY_INTERSTITIAL" "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "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. "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. { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. "name": "A String", # A user-friendly name for this rule. This is a required field. "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. }, ], }, "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT { # Creative Asset. "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. "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "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 . "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. }, "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "A String", ], "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. "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. 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. "A String", ], "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "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. "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "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. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. "politeLoad": True or False, # Whether this asset is used as a polite load asset. "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. "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. "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. 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. 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. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. 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. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. "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. "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. "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. "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. "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. "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. }, ], "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. { # Creative Field Assignment. "creativeFieldId": "A String", # ID of the creative field. "creativeFieldValueId": "A String", # ID of the creative field value. }, ], "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. "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "positionOption": "A String", # Position in the browser where the window will open. "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "windowHeight": 42, # Height of the window. "windowWidth": 42, # Width of the window. }, "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. "htmlCodeLocked": True or False, # Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. "time": "A String", # Timestamp of the last change in milliseconds since epoch. }, "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. "mediaDescription": "A String", # Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID. "mediaDuration": 3.14, # Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID. "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. "obaIcon": { # Online Behavioral Advertiser icon. # Online behavioral advertising icon to be added to the creative. Applicable to the following creative types: all INSTREAM_VIDEO. "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked. "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked. "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked. "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices. "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right. "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom. }, "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. "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. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "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. "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by 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. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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. "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. "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. "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. "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. "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. "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. "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyUrls": [ # Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID. { # Third-party Tracking URL. "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video and in-stream audio creatives. "url": "A String", # URL for the specified third-party URL type. }, ], "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. "universalAdId": { # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID. # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID. "registry": "A String", # Registry used for the Ad ID value. "value": "A String", # ID value for this creative. Only alphanumeric characters and the following symbols are valid: "_/\-". Maximum length is 64 characters. Read only when registry is DCM. }, "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. }, ], "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativesListResponse". "nextPageToken": "A String", # Pagination token to be used for the next list operation. }
list_next(previous_request, previous_response)
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
patch(profileId, id, body=None, x__xgafv=None)
Updates an existing creative. This method supports patch semantics. Args: profileId: string, User profile ID associated with this request. (required) id: string, Creative ID. (required) body: object, The request body. The object takes the form of: { # Contains properties of a Creative. "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. "active": True or False, # Whether the creative is active. Applicable to all creative types. "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "A String", ], "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. "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. "archived": True or False, # Whether the creative is archived. Applicable to all creative types. "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. "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "autoAdvanceImages": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. "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. "backupImageClickThroughUrl": { # Click-through URL # Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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 Campaign Manager 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. "A String", ], "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. "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. "customHtml": "A String", # User-entered value. "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. }, "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. { # Creative Click Tag. "clickThroughUrl": { # Click-through URL # Parameter value for the specified click tag. This field contains a click-through url. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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. "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. }, ], "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives. "companionCreatives": [ # List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false. "A String", ], "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. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - "APP" - "APP_INTERSTITIAL" - "IN_STREAM_VIDEO" - "IN_STREAM_AUDIO" - "DISPLAY" - "DISPLAY_INTERSTITIAL" "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "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. "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. { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. "name": "A String", # A user-friendly name for this rule. This is a required field. "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. }, ], }, "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT { # Creative Asset. "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. "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "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 . "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. }, "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "A String", ], "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. "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. 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. "A String", ], "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "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. "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "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. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. "politeLoad": True or False, # Whether this asset is used as a polite load asset. "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. "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. "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. 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. 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. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. 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. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. "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. "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. "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. "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. "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. "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. }, ], "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. { # Creative Field Assignment. "creativeFieldId": "A String", # ID of the creative field. "creativeFieldValueId": "A String", # ID of the creative field value. }, ], "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. "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "positionOption": "A String", # Position in the browser where the window will open. "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "windowHeight": 42, # Height of the window. "windowWidth": 42, # Width of the window. }, "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. "htmlCodeLocked": True or False, # Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. "time": "A String", # Timestamp of the last change in milliseconds since epoch. }, "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. "mediaDescription": "A String", # Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID. "mediaDuration": 3.14, # Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID. "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. "obaIcon": { # Online Behavioral Advertiser icon. # Online behavioral advertising icon to be added to the creative. Applicable to the following creative types: all INSTREAM_VIDEO. "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked. "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked. "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked. "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices. "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right. "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom. }, "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. "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. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "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. "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by 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. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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. "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. "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. "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. "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. "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. "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. "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyUrls": [ # Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID. { # Third-party Tracking URL. "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video and in-stream audio creatives. "url": "A String", # URL for the specified third-party URL type. }, ], "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. "universalAdId": { # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID. # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID. "registry": "A String", # Registry used for the Ad ID value. "value": "A String", # ID value for this creative. Only alphanumeric characters and the following symbols are valid: "_/\-". Maximum length is 64 characters. Read only when registry is DCM. }, "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. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Contains properties of a Creative. "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. "active": True or False, # Whether the creative is active. Applicable to all creative types. "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "A String", ], "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. "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. "archived": True or False, # Whether the creative is archived. Applicable to all creative types. "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. "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "autoAdvanceImages": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. "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. "backupImageClickThroughUrl": { # Click-through URL # Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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 Campaign Manager 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. "A String", ], "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. "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. "customHtml": "A String", # User-entered value. "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. }, "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. { # Creative Click Tag. "clickThroughUrl": { # Click-through URL # Parameter value for the specified click tag. This field contains a click-through url. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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. "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. }, ], "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives. "companionCreatives": [ # List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false. "A String", ], "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. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - "APP" - "APP_INTERSTITIAL" - "IN_STREAM_VIDEO" - "IN_STREAM_AUDIO" - "DISPLAY" - "DISPLAY_INTERSTITIAL" "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "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. "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. { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. "name": "A String", # A user-friendly name for this rule. This is a required field. "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. }, ], }, "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT { # Creative Asset. "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. "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "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 . "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. }, "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "A String", ], "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. "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. 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. "A String", ], "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "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. "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "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. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. "politeLoad": True or False, # Whether this asset is used as a polite load asset. "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. "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. "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. 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. 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. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. 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. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. "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. "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. "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. "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. "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. "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. }, ], "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. { # Creative Field Assignment. "creativeFieldId": "A String", # ID of the creative field. "creativeFieldValueId": "A String", # ID of the creative field value. }, ], "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. "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "positionOption": "A String", # Position in the browser where the window will open. "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "windowHeight": 42, # Height of the window. "windowWidth": 42, # Width of the window. }, "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. "htmlCodeLocked": True or False, # Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. "time": "A String", # Timestamp of the last change in milliseconds since epoch. }, "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. "mediaDescription": "A String", # Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID. "mediaDuration": 3.14, # Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID. "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. "obaIcon": { # Online Behavioral Advertiser icon. # Online behavioral advertising icon to be added to the creative. Applicable to the following creative types: all INSTREAM_VIDEO. "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked. "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked. "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked. "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices. "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right. "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom. }, "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. "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. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "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. "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by 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. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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. "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. "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. "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. "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. "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. "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. "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyUrls": [ # Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID. { # Third-party Tracking URL. "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video and in-stream audio creatives. "url": "A String", # URL for the specified third-party URL type. }, ], "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. "universalAdId": { # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID. # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID. "registry": "A String", # Registry used for the Ad ID value. "value": "A String", # ID value for this creative. Only alphanumeric characters and the following symbols are valid: "_/\-". Maximum length is 64 characters. Read only when registry is DCM. }, "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. }
update(profileId, body=None, x__xgafv=None)
Updates an existing creative. Args: profileId: string, User profile ID associated with this request. (required) body: object, The request body. The object takes the form of: { # Contains properties of a Creative. "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. "active": True or False, # Whether the creative is active. Applicable to all creative types. "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "A String", ], "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. "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. "archived": True or False, # Whether the creative is archived. Applicable to all creative types. "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. "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "autoAdvanceImages": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. "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. "backupImageClickThroughUrl": { # Click-through URL # Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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 Campaign Manager 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. "A String", ], "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. "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. "customHtml": "A String", # User-entered value. "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. }, "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. { # Creative Click Tag. "clickThroughUrl": { # Click-through URL # Parameter value for the specified click tag. This field contains a click-through url. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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. "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. }, ], "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives. "companionCreatives": [ # List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false. "A String", ], "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. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - "APP" - "APP_INTERSTITIAL" - "IN_STREAM_VIDEO" - "IN_STREAM_AUDIO" - "DISPLAY" - "DISPLAY_INTERSTITIAL" "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "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. "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. { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. "name": "A String", # A user-friendly name for this rule. This is a required field. "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. }, ], }, "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT { # Creative Asset. "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. "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "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 . "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. }, "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "A String", ], "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. "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. 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. "A String", ], "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "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. "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "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. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. "politeLoad": True or False, # Whether this asset is used as a polite load asset. "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. "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. "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. 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. 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. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. 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. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. "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. "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. "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. "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. "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. "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. }, ], "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. { # Creative Field Assignment. "creativeFieldId": "A String", # ID of the creative field. "creativeFieldValueId": "A String", # ID of the creative field value. }, ], "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. "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "positionOption": "A String", # Position in the browser where the window will open. "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "windowHeight": 42, # Height of the window. "windowWidth": 42, # Width of the window. }, "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. "htmlCodeLocked": True or False, # Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. "time": "A String", # Timestamp of the last change in milliseconds since epoch. }, "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. "mediaDescription": "A String", # Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID. "mediaDuration": 3.14, # Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID. "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. "obaIcon": { # Online Behavioral Advertiser icon. # Online behavioral advertising icon to be added to the creative. Applicable to the following creative types: all INSTREAM_VIDEO. "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked. "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked. "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked. "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices. "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right. "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom. }, "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. "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. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "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. "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by 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. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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. "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. "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. "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. "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. "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. "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. "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyUrls": [ # Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID. { # Third-party Tracking URL. "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video and in-stream audio creatives. "url": "A String", # URL for the specified third-party URL type. }, ], "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. "universalAdId": { # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID. # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID. "registry": "A String", # Registry used for the Ad ID value. "value": "A String", # ID value for this creative. Only alphanumeric characters and the following symbols are valid: "_/\-". Maximum length is 64 characters. Read only when registry is DCM. }, "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. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Contains properties of a Creative. "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. "active": True or False, # Whether the creative is active. Applicable to all creative types. "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "A String", ], "additionalSizes": [ # Additional sizes associated with a responsive creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. Applicable to DISPLAY creatives when the primary asset type is HTML_IMAGE. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types. "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. "archived": True or False, # Whether the creative is archived. Applicable to all creative types. "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. "authoringSource": "A String", # Source application where creative was authored. Presently, only DBM authored creatives will have this field set. Applicable to all creative types. "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "autoAdvanceImages": True or False, # Whether images are automatically advanced for image gallery creatives. Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. "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. "backupImageClickThroughUrl": { # Click-through URL # Click-through URL for backup image. Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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 Campaign Manager 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. "A String", ], "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. "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. "customHtml": "A String", # User-entered value. "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed. }, "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. { # Creative Click Tag. "clickThroughUrl": { # Click-through URL # Parameter value for the specified click tag. This field contains a click-through url. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "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. "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. }, ], "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to INSTREAM_VIDEO_REDIRECT creatives. "companionCreatives": [ # List of companion creatives assigned to an in-Stream video creative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: all VPAID, all INSTREAM_AUDIO and all INSTREAM_VIDEO with dynamicAssetSelection set to false. "A String", ], "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. IN_STREAM_AUDIO refers to rendering in in-stream audio ads developed with the VAST standard. Applicable to all creative types. Acceptable values are: - "APP" - "APP_INTERSTITIAL" - "IN_STREAM_VIDEO" - "IN_STREAM_AUDIO" - "DISPLAY" - "DISPLAY_INTERSTITIAL" "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "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. "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. { # A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives. "assetId": "A String", # A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field. "name": "A String", # A user-friendly name for this rule. This is a required field. "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. }, ], }, "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT { # Creative Asset. "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. "active": True or False, # Whether the video or audio asset is active. This is a read-only field for VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "additionalSizes": [ # Additional sizes associated with this creative asset. HTML5 asset generated by compatible software such as GWD will be able to support more sizes this creative asset can render. { # Represents the dimensions of ads, placements, creatives, or creative assets. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, ], "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 . "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. }, "audioBitRate": 42, # Audio stream bit rate in kbps. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "audioSampleRate": 42, # Audio sample bit rate in hertz. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, "bitRate": 42, # Detected bit-rate for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "A String", ], "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. "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by Campaign Manager. 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. "A String", ], "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. Value must be greater than or equal to 1. "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "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. "frameRate": 3.14, # Video frame rate for video asset in frames per second. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID. "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the asset. This is a read-only, auto-generated field. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "mediaDuration": 3.14, # Detected duration for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "mimeType": "A String", # Detected MIME type for audio or video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and all VPAID. "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. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "orientation": "A String", # Orientation of video asset. This is a read-only, auto-generated field. "originalBackup": True or False, # Whether the backup asset is original or changed by the user in Campaign Manager. Applicable to the following creative types: all RICH_MEDIA. "politeLoad": True or False, # Whether this asset is used as a polite load asset. "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA. "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. "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. "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. "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. "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. 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. 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. ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. OTHER refers to assets from sources other than Campaign Manager, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives. PARENT_VIDEO refers to videos uploaded by the user in Campaign Manager and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. TRANSCODED_VIDEO refers to videos transcoded by Campaign Manager from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. ALTERNATE_VIDEO refers to the Campaign Manager representation of child asset videos from Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be added or removed within Campaign Manager. 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. PARENT_AUDIO refers to audios uploaded by the user in Campaign Manager and is applicable to INSTREAM_AUDIO creatives. TRANSCODED_AUDIO refers to audios transcoded by Campaign Manager from PARENT_AUDIO assets and is applicable to INSTREAM_AUDIO creatives. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "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. "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA. "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. "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets. "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. "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. "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. "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER. }, ], "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types. { # Creative Field Assignment. "creativeFieldId": "A String", # ID of the creative field. "creativeFieldValueId": "A String", # ID of the creative field value. }, ], "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. "A String", ], "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. "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "positionOption": "A String", # Position in the browser where the window will open. "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER. "windowHeight": 42, # Height of the window. "windowWidth": 42, # Width of the window. }, "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is true. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. "htmlCodeLocked": True or False, # Whether HTML code is generated by Campaign Manager or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER. "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types. "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative". "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types. "time": "A String", # Timestamp of the last change in milliseconds since epoch. }, "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. "mediaDescription": "A String", # Description of the audio or video ad. Applicable to the following creative types: all INSTREAM_VIDEO, INSTREAM_AUDIO, and all VPAID. "mediaDuration": 3.14, # Creative audio or video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, INSTREAM_AUDIO, all RICH_MEDIA, and all VPAID. "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. "obaIcon": { # Online Behavioral Advertiser icon. # Online behavioral advertising icon to be added to the creative. Applicable to the following creative types: all INSTREAM_VIDEO. "iconClickThroughUrl": "A String", # URL to redirect to when an OBA icon is clicked. "iconClickTrackingUrl": "A String", # URL to track click when an OBA icon is clicked. "iconViewTrackingUrl": "A String", # URL to track view when an OBA icon is clicked. "program": "A String", # Identifies the industry initiative that the icon supports. For example, AdChoices. "resourceUrl": "A String", # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "xPosition": "A String", # OBA icon x coordinate position. Accepted values are left or right. "yPosition": "A String", # OBA icon y coordinate position. Accepted values are top or bottom. }, "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA. "progressOffset": { # Video Offset # Amount of time to play the video before counting a view. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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 "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types. "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. "dimensionName": "A String", # The name of the dimension. "etag": "A String", # The eTag of this response for caching purposes. "id": "A String", # The ID associated with the value if available. "kind": "A String", # The kind of resource this is, in this case dfareporting#dimensionValue. "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. "value": "A String", # The value of the dimension. }, "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. "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by 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. "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. "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "skipOffset": { # Video Offset # Amount of time to play the video before the skip button appears. Applicable to the following creative types: all INSTREAM_VIDEO. "offsetPercentage": 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive. "offsetSeconds": 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive. }, "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. "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types. "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. "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. "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. "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. "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. "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA. "thirdPartyUrls": [ # Third-party URLs for tracking in-stream creative events. Applicable to the following creative types: all INSTREAM_VIDEO, all INSTREAM_AUDIO, and all VPAID. { # Third-party Tracking URL. "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video and in-stream audio creatives. "url": "A String", # URL for the specified third-party URL type. }, ], "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. { # Creative Custom Event. "advertiserCustomEventId": "A String", # Unique ID of this event used by Reporting and Data Transfer. This is a read-only field. "advertiserCustomEventName": "A String", # User-entered name for the event. "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field. "artworkLabel": "A String", # Artwork label column, used to link events in Campaign Manager back to events in Studio. This is a required field and should not be modified after insertion. "artworkType": "A String", # Artwork type used by the creative.This is a read-only field. "exitClickThroughUrl": { # Click-through URL # Exit click-through URL for the event. This field is used only for exit events. "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows: - If landingPageId is specified then that landing page's URL is assigned to this field. - Otherwise, the customClickThroughUrl is assigned to this field. "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the landingPageId field is left unset. "landingPageId": "A String", # ID of the landing page for the click-through URL. }, "id": "A String", # ID of this event. This is a required field and should not be modified after insertion. "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events. "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 "height": 42, # Height of this size. Acceptable values are 0 to 32767, inclusive. "iab": True or False, # IAB standard size. This is a read-only, auto-generated field. "id": "A String", # ID of this size. This is a read-only, auto-generated field. "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size". "width": 42, # Width of this size. Acceptable values are 0 to 32767, inclusive. }, "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES. "left": 42, # Offset distance from left side of an asset or a window. "top": 42, # Offset distance from top side of an asset or a window. }, "positionType": "A String", # Popup window position either centered or at specific coordinate. "showAddressBar": True or False, # Whether to display the browser address bar. "showMenuBar": True or False, # Whether to display the browser menu bar. "showScrollBar": True or False, # Whether to display the browser scroll bar. "showStatusBar": True or False, # Whether to display the browser status bar. "showToolBar": True or False, # Whether to display the browser tool bar. "title": "A String", # Title of popup window. }, "targetType": "A String", # Target type used by the event. "videoReportingId": "A String", # Video reporting ID, used to differentiate multiple videos in a single creative. This is a read-only field. }, ], "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. "type": "A String", # Type of this creative. This is a required field. Applicable to all creative types. *Note:* FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing creatives. New creatives should use DISPLAY as a replacement for these types. "universalAdId": { # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID. # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following creative types: INSTREAM_AUDIO and INSTREAM_VIDEO and VPAID. "registry": "A String", # Registry used for the Ad ID value. "value": "A String", # ID value for this creative. Only alphanumeric characters and the following symbols are valid: "_/\-". Maximum length is 64 characters. Read only when registry is DCM. }, "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. }