github.com/prebid/prebid-server/v2@v2.18.0/adapters/beachfront/beachfronttest/supplemental/currency-adm-video-warning-and-fallback.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "adm-video",
     4      "imp": [
     5        {
     6          "id": "video1",
     7          "bidfloor": 1.90,
     8          "bidfloorcur": "XYZ",
     9          "ext": {
    10            "bidder": {
    11              "bidfloor": 1.20,
    12              "appId": "videoAppId1"
    13            }
    14          },
    15          "video": {
    16            "mimes": [
    17              "video/mp4"
    18            ],
    19            "context": "instream",
    20            "w": 300,
    21            "h": 250
    22          }
    23        }
    24      ],
    25      "site": {
    26        "page": "https://some.domain.us/some/page.html"
    27      },
    28      "device":{
    29        "ip":"192.168.168.168"
    30      },
    31      "ext": {
    32        "prebid": {
    33          "currency": {
    34            "rates": {
    35              "MXN":{
    36                "USD": 0.05,
    37                "EUR": 0.03
    38              },
    39              "EUR": {
    40                "USD": 1.20
    41              }
    42            },
    43            "usepbsrates": false
    44          }
    45        }
    46      }
    47    },
    48  
    49    "httpCalls": [
    50      {
    51        "expectedRequest": {
    52          "uri": "https://qa.beachrtb.com/bid.json?exchange_id=videoAppId1",
    53          "body": {
    54            "id": "adm-video",
    55            "imp": [
    56              {
    57                "bidfloor": 1.20,
    58                "bidfloorcur": "USD",
    59                "video": {
    60                  "w": 300,
    61                  "h": 250,
    62                  "mimes": [
    63                    "video/mp4"
    64                  ]
    65                },
    66                "id": "video1",
    67                "secure": 1
    68              }
    69            ],
    70            "site": {
    71              "page": "https://some.domain.us/some/page.html",
    72              "domain": "some.domain.us"
    73            },
    74            "cur": [
    75              "USD"
    76            ],
    77            "device":{
    78              "devicetype": 2,
    79              "ip":"192.168.168.168"
    80            }
    81          },
    82          "impIDs":["video1"]
    83        },
    84        "mockResponse": {
    85          "status": 200,
    86          "body": {
    87            "id": "adm-video",
    88            "seatBid": [
    89              {
    90                "bid": [
    91                  {
    92                    "id": "5fd7c8a6ff2f1f0d42ee6427",
    93                    "impid": "video1",
    94                    "price": 20,
    95                    "adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>",
    96                    "adid": "1088",
    97                    "adomain": [
    98                      "beachfront.io"
    99                    ],
   100                    "cat":["IAB2"],
   101                    "cid": "277",
   102                    "crid": "532",
   103                    "w": 300,
   104                    "h": 250,
   105                    "ext": {
   106                      "duration": 30
   107                    }
   108                  }
   109                ],
   110                "seat": "bfio-s-1"
   111              }
   112            ]
   113          }
   114        }
   115      }
   116    ],
   117  
   118    "expectedBidResponses": [
   119      {
   120        "currency": "USD",
   121        "bids": [
   122          {
   123            "bid": {
   124              "id": "video1AdmVideo",
   125              "impid": "video1",
   126              "price": 20,
   127              "adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>",
   128              "adid": "1088",
   129              "adomain": [
   130                "beachfront.io"
   131              ],
   132              "cid": "277",
   133              "crid": "532",
   134              "cat":["IAB2"],
   135              "w": 300,
   136              "h": 250,
   137              "ext": {
   138                "duration": 30
   139              }
   140            },
   141            "type": "video"
   142          }
   143        ]
   144      }
   145    ],
   146    "expectedMakeRequestsErrors": [
   147      {
   148        "value": "The following error was recieved from the currency converter while attempting to convert the imp.bidfloor value of 1.90 from XYZ to USD:\ncurrency: tag is not a recognized currency\nThe provided value of imp.ext.beachfront.bidfloor, 1.20 USD is being used as a fallback.",
   149        "comparison": "literal"
   150      }
   151    ]
   152  }