github.com/prebid/prebid-server/v2@v2.18.0/adapters/smaato/smaatotest/supplemental/bad-adm-response.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          "ext": {
    35            "bidder": {
    36              "publisherId": "1100042525",
    37              "adspaceId": "130563103"
    38            }
    39          }
    40        }
    41      ],
    42      "device": {
    43        "ua": "test-user-agent",
    44        "ip": "123.123.123.123",
    45        "language": "en",
    46        "dnt": 0
    47      },
    48      "user": {
    49        "ext": {
    50          "consent": "gdprConsentString",
    51          "data": {
    52            "keywords": "a,b",
    53            "gender": "M",
    54            "yob": 1984,
    55            "geo": {
    56              "country": "ca"
    57            }
    58          }
    59        }
    60      },
    61      "regs": {
    62        "coppa": 1,
    63        "ext": {
    64          "gdpr": 1,
    65          "us_privacy": "uspConsentString"
    66        }
    67      }
    68    },
    69    "httpCalls": [
    70      {
    71        "expectedRequest": {
    72          "headers": {
    73            "Content-Type": ["application/json;charset=utf-8"],
    74            "Accept": ["application/json"]
    75          },
    76          "uri": "https://prebid/bidder",
    77          "body": {
    78            "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
    79            "imp": [
    80              {
    81                "id": "1C86242D-9535-47D6-9576-7B1FE87F282C",
    82                "tagid": "130563103",
    83                "banner": {
    84                  "h": 50,
    85                  "w": 320,
    86                  "format": [
    87                    {
    88                      "w": 320,
    89                      "h": 50
    90                    },
    91                    {
    92                      "w": 320,
    93                      "h": 250
    94                    }
    95                  ]
    96                }
    97              }
    98            ],
    99            "user": {
   100              "ext": {
   101                "consent": "gdprConsentString"
   102              },
   103              "gender": "M",
   104              "keywords": "a,b",
   105              "yob": 1984
   106            },
   107            "device": {
   108              "ua": "test-user-agent",
   109              "ip": "123.123.123.123",
   110              "language": "en",
   111              "dnt": 0
   112            },
   113            "regs": {
   114              "coppa": 1,
   115              "ext": {
   116                "gdpr": 1,
   117                "us_privacy": "uspConsentString"
   118              }
   119            },
   120            "site": {
   121              "publisher": {
   122                "id": "1100042525"
   123              },
   124              "page": "http://localhost:3000/server.html?pbjs_debug=true&endpoint=http://localhost:3000/bidder",
   125              "keywords": "power tools"
   126            },
   127            "ext": {
   128              "client": "prebid_server_0.6"
   129            }
   130          },
   131          "impIDs":["1C86242D-9535-47D6-9576-7B1FE87F282C"]
   132        },
   133        "mockResponse": {
   134          "status": 200,
   135          "body": {
   136            "id": "5ebea288-f13a-4754-be6d-4ade66c68877",
   137            "seatbid": [
   138              {
   139                "seat": "CM6523",
   140                "bid": [
   141                  {
   142                    "adm": "{\"badmedia\":{\"mediadata\":{\"content\":\"<div>hello</div>\", \"w\":350,\"h\":50},\"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\"]}}",
   143                    "adomain": [
   144                      "smaato.com"
   145                    ],
   146                    "bidderName": "smaato",
   147                    "cid": "CM6523",
   148                    "crid": "CR69381",
   149                    "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   150                    "impid": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   151                    "iurl": "https://bidstalkcreatives.s3.amazonaws.com/1x1.png",
   152                    "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",
   153                    "price": 0.01,
   154                    "w": 350,
   155                    "h": 50
   156                  }
   157                ]
   158              }
   159            ],
   160            "bidid": "04db8629-179d-4bcd-acce-e54722969006",
   161            "cur": "USD"
   162          }
   163        }
   164      }
   165    ],
   166    "expectedBidResponses": [{"currency":"USD","bids":[]}],
   167    "expectedMakeBidsErrors": [
   168      {
   169        "value": "Invalid ad markup {\"badmedia\":{\"mediadata\":{\"content\":\"<div>hello</div>\", \"w\":350,\"h\":50},\"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\"]}}.",
   170        "comparison": "literal"
   171      }
   172    ]
   173  }