
ClickFlare has two RichAds templates. Pick RichAds push for push notification campaigns, which this page covers. Pick RichAds pops for popunder campaigns. The two use different cost macros. See RichAds as a Traffic Source for the pops setup.
At a glance
How it works
1
RichAds sends the click
A subscriber clicks your push notification. RichAds opens your ClickFlare campaign URL and fills in its macros: the click ID in
click_id, the winning price in bid_price, plus the publisher, site, subscriber list, country, OS and other details.2
ClickFlare stores the RichAds click ID
ClickFlare saves the value of
click_id as the visit’s External ID, records the cost, and redirects the visitor to your lander or offer.3
The conversion reaches ClickFlare
Your affiliate network or store posts the conversion back to ClickFlare, matched on the ClickFlare click ID.
4
ClickFlare posts it back to RichAds
ClickFlare fires the RichAds postback, replacing
{external_id} with the stored RichAds click ID and {payout} with the revenue. RichAds matches it to the original click.The mirror to keep straight: in the campaign URL you write ClickFlare’s parameter (
click_id) and RichAds’ macro ([CLICK_ID]). The template does this for you. In the postback URL you write RichAds’ parameter (key) and ClickFlare’s token ({external_id}).Before you start
- Set up your own tracking domain. Run the campaign and the postback on your own custom domain. Shared domains get flagged by networks and blocked by browsers. See Custom Domains.
- Have an offer ready in ClickFlare, and its affiliate network set up to post conversions back to ClickFlare. See Creating an Offer and Adding an Affiliate Network.
- Plan to set up the postback before launch. RichAds’ optimization tools, such as automated rules, micro bidding, Target CPA and SmartCPC, run on the conversions RichAds receives. Without the postback they have nothing to work with.
- Decide which conversion RichAds should receive. RichAds optimizes on what you send it. If your funnel has several steps (lead, then sale), choose the one that matters most.
Step 1 – Create the campaign and the RichAds Push traffic source
- Go to Campaigns and click New.
- In Traffic Source, open the dropdown and click + New Traffic Source.
- Type
richadsin the search box and select the RichAds push template. Don’t pick RichAds pops. - Enter a Name, for example
RichAds Push. - Leave Cost currency on USD unless your RichAds account is billed in another currency.

publisher_id, site_id and sub_list_id are the ones you will use most: they tell you which sources convert, so you can blacklist them or raise bids on them in RichAds.
The Subscriber list ID row ships switched off. Turn it on if you want subscriber list reports. [SUB_LIST_ID] is a push-only macro, and subscriber lists are a common unit for push optimization.
To pass more RichAds data, click Add Parameter, give it a name and parameter, and enter the RichAds macro as the TS Token. ClickFlare assigns the next free tracking field. RichAds’ macro list also includes [COUNTRY_CODE], [REGION], [CITY], [OS_ONLY], [OS_VER] and [USERAGENT]. Check the macros your RichAds campaign setup lists before adding them.
Step 2 – Set up the postback
The postback is what sends conversions to RichAds. It lives on the traffic source, so every campaign that uses this RichAds traffic source sends conversions the same way.Add it to the traffic source in ClickFlare
- In the New Traffic Source form, scroll to Passing conversion info to traffic source.
- Turn on Traffic source postback URL. The template’s postback appears:

