Reference documentation and code samples for the Google Ads Data Manager V1 Client class CartData.
The cart data associated with the event.
Generated from protobuf message google.ads.datamanager.v1.CartData
Namespace
Google \ Ads \ DataManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ merchant_id
string
Optional. The Merchant Center ID associated with the items.
↳ merchant_feed_label
string
Optional. The Merchant Center feed label associated with the feed of the items.
↳ merchant_feed_language_code
string
Optional. The language code in ISO 639-1 associated with the Merchant Center feed of the items.where your items are uploaded.
↳ transaction_discount
float
Optional. The sum of all discounts associated with the transaction.
↳ items
getMerchantId
Optional. The Merchant Center ID associated with the items.
string
setMerchantId
Optional. The Merchant Center ID associated with the items.
var
string
$this
getMerchantFeedLabel
Optional. The Merchant Center feed label associated with the feed of the items.
string
setMerchantFeedLabel
Optional. The Merchant Center feed label associated with the feed of the items.
var
string
$this
getMerchantFeedLanguageCode
Optional. The language code in ISO 639-1 associated with the Merchant Center feed of the items.where your items are uploaded.
string
setMerchantFeedLanguageCode
Optional. The language code in ISO 639-1 associated with the Merchant Center feed of the items.where your items are uploaded.
var
string
$this
getTransactionDiscount
Optional. The sum of all discounts associated with the transaction.
float
setTransactionDiscount
Optional. The sum of all discounts associated with the transaction.
var
float
$this
getItems
Optional. The list of items associated with the event.
setItems
Optional. The list of items associated with the event.
$this

