Class: Google::Apis::DisplayvideoV1::UserRewardedContentAssignedTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb

Overview

User rewarded content targeting option details. This will be populated in the user_rewarded_content_details field when targeting_type is TARGETING_TYPE_USER_REWARDED_CONTENT.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UserRewardedContentAssignedTargetingOptionDetails

Returns a new instance of UserRewardedContentAssignedTargetingOptionDetails.



8334
8335
8336
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8334

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

Instance Attribute Details

#targeting_option_idString

Required. The targeting_option_id field when targeting_type is TARGETING_TYPE_USER_REWARDED_CONTENT. Corresponds to the JSON property targetingOptionId

Returns:

  • (String)


8327
8328
8329
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8327

def targeting_option_id
  @targeting_option_id
end

#user_rewarded_contentString

Output only. User rewarded content status for video ads. Corresponds to the JSON property userRewardedContent

Returns:

  • (String)


8332
8333
8334
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8332

def user_rewarded_content
  @user_rewarded_content
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8339
8340
8341
8342
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8339

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