A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: libraries/Language.php

Line Number: 11

Backtrace:

File: /var/www/docs.dolphin.ru.com/application/libraries/Language.php
Line: 11
Function: _error_handler

File: /var/www/docs.dolphin.ru.com/application/controllers/View.php
Line: 10
Function: detect

File: /var/www/docs.dolphin.ru.com/index.php
Line: 315
Function: require_once

Export costs to Binom

Export costs to Binom

What is the principle of export?

Dolphin has data on what ads / ads / campaigns are. As well as how much each ad / ads / campaign spent money for the entire time of its open in the context of the day.

Each ad / ad / campaign has its own unique ID. Thus, any Facebook Ads ad can be easily identified against the rest.

Assuming that Binom knows the ID of the ad that was clicked, Dolphin can only tell Binom by its API the following:

The ad with ID = X for the date 2020-02-06 had an expense = Y in the currency Z

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

Z (currency) - Dolphin knows the currency of the cabinet to which the specified ad belongs. Therefore, he will easily substitute the desired currency ISO-code. If this is not the Binom base currency (for example, in your tracker rubles, and the cabinet is fb in euros), the tracker will convert the currency on its own.

Y (expense) - Dolphin also knows what expense the ad had for which day. Therefore, it will not be difficult for Dolphin to automatically formulate the daily expenses and transfer them to Binom.

X (Ad ID) - this is the most interesting! Read about this item below.

Traffic setup in Binom

If very simplistic

You must set up an advertising link in fb so that one of your token Binom receives the ID of your ads.

If more

Token in Binom

Binom has the concept of token. These are labels, parameters in the address bar, which carry additional information about your advertising clicks. For example, your landing page is located at the address http: // landing.ru. You pour from the fb from two adsets - in one you have a target for men, and in the other - for women. For further traffic analytics, I really want to know the statue separately by gender. Therefore, it makes sense to add the link http: //landing.ru/? T1 = male for the male adset andhttp: //landing.ru/? T1 = female for the female.

Thus, using the tail ? T1 = female, additional information about the visitor’s field is transferred to your tracker. Fix this thought!

Facebook Ad ID

So, now it’s clear how to drop the ad ID into the tracker. In sponsored links you need to add ? T1 = <ID>. The second question arises - where to get the ad ID?

With this, everything is very simple. Facebook has a special macro that will replace itself with the ID of a specific ad that is currently showing. The macro looks like this:

{{ad.id}}

By the way, the fb has [a lot of macros] (https://www.facebook.com/business/help/1016122818401732)

Now the puzzle is folding. Combining the information about Token and the ad_id macro, we get the following piece of code that needs to be added to the fb advertising link:

? t1 = {{ad.id}}

Verification

It remains only to check whether you managed to set everything up correctly. I hope that you have charged a couple of cabinets with a new advertising link, and a lot of traffic has already poured into Binom with a little traffic on the new link.

Now you need:

  1. Go to the Clicklog section
  2. Configure Token1 column display
  3. See if the fb ad ID is displayed in this column.

If you see the real ad ID, then the hardest part is behind. If everything is empty there, then I suggest using the life hack below:

Support Binom

You are an arbitrator, not a dishwasher programmer. Therefore, it is quite possible that you will get confused in all these integrations, and you can’t get the ad ID in token1 Binom.

In this case, I suggest you write the following message to Binom support:

Hello! I pour traffic from the fb, use your tracker. I need to throw the macro {{ad.id}} from fb into the token1 parameter of the tracker. Tell me, what should I change in integration to do this?

I think that in 90% of cases this will help. Still, if the matter does not move off the ground, read on.

Support Dolphin

Dolphin is primarily a tool so that you can do what you can do it. All arbitrageurs have very different integrations. Someone uses domain parking, someone uses API integration on their servers. Still others are shopify.

Therefore, for my part, I cannot give universal integration solutions so that everything works for you right away. It follows that the work of setting up the integration of your promotional materials in Binom for the subsequent export of expenses goes beyond the regular support of Dolphin. Or rather, to say that this task is not directly related to Dolphin

If you still have difficulties integrating Binom, then write to our support @dolphin_support_bot. This is the surest way to solve your problem quickly.

Dolphin setup

Tracker link

Just copy the link from the address bar of the browser

API key

To get the API key, you need:

  1. Go to Binom settings
  2. Go to the API tab
  3. Pick up api_key from there

To which campaigns to export?

In most cases, you should leave this switch in the All campaigns position. Nevertheless, if your campaign tracker has 100+ (and even more so if 1000+), then the scripts can hang solidly on both sides.

Therefore, if there are many campaigns, it is worth highlighting a part of the campaigns into which it is necessary to unload expenses. You can highlight campaigns by:

  • Groups
  • Traffic sources

For example, you pour fb and push. The tracker has 75 push campaigns and only 25 fb. Naturally, it’s stupid to try to export fb expenses to 75 pk by push. In this case, 2 traffic sources are created - Push and Facebook. And Dolphin indicates that you need to export to the selected traffic sources. And below, only one of two sources is selected - Facebook.

Statistics Period

Most often, it is advisable to put the period of statistics uploaded to Binom into the Today and Yesterday position. This is necessary in order to load the tails of expenses that reach the last day a little after midnight.

Frequency (interval)

How often do you need to export expenses? Any setting is normal - it depends on your needs.