Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata
- 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
The metadata associated with a product supported for benchmarks data.
Instance Attribute Summary collapse
-
#marketing_objective ⇒ String
The marketing objective associated with the product.
-
#product_code ⇒ String
The identifier of the product.
-
#product_name ⇒ String
The name of the product.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata
constructor
A new instance of GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata
Returns a new instance of GoogleAdsSearchads360V23ServicesBenchmarksProductMetadata.
37527 37528 37529 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37527 def initialize(**args) update!(**args) end |
Instance Attribute Details
#marketing_objective ⇒ String
The marketing objective associated with the product. A marketing objective is
a broader classification of products.
Corresponds to the JSON property marketingObjective
37514 37515 37516 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37514 def marketing_objective @marketing_objective end |
#product_code ⇒ String
The identifier of the product. The identifier can be used as inputs for
BenchmarksService.GenerateBenchmarksMetrics.
Corresponds to the JSON property productCode
37520 37521 37522 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37520 def product_code @product_code end |
#product_name ⇒ String
The name of the product.
Corresponds to the JSON property productName
37525 37526 37527 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37525 def product_name @product_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
37532 37533 37534 37535 37536 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37532 def update!(**args) @marketing_objective = args[:marketing_objective] if args.key?(:marketing_objective) @product_code = args[:product_code] if args.key?(:product_code) @product_name = args[:product_name] if args.key?(:product_name) end |