Class: Google::Apis::DisplayvideoV4::PlannableUserInterest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlannableUserInterest

Returns a new instance of PlannableUserInterest.



12776
12777
12778
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12776

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

Instance Attribute Details

#user_interestGoogle::Apis::DisplayvideoV4::UserInterest

The identifier for a user interest. Corresponds to the JSON property userInterest



12758
12759
12760
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12758

def user_interest
  @user_interest
end

#user_interest_display_nameString

Output only. The display name of the interest, for example "Outdoor Enthusiasts". Corresponds to the JSON property userInterestDisplayName

Returns:

  • (String)


12764
12765
12766
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12764

def user_interest_display_name
  @user_interest_display_name
end

#user_interest_pathString

Output only. The category path of the interest. Corresponds to the JSON property userInterestPath

Returns:

  • (String)


12769
12770
12771
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12769

def user_interest_path
  @user_interest_path
end

#user_interest_typeString

Output only. The type of audience, e.g., "AFFINITY", "IN_MARKET". Corresponds to the JSON property userInterestType

Returns:

  • (String)


12774
12775
12776
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12774

def user_interest_type
  @user_interest_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12781
12782
12783
12784
12785
12786
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12781

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