github.com/prebid/prebid-server/v2@v2.18.0/adapters/audienceNetwork/audienceNetworktest/supplemental/multi-imp.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "test-req-id",
     4          "imp": [
     5              {
     6                  "id": "test-imp-1",
     7                  "banner": {
     8                      "format": [
     9                          {
    10                              "w": 300,
    11                              "h": 250
    12                          }
    13                      ],
    14                      "w": 300,
    15                      "h": 250
    16                  },
    17                  "ext": {
    18                      "bidder": {
    19                          "publisherid": "pub1",
    20                          "placementid": "plmt1"
    21                      }
    22                  }
    23              },
    24              {
    25                  "id": "test-imp-2",
    26                  "banner": {
    27                      "format": [
    28                          {
    29                              "w": 200,
    30                              "h": 50
    31                          }
    32                      ],
    33                      "w": 250,
    34                      "h": 50
    35                  },
    36                  "ext": {
    37                      "bidder": {
    38                          "publisherid": "pub2",
    39                          "placementid": "plmt2"
    40                      }
    41                  }
    42              }
    43          ],
    44          "app": {
    45              "id": "app-abc",
    46              "bundle": "com.prebid"
    47          },
    48          "device": {
    49              "ip": "152.193.6.74"
    50          },
    51          "user": {
    52              "id": "db089de9-a62e-4861-a881-0ff15e052516",
    53              "buyeruid": "v4_bidder_token"
    54          },
    55          "tmax": 500
    56      },
    57      "httpcalls": [
    58          {
    59              "expectedRequest": {
    60                  "uri": "https://an.facebook.com/placementbid.ortb",
    61                  "headers": {
    62                      "Accept": [
    63                          "application/json"
    64                      ],
    65                      "Content-Type": [
    66                          "application/json;charset=utf-8"
    67                      ],
    68                      "X-Fb-Pool-Routing-Token": [
    69                          "v4_bidder_token"
    70                      ]
    71                  },
    72                  "body": {
    73                      "id": "test-imp-1",
    74                      "imp": [
    75                          {
    76                              "id": "test-imp-1",
    77                              "banner": {
    78                                  "w": -1,
    79                                  "h": 250
    80                              },
    81                              "tagid": "pub1_plmt1"
    82                          }
    83                      ],
    84                      "app": {
    85                          "id": "app-abc",
    86                          "bundle": "com.prebid",
    87                          "publisher": {
    88                              "id": "pub1"
    89                          }
    90                      },
    91                      "device": {
    92                          "ip": "152.193.6.74"
    93                      },
    94                      "user": {
    95                          "id": "db089de9-a62e-4861-a881-0ff15e052516",
    96                          "buyeruid": "v4_bidder_token"
    97                      },
    98                      "tmax": 500,
    99                      "ext": {
   100                          "authentication_id": "dfecd103a45daeb2a01728afb8ce78f6738f6007ecfebe1ca616b196e22b43e9",
   101                          "platformid": "test-platform-id"
   102                      }
   103                  },
   104                  "impIDs":["test-imp-1"]
   105              },
   106              "mockResponse": {
   107                  "status": 200,
   108                  "body": {
   109                      "id": "test-imp-1",
   110                      "seatbid": [
   111                          {
   112                              "bid": [
   113                                  {
   114                                      "id": "bid-1",
   115                                      "impid": "test-imp-1",
   116                                      "price": 1.000000,
   117                                      "adm": "{\"type\":\"ID\",\"bid_id\":\"bid-1\",\"placement_id\":\"pub1_plmt1\",\"resolved_placement_id\":\"pub1_plmt1\",\"sdk_version\":\"5.5.0\",\"device_id\":\"abc\",\"template\":1,\"payload\":null,\"bid_time_token\":\"v4_bidder_token=\"}",
   118                                      "nurl": "https://www.facebook.com/audiencenetwork/nurl/?partner=test-platform-id&app=def&placement=plmt1&auction=123&impression=123&request=123478&bid=bid-1&ortb_loss_code=0&clearing_price=${AUCTION_PRICE}&app_version=iOS-1.0",
   119                                      "lurl": "https://www.facebook.com/audiencenetwork/nurl/?partner=test-platform-id&app=def&placement=plmt1&auction=123&impression=123&request=123478&bid=bid-1&ortb_loss_code=${AUCTION_LOSS}&clearing_price=${AUCTION_PRICE}&app_version=iOS-1.0",
   120                                      "burl": "https://www.facebook.com/audiencenetwork/burl/?partner=test-platform-id&app=def&placement=plmt1&auction=123&impression=123&request=123478&bid=bid-1&clearing_price=${AUCTION_PRICE}"
   121                                  }
   122                              ]
   123                          }
   124                      ],
   125                      "bidid": "654",
   126                      "cur": "USD"
   127                  }
   128              }
   129          },
   130          {
   131              "expectedRequest": {
   132                  "uri": "https://an.facebook.com/placementbid.ortb",
   133                  "headers": {
   134                      "Accept": [
   135                          "application/json"
   136                      ],
   137                      "Content-Type": [
   138                          "application/json;charset=utf-8"
   139                      ],
   140                      "X-Fb-Pool-Routing-Token": [
   141                          "v4_bidder_token"
   142                      ]
   143                  },
   144                  "body": {
   145                      "id": "test-imp-2",
   146                      "imp": [
   147                          {
   148                              "id": "test-imp-2",
   149                              "banner": {
   150                                  "w": -1,
   151                                  "h": 50
   152                              },
   153                              "tagid": "pub2_plmt2"
   154                          }
   155                      ],
   156                      "app": {
   157                          "id": "app-abc",
   158                          "bundle": "com.prebid",
   159                          "publisher": {
   160                              "id": "pub2"
   161                          }
   162                      },
   163                      "device": {
   164                          "ip": "152.193.6.74"
   165                      },
   166                      "user": {
   167                          "id": "db089de9-a62e-4861-a881-0ff15e052516",
   168                          "buyeruid": "v4_bidder_token"
   169                      },
   170                      "tmax": 500,
   171                      "ext": {
   172                          "authentication_id": "a5fead11a4db86d0f62f57c3d8001640227120c8ef236549f0db010c1dbab399",
   173                          "platformid": "test-platform-id"
   174                      }
   175                  },
   176                  "impIDs":["test-imp-2"]
   177              },
   178              "mockResponse": {
   179                  "status": 200,
   180                  "body": {
   181                      "id": "test-imp-2",
   182                      "seatbid": [
   183                          {
   184                              "bid": [
   185                                  {
   186                                      "id": "bid-2",
   187                                      "impid": "test-imp-2",
   188                                      "price": 1.000000,
   189                                      "adm": "{\"type\":\"ID\",\"bid_id\":\"bid-2\",\"placement_id\":\"pub2_plmt2\",\"resolved_placement_id\":\"pub2_plmt2\",\"sdk_version\":\"5.5.0\",\"device_id\":\"abc\",\"template\":1,\"payload\":null,\"bid_time_token\":\"v4_bidder_token=\"}",
   190                                      "nurl": "https://www.facebook.com/audiencenetwork/nurl/?partner=test-platform-id&app=def&placement=plmt2&auction=123&impression=123&request=123478&bid=bid-2&ortb_loss_code=0&clearing_price=${AUCTION_PRICE}&app_version=iOS-1.0",
   191                                      "lurl": "https://www.facebook.com/audiencenetwork/nurl/?partner=test-platform-id&app=def&placement=plmt2&auction=123&impression=123&request=123478&bid=bid-2&ortb_loss_code=${AUCTION_LOSS}&clearing_price=${AUCTION_PRICE}&app_version=iOS-1.0",
   192                                      "burl": "https://www.facebook.com/audiencenetwork/burl/?partner=test-platform-id&app=def&placement=plmt2&auction=123&impression=123&request=123478&bid=bid-2&clearing_price=${AUCTION_PRICE}"
   193                                  }
   194                              ]
   195                          }
   196                      ],
   197                      "bidid": "654",
   198                      "cur": "USD"
   199                  }
   200              }
   201          }
   202      ],
   203      "expectedBidResponses": [
   204          {
   205              "currency": "USD",
   206              "bids": [
   207                  {
   208                      "bid": {
   209                          "id": "bid-1",
   210                          "impid": "test-imp-1",
   211                          "price": 1,
   212                          "adm": "{\"type\":\"ID\",\"bid_id\":\"bid-1\",\"placement_id\":\"pub1_plmt1\",\"resolved_placement_id\":\"pub1_plmt1\",\"sdk_version\":\"5.5.0\",\"device_id\":\"abc\",\"template\":1,\"payload\":null,\"bid_time_token\":\"v4_bidder_token=\"}",
   213                          "adid": "bid-1",
   214                          "crid": "bid-1",
   215                          "nurl": "https://www.facebook.com/audiencenetwork/nurl/?partner=test-platform-id&app=def&placement=plmt1&auction=123&impression=123&request=123478&bid=bid-1&ortb_loss_code=0&clearing_price=${AUCTION_PRICE}&app_version=iOS-1.0",
   216                          "lurl": "https://www.facebook.com/audiencenetwork/nurl/?partner=test-platform-id&app=def&placement=plmt1&auction=123&impression=123&request=123478&bid=bid-1&ortb_loss_code=${AUCTION_LOSS}&clearing_price=${AUCTION_PRICE}&app_version=iOS-1.0",
   217                          "burl": "https://www.facebook.com/audiencenetwork/burl/?partner=test-platform-id&app=def&placement=plmt1&auction=123&impression=123&request=123478&bid=bid-1&clearing_price=${AUCTION_PRICE}"
   218                      },
   219                      "type": "banner"
   220                  }
   221              ]
   222          },
   223          {
   224              "currency": "USD",
   225              "bids": [
   226                  {
   227                      "bid": {
   228                          "id": "bid-2",
   229                          "impid": "test-imp-2",
   230                          "price": 1,
   231                          "adm": "{\"type\":\"ID\",\"bid_id\":\"bid-2\",\"placement_id\":\"pub2_plmt2\",\"resolved_placement_id\":\"pub2_plmt2\",\"sdk_version\":\"5.5.0\",\"device_id\":\"abc\",\"template\":1,\"payload\":null,\"bid_time_token\":\"v4_bidder_token=\"}",
   232                          "adid": "bid-2",
   233                          "crid": "bid-2",
   234                          "nurl": "https://www.facebook.com/audiencenetwork/nurl/?partner=test-platform-id&app=def&placement=plmt2&auction=123&impression=123&request=123478&bid=bid-2&ortb_loss_code=0&clearing_price=${AUCTION_PRICE}&app_version=iOS-1.0",
   235                          "lurl": "https://www.facebook.com/audiencenetwork/nurl/?partner=test-platform-id&app=def&placement=plmt2&auction=123&impression=123&request=123478&bid=bid-2&ortb_loss_code=${AUCTION_LOSS}&clearing_price=${AUCTION_PRICE}&app_version=iOS-1.0",
   236                          "burl": "https://www.facebook.com/audiencenetwork/burl/?partner=test-platform-id&app=def&placement=plmt2&auction=123&impression=123&request=123478&bid=bid-2&clearing_price=${AUCTION_PRICE}"
   237                      },
   238                      "type": "banner"
   239                  }
   240              ]
   241          }
   242      ]
   243  }