TransactionAttribute
Stay organized with collections
Save and categorize content based on your preferences.
Attribute of the store sales transaction.
Fields |
store_attribute
|
StoreAttribute
Store attributes of the transaction. Accessible only to customers on the allow-list.
|
item_attribute
|
ItemAttribute
Item attributes of the transaction.
|
transaction_date_time
|
string
Timestamp when transaction occurred. Required. The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default. Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00"
|
transaction_amount_micros
|
double
Transaction amount in micros. Required. Transaction amount in micros needs to be greater than 1000. If item Attributes are provided, it represents the total value of the items, after multiplying the unit price per item by the quantity provided in the ItemAttributes.
|
currency_code
|
string
Transaction currency code. ISO 4217 three-letter code is used. Required.
|
conversion_action
|
string
The resource name of conversion action to report conversions to. Required.
|
order_id
|
string
Transaction order id. Accessible only to customers on the allow-list.
|
custom_value
|
string
Value of the custom variable for each transaction. Accessible only to customers on the allow-list.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-29 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]