Quick start
Adall is fed from two sources: the ad platforms' official APIs (connected in the panel) and your own orders. Sending orders lets decisions follow real profit instead of what the platforms claim.
- Add your site in the panel and connect your Google Ads account in Settings › Connections. You choose separately how much adall does by itself; the default is to only suggest.
- In Settings › Connections › Send orders straight to adall › Setup details for your developer, Create key gives you a key and a secret. The secret is shown once.
- Add the script that captures click ids to your site:
<script src="https://live.adall.io/adall.js" data-site="SITE_KEY" defer></script>The ready code with your site's key is in Settings › Connections › Code for your site. The script also counts sent forms as a total without tracking anyone: it writes no cookie, does not read what is typed and does not send this count to ad platforms. If you send a form from code, call adall.push(["form"]).
For sales, add one line to the order confirmation step and put the order's number in place of 10045. The value must equal the reference of the event in step 4. A sale from a visitor who refused cookies is then written to the campaign they came from, in adall's own report: the ad arrival kept in memory (platform, paid medium, numeric campaign id) goes with the order number, nothing is stored on the device and this sale is not sent to any ad platform.
<script>window.adall = window.adall || []; adall.push(["order", "10045"]);</script>If your site opens a new page on every click (the page reloads), add data-carry to the script tag: <script src="…/adall.js" data-site="…" data-carry defer></script>. When cookies are refused, the script adds a short campaign marker (adall_t=g.cpc.1234567) to your site's own links and forms at the moment of the click; the next page reads it and removes it from the address bar, and still nothing is written to the device. If payment happens on another site the marker does not reach it: call the line before sending the buyer to pay.
- When an order is created, send an event from your server. The raw request is below; ready code for Node.js and PHP is on Code examples, the step-by-step setup (refunds, consent, retries, checking) on Orders and refunds.
BODY='{"schema_version":1,"events":[{"event_id":"order-1001","type":"order","occurred_at":"2026-09-18T10:00:00Z","reference":"1001","value":{"amount_minor":45000,"currency":"TRY"},"customer":{"email_sha256":"<SHA-256 of the e-mail>"},"consent":{"ad_user_data":"granted","source":"veribenim"}}]}'
TS=$(date +%s)
SIG=$(printf '%s.%s' "$TS" "$BODY" | openssl dgst -sha256 -hmac "$SECRET" -hex | cut -d' ' -f2)
curl -X POST https://live.adall.io/api/v1/events \
-H "Content-Type: application/json" -H "X-Adall-Key: $KEY" \
-H "X-Adall-Timestamp: $TS" -H "X-Adall-Signature: sha256=$SIG" \
-d "$BODY"- Amounts are sent in minor units (cents); never as decimals.
- E-mails and phone numbers are sent only as SHA-256 digests; plain text is refused.
- The same
event_idsent twice counts once.