← Home

Overview

MDE Exchange is a real-time ad exchange running OpenRTB 2.6 auctions. Publishers embed mde.js, advertisers upload creatives and set bids. The exchange clears auctions in <100ms.

Edit this page →

Publisher Registration

Register as a publisher, wait for activation, then create ad units inside your publisher portal. Once active, your inventory participates in live OpenRTB auctions.

Ad Units

Each ad unit declares sizes, environment (web/app/ctv), and a floor price. The exchange uses this to evaluate bids and clear the auction.

Tag Integration

Use the mde.js embed to define a slot, enable services, and display the div where ads should render. For full API details, see the mde.js Reference.

html
<!-- Example mde.js embed -->
<div id="ad-slot-1"></div>
<script type="module">
  import * as mde from 'https://exchange.adsgupta.com/mde.js';
  mde.init({ seat: 'mde', publisherId: 'YOUR_PUBLISHER_ID' });
  mde.defineSlot({ adUnitId: 'YOUR_AD_UNIT_ID', divId: 'ad-slot-1', sizes: ['300x250'] });
  mde.enableServices();
  mde.display('ad-slot-1');
</script>

ads.txt Setup

No ads.txt is required to start monetizing. If you publish ads.txt, it can improve buyer trust and reduce friction for certain demand partners.

Analytics

Your publisher analytics show impressions, win rate, and revenue breakdowns. For technical queries, the exchange also exposes reporting endpoints under the API reference.

Creating Campaigns

Campaigns define your advertiser seat, bid CPM, daily budget, targeting constraints, and eligible sizes. Once submitted and activated, your line participates in auctions across inventory.

Uploading Creatives

Upload creatives as JPG/PNG/WebP with a maximum size of 2MB. Each creative includes an image and a click destination URL that the exchange uses to generate the rendered ad markup.

Targeting Options

Target environments, devices, countries (or “all”), and eligible sizes. The auction engine evaluates targeting and applies frequency caps for additional control.

Campaign Dashboard

After activation, your dashboard shows live auction performance, creatives performance, and optional campaign intelligence and A/B test results.