Google Ads
Set up Google Analytics 4 Measurement Protocol to send server-side conversion events from ioZen.
Send server-side conversion events to Google Analytics 4 (GA4) using the Measurement Protocol. These events can be imported into Google Ads for conversion tracking.
Prerequisites
- A Google Analytics 4 property
- Admin access to the GA4 property
- A web data stream configured
Step 1: Get Your Measurement ID
- Go to Google Analytics
- Navigate to Admin → Data Streams
- Click on your web data stream
- Copy the Measurement ID (starts with
G-, e.g.,G-XXXXXXXXXX)
Step 2: Create an API Secret
- In the same data stream settings, scroll down to Measurement Protocol API secrets
- Click Create
- Give it a name (e.g., "ioZen Server Events")
- Copy the generated API Secret
Step 3: Configure in ioZen
- Open your Intake Bot → Settings → Marketing & Attribution
- Toggle Google Ads on
- Paste your Measurement ID and API Secret
- The settings auto-save
Step 4: Test the Connection
Click Test Connection. Google's debug endpoint validates the event structure and returns any validation errors.
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
| Invalid Measurement ID | ID format is wrong | Must start with G-. Copy from GA4 → Admin → Data Streams. |
| Invalid API secret | Secret is incorrect or expired | Create a new secret in GA4 → Admin → Data Streams → Measurement Protocol API secrets. |
| Validation errors | Event payload has invalid fields | Check the error details for which field is invalid. Contact hello@iozen.ai if the issue persists. |
Best Practices
- Link GA4 to Google Ads — To use these conversions for Google Ads bidding, link your GA4 property to Google Ads and import the conversions.
- Use debug mode for testing — ioZen's test connection uses Google's debug endpoint which returns detailed validation messages.