Class: Google::Apis::DisplayvideoV2::BulkListAdGroupAssignedTargetingOptionsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkListAdGroupAssignedTargetingOptionsResponse

Returns a new instance of BulkListAdGroupAssignedTargetingOptionsResponse.



2156
2157
2158
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2156

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

Instance Attribute Details

#next_page_tokenString

A token identifying the next page of results. This value should be specified as the pageToken in a subsequent call to BulkListAdGroupAssignedTargetingOptions to fetch the next page of results. This token will be absent if there are no more youtube_ad_group_assigned_targeting_options to return. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2148
2149
2150
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2148

def next_page_token
  @next_page_token
end

#youtube_ad_group_assigned_targeting_optionsArray<Google::Apis::DisplayvideoV2::YoutubeAdGroupAssignedTargetingOption>

The list of wrapper objects, each providing an assigned targeting option and the youtube ad group it is assigned to. This list will be absent if empty. Corresponds to the JSON property youtubeAdGroupAssignedTargetingOptions



2154
2155
2156
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2154

def youtube_ad_group_assigned_targeting_options
  @youtube_ad_group_assigned_targeting_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2161
2162
2163
2164
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2161

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