Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserInterestInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

Represents a particular interest-based topic to be targeted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonUserInterestInfo

Returns a new instance of GoogleAdsSearchads360V23CommonUserInterestInfo.



12563
12564
12565
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12563

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

Instance Attribute Details

#user_interest_categoryString

The UserInterest resource name. Corresponds to the JSON property userInterestCategory

Returns:

  • (String)


12561
12562
12563
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12561

def user_interest_category
  @user_interest_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12568
12569
12570
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12568

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