- Google Ads GCLIDs frequently exceed 100 characters and are strictly case-sensitive; always create Text(255) Case-Sensitive fields on Lead, Contact, and Opportunity.
- Enable Salesforce Lead Field Mapping and add an OpportunityContactRole fallback lookup so multi-stakeholder enterprise deals inherit the original ad clicker's GCLID.
- New custom Salesforce-to-Google Ads integrations post-June 15, 2026 must target Google Ads Data Manager API (with legacy Google Ads API only for grandfathered accounts).
- Enforce a 6-hour click indexing delay, deterministic sf_opp_
_ order_id deduplication, and automated Slack alerting on partial failures.
To send reliable Salesforce Opportunity and Closed-Won revenue to Google Ads: (1) create custom Text(255) fields AR_GCLID__c, AR_GBRAID__c, and AR_Click_Timestamp__c on Lead, Contact, and Opportunity with Lead Conversion Mapping enabled, (2) resolve multi-contact Opportunities by falling back to the earliest ad-attributed OpportunityContactRole on the Account, (3) fire a Salesforce Record-Triggered Flow → External Service / Cloudflare Worker posting to the Google Ads Data Manager API after a 6-hour buffer, and (4) alert RevOps in Slack on any ingestion warning or partialFailureError.
1. Required Custom Salesforce Fields (Never Truncate GCLIDs)
Google Ads GCLIDs often exceed 100 characters and are strictly case-sensitive. Create these fields on Lead, Contact, and Opportunity and map them in Object Manager → Lead → Map Lead Fields:
| API Field Name | Salesforce Field Type | Objects Required | Why It Matters |
|---|---|---|---|
AR_GCLID__c | Text(255), Case-Sensitive | Lead, Contact, Opportunity | Prevents UNPARSEABLE_GCLID truncation |
AR_GBRAID__c / AR_WBRAID__c | Text(255), Case-Sensitive | Lead, Contact, Opportunity | Keeps iOS/app click IDs isolated from GCLID |
AR_Click_Timestamp__c | Date/Time (UTC) | Lead, Contact, Opportunity | Enforces 6h buffer & 90-day cliff routing |
AR_OCT_Uploaded_Stage__c | Text(100) | Opportunity | Stops Flow re-fire loops on record edits |
2. Solving the Multi-Stakeholder Buying Committee Gap
In enterprise Salesforce orgs, a Director of Operations clicks your Google Ad and books a demo, then the VP of Finance signs the $85,000 order form 70 days later. Your Flow/Worker payload builder should look up click IDs in strict fallback order:
Opportunity.AR_GCLID__c(inherited directly on Lead conversion)- Primary
OpportunityContactRole.Contact.AR_GCLID__c - Most recent ad-attributed Contact on the parent
AccountIdwithin 90 days of Opportunity creation (paired with SHA-256 email/phone of the attributed Contact for Enhanced Conversions for Leads).
3. Deterministic order_id + Weighted Pipeline Value
Use sf_opp_<Opportunity.Id>_<StageApiName> as the Google Ads order_id so stage bounces deduplicate cleanly. For cycles over 90 days, upload weighted Stage 2 Opportunity value (Amount * HistoricalStageCloseRate) inside Day 30 and reconcile final Closed-Won ARR in BigQuery. Compare options in our Salesforce Connector Matrix, validate sample JSON in our Payload Validator, or generate a spec in our Architecture Builder. Official docs: Salesforce Lead Field Mapping, Cloudflare Workers, and Google Ads Data Manager API.