How to send costs to Binom

Updated:

⚡ In short

  • Understand how Dolphin {Cloud} sends costs to Binom.
  • Set up your ad link so the ad ID lands in a Binom token.
  • Fill in the export settings in Dolphin.
  • Find out why costs are not passed fully or at all.

ℹ️ Plan

Cost export is not available on the Light and Start plans.

🧠 How does the export work?

Dolphin knows which ads, adsets and campaigns exist, and how much money each ad, adset and campaign has spent over its whole run, broken down by day.

Every ad, adset and campaign has its own unique ID. This makes any Facebook Ads object easy to identify among the others.

If we assume Binom knows the ID of the ad that got the click, all Dolphin has to do is tell Binom via its API:

The ad with ID = X had spend = Y in currency Z on 2020-02-06

Now let's look at the X, Y and Z variables from the example above.

  • Z (currency): Dolphin knows the currency of the ad account this ad belongs to, so it easily inserts the right ISO currency code. If it isn't Binom's base currency (for example, your tracker uses rubles and the FB ad account uses euros), the tracker converts it on its own.
  • Y (spend): Dolphin also knows the ad's spend for each day. So it's easy for Dolphin to build the daily cost breakdown automatically and pass it to Binom.
  • X (ad ID): the most interesting part! Read about it below.

🔗 Setting up traffic in Binom

In very simple terms

Set up your FB ad link so that your ad IDs arrive in one of the Binom tokens.

In more detail: Tokens in Binom

Binom has the concept of a Token. Tokens are tags, parameters in the address bar that carry extra information about your ad clicks.

For example, your landing page is at http://landing.ru. You run FB traffic from two adsets: one targets men, the other targets women. For further traffic analytics, you really want to see stats by gender separately.

So it makes sense to add to the link:

ℹ️ Good to know

The ?t1=female tail passes extra information about the visitor's gender to your tracker. Keep this idea in mind!

Ad ID in Facebook

So now it's clear how to pass the ad ID to the tracker: add ?t1=<ID> to your ad links. The second question: where do you get the ad ID?

This is very simple. Facebook has a special macro that gets replaced with the ID of the specific ad being shown at that moment. The macro looks like this:

{{ad.id}}

By the way, FB has a lot of macros.

Now the puzzle comes together. Combining the Token and the ad_id macro, we get the following piece of code to add to the FB ad link:

?t1={{ad.id}}

✅ Check

All that's left is to check that everything is set up correctly. Hopefully you have launched a couple of ad accounts with the new ad link, and Binom has already received some traffic from it.

Now:

  1. Go to the Clicklog section.
  2. Turn on the Token1 column.
  3. Check whether this column shows the FB ad ID.

If you see a real ad ID, the hardest part is over. If it is still empty, try the life hack below.

🆘 Binom support

You're a media buyer, not a programmer. So you may well get lost in all these integrations and fail to pass the ad ID to Binom token1.

In that case, send Binom support this message:

Hello! I run traffic from FB and use your tracker. I need to pass the FB macro {{ad.id}} to the tracker's token1 parameter. What should I change in my integration to do this?

We think this helps in 90% of cases. If things still don't move, read on.

🐬 Dolphin support

Dolphin is first of all a tool that lets you take the actions you need to get effective results from your work.

Every media buyer's integrations are very different. Some use domain parking, some use an API integration on their own servers. Others use Shopify.

⚠️ Warning

We can't offer a universal integration solution that will make everything work for you right away. So setting up the integration of your promo materials with Binom for cost export is outside the scope of regular Dolphin support. In fact, this task is not directly related to Dolphin at all.

⚙️ Setting up Dolphin

💡 What else is in the settings

Export frequency: every 25, 30, 45 or 60 minutes. You can choose which ID is in the link: ad, ad set, campaign or ad account. “Pause between requests” is set in milliseconds, up to 2000. For Binom 2.0 there is a separate “Cost export to Binom 2.0” block with its own tracker link field.

SettingWhat it does
Tracker URLJust copy the link from the browser's address bar.
API keyThe key for accessing the Binom API (see below how to get it).
Which campaigns to export to?All campaigns or only selected groups / traffic sources.
Stat periodThe period of stats to export to Binom.
Frequency (interval)How often to export costs.
Ignore ad accounts timezonesThe export uses only the server time zone instead of the ad accounts' time zones.

🔑 API key

To get the API key:

  1. Go to the Binom settings.
  2. Open the API tab.
  3. Copy the api_key from there.

🎯 Which campaigns to export to?

In most cases, leave this switch on All campaigns.

⚠️ Warning

If your tracker has 100+ campaigns (let alone 1000+), the export can slow down a lot.

So if you have many campaigns, select the ones that should receive costs. You can select campaigns by:

  • Groups
  • Traffic sources

💡 Tip

For example, you run FB and push traffic. The tracker has 75 push campaigns and only 25 FB ones. Obviously, there's no point exporting FB costs to 75 push campaigns. In this case, create 2 traffic sources: Push and Facebook. Then in Dolphin choose export to selected traffic sources and select only one of the two below: Facebook.

📅 Stat period

Usually it makes sense to set the period of stats exported to Binom to Today and yesterday. This way the cost tails for the previous day that arrive a bit after midnight get loaded too.

⏱️ Frequency (interval)

How often should costs be exported? Any setting is fine: it depends on your needs.

🌍 Ignore ad accounts timezones

This option makes the cost export use only your server's time zone instead of the ad accounts' time zones.

❓ Costs are not passed fully or partially

Reasons why costs don't reach Binom:

  • You entered the tracker URL incorrectly or incompletely.
  • You specified a Token different from the one in Binom.
  • If costs are passed partially, someone may have forgotten to add this piece of code to the FB ad link: ?t1={{ad.id}}
  • You don't run traffic through Binom.

🐬 Connect cost export and manage Facebook ads in one place: try Dolphin {Cloud}