Class: Google::Apis::DisplayvideoV4::PlannableUserInterest
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::PlannableUserInterest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb
Overview
A plannable user interest used for targeting.
Instance Attribute Summary collapse
-
#user_interest ⇒ Google::Apis::DisplayvideoV4::UserInterest
The identifier for a user interest.
-
#user_interest_display_name ⇒ String
Output only.
-
#user_interest_path ⇒ String
Output only.
-
#user_interest_type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PlannableUserInterest
constructor
A new instance of PlannableUserInterest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PlannableUserInterest
Returns a new instance of PlannableUserInterest.
12746 12747 12748 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12746 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_interest ⇒ Google::Apis::DisplayvideoV4::UserInterest
The identifier for a user interest.
Corresponds to the JSON property userInterest
12728 12729 12730 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12728 def user_interest @user_interest end |
#user_interest_display_name ⇒ String
Output only. The display name of the interest, for example "Outdoor
Enthusiasts".
Corresponds to the JSON property userInterestDisplayName
12734 12735 12736 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12734 def user_interest_display_name @user_interest_display_name end |
#user_interest_path ⇒ String
Output only. The category path of the interest.
Corresponds to the JSON property userInterestPath
12739 12740 12741 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12739 def user_interest_path @user_interest_path end |
#user_interest_type ⇒ String
Output only. The type of audience, e.g., "AFFINITY", "IN_MARKET".
Corresponds to the JSON property userInterestType
12744 12745 12746 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12744 def user_interest_type @user_interest_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12751 12752 12753 12754 12755 12756 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12751 def update!(**args) @user_interest = args[:user_interest] if args.key?(:user_interest) @user_interest_display_name = args[:user_interest_display_name] if args.key?(:user_interest_display_name) @user_interest_path = args[:user_interest_path] if args.key?(:user_interest_path) @user_interest_type = args[:user_interest_type] if args.key?(:user_interest_type) end |