JS Tag
For sites/e-commerce. Paste and it works.
One tag and one slot — or the API if you want full control. Clear docs, ready-made examples, test mode and OpenAPI-generated reference.
The tag.js discovers slots, calls /serve, renders in a sandboxed iframe (anti-XSS) and measures impression and click. Zero business logic on the client.
<!-- no <head> -->
<script async src="https://cdn.adpluga.com/v1/tag.js"
data-adpluga-key="pk_test_•••"></script>
<!-- onde quiser o anúncio -->
<div data-adpluga-slot="slot_home_top"></div>For sites/e-commerce. Paste and it works.
'<PlugaSlot>' component from the @adpluga/react package.
Restricted CSP or via Google Tag Manager.
Server-to-server, email, AMP, native app.
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/serve | Decides and returns an ad + token (never empty) |
| POST | /v1/track | Records impression/click/conversion (signed) |
| GET | /v1/ad-campaigns | Lists client campaigns |
| POST | /v1/ad-campaigns | Creates campaign (budget, model, targeting) |
| GET | /v1/reports/daily-stats | Sliceable metrics for BI |
Full reference generated from openapi.yaml with try-it. Authenticated by publishable key (client) and secret key (server).