For the complete documentation index, see llms.txt. This page is also available as Markdown.

Using Additional Sub IDds

As explained in the Using Sub Ids documentation, Sub Ids are used by Publishers to segment traffic. For example, they might do this by traffic source. This information will then be displayed in the Statistics tab, in the Sub IDs sub-tab.

As well as this, there are two more parameters that are essentially the exact same as sub overall: sub2 and sub3.

Examples

Asynchronous ad zones: Banners, Sticky Banners, Instant Messages, Outstream Ads and Mutli-Formats

Added data-sub = XXXXXX, data-sub2 = XXXXXX and data-sub3 = XXXXXX

<script async type="application/javascript" src="https://ads.examplesite.com/ad-provider.js"></script>
<ins class="adsbynetwork" data-zoneid="1234567" data-sub="XXXXXX" data-sub2="XXXXXX" data-sub3="XXXXXX"></ins>
<script>(AdProvider = window.AdProvider || []).push({"serve": {}});</script>

iFrames

Added &sub= XXXXXX, &sub2= XXXXXX and &sub3= XXXXXX

<iframe src="//a.examplesite.com/iframe.php?idzone=1234567&size=300x250&sub=XXXXXX&sub2=XXXXXX&sub3=XXXXXX" width="300" height="250" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>

Native

Added as data-ad_sub= "XXXXXX"; data-ad_sub2 = "XXXXXX"; data-ad_sub3 = "XXXXXX";

data-ad_sub= "XXXXXX";
data-ad_sub2 = "XXXXXX";
data-ad_sub3 = "XXXXXX";

RTB

Added in ext object as &sub=XXXXXX, &sub2=XXXXXX, &sub3=XXXXXX

These parameters could be used to segment the traffic even more. However, unlike sub, this won’t be displayed in the Sub IDs sub-tab of the Statistics tab. However, we do register them internally. The only way to get the data for these metrics is through the API Global Routes for Publishers.

Here are two examples of how the request should look in order to pull data from sub2 and sub3 respectively:

Grouping by sub2 and sub3

Filtering and grouping by sub2 and sub 3

Note: It is only possible to group in two dimensions. If you you want to group by sub, you will need to remove either sub2 or sub3. Otherwise, the response will generate an error.

Last updated

Was this helpful?