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.



4958
4959
4960
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4958

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)


4956
4957
4958
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4956

def item_id
  @item_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4963
4964
4965
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4963

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