Class: Google::Apis::DfareportingV2_1::CreativeAssetMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb

Overview

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreativeAssetMetadata

Returns a new instance of CreativeAssetMetadata



3162
3163
3164
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3162

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#asset_identifierGoogle::Apis::DfareportingV2_1::CreativeAssetId

Creative Asset ID. Corresponds to the JSON property assetIdentifier



3112
3113
3114
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3112

def asset_identifier
  @asset_identifier
end

#click_tagsArray<Google::Apis::DfareportingV2_1::ClickTag>

List of detected click tags for assets. This is a read-only auto-generated field. Corresponds to the JSON property clickTags



3118
3119
3120
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3118

def click_tags
  @click_tags
end

#detected_featuresArray<String>

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

Returns:

  • (Array<String>)


3126
3127
3128
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3126

def detected_features
  @detected_features
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#creativeAssetMetadata". Corresponds to the JSON property kind

Returns:

  • (String)


3132
3133
3134
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3132

def kind
  @kind
end

#warned_validation_rulesArray<String>

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

Returns:

  • (Array<String>)


3160
3161
3162
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3160

def warned_validation_rules
  @warned_validation_rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3167
3168
3169
3170
3171
3172
3173
# 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