Class: Google::Apis::DfareportingV2_1::CreativeAssetId
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::CreativeAssetId
- 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
Creative Asset ID.
Instance Attribute Summary collapse
-
#name ⇒ String
Name of the creative asset.
-
#type ⇒ String
Type of asset to upload.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreativeAssetId
constructor
A new instance of CreativeAssetId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativeAssetId
Returns a new instance of CreativeAssetId
3092 3093 3094 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3092 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ 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.
Corresponds to the JSON property name
3084 3085 3086 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3084 def name @name end |
#type ⇒ String
Type of asset to upload. This is a required field. IMAGE is solely used for
IMAGE creatives. Other image assets should use HTML_IMAGE.
Corresponds to the JSON property type
3090 3091 3092 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3090 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3097 3098 3099 3100 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3097 def update!(**args) @name = args[:name] unless args[:name].nil? @type = args[:type] unless args[:type].nil? end |