class Google::Apis::DfareportingV2_1::CreativeAssetMetadata

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.

Attributes

asset_identifier[RW]

Creative Asset ID. Corresponds to the JSON property `assetIdentifier` @return [Google::Apis::DfareportingV2_1::CreativeAssetId]

click_tags[RW]

List of detected click tags for assets. This is a read-only auto-generated field. Corresponds to the JSON property `clickTags` @return [Array<Google::Apis::DfareportingV2_1::ClickTag>]

detected_features[RW]

List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto- generated field. Corresponds to the JSON property `detectedFeatures` @return [Array<String>]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#creativeAssetMetadata”. Corresponds to the JSON property `kind` @return [String]

warned_validation_rules[RW]

Rules validated during code generation that generated a warning. This is a read-only, auto-generated field. Possible values are:

  • “CLICK_TAG_NON_TOP_LEVEL”

  • “CLICK_TAG_MISSING”

  • “CLICK_TAG_MORE_THAN_ONE”

  • “CLICK_TAG_INVALID”

  • “ORPHANED_ASSET”

  • “PRIMARY_HTML_MISSING”

  • “EXTERNAL_FILE_REFERENCED”

  • “MRAID_REFERENCED”

  • “ADMOB_REFERENCED”

  • “FILE_TYPE_INVALID”

  • “ZIP_INVALID”

  • “LINKED_FILE_NOT_FOUND”

  • “MAX_FLASH_VERSION_11”

  • “NOT_SSL_COMPLIANT”

  • “FILE_DETAIL_EMPTY”

  • “ASSET_INVALID”

  • “GWD_PROPERTIES_INVALID”

  • “ENABLER_UNSUPPORTED_METHOD_DCM”

  • “ASSET_FORMAT_UNSUPPORTED_DCM”

  • “COMPONENT_UNSUPPORTED_DCM”

  • “HTML5_FEATURE_UNSUPPORTED' ”

Corresponds to the JSON property `warnedValidationRules` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 3162
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_1/classes.rb, line 3167
def update!(**args)
  @asset_identifier = args[:asset_identifier] unless args[:asset_identifier].nil?
  @click_tags = args[:click_tags] unless args[:click_tags].nil?
  @detected_features = args[:detected_features] unless args[:detected_features].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @warned_validation_rules = args[:warned_validation_rules] unless args[:warned_validation_rules].nil?
end