StoreSalesMetadata Stay organized with collections Save and categorize content based on your preferences.
Page Summary
StoreSalesDirect utilizes
third_party_metadatato manage metadata for third-party Store Sales uploads.The
loyalty_fractionfield is a required double between 0 and 1 (excluding 0) representing the fraction of identifiable transactions.The
transaction_upload_fractionis a required double between 0 and 1 (excluding 0) indicating the ratio of uploaded sales associated with a customer compared to overall sales.custom_keyis a string field for a predefined store sales custom variable key, accessible only to allow-listed customers for reporting segmentation.
Metadata for Store Sales Direct.
| Fields | |
|---|---|
|
Name of the store sales custom variable key. A predefined key that can be applied to the transaction and then later used for custom segmentation in reporting. Accessible only to customers on the allow-list. |
|
This is the fraction of all transactions that are identifiable (for example, associated with any form of customer information). Required. The fraction needs to be between 0 and 1 (excluding 0). |
| Metadata for a third party Store Sales upload. |
|
This is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer. Required. The fraction needs to be between 0 and 1 (excluding 0). For example, if you upload half the sales that you are able to associate with a customer, this would be 0.5. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-12 UTC.