Class: Google::Apis::DfareportingV4::DfareportingStudioCreativeAssetsInsertRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idFixnum

Optional. Studio account ID of the studio creative asset. It is a optional. Corresponds to the JSON property studioAccountId

Returns:

  • (Fixnum)


5643
5644
5645
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5643

def 
  @studio_account_id
end

#studio_advertiser_idFixnum

Required. Studio advertiser ID of the studio creative asset. It is a required field on insertion. Corresponds to the JSON property studioAdvertiserId

Returns:

  • (Fixnum)


5649
5650
5651
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5649

def studio_advertiser_id
  @studio_advertiser_id
end

#studio_creative_idFixnum

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

Returns:

  • (Fixnum)


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