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.



12746
12747
12748
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12746

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



12728
12729
12730
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12728

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)


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_pathString

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

Returns:

  • (String)


12739
12740
12741
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12739

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)


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