Class: Google::Apis::DisplayvideoV2::BulkListCampaignAssignedTargetingOptionsResponse

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

Overview

Response message for BulkListCampaignAssignedTargetingOptions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkListCampaignAssignedTargetingOptionsResponse

Returns a new instance of BulkListCampaignAssignedTargetingOptionsResponse.



2247
2248
2249
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2247

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

Instance Attribute Details

#assigned_targeting_optionsArray<Google::Apis::DisplayvideoV2::AssignedTargetingOption>

The list of assigned targeting options. This list will be absent if empty. Corresponds to the JSON property assignedTargetingOptions



2236
2237
2238
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2236

def assigned_targeting_options
  @assigned_targeting_options
end

#next_page_tokenString

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

Returns:

  • (String)


2245
2246
2247
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2245

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2252
2253
2254
2255
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2252

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