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.



2104
2105
2106
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2104

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)


2096
2097
2098
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2096

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



2102
2103
2104
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2102

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



2109
2110
2111
2112
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2109

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