Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonEventItemAttribute

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

Event Item attributes of the Customer Match.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonEventItemAttribute

Returns a new instance of GoogleAdsSearchads360V23CommonEventItemAttribute.



4898
4899
4900
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4898

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

Instance Attribute Details

#item_idString

Optional. A unique identifier of a product. It can be either the Merchant Center Item ID or GTIN (Global Trade Item Number). Corresponds to the JSON property itemId

Returns:

  • (String)


4896
4897
4898
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4896

def item_id
  @item_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4903
4904
4905
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4903

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