Class: Google::Apis::DfareportingV2_1::ListAdvertiserGroupsResponse

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

Overview

Advertiser Group List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListAdvertiserGroupsResponse

Returns a new instance of ListAdvertiserGroupsResponse.


1169
1170
1171
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1169

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

Instance Attribute Details

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

Advertiser group collection. Corresponds to the JSON property advertiserGroups


1156
1157
1158
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1156

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)

1162
1163
1164
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1162

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)

1167
1168
1169
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1167

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1174
1175
1176
1177
1178
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 1174

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