Class: Google::Apis::AuthorizedbuyersmarketplaceV1::AddCreativeRequest
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::AddCreativeRequest
- 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
-
#creative ⇒ String
Name of the creative to add to the finalized deal, in the format
buyers/
buyerAccountId/creatives/
creativeId``.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddCreativeRequest
constructor
A new instance of AddCreativeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#creative ⇒ String
Name of the creative to add to the finalized deal, in the format buyers/
buyerAccountId/creatives/
creativeId`. See creative.name.
Corresponds to the JSON property
creative`
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 |