Adsterra

How to Track Adsterra Traffic

ClicksTracker tracks any Adsterra format that sends visitors to a click URL, and connects to the Adsterra API on every plan. Its Auto-Create tab submits popunder campaigns from iOS, Android and Desktop templates for Adsterra's moderation and follows them until they are approved, and the placement IDs you capture drive placement blocking.

Last updated

What you will set up

An Adsterra traffic source holding your API token, a Campaign URL that carries Adsterra's click id and placement macros, popunder campaign requests from templates that ClicksTracker follows through Adsterra's moderation, and a two way postback so conversions reach both ClicksTracker and Adsterra. You will use the ten custom tracking variables, v0 through v9, to record placement and campaign data.

Step by step

1

Add Adsterra as a traffic source

Go to Traffic Sources, click Add Traffic Source, put Adsterra in the name and click Create Traffic Source. ClicksTracker reads the network from the name when the traffic source is created, so the Integration tab appears, and a later rename does not change the network. Open the new traffic source, go to that tab, paste your API Token from the Adsterra advertiser dashboard and click Save Credentials. Saving does not call Adsterra, so click Test Connection to validate the token against the Adsterra API.

Put Adsterra's click id, ##SUB_ID_SHORT(action)##, on the External ID row, and map custom variables to the macros you want to record, for example v0 = ##PLACEMENT_ID## and v1 = ##CAMPAIGN_ID##. You set these on the traffic source's Settings tab and save them with Update Traffic Source; the create form has the same fields in its Traffic Source Parameters table, where Add Variable adds a custom variable row.

The same table has a Cost row, which starts ticked and adds cost={cost} to the URL. {cost} is not an Adsterra macro (every Adsterra macro carries the ## marks), so untick Enable on that row. The campaign's cost value then applies, which Auto-Create sets to the bid Adsterra accepted.

2

Submit popunder campaigns with Auto-Create

On the traffic source's Auto-Create tab, pick the iOS, Android, or Desktop templates, which create CPM campaigns with the Smart CPM switch on by default. Choose your Countries, the Flow every new campaign gets, its Domain, the Bid (CPM), the Daily Budget, an optional Hourly Budget, a Frequency Cap per 24 hours and, if you like, OS versions. If Adsterra answers that a bid is below its minimum, ClicksTracker submits the campaign again at that minimum and records it as the campaign's cost value.

Adsterra does not create a campaign straight away: each template and country becomes a moderation request. ClicksTracker checks every pending request every 15 minutes and stores the live campaign ID once Adsterra approves it. The campaign's Integration tab shows the moderation status, the decline reason if Adsterra declined it, and a Check Approval button that asks Adsterra at once. Auto-Create asks Adsterra to keep each approved campaign inactive, so nothing spends until you start it in step 6.

3

Use the generated Campaign URL

ClicksTracker builds the Campaign URL for you, and Auto-Create sends it as the landing URL of each request. For a campaign you create in Adsterra yourself, copy it from the campaign page into the campaign's landing URL: ClicksTracker tracks its clicks and conversions, while Zone Optimization, Auto-Pause, the bid tools and Campaigns Sync act only on campaigns made with Auto-Create. With the Cost row unticked it carries the campaign ID plus the Adsterra macros you mapped:

https://track.yourdomain.com/click?cid=42&eid=##SUB_ID_SHORT(action)##&v0=##PLACEMENT_ID##&v1=##CAMPAIGN_ID##
ParameterCarries
cidYour ClicksTracker campaign ID.
eidAdsterra's click id, ##SUB_ID_SHORT(action)##, stored as the click's external_id for the return postback.
v0, v1The placement and campaign IDs (##PLACEMENT_ID##, ##CAMPAIGN_ID##), captured into the custom variables.

Adsterra blocks by placement, so map ##PLACEMENT_ID##, not ##ZONE_ID## (that one is the publisher's site). The ## marks are part of every Adsterra macro. Other Adsterra macros you can map into v2 to v9: ##BANNER_ID##, ##COUNTRY_CODE##, ##USER_OS##, ##BROWSER_NAME##, ##COST_CPC##.

4

Capture placements in v0 to v9

With the placement IDs in a custom variable, the campaign's Variable Stats tab and your reports break performance down by placement. On the traffic source's Zone Optimization tab, pick the variable that carries ##PLACEMENT_ID## as the Placement Variable, set Min. Clicks (0 conversions) and the Date Range (Skip leaves out the latest days for late conversions), choose the campaigns and click Analyze, then block the placements you select through Adsterra's blacklist API.

Adsterra rejects a whole batch when one placement ID in it is invalid, so ClicksTracker blocks placements one at a time and reports each one that failed. Protected Zones are never blocked, and Schedule runs the rule on its own. To run a campaign on chosen placements only, add them on the campaign's Whitelisted Zones tab.

5

Set the conversion postbacks

Inbound: in your affiliate network, point the postback at your ClicksTracker conversion URL (Settings, Tracking Setup has ready made templates for ten networks).

Outbound: In Adsterra, open Conversion tracking, choose a custom tracker and press GENERATE POSTBACK to confirm your username. Then save this URL on the traffic source's Postbacks tab in ClicksTracker:

http://www.pbterra.com/name/YOUR_USERNAME/at?subid_short={external_id}&atpay={payout}

YOUR_USERNAME is your Adsterra login, and atpay is in US dollars. ClicksTracker fills {external_id} with the Adsterra click id stored on the click, and {payout} with the conversion's payout. See the postback setup guide for every macro and how failed deliveries are retried.

6

Start approved campaigns

Once the Integration tab shows a campaign as approved, start it from the tracker: on the traffic source's Campaigns Sync tab, select it, click Start at traffic source and confirm. Conversions then show up in near real time, as stats arrive in batches within about 30 seconds.

7

Optimize from the traffic source page

Auto-Pause lists the campaigns whose ROI is below your threshold once they reach your minimum clicks and spend; you select and confirm, Adsterra pauses them, and ClicksTracker archives each one as soon as it is paused. Set Bids finds Adsterra's minimum bid for a campaign's country or sets one you choose, and Boost Bids raises the bids of the campaigns that clear your ROI, with a preview first.

Adsterra details worth knowing

  • Until Adsterra approves a request, every call ClicksTracker makes for that campaign uses the request ID; after approval it uses the live campaign ID, so bids, pauses and placement blocks reach the right campaign either way.
  • Bids are per country at Adsterra, and Auto-Create makes one request per template and country, so each country keeps its own bid.
  • Auto-Create costs each campaign at its bid, and Manual Update on the Cost Update page replaces that with the total you enter for the dates you pick.
  • The frequency cap is set once, in the creation request; change it later in Adsterra.

Start tracking Adsterra campaigns

Connect Adsterra with your API token and follow these steps in your own account.