- miss behaving ad network : blacklist in emergency
- overcome server side issue : Override configuration
- replacing an adNetwork with another
- on the fly revenue optimization testing : order, append, prepend
{
"adNetworks": {
"blacklist": ["adx", "sovrn"]
}
}
{
"adNetworks": {
"order": ["adx", "sovrn", "facebook"]
}
}
{
"adNetworks": {
"prepend": [
{
"name": "facebook",
"accountId": "1715891948661649",
"adTags": {
"300x250": "1715892455328265"
}
}
]
}
}
{
"adNetworks": {
"append" : [
{
"name": "facebook",
"accountId": "1715891948661649",
"adTags": {
"300x250": "1715892455328265"
}
}
]
}
}
{
"adNetworks": {
"replace" : {
"adNetwork": "adx",
"with" : [
{
"name": "facebook",
"accountId": "1715891948661649",
"adTags": {
"300x250": "1715892455328265"
}
}
]
}
}
}
{
"adNetworks": [
{
"name": "facebook",
"accountId": "1715891948661649",
"adTags": {
"300x250": "1715892455328265"
},
{
"name": "adx"
}
]
}
{
"adNetworks": {
"override" : [
{
"name": "facebook",
"accountId": "1715891948661649",
"adTags": {
"300x250": "1715892455328265"
},
{
"name": "adx"
}
]
}
}
Use javascript in order to manipulate server side twister configuration using Nashorn.
TwisterFactory.getCurrentConfig()
.andRemove("adx", "facebook")
.andPrepend("facebook", [1658462294414926, "300x250", 1658465174414638])
.andReplace("sovrn")
.with("facebook", [1658462294414926, "300x250", 1658465174414638])
.orderBy("adx", "sovrn", "facebook")
.build();