Reference documentation and code samples for the Google Ads Data Manager V1 Client class Item.
Represents an item in the cart associated with the event.
Generated from protobuf message google.ads.datamanager.v1.Item
Namespace
Google \ Ads \ DataManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ merchant_product_id
string
Optional. The product ID within the Merchant Center account.
↳ quantity
int|string
Optional. The number of this item associated with the event.
↳ unit_price
float
Optional. The unit price excluding tax, shipping, and any transaction level discounts.
↳ item_id
string
Optional. A unique identifier to reference the item.
↳ additional_item_parameters
array< ItemParameter
>
Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.
getMerchantProductId
Optional. The product ID within the Merchant Center account.
string
setMerchantProductId
Optional. The product ID within the Merchant Center account.
var
string
$this
getQuantity
Optional. The number of this item associated with the event.
int|string
setQuantity
Optional. The number of this item associated with the event.
var
int|string
$this
getUnitPrice
Optional. The unit price excluding tax, shipping, and any transaction level discounts.
float
setUnitPrice
Optional. The unit price excluding tax, shipping, and any transaction level discounts.
var
float
$this
getItemId
Optional. A unique identifier to reference the item.
string
setItemId
Optional. A unique identifier to reference the item.
var
string
$this
getAdditionalItemParameters
Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.
setAdditionalItemParameters
Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.
$this

