Class: Google::Apis::DfareportingV4::DfareportingStudioCreativeAssetsInsertRequest
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::DfareportingStudioCreativeAssetsInsertRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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.
5657 5658 5659 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5657 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
5643 5644 5645 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5643 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
5649 5650 5651 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5649 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
5655 5656 5657 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5655 def studio_creative_id @studio_creative_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5662 5663 5664 5665 5666 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5662 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 |