Interested in sharing your feedback about the Google Ads API?
Sign up to be invited to participate in user research!
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-10-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-12 UTC."],[[["Store sales transactions encompass details like store and item attributes, transaction time, amount, and currency."],["The transaction amount must exceed 1000 micros and represents the total value if item attributes are included."],["A conversion action is linked for reporting, and an order ID and custom value can be optionally provided for allow-listed customers."],["Timestamps for transactions should follow a specific format, including an optional timezone offset from UTC."]]],["The provided information outlines the attributes of a store sales transaction. Key data includes `store_attribute` and `item_attribute`, accessible to allow-listed customers. Required fields are `transaction_date_time` (timestamp in \"YYYY-MM-DD HH:MM:SS\\[+/-HH:MM\\]\" format), `transaction_amount_micros` (amount greater than 1000 micros), `currency_code` (ISO 4217 format), and `conversion_action` (resource name). Optional fields include `order_id` and `custom_value`, also for allow-listed customers. The `item_attribute` and `transaction_amount_micros` are linked together in their value.\n"]]