Class: Google::Apis::DfareportingV5::DfareportingStudioCreativeAssetsInsertRequest

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

Instance Method Summary collapse

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_idFixnum

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

Returns:

  • (Fixnum)


5535
5536
5537
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5535

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)


5541
5542
5543
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5541

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)


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