Campaign Manager 360 API . media

Instance Methods

close()

Close httplib2 connections.

upload(profileId, advertiserId, body=None, media_body=None, media_mime_type=None, x__xgafv=None)

Inserts a new creative asset.

Method Details

close()
Close httplib2 connections.
upload(profileId, advertiserId, body=None, media_body=None, media_mime_type=None, x__xgafv=None)
Inserts a new creative asset.

Args:
  profileId: string, User profile ID associated with this request. (required)
  advertiserId: string, Advertiser ID of this creative. This is a required field. (required)
  body: object, The request body.
    The object takes the form of:

{ # CreativeAssets contains properties of a creative asset file which will be uploaded or has already been uploaded. Refer to the creative sample code for how to upload assets and insert a creative.
  "assetIdentifier": { # Creative Asset ID. # ID of the creative asset. This is a required field.
    "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.
  },
  "clickTags": [ # List of detected click tags for assets. This is a read-only, auto-generated field. This field is empty for a rich media asset.
    { # 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.
    },
  ],
  "counterCustomEvents": [ # List of counter events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.
    { # 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.
    },
  ],
  "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.
    "A String",
  ],
  "exitCustomEvents": [ # List of exit events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.
    { # 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.
    },
  ],
  "id": "A String", # Numeric ID of the asset. This is a read-only, auto-generated field.
  "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the numeric 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.
  },
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeAssetMetadata".
  "mediaRequestInfo": { # Extra information added to operations that support Scotty media requests.
    "currentBytes": "A String", # The number of current bytes uploaded or downloaded.
    "customData": "A String", # Data to be copied to backend requests. Custom data is returned to Scotty in the agent_state field, which Scotty will then provide in subsequent upload notifications.
    "diffObjectVersion": "A String", # Set if the http request info is diff encoded. The value of this field is the version number of the base revision. This is corresponding to Apiary's mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/variable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for more information.
    "finalStatus": 42, # The existence of the final_status field indicates that this is the last call to the agent for this request_id. http://google3/uploader/agent/scotty_agent.proto?l=737&rcl=347601929
    "notificationType": "A String", # The type of notification received from Scotty.
    "requestId": "A String", # The Scotty request ID.
    "requestReceivedParamsServingInfo": "A String", # The partition of the Scotty server handling this request. type is uploader_service.RequestReceivedParamsServingInfo LINT.IfChange(request_received_params_serving_info_annotations) LINT.ThenChange()
    "totalBytes": "A String", # The total size of the file.
    "totalBytesIsEstimated": True or False, # Whether the total bytes field contains an estimated data.
  },
  "mediaResponseInfo": { # This message is for backends to pass their scotty media specific fields to ESF. Backend will include this in their response message to ESF. Example: ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse will include apiserving.MediaResponseInfo to tell ESF about data like dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse { optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo media_response_info = 2 }
    "customData": "A String", # Data to copy from backend response to the next backend requests. Custom data is returned to Scotty in the agent_state field, which Scotty will then provide in subsequent upload notifications.
    "dataStorageTransform": "A String", # Specifies any transformation to be applied to data before persisting it or retrieving from storage. E.g., encryption options for blobstore2. This should be of the form uploader_service.DataStorageTransform.
    "dynamicDropTarget": "A String", # Specifies the Scotty Drop Target to use for uploads. If present in a media response, Scotty does not upload to a standard drop zone. Instead, Scotty saves the upload directly to the location specified in this drop target. Unlike drop zones, the drop target is the final storage location for an upload. So, the agent does not need to clone the blob at the end of the upload. The agent is responsible for garbage collecting any orphaned blobs that may occur due to aborted uploads. For more information, see the drop target design doc here: http://goto/ScottyDropTarget This field will be preferred to dynamicDropzone. If provided, the identified field in the response must be of the type uploader.agent.DropTarget.
    "dynamicDropzone": "A String", # Specifies the Scotty dropzone to use for uploads.
    "requestClass": "A String", # Request class to use for all Blobstore operations for this request.
    "scottyAgentUserId": "A String", # Requester ID passed along to be recorded in the Scotty logs
    "scottyCustomerLog": "A String", # Customer-specific data to be recorded in the Scotty logs type is logs_proto_scotty.CustomerLog
    "trafficClassField": "A String", # Specifies the TrafficClass that Scotty should use for any RPCs to fetch the response bytes. Will override the traffic class GTOS of the incoming http request. This is a temporary field to facilitate whitelisting and experimentation by the bigstore agent only. For instance, this does not apply to RTMP reads. WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.
    "verifyHashFromHeader": True or False, # Tells Scotty to verify hashes on the agent's behalf by parsing out the X-Goog-Hash header.
  },
  "richMedia": True or False, # True if the uploaded asset is a rich media asset. This is a read-only, auto-generated field.
  "timerCustomEvents": [ # List of timer events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.
    { # 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.
    },
  ],
  "warnedValidationRules": [ # Rules validated during code generation that generated a warning. This is a read-only, auto-generated field. Possible values are: - "ADMOB_REFERENCED" - "ASSET_FORMAT_UNSUPPORTED_DCM" - "ASSET_INVALID" - "CLICK_TAG_HARD_CODED" - "CLICK_TAG_INVALID" - "CLICK_TAG_IN_GWD" - "CLICK_TAG_MISSING" - "CLICK_TAG_MORE_THAN_ONE" - "CLICK_TAG_NON_TOP_LEVEL" - "COMPONENT_UNSUPPORTED_DCM" - "ENABLER_UNSUPPORTED_METHOD_DCM" - "EXTERNAL_FILE_REFERENCED" - "FILE_DETAIL_EMPTY" - "FILE_TYPE_INVALID" - "GWD_PROPERTIES_INVALID" - "HTML5_FEATURE_UNSUPPORTED" - "LINKED_FILE_NOT_FOUND" - "MAX_FLASH_VERSION_11" - "MRAID_REFERENCED" - "NOT_SSL_COMPLIANT" - "ORPHANED_ASSET" - "PRIMARY_HTML_MISSING" - "SVG_INVALID" - "ZIP_INVALID"
    "A String",
  ],
}

  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # CreativeAssets contains properties of a creative asset file which will be uploaded or has already been uploaded. Refer to the creative sample code for how to upload assets and insert a creative.
  "assetIdentifier": { # Creative Asset ID. # ID of the creative asset. This is a required field.
    "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.
  },
  "clickTags": [ # List of detected click tags for assets. This is a read-only, auto-generated field. This field is empty for a rich media asset.
    { # 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.
    },
  ],
  "counterCustomEvents": [ # List of counter events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.
    { # 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.
    },
  ],
  "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.
    "A String",
  ],
  "exitCustomEvents": [ # List of exit events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.
    { # 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.
    },
  ],
  "id": "A String", # Numeric ID of the asset. This is a read-only, auto-generated field.
  "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the numeric 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.
  },
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeAssetMetadata".
  "mediaRequestInfo": { # Extra information added to operations that support Scotty media requests.
    "currentBytes": "A String", # The number of current bytes uploaded or downloaded.
    "customData": "A String", # Data to be copied to backend requests. Custom data is returned to Scotty in the agent_state field, which Scotty will then provide in subsequent upload notifications.
    "diffObjectVersion": "A String", # Set if the http request info is diff encoded. The value of this field is the version number of the base revision. This is corresponding to Apiary's mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/variable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for more information.
    "finalStatus": 42, # The existence of the final_status field indicates that this is the last call to the agent for this request_id. http://google3/uploader/agent/scotty_agent.proto?l=737&rcl=347601929
    "notificationType": "A String", # The type of notification received from Scotty.
    "requestId": "A String", # The Scotty request ID.
    "requestReceivedParamsServingInfo": "A String", # The partition of the Scotty server handling this request. type is uploader_service.RequestReceivedParamsServingInfo LINT.IfChange(request_received_params_serving_info_annotations) LINT.ThenChange()
    "totalBytes": "A String", # The total size of the file.
    "totalBytesIsEstimated": True or False, # Whether the total bytes field contains an estimated data.
  },
  "mediaResponseInfo": { # This message is for backends to pass their scotty media specific fields to ESF. Backend will include this in their response message to ESF. Example: ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse will include apiserving.MediaResponseInfo to tell ESF about data like dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse { optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo media_response_info = 2 }
    "customData": "A String", # Data to copy from backend response to the next backend requests. Custom data is returned to Scotty in the agent_state field, which Scotty will then provide in subsequent upload notifications.
    "dataStorageTransform": "A String", # Specifies any transformation to be applied to data before persisting it or retrieving from storage. E.g., encryption options for blobstore2. This should be of the form uploader_service.DataStorageTransform.
    "dynamicDropTarget": "A String", # Specifies the Scotty Drop Target to use for uploads. If present in a media response, Scotty does not upload to a standard drop zone. Instead, Scotty saves the upload directly to the location specified in this drop target. Unlike drop zones, the drop target is the final storage location for an upload. So, the agent does not need to clone the blob at the end of the upload. The agent is responsible for garbage collecting any orphaned blobs that may occur due to aborted uploads. For more information, see the drop target design doc here: http://goto/ScottyDropTarget This field will be preferred to dynamicDropzone. If provided, the identified field in the response must be of the type uploader.agent.DropTarget.
    "dynamicDropzone": "A String", # Specifies the Scotty dropzone to use for uploads.
    "requestClass": "A String", # Request class to use for all Blobstore operations for this request.
    "scottyAgentUserId": "A String", # Requester ID passed along to be recorded in the Scotty logs
    "scottyCustomerLog": "A String", # Customer-specific data to be recorded in the Scotty logs type is logs_proto_scotty.CustomerLog
    "trafficClassField": "A String", # Specifies the TrafficClass that Scotty should use for any RPCs to fetch the response bytes. Will override the traffic class GTOS of the incoming http request. This is a temporary field to facilitate whitelisting and experimentation by the bigstore agent only. For instance, this does not apply to RTMP reads. WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.
    "verifyHashFromHeader": True or False, # Tells Scotty to verify hashes on the agent's behalf by parsing out the X-Goog-Hash header.
  },
  "richMedia": True or False, # True if the uploaded asset is a rich media asset. This is a read-only, auto-generated field.
  "timerCustomEvents": [ # List of timer events configured for the asset. This is a read-only, auto-generated field and only applicable to a rich media asset.
    { # 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.
    },
  ],
  "warnedValidationRules": [ # Rules validated during code generation that generated a warning. This is a read-only, auto-generated field. Possible values are: - "ADMOB_REFERENCED" - "ASSET_FORMAT_UNSUPPORTED_DCM" - "ASSET_INVALID" - "CLICK_TAG_HARD_CODED" - "CLICK_TAG_INVALID" - "CLICK_TAG_IN_GWD" - "CLICK_TAG_MISSING" - "CLICK_TAG_MORE_THAN_ONE" - "CLICK_TAG_NON_TOP_LEVEL" - "COMPONENT_UNSUPPORTED_DCM" - "ENABLER_UNSUPPORTED_METHOD_DCM" - "EXTERNAL_FILE_REFERENCED" - "FILE_DETAIL_EMPTY" - "FILE_TYPE_INVALID" - "GWD_PROPERTIES_INVALID" - "HTML5_FEATURE_UNSUPPORTED" - "LINKED_FILE_NOT_FOUND" - "MAX_FLASH_VERSION_11" - "MRAID_REFERENCED" - "NOT_SSL_COMPLIANT" - "ORPHANED_ASSET" - "PRIMARY_HTML_MISSING" - "SVG_INVALID" - "ZIP_INVALID"
    "A String",
  ],
}