Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCustomIntentInfo

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 custom intent criterion. A criterion of this type is only targetable.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCustomIntentInfo

Returns a new instance of GoogleAdsSearchads360V23CommonCustomIntentInfo.



3266
3267
3268
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3266

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

Instance Attribute Details

#custom_intentString

The CustomInterest resource name. Corresponds to the JSON property customIntent

Returns:

  • (String)


3264
3265
3266
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3264

def custom_intent
  @custom_intent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3271
3272
3273
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3271

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