For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Using Additional Sub IDs

As explained in Using Sub IDs, you use Sub IDs as a Publisher to segment your traffic, for example by traffic source. This information then appears 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 Script

(Banner, Mobile Banner, Sticky Banner, Instant Message, Mobile Instant Message, Desktop Fullpage Interstitial, Mobile Fullpage Interstitial, Video Slider, Outstream Video, Recommendation Widget, Push Notification, In-Page Push Notification, Multi-Format)

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

iFrame

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

Popunder

(Inline + Remote Script)

Added sub = XXXXXX, sub2 = XXXXXX and sub3 = XXXXXX to adConfig

(Remote Script Only)

Added ad_sub = XXXXXX, ad_sub2 = XXXXXX and ad_sub3 = XXXXXX

RTB

These parameters could be used to segment the traffic even more. Unlike sub, they do not appear in the Sub IDs sub-tab of the Statistics tab. They are registered internally. The only way to get the data for these metrics is through the API Global Routes for Publishers — the POST /statistics/publisher/global route. You can find this route in your network's API documentation (for example, https://api.examplesite.com/v2/docs/).

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 sub3

Note: You can only group by two dimensions. To add sub, remove one of the other two. Otherwise the request returns an error.

Last updated

Was this helpful?