class Google::Apis::DfareportingV3_4::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::DfareportingV3_4::CreativeAssetId]

click_tags[RW]

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

counter_custom_events[RW]

List of counter events configured for the asset. This is a read-only, auto- generated field and only applicable to a rich media asset. Corresponds to the JSON property `counterCustomEvents` @return [Array<Google::Apis::DfareportingV3_4::CreativeCustomEvent>]

detected_features[RW]

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. Corresponds to the JSON property `detectedFeatures` @return [Array<String>]

exit_custom_events[RW]

List of exit events configured for the asset. This is a read-only, auto- generated field and only applicable to a rich media asset. Corresponds to the JSON property `exitCustomEvents` @return [Array<Google::Apis::DfareportingV3_4::CreativeCustomEvent>]

id[RW]

Numeric ID of the asset. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [Fixnum]

id_dimension_value[RW]

Represents a DimensionValue resource. Corresponds to the JSON property `idDimensionValue` @return [Google::Apis::DfareportingV3_4::DimensionValue]

kind[RW]

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

rich_media[RW]

True if the uploaded asset is a rich media asset. This is a read-only, auto- generated field. Corresponds to the JSON property `richMedia` @return [Boolean]

rich_media?[RW]

True if the uploaded asset is a rich media asset. This is a read-only, auto- generated field. Corresponds to the JSON property `richMedia` @return [Boolean]

timer_custom_events[RW]

List of timer events configured for the asset. This is a read-only, auto- generated field and only applicable to a rich media asset. Corresponds to the JSON property `timerCustomEvents` @return [Array<Google::Apis::DfareportingV3_4::CreativeCustomEvent>]

warned_validation_rules[RW]

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“ Corresponds to the JSON property `warnedValidationRules` @return [Array<String>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_4/classes.rb, line 3909
def update!(**args)
  @asset_identifier = args[:asset_identifier] if args.key?(:asset_identifier)
  @click_tags = args[:click_tags] if args.key?(:click_tags)
  @counter_custom_events = args[:counter_custom_events] if args.key?(:counter_custom_events)
  @detected_features = args[:detected_features] if args.key?(:detected_features)
  @exit_custom_events = args[:exit_custom_events] if args.key?(:exit_custom_events)
  @id = args[:id] if args.key?(:id)
  @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value)
  @kind = args[:kind] if args.key?(:kind)
  @rich_media = args[:rich_media] if args.key?(:rich_media)
  @timer_custom_events = args[:timer_custom_events] if args.key?(:timer_custom_events)
  @warned_validation_rules = args[:warned_validation_rules] if args.key?(:warned_validation_rules)
end