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.



3206
3207
3208
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3206

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

Instance Attribute Details

#custom_intentString

The CustomInterest resource name. Corresponds to the JSON property customIntent

Returns:

  • (String)


3204
3205
3206
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3204

def custom_intent
  @custom_intent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3211
3212
3213
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3211

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