NAME

upload_store_sales_transactions

DESCRIPTION

This example uploads offline data for store sales transactions.

This feature is only available to allowlisted accounts. See https://support.google.com/google-ads/answer/7620302 for more details.

SYNOPSIS

upload_store_sales_transactions.pl [options]

-help                           Show the help message.
-customer_id                    The Google Ads customer ID.
-conversion_action_id           The ID of a store sales conversion action.
-offline_user_data_job_type     [optional] The type of offline user data in the job (first party or third party).
                                If you have an official store sales partnership with Google, use STORE_SALES_UPLOAD_THIRD_PARTY.
                                Otherwise, use STORE_SALES_UPLOAD_FIRST_PARTY.
-external_id                    [optional] (but recommended) external ID for the offline user data job.
-custom_key                     [optional] Only required after creating a custom key and custom values in the account. Custom key
                                and values are used to segment store sales conversions. This measurement can be used to provide
                                more advanced insights.
-advertiser_upload_date_time    [optional] Date and time the advertiser uploaded data to the partner. Only required for third party uploads.
                                The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
-bridge_map_version_id          [optional] Version of partner IDs to be used for uploads. Only required for third party uploads.
-partner_id                     [optional] ID of the third party partner. Only required for third party uploads.
-item_id                        [optional] A unique identifier of a product, either the Merchant Center Item ID or Global Trade Item Number (GTIN).
                                Only required if uploading with item attributes.
-merchant_center_account_id     [optional] A Merchant Center Account ID. Only required if uploading with item attributes.
-country_code                   [optional] A two-letter country code of the location associated with the feed where your items are uploaded.
                                Only required if uploading with item attributes.
                                For a list of country codes see: https://developers.google.com/google-ads/api/reference/data/codes-formats#country-codes
-language_code                  [optional] A two-letter language code of the language associated with the feed where your items are uploaded.
                                Only required if uploading with item attributes.
                                For a list of language codes see: https://developers.google.com/google-ads/api/reference/data/codes-formats#languages
-quantity                       [optional] The number of items sold. Can only be set when at least one other item attribute has been provided.
                                Only required if uploading with item attributes.