github.com/prebid/prebid-server/v2@v2.18.0/adapters/audienceNetwork/audienceNetworktest/exemplary/banner-app.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "test-req-id",
     4          "imp": [{
     5              "id": "test-imp-id",
     6              "banner": {
     7                  "format": [{
     8                      "w": 300,
     9                      "h": 250
    10                  }],
    11                  "w": 300,
    12                  "h": 250
    13              },
    14              "ext": {
    15                  "bidder": {
    16                      "publisherid": "123",
    17                      "placementid": "456"
    18                  }
    19              }
    20          }],
    21          "app": {
    22              "id": "app-abc",
    23              "bundle": "com.prebid"
    24          },
    25          "device": {
    26              "ip": "152.193.6.74"
    27          },
    28          "user": {
    29              "id": "db089de9-a62e-4861-a881-0ff15e052516",
    30              "buyeruid": "v4_bidder_token"
    31          },
    32          "tmax": 500
    33      },
    34      "httpcalls": [{
    35          "expectedRequest": {
    36              "uri": "https://an.facebook.com/placementbid.ortb",
    37              "headers": {
    38                  "Accept": [
    39                      "application/json"
    40                  ],
    41                  "Content-Type": [
    42                      "application/json;charset=utf-8"
    43                  ],
    44                  "X-Fb-Pool-Routing-Token": [
    45                      "v4_bidder_token"
    46                  ]
    47              },
    48              "body": {
    49                  "id": "test-imp-id",
    50                  "imp": [{
    51                      "id": "test-imp-id",
    52                      "banner": {
    53                          "w": -1,
    54                          "h": 250
    55                      },
    56                      "tagid": "123_456"
    57                  }],
    58                  "app": {
    59                      "id": "app-abc",
    60                      "bundle": "com.prebid",
    61                      "publisher": {
    62                          "id": "123"
    63                      }
    64                  },
    65                  "device": {
    66                      "ip": "152.193.6.74"
    67                  },
    68                  "user": {
    69                      "id": "db089de9-a62e-4861-a881-0ff15e052516",
    70                      "buyeruid": "v4_bidder_token"
    71                  },
    72                  "tmax": 500,
    73                  "ext": {
    74                      "authentication_id": "4e24a2b23fbfb5e41a9093b921d6cddf497c24dd5f63879038cec2ab2f27d174",
    75                      "platformid": "test-platform-id"
    76                  }
    77              },
    78              "impIDs":["test-imp-id"]
    79          },
    80          "mockResponse": {
    81              "status": 200,
    82              "body": {
    83                  "id": "test-imp-id",
    84                  "seatbid": [{
    85                      "bid": [{
    86                          "id": "987",
    87                          "impid": "test-imp-id",
    88                          "price": 1.000000,
    89                          "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=\"}",
    90                          "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",
    91                          "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",
    92                          "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}"
    93                      }]
    94                  }],
    95                  "bidid": "654",
    96                  "cur": "USD"
    97              }
    98          }
    99      }],
   100      "expectedBidResponses": [{
   101          "currency": "USD",
   102          "bids": [{
   103              "bid": {
   104                  "id": "987",
   105                  "impid": "test-imp-id",
   106                  "price": 1,
   107                  "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=\"}",
   108                  "adid": "987",
   109                  "crid": "987",
   110                  "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",
   111                  "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",
   112                  "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}"
   113              },
   114              "type": "banner"
   115          }]
   116      }]
   117  }