forked from indexexchange/ix-library-adapters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgmsm-htb-exports.js
18 lines (16 loc) · 916 Bytes
/
gmsm-htb-exports.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
* This file contains any necessary functions that need to be exposed to the outside world.
* Things like (render functions) will be exposed by adding them to the shellInterface variable, under the partners
* profile name. This function will then be accessible through the window.headertag.AppNexusNetworkHtb object.
* If necessary for backwards compatibility with old creatives, you can also add things directly to the
* window namespace here, but this is discouraged if it's not strictly needed.
*/
//? if(FEATURES.GPT_LINE_ITEMS) {
shellInterface.GmsmHtb = {
render: SpaceCamp.services.RenderService.renderDfpAd.bind(null, 'GmsmHtb')
};
//? }
if (__directInterface.Layers.PartnersLayer.Partners.GmsmHtb) {
shellInterface.GmsmHtb = shellInterface.GmsmHtb || {};
shellInterface.GmsmHtb.adResponseCallback = __directInterface.Layers.PartnersLayer.Partners.GmsmHtb.adResponseCallback;
}