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.



51498
51499
51500
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51498

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



51480
51481
51482
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51480

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)


51485
51486
51487
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51485

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)


51491
51492
51493
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51491

def user_interest_path
  @user_interest_path
end

#user_interest_typeString

The user interest type. Corresponds to the JSON property userInterestType

Returns:

  • (String)


51496
51497
51498
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51496

def user_interest_type
  @user_interest_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



51503
51504
51505
51506
51507
51508
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51503

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