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.



12497
12498
12499
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12497

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

Instance Attribute Details

#user_interest_categoryString

The UserInterest resource name. Corresponds to the JSON property userInterestCategory

Returns:

  • (String)


12495
12496
12497
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12495

def user_interest_category
  @user_interest_category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12502
12503
12504
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12502

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