Class: Google::Apis::DfareportingV2_8::CreativeAssetMetadata
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DfareportingV2_8::CreativeAssetMetadata
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dfareporting_v2_8/classes.rb,
generated/google/apis/dfareporting_v2_8/representations.rb,
generated/google/apis/dfareporting_v2_8/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
- 
  
    
      #asset_identifier  ⇒ Google::Apis::DfareportingV2_8::CreativeAssetId 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Creative Asset ID.
 - 
  
    
      #click_tags  ⇒ Array<Google::Apis::DfareportingV2_8::ClickTag> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
List of detected click tags for assets.
 - 
  
    
      #detected_features  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
List of feature dependencies for the creative asset that are detected by Campaign Manager.
 - 
  
    
      #id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Numeric ID of the asset.
 - 
  
    
      #id_dimension_value  ⇒ Google::Apis::DfareportingV2_8::DimensionValue 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Represents a DimensionValue resource.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Identifies what kind of resource this is.
 - 
  
    
      #warned_validation_rules  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Rules validated during code generation that generated a warning.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CreativeAssetMetadata 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CreativeAssetMetadata.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativeAssetMetadata
Returns a new instance of CreativeAssetMetadata
      3714 3715 3716  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3714 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#asset_identifier ⇒ Google::Apis::DfareportingV2_8::CreativeAssetId
Creative Asset ID.
Corresponds to the JSON property assetIdentifier
      3651 3652 3653  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3651 def asset_identifier @asset_identifier end  | 
  
#click_tags ⇒ Array<Google::Apis::DfareportingV2_8::ClickTag>
List of detected click tags for assets. This is a read-only auto-generated
field.
Corresponds to the JSON property clickTags
      3657 3658 3659  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3657 def @click_tags end  | 
  
#detected_features ⇒ Array<String>
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
      3665 3666 3667  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3665 def detected_features @detected_features end  | 
  
#id ⇒ Fixnum
Numeric ID of the asset. This is a read-only, auto-generated field.
Corresponds to the JSON property id
      3670 3671 3672  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3670 def id @id end  | 
  
#id_dimension_value ⇒ Google::Apis::DfareportingV2_8::DimensionValue
Represents a DimensionValue resource.
Corresponds to the JSON property idDimensionValue
      3675 3676 3677  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3675 def id_dimension_value @id_dimension_value end  | 
  
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#creativeAssetMetadata".
Corresponds to the JSON property kind
      3681 3682 3683  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3681 def kind @kind end  | 
  
#warned_validation_rules ⇒ Array<String>
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 
      3712 3713 3714  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3712 def warned_validation_rules @warned_validation_rules end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3719 3720 3721 3722 3723 3724 3725 3726 3727  | 
    
      # File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 3719 def update!(**args) @asset_identifier = args[:asset_identifier] if args.key?(:asset_identifier) @click_tags = args[:click_tags] if args.key?(:click_tags) @detected_features = args[:detected_features] if args.key?(:detected_features) @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) @warned_validation_rules = args[:warned_validation_rules] if args.key?(:warned_validation_rules) end  |