Class: Google::Apis::AuthorizedbuyersmarketplaceV1::AddCreativeRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb

Overview

Request message for adding creative to be used in the bidding process for the finalized deal.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddCreativeRequest

Returns a new instance of AddCreativeRequest.



115
116
117
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 115

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#creativeString

Name of the creative to add to the finalized deal, in the format buyers/ buyerAccountId/creatives/creativeId`. See creative.name. Corresponds to the JSON propertycreative`

Returns:

  • (String)


113
114
115
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 113

def creative
  @creative
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



120
121
122
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 120

def update!(**args)
  @creative = args[:creative] if args.key?(:creative)
end