github.com/prebid/prebid-server/v2@v2.18.0/adapters/smaato/smaatotest/videosupplemental/bad-adm-response.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "447a0a1d-389d-4730-a418-3777e95de7bd",
     4      "imp": [
     5        {
     6          "id": "1_1",
     7          "video": {
     8            "mimes": [
     9              "video/mp4",
    10              "video/3gpp"
    11            ],
    12            "minduration": 5,
    13            "maxduration": 30,
    14            "protocols": [
    15              7
    16            ],
    17            "w": 1024,
    18            "h": 768,
    19            "startdelay": 0,
    20            "linearity": 1,
    21            "skip": 1,
    22            "skipmin": 5,
    23            "api": [
    24              7
    25            ]
    26          },
    27          "ext": {
    28            "bidder": {
    29              "publisherId": "1100042525",
    30              "adbreakId": "400000001"
    31            }
    32          }
    33        },
    34        {
    35          "id": "1_2",
    36          "video": {
    37            "mimes": [
    38              "video/mp4",
    39              "video/3gpp"
    40            ],
    41            "minduration": 5,
    42            "maxduration": 30,
    43            "protocols": [
    44              7
    45            ],
    46            "w": 1024,
    47            "h": 768,
    48            "startdelay": 0,
    49            "linearity": 1,
    50            "skip": 1,
    51            "skipmin": 5,
    52            "api": [
    53              7
    54            ]
    55          },
    56          "ext": {
    57            "bidder": {
    58              "publisherId": "1100042525",
    59              "adbreakId": "400000001"
    60            }
    61          }
    62        }
    63      ],
    64      "site": {
    65        "publisher": {
    66          "id": "1100042525"
    67        },
    68        "content": {
    69          "title": "a-title",
    70          "season": "a-season",
    71          "series": "a-series",
    72          "episode": 1,
    73          "len": 900,
    74          "livestream": 1
    75        }
    76      },
    77      "device": {
    78        "ua": "test-user-agent"
    79      },
    80      "user": {
    81        "ext": {
    82          "data": {}
    83        }
    84      }
    85    },
    86    "httpCalls": [
    87      {
    88        "expectedRequest": {
    89          "headers": {
    90            "Content-Type": [
    91              "application/json;charset=utf-8"
    92            ],
    93            "Accept": [
    94              "application/json"
    95            ]
    96          },
    97          "uri": "https://prebid/bidder",
    98          "body": {
    99            "id": "447a0a1d-389d-4730-a418-3777e95de7bd",
   100            "imp": [
   101              {
   102                "id": "1_1",
   103                "tagid": "400000001",
   104                "video": {
   105                  "w": 1024,
   106                  "h": 768,
   107                  "mimes": [
   108                    "video/mp4",
   109                    "video/3gpp"
   110                  ],
   111                  "minduration": 5,
   112                  "startdelay": 0,
   113                  "linearity": 1,
   114                  "maxduration": 30,
   115                  "skip": 1,
   116                  "protocols": [
   117                    7
   118                  ],
   119                  "skipmin": 5,
   120                  "api": [
   121                    7
   122                  ],
   123                  "sequence": 1,
   124                  "ext": {
   125                    "context": "adpod"
   126                  }
   127                }
   128              },
   129              {
   130                "id": "1_2",
   131                "tagid": "400000001",
   132                "video": {
   133                  "w": 1024,
   134                  "h": 768,
   135                  "mimes": [
   136                    "video/mp4",
   137                    "video/3gpp"
   138                  ],
   139                  "minduration": 5,
   140                  "startdelay": 0,
   141                  "linearity": 1,
   142                  "maxduration": 30,
   143                  "skip": 1,
   144                  "protocols": [
   145                    7
   146                  ],
   147                  "skipmin": 5,
   148                  "api": [
   149                    7
   150                  ],
   151                  "sequence": 2,
   152                  "ext": {
   153                    "context": "adpod"
   154                  }
   155                }
   156              }
   157            ],
   158            "user": {
   159              "ext": {
   160              }
   161            },
   162            "device": {
   163              "ua": "test-user-agent"
   164            },
   165            "site": {
   166              "publisher": {
   167                "id": "1100042525"
   168              },
   169              "content": {
   170                "title": "a-title",
   171                "season": "a-season",
   172                "series": "a-series",
   173                "episode": 1,
   174                "len": 900,
   175                "livestream": 1
   176              }
   177            },
   178            "ext": {
   179              "client": "prebid_server_0.6"
   180            }
   181          },
   182          "impIDs":["1_1","1_2"]
   183        },
   184        "mockResponse": {
   185          "status": 200,
   186          "body": {
   187            "id": "5ebea288-f13a-4754-be6d-4ade66c68877",
   188            "seatbid": [
   189              {
   190                "seat": "CM6523",
   191                "bid": [
   192                  {
   193                    "adm": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><VAST version=\"2.0\"></VAST>",
   194                    "adomain": [
   195                      "smaato.com"
   196                    ],
   197                    "bidderName": "smaato",
   198                    "cid": "CM6523",
   199                    "crid": "CR69381",
   200                    "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   201                    "impid": "1_1",
   202                    "iurl": "https://iurl",
   203                    "nurl": "https://nurl",
   204                    "price": 0.01,
   205                    "w": 1024,
   206                    "h": 768,
   207                    "cat": ["IAB1"],
   208                    "ext": {
   209                      "duration": 5
   210                    }
   211                  },
   212                  {
   213                    "adm": "",
   214                    "adomain": [
   215                      "smaato.com"
   216                    ],
   217                    "bidderName": "smaato",
   218                    "cid": "CM6523",
   219                    "crid": "CR69381",
   220                    "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   221                    "impid": "1_2",
   222                    "iurl": "https://iurl",
   223                    "nurl": "https://nurl",
   224                    "price": 0.01,
   225                    "w": 1024,
   226                    "h": 768,
   227                    "cat": ["IAB2"],
   228                    "ext": {
   229                      "duration": 30
   230                    }
   231                  }
   232                ]
   233              }
   234            ],
   235            "bidid": "04db8629-179d-4bcd-acce-e54722969006",
   236            "cur": "USD"
   237          }
   238        }
   239      }
   240    ],
   241    "expectedMakeBidsErrors": [
   242      {
   243        "value": "Invalid ad markup .",
   244        "comparison": "literal"
   245      }
   246    ],
   247    "expectedBidResponses": [
   248      {
   249        "currency": "USD",
   250        "bids": [
   251          {
   252            "bid": {
   253              "adm": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><VAST version=\"2.0\"></VAST>",
   254              "adomain": [
   255                "smaato.com"
   256              ],
   257              "cid": "CM6523",
   258              "crid": "CR69381",
   259              "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   260              "impid": "1_1",
   261              "iurl": "https://iurl",
   262              "nurl": "https://nurl",
   263              "price": 0.01,
   264              "w": 1024,
   265              "h": 768,
   266              "cat": ["IAB1"],
   267              "ext": {
   268                "duration": 5
   269              },
   270              "exp": 300
   271            },
   272            "type": "video"
   273          }
   274        ]
   275      }
   276    ]
   277  }