github.com/prebid/prebid-server/v2@v2.18.0/adapters/smaato/smaatotest/exemplary/multiple-impressions-skadn.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
     4      "site": {
     5        "publisher": {
     6          "id": "1100042525"
     7        },
     8        "page": "http://localhost:3000/server.html?pbjs_debug=true&endpoint=http://localhost:3000/bidder",
     9        "ext": {
    10          "data": {
    11            "keywords": "power tools",
    12            "search": "drill",
    13            "content": {
    14              "userrating": 4
    15            }
    16          }
    17        }
    18      },
    19      "imp": [
    20        {
    21          "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
    22          "banner": {
    23            "format": [
    24              {
    25                "w": 320,
    26                "h": 50
    27              },
    28              {
    29                "w": 320,
    30                "h": 250
    31              }
    32            ]
    33          },
    34          "bidfloor": 0.00123,
    35          "ext": {
    36            "bidder": {
    37              "publisherId": "1100042525",
    38              "adspaceId": "130563103"
    39            },
    40            "skadn": {
    41              "versions": ["2.0", "2.1", "2.2", "3.0", "4.0"],
    42              "sourceapp": "880047117",
    43              "productpage": 1,
    44              "skadnetlist": {
    45                "max": 306,
    46                "excl": [2, 8, 10, 55],
    47                "addl": [
    48                  "cdkw7geqsh.skadnetwork",
    49                  "qyJfv329m4.skadnetwork"
    50                ]
    51              }
    52            }
    53          }
    54        },
    55        {
    56          "id": "postbid_iframe",
    57          "video": {
    58            "mimes": [
    59              "video/mp4",
    60              "video/quicktime",
    61              "video/3gpp",
    62              "video/x-m4v"
    63            ],
    64            "minduration": 5,
    65            "maxduration": 30,
    66            "protocols": [
    67              7
    68            ],
    69            "w": 1024,
    70            "h": 768,
    71            "startdelay": 0,
    72            "linearity": 1,
    73            "skip": 1,
    74            "skipmin": 5,
    75            "api": [
    76              7
    77            ],
    78            "ext": {
    79              "rewarded": 0
    80            }
    81          },
    82          "bidfloor": 0.00456,
    83          "ext": {
    84            "bidder": {
    85              "publisherId": "1100042526",
    86              "adspaceId": "130563104"
    87            },
    88            "skadn": {
    89              "versions": ["2.0", "2.1", "2.2", "3.0", "4.0"],
    90              "sourceapp": "880047118",
    91              "productpage": 1,
    92              "skadnetlist": {
    93                "max": 306,
    94                "excl": [2, 8, 10, 55],
    95                "addl": [
    96                  "cdkw7geqsh.skadnetwork",
    97                  "qyJfv329m4.skadnetwork"
    98                ]
    99              }
   100            }
   101          }
   102        }
   103      ],
   104      "device": {
   105        "ua": "test-user-agent",
   106        "ip": "123.123.123.123",
   107        "language": "en",
   108        "dnt": 0
   109      },
   110      "user": {
   111        "ext": {
   112          "consent": "gdprConsentString",
   113          "data": {
   114            "keywords": "a,b",
   115            "gender": "M",
   116            "yob": 1984,
   117            "geo": {
   118              "country": "ca"
   119            }
   120          }
   121        }
   122      },
   123      "regs": {
   124        "coppa": 1,
   125        "ext": {
   126          "gdpr": 1,
   127          "us_privacy": "uspConsentString"
   128        }
   129      }
   130    },
   131    "httpCalls": [
   132      {
   133        "expectedRequest": {
   134          "headers": {
   135            "Content-Type": ["application/json;charset=utf-8"],
   136            "Accept": ["application/json"]
   137          },
   138          "uri": "https://prebid/bidder",
   139          "body": {
   140            "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   141            "imp": [
   142              {
   143                "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   144                "tagid": "130563103",
   145                "bidfloor": 0.00123,
   146                "banner": {
   147                  "h": 50,
   148                  "w": 320,
   149                  "format": [
   150                    {
   151                      "w": 320,
   152                      "h": 50
   153                    },
   154                    {
   155                      "w": 320,
   156                      "h": 250
   157                    }
   158                  ]
   159                },
   160                "ext": {
   161                  "skadn": {
   162                    "versions": ["2.0", "2.1", "2.2", "3.0", "4.0"],
   163                    "sourceapp": "880047117",
   164                    "productpage": 1,
   165                    "skadnetlist": {
   166                      "max": 306,
   167                      "excl": [2, 8, 10, 55],
   168                      "addl": [
   169                        "cdkw7geqsh.skadnetwork",
   170                        "qyJfv329m4.skadnetwork"
   171                      ]
   172                    }
   173                  }
   174                }
   175              }
   176            ],
   177            "user": {
   178              "ext": {
   179                "consent": "gdprConsentString"
   180              },
   181              "gender": "M",
   182              "keywords": "a,b",
   183              "yob": 1984
   184            },
   185            "device": {
   186              "ua": "test-user-agent",
   187              "ip": "123.123.123.123",
   188              "language": "en",
   189              "dnt": 0
   190            },
   191            "regs": {
   192              "coppa": 1,
   193              "ext": {
   194                "gdpr": 1,
   195                "us_privacy": "uspConsentString"
   196              }
   197            },
   198            "site": {
   199              "publisher": {
   200                "id": "1100042525"
   201              },
   202              "page": "http://localhost:3000/server.html?pbjs_debug=true&endpoint=http://localhost:3000/bidder",
   203              "keywords": "power tools"
   204            },
   205            "ext": {
   206              "client": "prebid_server_0.6"
   207            }
   208          },
   209          "impIDs":["1C86242D-9535-47D6-9576-7B1FE87F282C"]
   210        },
   211        "mockResponse": {
   212          "status": 200,
   213          "body": {
   214            "id": "5ebea288-f13a-4754-be6d-4ade66c68877",
   215            "seatbid": [
   216              {
   217                "seat": "CM6523",
   218                "bid": [
   219                  {
   220                    "adm": "{\"image\":{\"img\":{\"url\":\"//prebid-test.smaatolabs.net/img/320x50.jpg\",\"w\":350,\"h\":50,\"ctaurl\":\"//prebid-test.smaatolabs.net/track/ctaurl/1\"},\"impressiontrackers\":[\"//prebid-test.smaatolabs.net/track/imp/1\",\"//prebid-test.smaatolabs.net/track/imp/2\"],\"clicktrackers\":[\"//prebid-test.smaatolabs.net/track/click/1\",\"//prebid-test.smaatolabs.net/track/click/2\"]}}",
   221                    "adomain": [
   222                      "smaato.com"
   223                    ],
   224                    "bidderName": "smaato",
   225                    "cid": "CM6523",
   226                    "crid": "CR69381",
   227                    "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   228                    "impid": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   229                    "iurl": "https://bidstalkcreatives.s3.amazonaws.com/1x1.png",
   230                    "nurl": "https://ets-eu-west-1.track.smaato.net/v1/view?sessionId=e4e17adb-9599-42b1-bb5f-a1f1b3bee572&adSourceId=6906aae8-7f74-4edd-9a4f-f49379a3cadd&originalRequestTime=1552310449698&expires=1552311350698&winurl=ama8JbpJVpFWxvEja5viE3cLXFu58qRI8dGUh23xtsOn3N2-5UU0IwkgNEmR82pI37fcMXejL5IWTNAoW6Cnsjf-Dxl_vx2dUqMrVEevX-Vdx2VVnf-D5f73gZhvi4t36iPL8Dsw4aACekoLvVOV7-eXDjz7GHy60QFqcwKf5g2AlKPOInyZ6vJg_fn4qA9argvCRgwVybXE9Ndm2W0v8La4uFYWpJBOUveDDUrSQfzal7RsYvLb_OyaMlPHdrd_bwA9qqZWuyJXd-L9lxr7RQ%3D%3D%7CMw3kt91KJR0Uy5L-oNztAg%3D%3D&dpid=4XVofb_lH-__hr2JNGhKfg%3D%3D%7Cr9ciCU1cx3zmHXihItKO0g%3D%3D",
   231                    "price": 0.01,
   232                    "w": 350,
   233                    "h": 50,
   234                    "ext": {
   235                      "skadn": {
   236                        "version": "2.2",
   237                        "network": "cdkw7geqsh.skadnetwork",
   238                        "campaign": "45",
   239                        "itunesitem": "123456789",
   240                        "sourceapp": "880047117",
   241                        "productpageid": "45812c9b-c296-43d3-c6a0-c5a02f74bf6e",
   242                        "fidelities": [
   243                          {
   244                            "fidelity": 0,
   245                            "signature": "MEQCIEQlmZRNfYzKBSE8QnhLTIHZZZWCFgZpRqRxHss65KoFAiAJgJKjdrWdkLUOCCjuEx2RmFS7daRzSVZRVZ8RyMyUXg==",
   246                            "nonce": "473b1a16-b4ef-43ad-9591-fcf3aefa82a7",
   247                            "timestamp": "1594406341"
   248                          },
   249                          {
   250                            "fidelity": 1,
   251                            "signature": "GRlMDktMmE5Zi00ZGMzLWE0ZDEtNTQ0YzQwMmU5MDk1IiwKICAgICAgICAgICAgICAgICAgInRpbWVzdGTk0NDA2MzQyIg==",
   252                            "nonce": "e650de09-2a9f-4dc3-a4d1-544c402e9095",
   253                            "timestamp": "1594406342"
   254                          }
   255                        ]
   256                      }
   257                    }
   258                  }
   259                ]
   260              }
   261            ],
   262            "bidid": "04db8629-179d-4bcd-acce-e54722969006",
   263            "cur": "USD"
   264          }
   265        }
   266      },
   267      {
   268        "expectedRequest": {
   269          "headers": {
   270            "Content-Type": ["application/json;charset=utf-8"],
   271            "Accept": ["application/json"]
   272          },
   273          "uri": "https://prebid/bidder",
   274          "body": {
   275            "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   276            "imp": [
   277              {
   278                "id": "postbid_iframe",
   279                "tagid": "130563104",
   280                "bidfloor": 0.00456,
   281                "video": {
   282                  "w": 1024,
   283                  "h": 768,
   284                  "ext": {
   285                    "rewarded": 0
   286                  },
   287                  "mimes": [
   288                    "video/mp4",
   289                    "video/quicktime",
   290                    "video/3gpp",
   291                    "video/x-m4v"
   292                  ],
   293                  "minduration": 5,
   294                  "startdelay": 0,
   295                  "linearity": 1,
   296                  "maxduration": 30,
   297                  "skip": 1,
   298                  "protocols": [
   299                    7
   300                  ],
   301                  "skipmin": 5,
   302                  "api": [
   303                    7
   304                  ]
   305                },
   306                "ext": {
   307                  "skadn": {
   308                    "versions": ["2.0", "2.1", "2.2", "3.0", "4.0"],
   309                    "sourceapp": "880047118",
   310                    "productpage": 1,
   311                    "skadnetlist": {
   312                      "max": 306,
   313                      "excl": [2, 8, 10, 55],
   314                      "addl": [
   315                        "cdkw7geqsh.skadnetwork",
   316                        "qyJfv329m4.skadnetwork"
   317                      ]
   318                    }
   319                  }
   320                }
   321              }
   322            ],
   323            "user": {
   324              "ext": {
   325                "consent": "gdprConsentString"
   326              },
   327              "gender": "M",
   328              "keywords": "a,b",
   329              "yob": 1984
   330            },
   331            "device": {
   332              "ua": "test-user-agent",
   333              "ip": "123.123.123.123",
   334              "language": "en",
   335              "dnt": 0
   336            },
   337            "regs": {
   338              "coppa": 1,
   339              "ext": {
   340                "gdpr": 1,
   341                "us_privacy": "uspConsentString"
   342              }
   343            },
   344            "site": {
   345              "publisher": {
   346                "id": "1100042526"
   347              },
   348              "page": "http://localhost:3000/server.html?pbjs_debug=true&endpoint=http://localhost:3000/bidder",
   349              "keywords": "power tools"
   350            },
   351            "ext": {
   352              "client": "prebid_server_0.6"
   353            }
   354          },
   355          "impIDs":["postbid_iframe"]
   356        },
   357        "mockResponse": {
   358          "status": 200,
   359          "body": {
   360            "id": "5ebea288-f13a-4754-be6d-4ade66c68877",
   361            "seatbid": [
   362              {
   363                "seat": "CM6523",
   364                "bid": [
   365                  {
   366                    "adm": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><VAST version=\"2.0\"></VAST>",
   367                    "adomain": [
   368                      "smaato.com"
   369                    ],
   370                    "bidderName": "smaato",
   371                    "cid": "CM6524",
   372                    "crid": "CR69382",
   373                    "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   374                    "impid": "postbid_iframe",
   375                    "iurl": "https://iurl",
   376                    "nurl": "https://nurl",
   377                    "price": 0.01,
   378                    "w": 1024,
   379                    "h": 768,
   380                    "ext": {
   381                      "skadn": {
   382                        "version": "2.2",
   383                        "network": "cdkw7geqsh.skadnetwork",
   384                        "campaign": "45",
   385                        "itunesitem": "123456789",
   386                        "sourceapp": "880047118",
   387                        "productpageid": "45812c9b-c296-43d3-c6a0-c5a02f74bf6e",
   388                        "fidelities": [
   389                          {
   390                            "fidelity": 0,
   391                            "signature": "MEQCIEQlmZRNfYzKBSE8QnhLTIHZZZWCFgZpRqRxHss65KoFAiAJgJKjdrWdkLUOCCjuEx2RmFS7daRzSVZRVZ8RyMyUXg==",
   392                            "nonce": "473b1a16-b4ef-43ad-9591-fcf3aefa82a7",
   393                            "timestamp": "1594406341"
   394                          },
   395                          {
   396                            "fidelity": 1,
   397                            "signature": "GRlMDktMmE5Zi00ZGMzLWE0ZDEtNTQ0YzQwMmU5MDk1IiwKICAgICAgICAgICAgICAgICAgInRpbWVzdGTk0NDA2MzQyIg==",
   398                            "nonce": "e650de09-2a9f-4dc3-a4d1-544c402e9095",
   399                            "timestamp": "1594406342"
   400                          }
   401                        ]
   402                      }
   403                    }
   404                  }
   405                ]
   406              }
   407            ],
   408            "bidid": "04db8629-179d-4bcd-acce-e54722969006",
   409            "cur": "USD"
   410          }
   411        }
   412      }
   413    ],
   414    "expectedBidResponses": [
   415      {
   416        "currency": "USD",
   417        "bids": [
   418          {
   419            "bid": {
   420              "adm": "<div style=\"cursor:pointer\" onclick=\"fetch(decodeURIComponent('%2F%2Fprebid-test.smaatolabs.net%2Ftrack%2Fclick%2F1'.replace(/\\+/g, ' ')), {cache: 'no-cache'});fetch(decodeURIComponent('%2F%2Fprebid-test.smaatolabs.net%2Ftrack%2Fclick%2F2'.replace(/\\+/g, ' ')), {cache: 'no-cache'});;window.open(decodeURIComponent('%2F%2Fprebid-test.smaatolabs.net%2Ftrack%2Fctaurl%2F1'.replace(/\\+/g, ' ')));\"><img src=\"//prebid-test.smaatolabs.net/img/320x50.jpg\" width=\"350\" height=\"50\"/><img src=\"//prebid-test.smaatolabs.net/track/imp/1\" alt=\"\" width=\"0\" height=\"0\"/><img src=\"//prebid-test.smaatolabs.net/track/imp/2\" alt=\"\" width=\"0\" height=\"0\"/></div>",
   421              "adomain": [
   422                "smaato.com"
   423              ],
   424              "cid": "CM6523",
   425              "crid": "CR69381",
   426              "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   427              "impid": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   428              "iurl": "https://bidstalkcreatives.s3.amazonaws.com/1x1.png",
   429              "nurl": "https://ets-eu-west-1.track.smaato.net/v1/view?sessionId=e4e17adb-9599-42b1-bb5f-a1f1b3bee572&adSourceId=6906aae8-7f74-4edd-9a4f-f49379a3cadd&originalRequestTime=1552310449698&expires=1552311350698&winurl=ama8JbpJVpFWxvEja5viE3cLXFu58qRI8dGUh23xtsOn3N2-5UU0IwkgNEmR82pI37fcMXejL5IWTNAoW6Cnsjf-Dxl_vx2dUqMrVEevX-Vdx2VVnf-D5f73gZhvi4t36iPL8Dsw4aACekoLvVOV7-eXDjz7GHy60QFqcwKf5g2AlKPOInyZ6vJg_fn4qA9argvCRgwVybXE9Ndm2W0v8La4uFYWpJBOUveDDUrSQfzal7RsYvLb_OyaMlPHdrd_bwA9qqZWuyJXd-L9lxr7RQ%3D%3D%7CMw3kt91KJR0Uy5L-oNztAg%3D%3D&dpid=4XVofb_lH-__hr2JNGhKfg%3D%3D%7Cr9ciCU1cx3zmHXihItKO0g%3D%3D",
   430              "price": 0.01,
   431              "w": 350,
   432              "h": 50,
   433              "exp": 300,
   434              "ext": {
   435                "skadn": {
   436                  "version": "2.2",
   437                  "network": "cdkw7geqsh.skadnetwork",
   438                  "campaign": "45",
   439                  "itunesitem": "123456789",
   440                  "sourceapp": "880047117",
   441                  "productpageid": "45812c9b-c296-43d3-c6a0-c5a02f74bf6e",
   442                  "fidelities": [
   443                    {
   444                      "fidelity": 0,
   445                      "signature": "MEQCIEQlmZRNfYzKBSE8QnhLTIHZZZWCFgZpRqRxHss65KoFAiAJgJKjdrWdkLUOCCjuEx2RmFS7daRzSVZRVZ8RyMyUXg==",
   446                      "nonce": "473b1a16-b4ef-43ad-9591-fcf3aefa82a7",
   447                      "timestamp": "1594406341"
   448                    },
   449                    {
   450                      "fidelity": 1,
   451                      "signature": "GRlMDktMmE5Zi00ZGMzLWE0ZDEtNTQ0YzQwMmU5MDk1IiwKICAgICAgICAgICAgICAgICAgInRpbWVzdGTk0NDA2MzQyIg==",
   452                      "nonce": "e650de09-2a9f-4dc3-a4d1-544c402e9095",
   453                      "timestamp": "1594406342"
   454                    }
   455                  ]
   456                }
   457              }
   458            },
   459            "type": "banner"
   460          }
   461        ]
   462      },
   463      {
   464        "currency": "USD",
   465        "bids": [
   466          {
   467            "bid": {
   468              "adm": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><VAST version=\"2.0\"></VAST>",
   469              "adomain": [
   470                "smaato.com"
   471              ],
   472              "cid": "CM6524",
   473              "crid": "CR69382",
   474              "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   475              "impid": "postbid_iframe",
   476              "iurl": "https://iurl",
   477              "nurl": "https://nurl",
   478              "price": 0.01,
   479              "w": 1024,
   480              "h": 768,
   481              "exp": 300,
   482              "ext": {
   483                "skadn": {
   484                  "version": "2.2",
   485                  "network": "cdkw7geqsh.skadnetwork",
   486                  "campaign": "45",
   487                  "itunesitem": "123456789",
   488                  "sourceapp": "880047118",
   489                  "productpageid": "45812c9b-c296-43d3-c6a0-c5a02f74bf6e",
   490                  "fidelities": [
   491                    {
   492                      "fidelity": 0,
   493                      "signature": "MEQCIEQlmZRNfYzKBSE8QnhLTIHZZZWCFgZpRqRxHss65KoFAiAJgJKjdrWdkLUOCCjuEx2RmFS7daRzSVZRVZ8RyMyUXg==",
   494                      "nonce": "473b1a16-b4ef-43ad-9591-fcf3aefa82a7",
   495                      "timestamp": "1594406341"
   496                    },
   497                    {
   498                      "fidelity": 1,
   499                      "signature": "GRlMDktMmE5Zi00ZGMzLWE0ZDEtNTQ0YzQwMmU5MDk1IiwKICAgICAgICAgICAgICAgICAgInRpbWVzdGTk0NDA2MzQyIg==",
   500                      "nonce": "e650de09-2a9f-4dc3-a4d1-544c402e9095",
   501                      "timestamp": "1594406342"
   502                    }
   503                  ]
   504                }
   505              }
   506            },
   507            "type": "video"
   508          }
   509        ]
   510      }
   511    ]
   512  }