Channel Targeting is a convenient way to make ads shown in certain sections of a web-site. For example, if your web-site consists of several categories (e.g. sports, health, news, etc.), and you want to show only those banners which are relevant to a given category, the Channel Targeting option is the tool you need.

The channel parameter (supp_channel in the screenshot below) should be inserted in quotation marks; this parameter's values are only allowed to be alphanumeric strings without any delimiters. Commonly, the channel parameter value is filled with a script.

note Channel Targeting
Note!

Parameter prefixes ('supp_' in the screenshot above) stand for the ID of your network, and should be identical for all the parameters in the Invocation Code. With White Labeling feature, the 'supp_' prefix will be replaced with the unique prefix of your network.

Predefined Functions

Epom Ad Server has predefined functions that can be used to obtain values that will be inserted to the Channel string value:

  1. This function 'takes' the domain name from the current browser window.
  2. function domainName() { return window.location.host.replace(/[^\w.-_~]/g, "); }
    supp_channel = window.location.hostname.replace(/[^\w.-_~]/g, '');
  3. This function 'takes' the domain name from the current browser window and removes all delimiters such as ".", "-", "_", "~", etc.
  4. function domainNameStrict() { return window.location.host.replace(/[^\w]/g, "); }
    supp_channel = window.location.hostname.replace(/[^\w]/g, '');
  5. This function obtains the complete URL from the current browser window and encodes it into the URL-safe string.
  6. function pageUrlEncoded() { return encodeURIComponent(document.URL); }
    supp_channel = encodeURIComponent(document.URL);
  7. This function obtains the URL from the current browser window and removes the protocol, query parameters, and fragments.
  8. function pagePath() { return (location.host + location.pathname).replace(/[^\w.-_~@[]]/g, "); }
    supp_channel = window.location.host + window.location.pathname;

Using Predefined Functions

  1. Inserting any of the functions listed above into the Iframe elements is not recommended: the domain/URL of the Iframe element will be processed instead of the actual page, where the ads were served.
  2. Functions #2-4 can disrupt the Action Tracking logic.
  3. Using functions #2-4 in combination with Campaign(s) that have Action Tracking enabled might skew the Analytics reports.

Inserting functions into Invocation Codes

Functions can be inserted to Epom Invocation Codes in two ways:

  1. The function can be declared before the Channel string, and its result is then assigned to the Channel.
  2. Any number of functions can be declared, but only one of the results can be added to the Channel itself. I.e.: in the example below all four functions are declared, but only the pageUrlEncoded() function result is assigned to the channel.

  3. Function can be inserted directly to the Channel value.
  4. The result of both the codes will be exactly the same.

Targeting by Channels

After the channelling is set, Target advertising can be configured:

  1. Log into your network account and go to the Advertisers tab.
  2. Navigate to the Advertiser > Campaign > Banner and activate the Targeting pane from the right side menu.
  3. Select either Include or Exclude depending on the needed behaviour.
  4. Select Channel from the list of Targeting Types, and fill in the Channel name (channel name is the result of the function).
  5. Click to add the Targeting rule and click Save.

Channel Targeting in VAST tags

To use Channel Targeting feature with Vast 2.0 (3.0) tags please add &ch= to the end of the VAST tag. For example:

http://adshost2.com/vast.xml?key=81092a3cf05843109f022d3ff201ec6e&vastv=3.0&ch=

Analytics

All data processed through supp_channel parameters is scored towards Epom Analytics. Therefore, Channel Targeting feature becomes a powerful tool for obtaining additional information about the pages and domains where the ads are served, making it a useful addition to the standard results such as Country, Campaign, Banner, etc.

For example, if the function is set to Channel the Category names assigned to the sites with similar content, the Network Manager can run the Analytics report grouped by this Channel. This will sort the results of the Analytics report according to the sites' content parameter:



Need more help?

Should you require any additional help with our solutions, do not hesitate to contact Epom technical support at support@epom.com. Our support managers are dedicated to resolving any issues and providing you with solutions and support if you face difficulties or have questions.