Class: Google::Apis::DisplayvideoV1::UserRewardedContentAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::UserRewardedContentAssignedTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/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
-
#targeting_option_id ⇒ String
Required.
-
#user_rewarded_content ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserRewardedContentAssignedTargetingOptionDetails
constructor
A new instance of UserRewardedContentAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserRewardedContentAssignedTargetingOptionDetails
Returns a new instance of UserRewardedContentAssignedTargetingOptionDetails.
10689 10690 10691 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 10689 def initialize(**args) update!(**args) end |
Instance Attribute Details
#targeting_option_id ⇒ String
Required. The targeting_option_id field when targeting_type is
TARGETING_TYPE_USER_REWARDED_CONTENT.
Corresponds to the JSON property targetingOptionId
10682 10683 10684 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 10682 def targeting_option_id @targeting_option_id end |
#user_rewarded_content ⇒ String
Output only. User rewarded content status for video ads.
Corresponds to the JSON property userRewardedContent
10687 10688 10689 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 10687 def user_rewarded_content @user_rewarded_content end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10694 10695 10696 10697 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 10694 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 |