Google Ads Integration
Upload offline click conversions to Google Ads via the Data Manager API. AppRefer captures gclids from your tracking links and forwards conversions automatically.
Time Estimate
Step 1 — Get Your Customer ID#
Your Customer ID is the 10-digit number shown in the top-right corner of the Google Ads dashboard (formatted as XXX-XXX-XXXX). Copy it.
Step 2 — Connect in AppRefer#
- Go to AppRefer Dashboard → Settings → Integrations → Google Ads.
- Enter your Customer ID.
- Click “Connect with Google” — you'll be redirected to Google to authorize AppRefer.
- Sign in with the Google account that has admin access to your Google Ads account and grant permission.
- You'll be redirected back to AppRefer with a success confirmation.
Click Test Connection to verify everything works. The test uses validateOnly mode — no data is recorded.
Step 3 — Set Up Conversion Actions#
Google Ads routes each conversion to a specific conversion action (identified by a numeric ID). You have two options:
Option A — Auto-create from AppRefer (recommended)
In Settings → Google Ads Conversion Actions, click “Create in Google” next to each event (purchase, install, etc.). AppRefer will automatically create the conversion action in your Google Ads account with the correct category and type, and fill in the action ID.
Option B — Create manually in Google Ads
- In Google Ads, go to Goals → Conversions → New conversion action → Import → Other data sources or CRMs → Track conversions from clicks.
- Name it (e.g., “AppRefer - Purchase”) and set the category (e.g., Purchase).
- After creation, note the Conversion Action ID from the URL (the numeric ID at the end).
- Enter the ID in the AppRefer conversion actions table for the corresponding event.
Per-Event Routing
How It Works#
When a user clicks your ad, Google appends a gclid to the tracking link URL. AppRefer captures and stores it. When a conversion event occurs, AppRefer uploads it to Google Ads via the Data Manager API:
POST datamanager.googleapis.com/v1/events:ingestgclid Required
?gclid={gclid} macro.Auto Token Refresh#
Google OAuth access tokens expire after 1 hour. AppRefer automatically refreshes them using the stored refresh token — no manual intervention needed after initial setup.
Troubleshooting#
| Issue | Fix |
|---|---|
| Test Connection fails with 'UNAUTHENTICATED' | Your token may have expired — click 'Reconnect' to re-authorize with Google |
| Conversions not showing in Google Ads | Google Ads can take up to 24 hours to process imported conversions |
| 'PERMISSION_DENIED' error | Ensure the Google account you connected has admin access to the Google Ads account |