Class: Google::Apis::DisplayvideoV3::UserRewardedContentTargetingOptionDetails

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

Overview

Represents a targetable user rewarded content status for video ads only. 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) ⇒ UserRewardedContentTargetingOptionDetails

Returns a new instance of UserRewardedContentTargetingOptionDetails.



12458
12459
12460
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12458

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

Instance Attribute Details

#user_rewarded_contentString

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

Returns:

  • (String)


12456
12457
12458
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12456

def user_rewarded_content
  @user_rewarded_content
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12463
12464
12465
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12463

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