LemonAD postback URL → lidvanto: integration setup
How to set up the LemonAD postback URL in the lidvanto tracker: click ID in the landing’s clickid field, a global postback, {clickid}, {status}, {payout} macros and your own status names.
The LemonAD postback sends the statuses of your leads to the tracker: the click ID, the status and the payout. This guide shows how to connect LemonAD to the lidvanto tracker: how to pass the click ID through the landing page form, which postback URL to paste into the dashboard and which status names to enter so the tracker understands them.
What LemonAD is#
LemonAD (dashboard at limonad.com) is a CPA network that the lidvanto catalog lists under nutra and e-commerce products. According to the Partnerkin catalog, the network works on CPA and CPL in 35+ countries: Latin America, Asia, Europe and Africa. The TrafficCardinal review names nutra, adult and physical products as verticals and Tier-2 geos. Check payout terms — minimum amount, methods and schedule — in the dashboard: the sources differ.
Leads in LemonAD usually come from the network’s landing page that you host yourself: the form sends the lead through the lemon.php file from the offer card. The network takes the tracker’s click ID from the hidden clickid form field and returns it in the postback with the {clickid} macro — this is how the LemonAD guide for Binom describes it.
According to the LemonAD postback guide, the postback is a GET request. Macros: {clickid} — click ID, {leadid} — lead ID in LemonAD, {status} — lead status, {payout} — webmaster payout, {payoutOrZero} — the payout only in the payment status, 0 in the others. LemonAD doesn’t fix status names — you set them yourself when you add the postback.
What you need#
- a LemonAD webmaster account and an offer with a landing page;
- hosting with PHP for the LemonAD landing page: the lidvanto tracker accepts landing pages without server-side scripts, and
lemon.phpis a PHP file; - access to Tracker in lidvanto: affiliate networks, offers and campaigns.
Ready-made settings from the catalog#
LemonAD template in the lidvanto affiliate network catalog: the “Add affiliate network” form fills in these values. Vertical: Nutra and e-commerce goods.
Offer link parameters
clickid={click_id}
Add them to the offer link: the tracker will substitute the click ID for {click_id}.
Postback link
https://lidvanto.com/traffic/affiliate-postback/ID/?token=TOKEN&click_id={clickid}&order_id={leadid}&status={status}&payout={payout}
- ID and TOKEN are your affiliate network’s number and secret token: copy the ready link from its card.
What the affiliate network calls the statuses
| Status in lidvanto | Network values |
|---|---|
| Pending | new, lead |
| Confirmed | approve, sale, payout, paid |
| Declined | reject, rejected, trash |
Step 1. Create the LemonAD network from the catalog#
- Open Tracker → Affiliate networks and click Add affiliate network.
- Find LemonAD in the catalog. The macros, status names and click ID parameter fill in by themselves — the same values as in the block above.
- Keep Test mode on and click Save.
More about the form fields in Connecting a network.
Step 2. Pass the click ID into the landing page form#
- In the LemonAD offer card, download the landing page and the
lemon.phpfile, putlemon.phpnext to the landing page and renameindex.htmltoindex.php. - In
index.php, setaction="lemon.php"on the<form>tag and add a hidden field inside the form:
<input type='hidden' name='clickid' value='<?= $_GET['clickid'];?>'>
- Upload the landing page to your hosting.
- In lidvanto, in the offer card (Tracker → Offers), enter the landing page address with the parameter from the block above:
https://your-domain/path-to-landing/index.php?clickid={click_id}
The tracker substitutes the click ID into the link, the landing page puts it into the clickid field, LemonAD stores it with the lead and returns it in the postback with the {clickid} macro. Then connect the offer to the LemonAD network in the offer card’s Affiliate networks block. All offer URL macros are in Offers.
Sending traffic to a LemonAD flow link instead of your own landing page? The network’s guide doesn’t say whether a flow link accepts the clickid parameter and returns it in the postback — check in the LemonAD dashboard or with your network manager before you launch traffic.
Step 3. Add a global postback in the dashboard#
- In lidvanto, click Copy in the network card’s Postback link block. The link already contains the network number and a secret token — don’t publish it.
- In the LemonAD dashboard, open Profile → Global postback and API and click Add postback.
- Paste the copied link into the URL field.
- Fill in the status names — LemonAD puts exactly these words into
{status}:- New lead status —
new; - Confirmed leads status —
approve; - Lead rejected status —
reject; - Trash lead status —
trash; - Payment status —
payout.
- New lead status —
- Click Save.
You can also attach the postback to a single offer: turn on postback sending in the LemonAD offer card and add the link there. A global one is handier — one link for all offers.
Step 4. Check the statuses#
The lidvanto template maps new to Pending, approve and payout to Confirmed, reject and trash to Declined. In case you’ve already named the statuses differently, the template also understands the names from the LemonAD guide for Keitaro: lead, sale, rejected, plus paid. If you entered other words in the dashboard, add them to the network card, What the affiliate network calls the statuses block, otherwise the log shows Unsupported status.
The LemonAD guide has no separate currency macro, so the template doesn’t pass a currency: the tracker counts the payout in the currency set in Commission currency in the offer’s Affiliate networks block. Check in the LemonAD dashboard which currency the offer pays in and set the same one. More in Affiliate network postback.
Duplicates — repeat leads with the same phone number for the same offer within 24 hours — are hidden by LemonAD by default, and no postback is sent for them. To get postbacks for duplicates, turn on the switch in Profile → Global postback and API.
Step 5. Test with a lead#
- Open the campaign link and submit the form on the landing page.
- In lidvanto, open Statistics → Logs, Postbacks tab: it shows every request from the network and the tracker’s response; rejections are red, with the reason.
- The conversion appears in Statistics → Conversions as Pending, and after the advertiser’s decision — as Confirmed or Declined.
What to do with test leads after the check is described in Conversions and logs.
Common mistakes#
- The form has no
clickidfield. The network doesn’t get the click ID, and the postback arrives with an empty{clickid}. - The landing page is uploaded to the lidvanto tracker instead of your hosting. Tracker landing pages don’t run PHP, and
lemon.phpwon’t send the lead. - The status names in the dashboard differ from the network card. The postback is rejected with
Unsupported status. - The offer isn’t connected to the network. The log says the click or offer doesn’t belong to this affiliate network.
- The link was copied without the token. The tracker rejects requests without the correct token. Use the Copy button: the token is hidden on the page.
FAQ#
How do I pass the click ID to LemonAD?#
Through the hidden clickid field in the landing page form: clickid={click_id} in the landing page address in the tracker, and the value of that parameter in the form. LemonAD returns it in the postback with the {clickid} macro.
Which statuses does LemonAD send?#
The names you set in the dashboard for five statuses: new lead, confirmed, rejected, trash and payment. For the lidvanto template, enter new, approve, reject, trash and payout.
Which payout macro does LemonAD use?#
{payout} — the webmaster payout. There is also {payoutOrZero}: it passes the amount only in the payment status and 0 in the others. The lidvanto template uses {payout}.
Does LemonAD pass the currency in the postback?#
The LemonAD guide has no currency macro — check in the LemonAD dashboard. Without a currency in the postback, the tracker takes the commission currency from the offer card.
Why is a conversion stuck in Pending?#
The advertiser’s call center hasn’t processed the lead yet, or the LemonAD postback has a name only for the new lead status. Make sure names are set for all statuses.
Does LemonAD have an API?#
Yes: according to the LemonAD guide, you can send leads to the network via API with a webmaster token, and the public API returns the balance, leads and offers — your manager grants access to it. The postback to lidvanto doesn’t need the API.
Further reading#
- How to set up an S2S postback — how conversions get from an affiliate network to the tracker.
- lidvanto tracker — campaigns, streams, offers and ROI per setup.
- All integrations — other networks from the catalog.