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.



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

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



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

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)


12751
12752
12753
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12751

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)


12756
12757
12758
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12756

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)


12761
12762
12763
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12761

def user_interest_type
  @user_interest_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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