github.com/prebid/prebid-server/v2@v2.18.0/adapters/smaato/smaatotest/exemplary/multiple-impressions.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          }
    41        },
    42        {
    43          "id": "postbid_iframe",
    44          "video": {
    45            "mimes": [
    46              "video/mp4",
    47              "video/quicktime",
    48              "video/3gpp",
    49              "video/x-m4v"
    50            ],
    51            "minduration": 5,
    52            "maxduration": 30,
    53            "protocols": [
    54              7
    55            ],
    56            "w": 1024,
    57            "h": 768,
    58            "startdelay": 0,
    59            "linearity": 1,
    60            "skip": 1,
    61            "skipmin": 5,
    62            "api": [
    63              7
    64            ],
    65            "ext": {
    66              "rewarded": 0
    67            }
    68          },
    69          "bidfloor": 0.00456,
    70          "ext": {
    71            "bidder": {
    72              "publisherId": "1100042526",
    73              "adspaceId": "130563104"
    74            }
    75          }
    76        }
    77      ],
    78      "device": {
    79        "ua": "test-user-agent",
    80        "ip": "123.123.123.123",
    81        "language": "en",
    82        "dnt": 0
    83      },
    84      "user": {
    85        "ext": {
    86          "consent": "gdprConsentString",
    87          "data": {
    88            "keywords": "a,b",
    89            "gender": "M",
    90            "yob": 1984,
    91            "geo": {
    92              "country": "ca"
    93            }
    94          }
    95        }
    96      },
    97      "regs": {
    98        "coppa": 1,
    99        "ext": {
   100          "gdpr": 1,
   101          "us_privacy": "uspConsentString"
   102        }
   103      }
   104    },
   105    "httpCalls": [
   106      {
   107        "expectedRequest": {
   108          "headers": {
   109            "Content-Type": ["application/json;charset=utf-8"],
   110            "Accept": ["application/json"]
   111          },
   112          "uri": "https://prebid/bidder",
   113          "body": {
   114            "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   115            "imp": [
   116              {
   117                "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   118                "tagid": "130563103",
   119                "bidfloor": 0.00123,
   120                "banner": {
   121                  "h": 50,
   122                  "w": 320,
   123                  "format": [
   124                    {
   125                      "w": 320,
   126                      "h": 50
   127                    },
   128                    {
   129                      "w": 320,
   130                      "h": 250
   131                    }
   132                  ]
   133                }
   134              }
   135            ],
   136            "user": {
   137              "ext": {
   138                "consent": "gdprConsentString"
   139              },
   140              "gender": "M",
   141              "keywords": "a,b",
   142              "yob": 1984
   143            },
   144            "device": {
   145              "ua": "test-user-agent",
   146              "ip": "123.123.123.123",
   147              "language": "en",
   148              "dnt": 0
   149            },
   150            "regs": {
   151              "coppa": 1,
   152              "ext": {
   153                "gdpr": 1,
   154                "us_privacy": "uspConsentString"
   155              }
   156            },
   157            "site": {
   158              "publisher": {
   159                "id": "1100042525"
   160              },
   161              "page": "http://localhost:3000/server.html?pbjs_debug=true&endpoint=http://localhost:3000/bidder",
   162              "keywords": "power tools"
   163            },
   164            "ext": {
   165              "client": "prebid_server_0.6"
   166            }
   167          },
   168          "impIDs":["1C86242D-9535-47D6-9576-7B1FE87F282C"]
   169        },
   170        "mockResponse": {
   171          "status": 200,
   172          "body": {
   173            "id": "5ebea288-f13a-4754-be6d-4ade66c68877",
   174            "seatbid": [
   175              {
   176                "seat": "CM6523",
   177                "bid": [
   178                  {
   179                    "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\"]}}",
   180                    "adomain": [
   181                      "smaato.com"
   182                    ],
   183                    "bidderName": "smaato",
   184                    "cid": "CM6523",
   185                    "crid": "CR69381",
   186                    "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   187                    "impid": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   188                    "iurl": "https://bidstalkcreatives.s3.amazonaws.com/1x1.png",
   189                    "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",
   190                    "price": 0.01,
   191                    "w": 350,
   192                    "h": 50
   193                  }
   194                ]
   195              }
   196            ],
   197            "bidid": "04db8629-179d-4bcd-acce-e54722969006",
   198            "cur": "USD"
   199          }
   200        }
   201      },
   202      {
   203        "expectedRequest": {
   204          "headers": {
   205            "Content-Type": ["application/json;charset=utf-8"],
   206            "Accept": ["application/json"]
   207          },
   208          "uri": "https://prebid/bidder",
   209          "body": {
   210            "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   211            "imp": [
   212              {
   213                "id": "postbid_iframe",
   214                "tagid": "130563104",
   215                "bidfloor": 0.00456,
   216                "video": {
   217                  "w": 1024,
   218                  "h": 768,
   219                  "ext": {
   220                    "rewarded": 0
   221                  },
   222                  "mimes": [
   223                    "video/mp4",
   224                    "video/quicktime",
   225                    "video/3gpp",
   226                    "video/x-m4v"
   227                  ],
   228                  "minduration": 5,
   229                  "startdelay": 0,
   230                  "linearity": 1,
   231                  "maxduration": 30,
   232                  "skip": 1,
   233                  "protocols": [
   234                    7
   235                  ],
   236                  "skipmin": 5,
   237                  "api": [
   238                    7
   239                  ]
   240                }
   241              }
   242            ],
   243            "user": {
   244              "ext": {
   245                "consent": "gdprConsentString"
   246              },
   247              "gender": "M",
   248              "keywords": "a,b",
   249              "yob": 1984
   250            },
   251            "device": {
   252              "ua": "test-user-agent",
   253              "ip": "123.123.123.123",
   254              "language": "en",
   255              "dnt": 0
   256            },
   257            "regs": {
   258              "coppa": 1,
   259              "ext": {
   260                "gdpr": 1,
   261                "us_privacy": "uspConsentString"
   262              }
   263            },
   264            "site": {
   265              "publisher": {
   266                "id": "1100042526"
   267              },
   268              "page": "http://localhost:3000/server.html?pbjs_debug=true&endpoint=http://localhost:3000/bidder",
   269              "keywords": "power tools"
   270            },
   271            "ext": {
   272              "client": "prebid_server_0.6"
   273            }
   274          },
   275          "impIDs":["postbid_iframe"]
   276        },
   277        "mockResponse": {
   278          "status": 200,
   279          "body": {
   280            "id": "5ebea288-f13a-4754-be6d-4ade66c68877",
   281            "seatbid": [
   282              {
   283                "seat": "CM6523",
   284                "bid": [
   285                  {
   286                    "adm": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><VAST version=\"2.0\"></VAST>",
   287                    "adomain": [
   288                      "smaato.com"
   289                    ],
   290                    "bidderName": "smaato",
   291                    "cid": "CM6524",
   292                    "crid": "CR69382",
   293                    "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   294                    "impid": "postbid_iframe",
   295                    "iurl": "https://iurl",
   296                    "nurl": "https://nurl",
   297                    "price": 0.01,
   298                    "w": 1024,
   299                    "h": 768
   300                  }
   301                ]
   302              }
   303            ],
   304            "bidid": "04db8629-179d-4bcd-acce-e54722969006",
   305            "cur": "USD"
   306          }
   307        }
   308      }
   309    ],
   310    "expectedBidResponses": [
   311      {
   312        "currency": "USD",
   313        "bids": [
   314          {
   315            "bid": {
   316              "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>",
   317              "adomain": [
   318                "smaato.com"
   319              ],
   320              "cid": "CM6523",
   321              "crid": "CR69381",
   322              "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   323              "impid": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   324              "iurl": "https://bidstalkcreatives.s3.amazonaws.com/1x1.png",
   325              "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",
   326              "price": 0.01,
   327              "w": 350,
   328              "h": 50,
   329              "exp": 300
   330            },
   331            "type": "banner"
   332          }
   333        ]
   334      },
   335      {
   336        "currency": "USD",
   337        "bids": [
   338          {
   339            "bid": {
   340              "adm": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><VAST version=\"2.0\"></VAST>",
   341              "adomain": [
   342                "smaato.com"
   343              ],
   344              "cid": "CM6524",
   345              "crid": "CR69382",
   346              "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   347              "impid": "postbid_iframe",
   348              "iurl": "https://iurl",
   349              "nurl": "https://nurl",
   350              "price": 0.01,
   351              "w": 1024,
   352              "h": 768,
   353              "exp": 300
   354            },
   355            "type": "video"
   356          }
   357        ]
   358      }
   359    ]
   360  }