Class: Google::Apis::AdexchangebuyerV1_2::CreativesList
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_2::CreativesList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_2/classes.rb,
generated/google/apis/adexchangebuyer_v1_2/representations.rb,
generated/google/apis/adexchangebuyer_v1_2/representations.rb
Overview
The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::AdexchangebuyerV1_2::Creative>
A list of creatives.
-
#kind ⇒ String
Resource type.
-
#next_page_token ⇒ String
Continuation token used to page through creatives.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreativesList
constructor
A new instance of CreativesList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativesList
Returns a new instance of CreativesList
444 445 446 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 444 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::AdexchangebuyerV1_2::Creative>
A list of creatives.
Corresponds to the JSON property items
431 432 433 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 431 def items @items end |
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
436 437 438 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 436 def kind @kind end |
#next_page_token ⇒ String
Continuation token used to page through creatives. To retrieve the next page
of results, set the next request's "pageToken" value to this.
Corresponds to the JSON property nextPageToken
442 443 444 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 442 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
449 450 451 452 453 |
# File 'generated/google/apis/adexchangebuyer_v1_2/classes.rb', line 449 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |