github.com/prebid/prebid-server/v2@v2.18.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          "impIDs":["test-imp-id"]
    61        },
    62        "mockResponse": {
    63          "status": 200,
    64          "body": {
    65            "Responses": [
    66              {
    67                "requestId": "1",
    68                "currency": "CAD",
    69                "width": 300,
    70                "height": 250,
    71                "creativeId": "6002677",
    72                "dealId": "testdeal",
    73                "netRevenue": false,
    74                "ttl": 5,
    75                "ad": "<script type='text/javascript' src='https://adsvr.ecdrsvc.com/js?6002677'></script>",
    76                "meta": {
    77                  "advertiserDomains": [
    78                    "https://www.loblaws.ca/"
    79                  ]
    80                },
    81                "cpm": 3.5764000415802
    82              }
    83            ]
    84          }
    85        }
    86      }
    87    ],
    88    "expectedBidResponses": [
    89      {
    90        "id": "test-request-id",
    91        "bids": [
    92          {
    93            "bid": {
    94              "id": "1",
    95              "impid": "1",
    96              "price":3.5764000415802, 
    97              "adm": "<script type='text/javascript' src='https://adsvr.ecdrsvc.com/js?6002677'></script>",
    98              "adomain": [
    99                "https://www.loblaws.ca/"
   100              ],
   101              "crid": "6002677",
   102              "dealid": "testdeal",
   103              "w": 300,
   104              "h": 250
   105            }
   106          }
   107        ],
   108        "cur": "USD"
   109      }
   110    ]
   111  }