github.com/prebid/prebid-server/v2@v2.18.0/adapters/smaato/smaatotest/supplemental/bad-expires-header-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          "headers": {
   136            "X-Smt-Expires": ["something"]
   137          },
   138          "body": {
   139            "id": "5ebea288-f13a-4754-be6d-4ade66c68877",
   140            "seatbid": [
   141              {
   142                "seat": "CM6523",
   143                "bid": [
   144                  {
   145                    "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\"]}}",
   146                    "adomain": [
   147                      "smaato.com"
   148                    ],
   149                    "bidderName": "smaato",
   150                    "cid": "CM6523",
   151                    "crid": "CR69381",
   152                    "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   153                    "impid": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   154                    "iurl": "https://bidstalkcreatives.s3.amazonaws.com/1x1.png",
   155                    "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",
   156                    "price": 0.01,
   157                    "w": 350,
   158                    "h": 50
   159                  }
   160                ]
   161              }
   162            ],
   163            "bidid": "04db8629-179d-4bcd-acce-e54722969006",
   164            "cur": "USD"
   165          }
   166        }
   167      }
   168    ],
   169    "expectedBidResponses": [
   170      {
   171        "currency": "USD",
   172        "bids": [
   173          {
   174            "bid": {
   175              "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>",
   176              "adomain": [
   177                "smaato.com"
   178              ],
   179              "cid": "CM6523",
   180              "crid": "CR69381",
   181              "id": "6906aae8-7f74-4edd-9a4f-f49379a3cadd",
   182              "impid": "1C86242D-9535-47D6-9576-7B1FE87F282C",
   183              "iurl": "https://bidstalkcreatives.s3.amazonaws.com/1x1.png",
   184              "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",
   185              "price": 0.01,
   186              "w": 350,
   187              "h": 50,
   188              "exp": 300
   189            },
   190            "type": "banner"
   191          }
   192        ]
   193      }
   194    ]
   195  }