github.com/prebid/prebid-server@v0.275.0/adapters/mabidder/mabiddertest/exemplary/simple-app-banner.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "app": {
     5        "bundle": "com.prebid"
     6      },
     7      "device": {
     8        "ifa":"87857b31-8942-4646-ae80-ab9c95bf3fab"
     9      },
    10      "imp": [
    11        {
    12          "id": "test-imp-id",
    13          "banner": {
    14            "format": [
    15              {
    16                "w": 300,
    17                "h": 250
    18              }
    19            ]
    20          },
    21          "ext": {
    22            "bidder": {
    23              "ppid": "ppidtest"
    24            }
    25          }
    26        }
    27      ]
    28    },
    29    "httpCalls": [
    30      {
    31        "expectedRequest": {
    32          "uri": "https://prebid.ecdrsvc.com/pbs",
    33          "body": {
    34            "id": "test-request-id",
    35            "app": {
    36              "bundle": "com.prebid"
    37            },
    38            "device": {
    39              "ifa":"87857b31-8942-4646-ae80-ab9c95bf3fab"
    40            },
    41            "imp": [
    42              {
    43                "id": "test-imp-id",
    44                "banner": {
    45                  "format": [
    46                    {
    47                      "w": 300,
    48                      "h": 250
    49                    }
    50                  ]
    51                },
    52                "ext": {
    53                  "bidder": {
    54                    "ppid": "ppidtest"
    55                  }
    56                }
    57              }
    58            ]
    59          }
    60        },
    61        "mockResponse": {
    62          "status": 200,
    63          "body": {
    64            "Responses": [
    65              {
    66                "requestId": "1",
    67                "currency": "CAD",
    68                "width": 300,
    69                "height": 250,
    70                "creativeId": "6002677",
    71                "dealId": "testdeal",
    72                "netRevenue": false,
    73                "ttl": 5,
    74                "ad": "<script type='text/javascript' src='https://adsvr.ecdrsvc.com/js?6002677'></script>",
    75                "meta": {
    76                  "advertiserDomains": [
    77                    "https://www.loblaws.ca/"
    78                  ]
    79                },
    80                "cpm": 3.5764000415802
    81              }
    82            ]
    83          }
    84        }
    85      }
    86    ],
    87    "expectedBidResponses": [
    88      {
    89        "id": "test-request-id",
    90        "bids": [
    91          {
    92            "bid": {
    93              "id": "1",
    94              "impid": "1",
    95              "price":3.5764000415802, 
    96              "adm": "<script type='text/javascript' src='https://adsvr.ecdrsvc.com/js?6002677'></script>",
    97              "adomain": [
    98                "https://www.loblaws.ca/"
    99              ],
   100              "crid": "6002677",
   101              "dealid": "testdeal",
   102              "w": 300,
   103              "h": 250
   104            }
   105          }
   106        ],
   107        "cur": "USD"
   108      }
   109    ]
   110  }