Class: Google::Apis::AdexchangebuyerV1_4::CreativesList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreativesList

Returns a new instance of CreativesList.



1159
1160
1161
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1159

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

Instance Attribute Details

#itemsArray<Google::Apis::AdexchangebuyerV1_4::Creative>

A list of creatives. Corresponds to the JSON property items



1146
1147
1148
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1146

def items
  @items
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


1151
1152
1153
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1151

def kind
  @kind
end

#next_page_tokenString

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

Returns:

  • (String)


1157
1158
1159
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1157

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1164
1165
1166
1167
1168
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1164

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