Class: Google::Apis::DisplayvideoV2::ListCampaignAssignedTargetingOptionsResponse

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 ListCampaignAssignedTargetingOptions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCampaignAssignedTargetingOptionsResponse

Returns a new instance of ListCampaignAssignedTargetingOptionsResponse.



7839
7840
7841
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7839

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



7829
7830
7831
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7829

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 ListCampaignAssignedTargetingOptionsRequest 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)


7837
7838
7839
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7837

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7844
7845
7846
7847
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 7844

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