{external_id}) in key and the payout ({payout}) in price, both as ClickFlare tokens. There is no account placeholder to replace. RichAds identifies your account from the click ID.
- Optionally, change
http://tohttps://. RichAds’ postback as other trackers publish it starts withhttps://xml.auxml.com. Both point at the same endpoint. - In the dropdown on the left, choose the ClickFlare event that should fire the postback. Keep Conversions to send every conversion. If your final action is a custom conversion (for example
purchase), choose that instead. - Click Save. You are back in the campaign editor with the RichAds traffic source selected.
Check it against RichAds
When you create a campaign in RichAds, the Tracking block below the creatives shows a postback URL for the tracker you select. Compare it with the template’s. Apart from the click ID token, which is ClickFlare’s{external_id} here, the domain and the action, key and price parameters should match.
price is the conversion’s revenue. RichAds uses it for its CPA-based tools and shows it in your RichAds stats. Send it in the same currency your RichAds account uses. See Multicurrency in ClickFlare.
To learn what each postback token does, see How to Configure a Traffic Source S2S Postback URL.
Step 3 – Finish the campaign and copy its URL
- Name the campaign.
- Set the Cost Model to Not Tracked, so ClickFlare uses the cost RichAds passes. See Cost.
- Choose Redirect or Direct tracking. Redirect is the usual choice for push traffic.
- Click Next and, on Destination, add your lander (optional) and your offer.
- Save, open Tracking, select your own tracking domain and copy the campaign URL.
click_id=[CLICK_ID] and site_id=[SITE_ID].
If you use a lander, its call-to-action must link to the ClickFlare click URL, not to the offer directly. Otherwise the visit reaches the offer without a ClickFlare click ID, and the conversion cannot be traced back to RichAds.
See Creating a Campaign in ClickFlare.
Step 4 – Create the campaign in RichAds
- In RichAds, go to Campaigns and create a new push campaign.
- Choose targeting, creatives and bid as usual.
- Paste the ClickFlare campaign URL into the campaign’s Destination URL field.
- Submit the campaign for moderation.
[...] macro when the notification is clicked.
Step 5 – Test the integration
Run a small test before you scale.- Launch the campaign with a low budget, or wait for the first clicks.
- In ClickFlare, open the campaign report and group by a RichAds column, for example Site ID. Real values, not
[SITE_ID], mean the macros are being replaced. - Complete the offer the way a real visitor would, or wait for the first real conversion.
- In ClickFlare, go to Logs → Postback Status and filter by the campaign. A successful request to
xml.auxml.comconfirms ClickFlare sent the postback. - In RichAds, check the campaign statistics. The conversion should appear there too.
[CLICK_ID] value. A conversion from a hand-typed test URL has no RichAds click ID for RichAds to match.
Sending only one event
RichAds’ public documentation describes one postback with one payout, and no event parameter. Send RichAds the conversion you want it to optimize on.Choosing the event RichAds receives
Choosing the event RichAds receives
Map the postback to your final conversion, for example a
purchase custom conversion. Earlier steps (leads, add to carts) still show in ClickFlare. They just don’t reach RichAds.If RichAds only receives your final sale, Target CPA and SmartCPC aim at the cost of that sale.Sending only some conversions
Sending only some conversions
To send a postback only for some conversions, for example only those above a certain payout, use Event filter under the postback to add conditions.
Cost
The template passes cost per click. Thecost row sends RichAds’ [BID_PRICE] macro in bid_price. RichAds describes it as the winning price of the click. ClickFlare records it as the visit’s cost.
On the campaign, set the Cost Model to Not Tracked so ClickFlare uses the cost passed in the URL.
[BID_PRICE] reflects the click price on CPC campaigns. If you buy RichAds push traffic another way, compare the Cost column with your RichAds spend after launch. If it doesn’t match, switch the Cost Model to CPC and enter your price per click. On CPM, enter your CPM bid divided by 1,000 as the cost value.[BID_PRICE] is push-only. The pops template uses [CPV_PRICE] instead, which is one reason to pick the right template.
The template has no cost integration attached. When the recorded spend differs from your RichAds spend, correct it with a manual cost upload. See Cost Models.
Delayed revenue
If you run search arbitrage (RSOC or AFD) behind RichAds, the feed reports revenue hours or days after the click. To pass that revenue to RichAds once it arrives, see Sending Delayed Revenue to Traffic Sources.Troubleshooting
Conversions show in ClickFlare but not in RichAds
Conversions show in ClickFlare but not in RichAds
- Traffic source postback URL is off on the RichAds traffic source.
- Disable sending postbacks to traffic source is on in the campaign.
- The postback is mapped to a different event than the one the conversion logged. Check Logs → Event Logs to see which event was recorded.
- The conversion’s visit has no External ID, so
keywent out empty. Check thatclick_id=[CLICK_ID]is in the URL in RichAds. - Check Logs → Postback Status: a failed request shows the status code RichAds returned.
RichAds shows conversions with no revenue
RichAds shows conversions with no revenue
The template sends
price={payout}, so it was removed or edited. Restore &price={payout} at the end of the postback.Also check that the offer sends a payout to ClickFlare. If ClickFlare records the conversion with a payout of 0, RichAds receives 0.Cost is 0 or wrong
Cost is 0 or wrong
- The campaign’s Cost Model is not Not Tracked, so ClickFlare ignores
bid_price. - The traffic source was created from the RichAds pops template, which reads
[CPV_PRICE]. RichPush fills[BID_PRICE]. Create the traffic source again from RichAds push.
Columns show [SITE_ID] or other macros as text
Columns show [SITE_ID] or other macros as text
The macros were not replaced, usually because the URL was pasted somewhere RichAds doesn’t process macros, or was edited. Paste the campaign URL from ClickFlare unchanged. See Traffic Source Tokens Arriving Empty.
FREQUENTLY ASKED QUESTIONS
Q1: Can I use one RichAds traffic source for both push and pops campaigns?A1: No. The two templates pass cost with different macros:
[BID_PRICE] for push, [CPV_PRICE] for pops. Create one traffic source from each template and pick the one that matches the campaign’s format.
Q2: Can I use the same RichAds Push traffic source for all my push campaigns?A2: Yes. The postback is set once on the traffic source and every campaign using it sends conversions the same way. Create a second traffic source only if a campaign needs a different postback, for example a different event.
Q3: Why is it calledA3: They are two halves of the same value. ClickFlare reads RichAds’ click ID from its ownclick_idin the campaign URL andkeyin the postback?
click_id parameter. RichAds expects it back in its own key parameter. Both names are fixed. Change neither.
Q4: Do I need to add my RichAds account ID to the postback?A4: No. The postback has no account placeholder. RichAds matches the conversion through the click ID in
key.
Q5: Should I use Redirect or Direct tracking with RichAds?A5: Redirect is the usual choice for push traffic. Use Direct only if RichAds must see your lander’s domain as the destination. See Direct Campaign Tracking.
Related
RichAds pops
The setup for RichAds popunder campaigns.
Traffic source postbacks
Every token you can use in a postback.
Cost models
How CPC, CPA and RevShare costs are calculated.
Conversions not showing
The general checklist when postbacks don’t arrive.