Google Ads Offline Conversions - GCLID & Enhanced Conversions avatar

Google Ads Offline Conversions - GCLID & Enhanced Conversions

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Google Ads Offline Conversions - GCLID & Enhanced Conversions

Google Ads Offline Conversions - GCLID & Enhanced Conversions

Upload offline conversions to Google Ads using GCLID click tracking, enhanced conversions with hashed PII & store sales data for campaign attribution. Upload conversions w/GCLID Upload phone calls Upload w/hashed PII Upload in-store transactions All conversion actions Conversion action details

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Features

Limited permissions

Share

Upload offline conversions to Google Ads using GCLID click tracking, enhanced conversions with hashed PII, and store sales data for campaign attribution.

BYOK (Bring Your Own Key): you provide your own API credentials.


Before You Start

This actor works with your own Google Ads API access. You need:

  • A Google Ads API developer token (Google Ads > Tools > API Center).
  • An OAuth 2.0 client ID and client secret from Google Cloud, and a refresh token for a user who can manage the account, issued with the https://www.googleapis.com/auth/adwords scope.
  • The account's customer ID and, for the upload tasks, the conversion action ID (run list_conversion_actions to find it). Set loginCustomerId when you reach the account through a manager (MCC) account.

Which Google API does the upload use? The actor calls the Google Ads API (version v26). Google has closed uploadClickConversions to accounts that never used it: they get CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE. With uploadApi on auto (the default), click and enhanced conversions then go through Google's Data Manager API (events:ingest) instead. Data Manager needs a refresh token that also has the https://www.googleapis.com/auth/datamanager scope; without it the run stops with a message saying so.


Quick Start

Upload a click conversion

{
"task": "upload_click_conversions",
"developerToken": "YOUR_DEVELOPER_TOKEN",
"clientId": "YOUR_CLIENT_ID",
"clientSecret": "YOUR_CLIENT_SECRET",
"refreshToken": "YOUR_REFRESH_TOKEN",
"customerId": "123-456-7890",
"conversionActionId": "987654321",
"gclid": "Cj0KCQiA...",
"conversionDateTime": "2026-11-10 14:30:00-05:00",
"conversionValue": 120,
"currencyCode": "USD",
"orderId": "ORDER-1001"
}

Tasks

TaskWhat it does
upload_click_conversionsUploads conversions by gclid, gbraid or wbraid (one, or many through conversions). Falls back to Data Manager when Google says the account is not allowlisted.
upload_enhanced_conversionsUploads conversions matched on the customer's email and/or phone (hashed with SHA-256 before upload), with or without a gclid. Same fallback.
upload_call_conversionsUploads phone-call conversions (caller ID in E.164, call start time).
upload_store_salesCreates a Store Sales (first-party) offline user data job, adds the transactions and runs it. Google allows Store Sales only for allowlisted accounts.
list_conversion_actionsLists the account's conversion actions.
get_conversion_actionReads one conversion action.
create_conversion_actionCreates an offline (UPLOAD_CLICKS, PURCHASE) conversion action.
get_upload_statusWith uploadId = a Data Manager requestId: Google's processing result per destination. With uploadId = a store sales jobResourceName: the job status. Without uploadId: Google's offline conversion upload summary for conversionActionId, or for the whole account.

Each run returns one dataset item with the task result: uploaded and failed counts, and every rejected conversion with Google's reason.


Input Parameters

