Class: Google::Apis::DfareportingV5::DfareportingStudioCreativeAssetsInsertRequest
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV5::DfareportingStudioCreativeAssetsInsertRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/representations.rb
Overview
Request message for DfareportingStudioCreativeAssets.Insert.
Instance Attribute Summary collapse
-
#studio_account_id ⇒ Fixnum
Optional.
-
#studio_advertiser_id ⇒ Fixnum
Required.
-
#studio_creative_id ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DfareportingStudioCreativeAssetsInsertRequest
constructor
A new instance of DfareportingStudioCreativeAssetsInsertRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DfareportingStudioCreativeAssetsInsertRequest
Returns a new instance of DfareportingStudioCreativeAssetsInsertRequest.
5549 5550 5551 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5549 def initialize(**args) update!(**args) end |
Instance Attribute Details
#studio_account_id ⇒ Fixnum
Optional. Studio account ID of the studio creative asset. It is a optional.
Corresponds to the JSON property studioAccountId
5535 5536 5537 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5535 def studio_account_id @studio_account_id end |
#studio_advertiser_id ⇒ Fixnum
Required. Studio advertiser ID of the studio creative asset. It is a required
field on insertion.
Corresponds to the JSON property studioAdvertiserId
5541 5542 5543 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5541 def studio_advertiser_id @studio_advertiser_id end |
#studio_creative_id ⇒ Fixnum
Optional. Studio creative ID of the studio creative asset. It is a optional
field. If it is set, the asset will be associated to the creative.
Corresponds to the JSON property studioCreativeId
5547 5548 5549 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5547 def studio_creative_id @studio_creative_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5554 5555 5556 5557 5558 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5554 def update!(**args) @studio_account_id = args[:studio_account_id] if args.key?(:studio_account_id) @studio_advertiser_id = args[:studio_advertiser_id] if args.key?(:studio_advertiser_id) @studio_creative_id = args[:studio_creative_id] if args.key?(:studio_creative_id) end |