Connecting Mailgun to Display & Video 360
Mailgun is developer-facing email infrastructure, which means the sending logic lives in your application and the marketing team frequently does not know what is being sent or when. DV360 shares Google's identity graph with Google Ads but not its conversion plumbing, which catches out advertisers who assume a conversion set up in one is visible in the other. The join between them succeeds or fails on one thing: whether the Floodlight activity, not a click identifier reaches the Mailgun message before the conversion happens, because DV360 can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Mailgun order emails re-firing your DV360 Floodlight
DV360 needs no Mailgun data, but receipt links to an order page carrying the purchase Floodlight can re-fire it. Count Floodlight transactions by order ID and point email links at untagged pages, or upload offline conversions once per order from the order record. Tag Mailgun links so orders record email touches, and compare those with post-view conversions.
DV360 has no use for Mailgun data, but Mailgun can still corrupt DV360's numbers. Order confirmation and shipping emails sent from your application usually link back to the order status page, and in many sites that page is the same URL as the purchase confirmation. Every customer who clicks a Mailgun receipt link then fires the purchase Floodlight again, and DV360 records a second conversion for an order that already counted.
Set the Floodlight sales activity to count transactions with the order ID passed as the order parameter, so a repeat fire for the same order is not counted again, and point Mailgun email links at a page that carries no Floodlight tag. If you upload offline conversions to Campaign Manager instead, upload from the order record, once per order, and never from a Mailgun event.
The other distortion is attribution. Customers who return through a Mailgun email after seeing a DV360 display ad can make the display campaign look like it closed sales your email closed. Put a parameter on your Mailgun links so the order records the email touch, then compare post-view Floodlight conversions against orders that came through email. That comparison is the honest check on how much the display spend actually adds.
Mailgun → DV360 · what breaks
Why this join usually fails — Mailgun → DV360
- 01
The Floodlight activity, not a click identifier never reaches Mailgun
No session, no click, and the trigger conditions are buried in application code rather than in a campaign tool.
- 02
Nobody able to say why a message was sent
When send logic lives in application code, the marketing team cannot audit it and the engineering team is not thinking about attribution. Messages accumulate, nobody owns the list, and any analysis of email's contribution is unreliable.
- 03
Assuming Google Ads conversions appear in DV360
They do not. They are separate systems with separate configuration, and an advertiser running both frequently discovers months in that DV360 has been optimizing toward a Floodlight nobody checked, or toward nothing at all.
- 04
Nothing reconciles afterwards
Campaign Manager reports Floodlight activity counts directly. Check those, not the DV360 campaign view, and compare against your own order count for the same window.
Mailgun → DV360 · the fix
What working looks like — Mailgun → DV360
The Floodlight activity, not a click identifier on every message
Conversions arriving in DV360
The conversion is attributed under the configured Floodlight and attribution model, and becomes available for optimization.
Reconciled against the source
Mailgun → DV360 · architecture
How Mailgun and DV360 actually connect
- 1
Mailgun holds the truth
Because sends are triggered in code, the only reliable description of why a message went out lives in your application, not in Mailgun's logs.
- 2
Display & Video 360 needs a click to match
DV360 needs the Floodlight activity to fire, or an offline conversion uploaded against it. It also needs the counting method — counter or sales, unique or per-session — set deliberately, because the default is frequently wrong for what you are measuring.
- 3
The identifier is the bridge
The Floodlight activity, not a click identifier, captured at the visit and carried into the Mailgun message.
- 4
The event source decides reliability
Send orders. Use Mailgun events for deliverability monitoring only.
- 5
Deduplication at the destination
Floodlight's counting method is the deduplication rule. A counter activity set to count every fire will record repeat page views as conversions, which is the single most common misconfiguration in the product.
Mailgun → DV360 · normal or broken
Working vs. broken, side by side — Mailgun → DV360
Normal, not a fault
The Floodlight activity, not a click identifier present on the message
Sent from your order system
Deduplicated correctly
Floodlight's counting method is the deduplication rule. A counter activity set to count every fire will record repeat page views as conversions, which is the single most common misconfiguration in the product.
Reconciles with the source
Actually broken
The Floodlight activity, not a click identifier missing on most records
No session, no click, and the trigger conditions are buried in application code rather than in a campaign tool.
Sent from the browser
When send logic lives in application code, the marketing team cannot audit it and the engineering team is not thinking about attribution. Messages accumulate, nobody owns the list, and any analysis of email's contribution is unreliable.
Counted twice, or not at all
They do not. They are separate systems with separate configuration, and an advertiser running both frequently discovers months in that DV360 has been optimizing toward a Floodlight nobody checked, or toward nothing at all.
Nobody has reconciled it
Mailgun → DV360 · diagnose
Diagnostic order — Mailgun → DV360
- 01
Count messages carrying the Floodlight activity, not a click identifier
- 02
Follow one real conversion end to end
- 03
Inventory every code path that triggers a send
Usually the first time anyone has, and it frequently finds sends nobody remembers building.
- 04
Open the Floodlight configuration and read the counting method
Counter versus sales, unique versus every fire. It takes a minute and it explains most inflated DV360 conversion counts.
- 05
Read the match rate, not the success message
Campaign Manager reports Floodlight activity counts directly. Check those, not the DV360 campaign view, and compare against your own order count for the same window.
Mailgun → DV360 · prove
How it gets proven — Mailgun → DV360
Source of truth
Your application's own record of what triggered the send, joined to the order.
- The Floodlight activity, not a click identifier confirmed present on a live message.
- Floodlight conversion counts reconciled against your own order records, with the counting method documented.
- Orders reconciled against imported conversions, with the send inventory documented.
Mailgun → DV360 · free audit
What we check in the free audit
- Count messages carrying the Floodlight activity, not a click identifier
- Follow one real conversion end to end
- Inventory every code path that triggers a send
- Open the Floodlight configuration and read the counting method
- Read the match rate, not the success message
Checked against
Your application's own record of what triggered the send, joined to the order.
Free30 minutesNo obligation
Mailgun → DV360 · when not to buy
When you don't need this — Mailgun → DV360
- Measure identifier coverage yourself first — pull your last hundred messages and count how many carry the Floodlight activity, not a click identifier.
- Deliverability monitoring is the right use of Mailgun's data. Attribution belongs at the order.
- If you only run Google Ads, you do not need Floodlight at all and setting it up adds a second conversion system to keep in sync.
Mailgun → DV360 · what we deliver
What gets built — Mailgun → DV360
Identifier capture into Mailgun
Record the trigger reason on the message in your own system and attribute at the order.
Event source: your order system
Send orders. Use Mailgun events for deliverability monitoring only.
Dispatch to DV360
Floodlight tags, or offline conversion upload through Campaign Manager against the Floodlight activity.
Reversals where they exist
Refunds reverse at the order.
Written guarantee
95%+ tracking accuracy
Measured against Your application's own record of what triggered the send, joined to the order.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Mailgun → DV360 questions, answered
Often because customers clicking links in order emails reload a page carrying the purchase Floodlight. Count transactions by order ID and keep the Floodlight off pages that emails link to.
No. Email clicks are not conversions. Upload orders from your order system against the Floodlight activity, and use email data only to see overlap.
Almost always because the Floodlight activity, not a click identifier never reached the Mailgun message. No session, no click, and the trigger conditions are buried in application code rather than in a campaign tool. Measure coverage before debugging the dispatch.
DV360 attributes through Floodlight rather than through gclid. Floodlight is Campaign Manager's conversion counter, it has its own configuration and its own attribution model, and a conversion action built in Google Ads does not exist in it. Two Google products, two conversion systems, one very common and expensive assumption.
Your order system. Send orders. Use Mailgun events for deliverability monitoring only.
Campaign Manager reports Floodlight activity counts directly. Check those, not the DV360 campaign view, and compare against your own order count for the same window.
More on Mailgun → DV360
- Stripe → DV360Connecting Stripe to Display & Video 360
- PayPal → DV360Connecting PayPal to Display & Video 360
- Shopify → DV360Connecting Shopify to Display & Video 360
RELATED GUIDES
Where Mailgun → DV360 fits in the rest of your tracking
- SendGrid → DV360Connecting SendGrid to Display & Video 360
- Resend → DV360Connecting Resend to Display & Video 360
- Postmark → DV360Connecting Postmark to Display & Video 360
- Mailgun → OutbrainConnecting Mailgun to Outbrain
- Mailgun → The Trade DeskConnecting Mailgun to The Trade Desk
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
Free · 30 min
Get Mailgun and DV360 joined properly
Free30 minutesNo obligation
