Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesPlannableUserInterest

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

A plannable user interest that can be targeted in a reach forecast using ReachPlanService.GenerateReachForecast.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesPlannableUserInterest

Returns a new instance of GoogleAdsSearchads360V23ServicesPlannableUserInterest.



52329
52330
52331
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52329

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

Instance Attribute Details

#user_interestGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserInterestInfo

Represents a particular interest-based topic to be targeted. Corresponds to the JSON property userInterest



52311
52312
52313
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52311

def user_interest
  @user_interest
end

#user_interest_display_nameString

The user interest display name. For example, "Autos & Vehicles" Corresponds to the JSON property userInterestDisplayName

Returns:

  • (String)


52316
52317
52318
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52316

def user_interest_display_name
  @user_interest_display_name
end

#user_interest_pathString

The user interest path. For example, "/Autos & Vehicles/Motor Vehicles/Motor Vehicles by Type/Off-Road Vehicles" Corresponds to the JSON property userInterestPath

Returns:

  • (String)


52322
52323
52324
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52322

def user_interest_path
  @user_interest_path
end

#user_interest_typeString

The user interest type. Corresponds to the JSON property userInterestType

Returns:

  • (String)


52327
52328
52329
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52327

def user_interest_type
  @user_interest_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



52334
52335
52336
52337
52338
52339
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52334

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