NAME

upload_offline_conversion

DESCRIPTION

This example imports offline conversion values for specific clicks to your account. To get Google Click ID for a click, use the "click_view" resource: https://developers.google.com/google-ads/api/fields/latest/click_view. To set up a conversion action, run the add_conversion_action.pl example.

SYNOPSIS

upload_offline_conversion.pl [options]

-help                               Show the help message.
-customer_id                        The Google Ads customer ID.
-conversion_action_id               The ID of the conversion action to upload to.
-gclid                              [optional] The GCLID for the conversion. If setting this value, do not
                                    set -gbraid or -wbraid.
-gbraid                             [optional] The GBRAID for the iOS app conversion. If setting this value,
                                    do not set -gclid or -wbraid.
-wbraid                             [optional] The WBRAID for the iOS web conversion. If setting this value,
                                    do not set -gclid or -gbraid.
-conversion_date_time               The date and time of the conversion (should be after the click time).
                                    The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00".
-conversion_value                   The value of the conversion.
-conversion_custom_variable_id      [optional] The ID of the conversion custom variable to associate with the upload.
-conversion_custom_variable_value   [optional] The value of the conversion custom variable to associate with the upload.
-order_id                           [optional] The unique ID (transaction ID) of the conversion.
-ad_user_data_consent               [optional] The ad user data consent for the click.