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.



52257
52258
52259
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52257

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



52239
52240
52241
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52239

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)


52244
52245
52246
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52244

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)


52250
52251
52252
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52250

def user_interest_path
  @user_interest_path
end

#user_interest_typeString

The user interest type. Corresponds to the JSON property userInterestType

Returns:

  • (String)


52255
52256
52257
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52255

def user_interest_type
  @user_interest_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



52262
52263
52264
52265
52266
52267
# File 'lib/google/apis/searchads360_v23/classes.rb', line 52262

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