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.



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

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



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

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)


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

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)


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

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)


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

def user_interest_type
  @user_interest_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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