Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCustomParameter
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCustomParameter
- 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 mapping that can be used by custom parameter tags in a
tracking_url_template, final_urls, or mobile_final_urls.
Instance Attribute Summary collapse
-
#key ⇒ String
The key matching the parameter tag name.
-
#value ⇒ String
The value to be substituted.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCustomParameter
constructor
A new instance of GoogleAdsSearchads360V23CommonCustomParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCustomParameter
Returns a new instance of GoogleAdsSearchads360V23CommonCustomParameter.
3231 3232 3233 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3231 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
The key matching the parameter tag name.
Corresponds to the JSON property key
3224 3225 3226 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3224 def key @key end |
#value ⇒ String
The value to be substituted.
Corresponds to the JSON property value
3229 3230 3231 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3229 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3236 3237 3238 3239 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3236 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |