Class: Google::Apis::DisplayvideoV4::UserInterest

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

The identifier for a user interest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UserInterest

Returns a new instance of UserInterest.



15003
15004
15005
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 15003

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

Instance Attribute Details

#user_interest_categoryString

Output only. The resource name of the interest category. Populated when product_category is "Youtube". Format: customers/customer_id/userInterests/ user_interest_id Corresponds to the JSON property userInterestCategory

Returns:

  • (String)


14994
14995
14996
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14994

def user_interest_category
  @user_interest_category
end

#user_interest_user_listString

Output only. The resource name of the user list. Populated when product_category is "Open Auction". Format: customers/customer_id/userLists/ user_list_id Corresponds to the JSON property userInterestUserList

Returns:

  • (String)


15001
15002
15003
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 15001

def user_interest_user_list
  @user_interest_user_list
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15008
15009
15010
15011
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 15008

def update!(**args)
  @user_interest_category = args[:user_interest_category] if args.key?(:user_interest_category)
  @user_interest_user_list = args[:user_interest_user_list] if args.key?(:user_interest_user_list)
end