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.



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

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)


2146
2147
2148
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2146

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



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

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



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

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