class Google::Apis::DfareportingV2_1::CreativeAssetId
Creative Asset ID.
Attributes
name[RW]
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` @return [String]
type[RW]
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` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 3092 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 3097 def update!(**args) @name = args[:name] unless args[:name].nil? @type = args[:type] unless args[:type].nil? end