Class: Google::Apis::DfareportingV3_2::AdvertiserGroupsListResponse

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

Overview

Advertiser Group List Response

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) ⇒ AdvertiserGroupsListResponse

Returns a new instance of AdvertiserGroupsListResponse



1252
1253
1254
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 1252

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

Instance Attribute Details

#advertiser_groupsArray<Google::Apis::DfareportingV3_2::AdvertiserGroup>

Advertiser group collection. Corresponds to the JSON property advertiserGroups



1239
1240
1241
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 1239

def advertiser_groups
  @advertiser_groups
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#advertiserGroupsListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


1245
1246
1247
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 1245

def kind
  @kind
end

#next_page_tokenString

Pagination token to be used for the next list operation. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1250
1251
1252
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 1250

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1257
1258
1259
1260
1261
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 1257

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