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.



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

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 or ad_group_assigned_targeting_options to return. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


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

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



2159
2160
2161
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2159

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



2166
2167
2168
2169
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2166

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