Class: Google::Apis::DisplayvideoV1::UserRewardedContentTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::UserRewardedContentTargetingOptionDetails
- 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
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
-
#user_rewarded_content ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserRewardedContentTargetingOptionDetails
constructor
A new instance of UserRewardedContentTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserRewardedContentTargetingOptionDetails
Returns a new instance of UserRewardedContentTargetingOptionDetails.
8356 8357 8358 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8356 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_rewarded_content ⇒ String
Output only. User rewarded content status for video ads.
Corresponds to the JSON property userRewardedContent
8354 8355 8356 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8354 def user_rewarded_content @user_rewarded_content end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8361 8362 8363 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8361 def update!(**args) @user_rewarded_content = args[:user_rewarded_content] if args.key?(:user_rewarded_content) end |