github.com/prebid/prebid-server/v2@v2.18.0/adapters/smaato/smaatotest/exemplary/simple-banner-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          "instl": 1,
    35          "bidfloor": 0.00123,
    36          "ext": {
    37            "bidder": {
    38              "publisherId": "1100042525",
    39              "adspaceId": "130563103"
    40            },
    41            "skadn": {
    42              "versions": ["2.0", "2.1", "2.2", "3.0", "4.0"],
    43              "sourceapp": "880047117",
    44              "productpage": 1,
    45              "skadnetlist": {
    46                "max": 306,
    47                "excl": [2, 8, 10, 55],
    48                "addl": [
    49                  "cdkw7geqsh.skadnetwork",
    50                  "qyJfv329m4.skadnetwork"
    51                ]
    52              }
    53            }
    54          }
    55        }
    56      ],
    57      "device": {
    58        "ua": "test-user-agent",
    59        "ip": "123.123.123.123",
    60        "language": "en",
    61        "dnt": 0
    62      },
    63      "user": {
    64        "ext": {
    65          "consent": "gdprConsentString",
    66          "data": {
    67            "keywords": "a,b",
    68            "gender": "M",
    69            "yob": 1984,
    70            "geo": {
    71              "country": "ca"
    72            }
    73          }
    74        }
    75      },
    76      "regs": {
    77        "coppa": 1,
    78        "ext": {
    79          "gdpr": 1,
    80          "us_privacy": "uspConsentString",
    81          "gpp": "gppString",
    82          "gpp_sid": [
    83            7
    84          ]
    85        }
    86      }
    87    },
    88    "httpCalls": [
    89      {
    90        "expectedRequest": {
    91          "headers": {
    92            "Content-Type": [
    93              "application/json;charset=utf-8"
    94            ],
    95            "Accept": [
    96              "application/json"
    97            ]
    98          },
    99          "uri": "https://prebid/bidder",
   100          "body": {
   101            "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   102            "imp": [
   103              {
   104                "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   105                "tagid": "130563103",
   106                "bidfloor": 0.00123,
   107                "instl": 1,
   108                "banner": {
   109                  "h": 50,
   110                  "w": 320,
   111                  "format": [
   112                    {
   113                      "w": 320,
   114                      "h": 50
   115                    },
   116                    {
   117                      "w": 320,
   118                      "h": 250
   119                    }
   120                  ]
   121                },
   122                "ext": {
   123                  "skadn": {
   124                    "versions": ["2.0", "2.1", "2.2", "3.0", "4.0"],
   125                    "sourceapp": "880047117",
   126                    "productpage": 1,
   127                    "skadnetlist": {
   128                      "max": 306,
   129                      "excl": [2, 8, 10, 55],
   130                      "addl": [
   131                        "cdkw7geqsh.skadnetwork",
   132                        "qyJfv329m4.skadnetwork"
   133                      ]
   134                    }
   135                  }
   136                }
   137              }
   138            ],
   139            "user": {
   140              "ext": {
   141                "consent": "gdprConsentString"
   142              },
   143              "gender": "M",
   144              "keywords": "a,b",
   145              "yob": 1984
   146            },
   147            "device": {
   148              "ua": "test-user-agent",
   149              "ip": "123.123.123.123",
   150              "language": "en",
   151              "dnt": 0
   152            },
   153            "regs": {
   154              "coppa": 1,
   155              "ext": {
   156                "gdpr": 1,
   157                "us_privacy": "uspConsentString",
   158                "gpp": "gppString",
   159                "gpp_sid": [
   160                  7
   161                ]
   162              }
   163            },
   164            "site": {
   165              "publisher": {
   166                "id": "1100042525"
   167              },
   168              "page": "http://localhost:3000/server.html?pbjs_debug=true&endpoint=http://localhost:3000/bidder",
   169              "keywords": "power tools"
   170            },
   171            "ext": {
   172              "client": "prebid_server_0.6"
   173            }
   174          },
   175          "impIDs":["1C86242D-9535-47D6-9576-7B1FE87F282C"]
   176        },
   177        "mockResponse": {
   178          "status": 200,
   179          "body": {
   180            "id": "5ebea288-f13a-4754-be6d-4ade66c68877",
   181            "seatbid": [
   182              {
   183                "seat": "CM6523",
   184                "bid": [
   185                  {
   186                    "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\"]}}",
   187                    "adomain": [
   188                      "smaato.com"
   189                    ],
   190                    "bidderName": "smaato",
   191                    "cid": "CM6523",
   192                    "crid": "CR69381",
   193                    "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   194                    "impid": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   195                    "iurl": "https://bidstalkcreatives.s3.amazonaws.com/1x1.png",
   196                    "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",
   197                    "price": 0.01,
   198                    "w": 350,
   199                    "h": 50,
   200                    "ext": {
   201                      "skadn": {
   202                        "version": "2.2",
   203                        "network": "cdkw7geqsh.skadnetwork",
   204                        "campaign": "45",
   205                        "itunesitem": "123456789",
   206                        "sourceapp": "880047117",
   207                        "productpageid": "45812c9b-c296-43d3-c6a0-c5a02f74bf6e",
   208                        "fidelities": [
   209                          {
   210                            "fidelity": 0,
   211                            "signature": "MEQCIEQlmZRNfYzKBSE8QnhLTIHZZZWCFgZpRqRxHss65KoFAiAJgJKjdrWdkLUOCCjuEx2RmFS7daRzSVZRVZ8RyMyUXg==",
   212                            "nonce": "473b1a16-b4ef-43ad-9591-fcf3aefa82a7",
   213                            "timestamp": "1594406341"
   214                          },
   215                          {
   216                            "fidelity": 1,
   217                            "signature": "GRlMDktMmE5Zi00ZGMzLWE0ZDEtNTQ0YzQwMmU5MDk1IiwKICAgICAgICAgICAgICAgICAgInRpbWVzdGTk0NDA2MzQyIg==",
   218                            "nonce": "e650de09-2a9f-4dc3-a4d1-544c402e9095",
   219                            "timestamp": "1594406342"
   220                          }
   221                        ]
   222                      }
   223                    }
   224                  }
   225                ]
   226              }
   227            ],
   228            "bidid": "04db8629-179d-4bcd-acce-e54722969006",
   229            "cur": "USD"
   230          }
   231        }
   232      }
   233    ],
   234    "expectedBidResponses": [
   235      {
   236        "currency": "USD",
   237        "bids": [
   238          {
   239            "bid": {
   240              "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>",
   241              "adomain": [
   242                "smaato.com"
   243              ],
   244              "cid": "CM6523",
   245              "crid": "CR69381",
   246              "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   247              "impid": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   248              "iurl": "https://bidstalkcreatives.s3.amazonaws.com/1x1.png",
   249              "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",
   250              "price": 0.01,
   251              "w": 350,
   252              "h": 50,
   253              "exp": 300,
   254              "ext": {
   255                "skadn": {
   256                  "version": "2.2",
   257                  "network": "cdkw7geqsh.skadnetwork",
   258                  "campaign": "45",
   259                  "itunesitem": "123456789",
   260                  "sourceapp": "880047117",
   261                  "productpageid": "45812c9b-c296-43d3-c6a0-c5a02f74bf6e",
   262                  "fidelities": [
   263                    {
   264                      "fidelity": 0,
   265                      "signature": "MEQCIEQlmZRNfYzKBSE8QnhLTIHZZZWCFgZpRqRxHss65KoFAiAJgJKjdrWdkLUOCCjuEx2RmFS7daRzSVZRVZ8RyMyUXg==",
   266                      "nonce": "473b1a16-b4ef-43ad-9591-fcf3aefa82a7",
   267                      "timestamp": "1594406341"
   268                    },
   269                    {
   270                      "fidelity": 1,
   271                      "signature": "GRlMDktMmE5Zi00ZGMzLWE0ZDEtNTQ0YzQwMmU5MDk1IiwKICAgICAgICAgICAgICAgICAgInRpbWVzdGTk0NDA2MzQyIg==",
   272                      "nonce": "e650de09-2a9f-4dc3-a4d1-544c402e9095",
   273                      "timestamp": "1594406342"
   274                    }
   275                  ]
   276                }
   277              }
   278            },
   279            "type": "banner"
   280          }
   281        ]
   282      }
   283    ]
   284  }