github.com/prebid/prebid-server/v2@v2.18.0/adapters/audienceNetwork/audienceNetworktest/supplemental/banner-format-only.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "test-req-id",
     4          "imp": [
     5              {
     6                  "id": "test-imp-id",
     7                  "banner": {
     8                      "format": [
     9                          {
    10                              "w": 640,
    11                              "h": 480        
    12                          },
    13                          {
    14                              "w": 300,
    15                              "h": 250
    16                          }
    17                      ]
    18                  },
    19                  "ext": {
    20                      "bidder": {
    21                          "publisherid": "123",
    22                          "placementid": "456"
    23                      }
    24                  }
    25              }
    26          ],
    27          "app": {
    28              "id": "app-abc",
    29              "bundle": "com.prebid"
    30          },
    31          "device": {
    32              "ip": "152.193.6.74"
    33          },
    34          "user": {
    35              "id": "db089de9-a62e-4861-a881-0ff15e052516",
    36              "buyeruid": "v4_bidder_token"
    37          },
    38          "tmax": 500
    39      },
    40      "httpcalls": [
    41          {
    42              "expectedRequest": {
    43                  "uri": "https://an.facebook.com/placementbid.ortb",
    44                  "headers": {
    45                      "Accept": [
    46                          "application/json"
    47                      ],
    48                      "Content-Type": [
    49                          "application/json;charset=utf-8"
    50                      ],
    51                      "X-Fb-Pool-Routing-Token": [
    52                          "v4_bidder_token"
    53                      ]
    54                  },
    55                  "body": {
    56                      "id": "test-imp-id",
    57                      "imp": [
    58                          {
    59                              "id": "test-imp-id",
    60                              "banner": {
    61                                  "w": -1,
    62                                  "h": 250
    63                              },
    64                              "tagid": "123_456"
    65                          }
    66                      ],
    67                      "app": {
    68                          "id": "app-abc",
    69                          "bundle": "com.prebid",
    70                          "publisher": {
    71                              "id": "123"
    72                          }
    73                      },
    74                      "device": {
    75                          "ip": "152.193.6.74"
    76                      },
    77                      "user": {
    78                          "id": "db089de9-a62e-4861-a881-0ff15e052516",
    79                          "buyeruid": "v4_bidder_token"
    80                      },
    81                      "tmax": 500,
    82                      "ext": {
    83                          "authentication_id": "4e24a2b23fbfb5e41a9093b921d6cddf497c24dd5f63879038cec2ab2f27d174",
    84                          "platformid": "test-platform-id"
    85                      }
    86                  },
    87                  "impIDs":["test-imp-id"]
    88              },
    89              "mockResponse": {
    90                  "status": 200,
    91                  "body": {
    92                      "id": "test-imp-id",
    93                      "seatbid": [
    94                          {
    95                              "bid": [
    96                                  {
    97                                      "id": "987",
    98                                      "impid": "test-imp-id",
    99                                      "price": 1.000000,
   100                                      "adm": "{\"type\":\"ID\",\"bid_id\":\"987\",\"placement_id\":\"123_456\",\"resolved_placement_id\":\"123_456\",\"sdk_version\":\"5.5.0\",\"device_id\":\"abc\",\"template\":1,\"payload\":null,\"bid_time_token\":\"v4_bidder_token=\"}",
   101                                      "nurl": "https://www.facebook.com/audiencenetwork/nurl/?partner=test-platform-id&app=def&placement=456&auction=123&impression=123&request=123478&bid=987&ortb_loss_code=0&clearing_price=${AUCTION_PRICE}&app_version=iOS-1.0",
   102                                      "lurl": "https://www.facebook.com/audiencenetwork/nurl/?partner=test-platform-id&app=def&placement=456&auction=123&impression=123&request=123478&bid=987&ortb_loss_code=${AUCTION_LOSS}&clearing_price=${AUCTION_PRICE}&app_version=iOS-1.0",
   103                                      "burl": "https://www.facebook.com/audiencenetwork/burl/?partner=test-platform-id&app=def&placement=456&auction=123&impression=123&request=123478&bid=987&clearing_price=${AUCTION_PRICE}"
   104                                  }
   105                              ]
   106                          }
   107                      ],
   108                      "bidid": "654",
   109                      "cur": "USD"
   110                  }
   111              }
   112          }
   113      ],
   114      "expectedBidResponses": [
   115          {
   116              "currency": "USD",
   117              "bids": [
   118                  {
   119                      "bid": {
   120                          "id": "987",
   121                          "impid": "test-imp-id",
   122                          "price": 1,
   123                          "adm": "{\"type\":\"ID\",\"bid_id\":\"987\",\"placement_id\":\"123_456\",\"resolved_placement_id\":\"123_456\",\"sdk_version\":\"5.5.0\",\"device_id\":\"abc\",\"template\":1,\"payload\":null,\"bid_time_token\":\"v4_bidder_token=\"}",
   124                          "adid": "987",
   125                          "crid": "987",
   126                          "nurl": "https://www.facebook.com/audiencenetwork/nurl/?partner=test-platform-id&app=def&placement=456&auction=123&impression=123&request=123478&bid=987&ortb_loss_code=0&clearing_price=${AUCTION_PRICE}&app_version=iOS-1.0",
   127                          "lurl": "https://www.facebook.com/audiencenetwork/nurl/?partner=test-platform-id&app=def&placement=456&auction=123&impression=123&request=123478&bid=987&ortb_loss_code=${AUCTION_LOSS}&clearing_price=${AUCTION_PRICE}&app_version=iOS-1.0",
   128                          "burl": "https://www.facebook.com/audiencenetwork/burl/?partner=test-platform-id&app=def&placement=456&auction=123&impression=123&request=123478&bid=987&clearing_price=${AUCTION_PRICE}"
   129                      },
   130                      "type": "banner"
   131                  }
   132              ]
   133          }
   134      ]
   135  }