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.



5583
5584
5585
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5583

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)


5569
5570
5571
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5569

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)


5575
5576
5577
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5575

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)


5581
5582
5583
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5581

def studio_creative_id
  @studio_creative_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5588
5589
5590
5591
5592
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 5588

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