ParameterTypeDefaultRequiredDescription
taskstring"upload_click_conversions"YesThe operation to perform
developerTokenstring-YesGoogle Ads API developer token
clientIdstring-YesGoogle OAuth 2.0 client ID
clientSecretstring-YesGoogle OAuth 2.0 client secret
refreshTokenstring-YesGoogle OAuth 2.0 refresh token (adwords scope; add datamanager for the Data Manager route)
customerIdstring-For most tasksGoogle Ads customer ID (format: 123-456-7890)
loginCustomerIdstring-NoManager account ID if accessing via MCC
conversionActionIdstring-For uploadsID of the conversion action to attribute conversions to
conversionActionNamestring-NoName for a new conversion action
conversionsstring-NoJSON array of conversion objects (see the field description for the keys per task)
gclidstring-NoGoogle click ID from URL parameter
gbraidstring-NoGoogle app click ID for iOS
wbraidstring-NoGoogle web-to-app click ID
conversionDateTimestring-For uploadsWhen the conversion occurred (format: yyyy-MM-dd HH:mm:ss+/-HH:mm)
conversionValuenumber-NoMonetary value of the conversion
currencyCodestring"USD"NoISO 4217 currency code
orderIdstring-NoUnique order/transaction identifier for deduplication
emailstring-NoCustomer email (trimmed, lowercased, SHA-256 hashed)
phonestring-NoCustomer phone (E.164, SHA-256 hashed)
firstNamestring-NoFirst name (hashed), store sales only
lastNamestring-NoLast name (hashed), store sales only
streetAddressstring-NoNot sent (Google takes street addresses only on conversion adjustments)
citystring-NoCity, store sales only
statestring-NoState/region code, store sales only
postalCodestring-NoPostal/zip code, store sales only
countryCodestring"US"NoCountry (ISO 3166-1 alpha-2); also used to put local phone numbers into E.164
callerIdstring-NoPhone number for call conversions (E.164 format)
callStartDateTimestring-NoWhen the call started
consentstring-NoJSON with ad_user_data and ad_personalization consent (GRANTED/DENIED)
isAlreadyHashedbooleanfalseNoSet to true if email/phone/names are already SHA-256 hashed
uploadApistring"auto"Noauto, google_ads_api or data_manager (see Before You Start)
uploadIdstring-NoFor get_upload_status: a Data Manager requestId or a store sales jobResourceName
storeSalesLoyaltyFractionnumber1NoStore sales: share of all sales that carry customer information
storeSalesUploadFractionnumber1NoStore sales: share of identifiable sales in this upload
webhookUrlstring-NoURL to receive results via webhook

Pricing

This actor uses pay-per-event billing:

EventWhen it is chargedPrice
Actor startOnce when the run starts, one event per GB of memory (minimum one). At the default 256 MB of memory that is one event ($0.10) per run$0.10 per GB
Upload Click ConversionsUpload click-based conversions using gclid, gbraid, or wbraid$0.01
Upload Call ConversionsUpload phone call conversions to Google Ads$0.01
Upload Enhanced ConversionsUpload conversions with hashed first-party customer data$0.01
Upload Store SalesUpload in-store sales data for Store Sales measurement$0.01
List Conversion ActionsList all conversion actions in the Google Ads account$0.01
Get Conversion ActionGet details of a specific conversion action$0.01
Create Conversion ActionCreate a new offline conversion action in Google Ads$0.01
Get Upload StatusCheck the status of a conversion upload job$0.01
ResultEach item written to the default dataset$0.00001

Troubleshooting

"developerToken, clientId, clientSecret and refreshToken are required"

Add your Google Ads API developer token and OAuth 2.0 credentials. A run without them stops before any API call.

"Google OAuth token refresh ... failed"

The client ID, client secret or refresh token is wrong, or the refresh token was revoked. Create a new refresh token for the same OAuth client.

"CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE"

Google closed uploadClickConversions to accounts that never used it. Keep uploadApi on auto (or set data_manager) and use a refresh token with the datamanager scope. Call conversions and store sales have no Data Manager route in this actor.

"Data Manager events:ingest failed (HTTP 403) ... scope"

Your refresh token lacks the https://www.googleapis.com/auth/datamanager scope. Create a refresh token with both the adwords and datamanager scopes.

Some conversions are listed under failures

Google rejected those rows (for example the click is older than the conversion window, or the conversion action does not accept uploads). Each failure carries Google's error code and message; the other rows were uploaded.

Can I see the output format before connecting my account?

Set demoMode to true. The run returns a labeled sample shaped like real output (every item includes demo: true and a _notice field), makes no API calls and charges no task events. Your developer token and OAuth 2.0 credentials are required inputs, so the form asks for them even in Demo Mode. A run without them is rejected before it starts.


Built by John Rippy | Actor Arsenal