github.com/prebid/prebid-server/v2@v2.18.0/adapters/amx/amxtest/exemplary/video-simple.json (about)

     1  {
     2    "mockBidRequest": {
     3      "device": {
     4        "dnt": 0,
     5        "h": 1120,
     6        "ip": "98.249.0.0",
     7        "language": "en",
     8        "os": "macos",
     9        "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36",
    10        "w": 1792
    11      },
    12      "id": "TL3JS6F43CKNDQFY",
    13      "imp": [
    14        {
    15          "video": {
    16            "api": [1, 2],
    17            "boxingallowed": 1,
    18            "linearity": 1,
    19            "maxduration": 90,
    20            "minduration": 6,
    21            "mimes": ["video/mp4"],
    22            "placement": 1,
    23            "playbackmethod": [2],
    24            "protocols": [1, 2, 3, 4, 5, 6, 7, 8],
    25            "skip": 1,
    26            "skipafter": 5,
    27            "startdelay": 0,
    28            "h": 300,
    29            "pos": 1,
    30            "w": 640
    31          },
    32          "ext": {
    33            "bidder": {
    34              "tagId": "cHJlYmlkLm9yZw",
    35              "adUnitId": "tagid-override"
    36            }
    37          },
    38          "id": "1",
    39          "secure": 1
    40        }
    41      ],
    42      "regs": {
    43        "ext": {
    44          "gdpr": 0,
    45          "us_privacy": "1---"
    46        }
    47      },
    48      "site": {
    49        "domain": "www.example.com",
    50        "ext": {
    51          "amp": 0
    52        },
    53        "publisher": {
    54          "id": "unused_publisher_id"
    55        },
    56        "page": "https://www.example.com/es6/es6_objects.htm",
    57        "ref": "https://www.example.com/es6/es6_objects.htm"
    58      },
    59      "source": {
    60        "ext": {
    61          "schain": {
    62            "complete": 1,
    63            "nodes": [
    64              {
    65                "asi": "amxrtb.com",
    66                "hp": 1,
    67                "sid": "1234"
    68              }
    69            ],
    70            "ver": "1.0"
    71          }
    72        }
    73      },
    74      "test": 0,
    75      "tmax": 300,
    76      "user": {
    77        "ext": {
    78          "eids": [
    79            {
    80              "source": "amxid",
    81              "uids": [
    82                {
    83                  "atype": 1,
    84                  "id": "88de601e-3d98-48e7-81d7-00000000"
    85                }
    86              ]
    87            }
    88          ],
    89          "gdpr": 0,
    90          "us_privacy": "1---"
    91        }
    92      }
    93    },
    94    "httpCalls": [
    95      {
    96        "expectedRequest": {
    97          "uri": "http://pbs-dev.amxrtb.com/auction/openrtb?v=pbs1.2",
    98          "body": {
    99            "device": {
   100              "dnt": 0,
   101              "h": 1120,
   102              "ip": "98.249.0.0",
   103              "language": "en",
   104              "os": "macos",
   105              "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36",
   106              "w": 1792
   107            },
   108            "id": "TL3JS6F43CKNDQFY",
   109            "imp": [
   110              {
   111                "video": {
   112                  "api": [1, 2],
   113                  "boxingallowed": 1,
   114                  "linearity": 1,
   115                  "maxduration": 90,
   116                  "minduration": 6,
   117                  "mimes": ["video/mp4"],
   118                  "placement": 1,
   119                  "playbackmethod": [2],
   120                  "protocols": [1, 2, 3, 4, 5, 6, 7, 8],
   121                  "skip": 1,
   122                  "skipafter": 5,
   123                  "startdelay": 0,
   124                  "h": 300,
   125                  "pos": 1,
   126                  "w": 640
   127                },
   128                "ext": {
   129                  "bidder": {
   130                    "tagId": "cHJlYmlkLm9yZw",
   131                    "adUnitId": "tagid-override"
   132                  }
   133                },
   134                "tagid": "tagid-override",
   135                "id": "1",
   136                "secure": 1
   137              }
   138            ],
   139            "regs": {
   140              "ext": {
   141                "gdpr": 0,
   142                "us_privacy": "1---"
   143              }
   144            },
   145            "site": {
   146              "domain": "www.example.com",
   147              "ext": {
   148                "amp": 0
   149              },
   150              "publisher": {
   151                "id": "cHJlYmlkLm9yZw"
   152              },
   153              "page": "https://www.example.com/es6/es6_objects.htm",
   154              "ref": "https://www.example.com/es6/es6_objects.htm"
   155            },
   156            "source": {
   157              "ext": {
   158                "schain": {
   159                  "complete": 1,
   160                  "nodes": [
   161                    {
   162                      "asi": "amxrtb.com",
   163                      "hp": 1,
   164                      "sid": "1234"
   165                    }
   166                  ],
   167                  "ver": "1.0"
   168                }
   169              }
   170            },
   171            "tmax": 300,
   172            "user": {
   173              "ext": {
   174                "eids": [
   175                  {
   176                    "source": "amxid",
   177                    "uids": [
   178                      {
   179                        "atype": 1,
   180                        "id": "88de601e-3d98-48e7-81d7-00000000"
   181                      }
   182                    ]
   183                  }
   184                ],
   185                "gdpr": 0,
   186                "us_privacy": "1---"
   187              }
   188            }
   189          },
   190          "impIDs":["1"]
   191        },
   192        "mockResponse": {
   193          "status": 200,
   194          "body": {
   195            "id": "WQ5V2DWVTMNXABDD",
   196            "seatbid": [
   197              {
   198                "bid": [
   199                  {
   200                    "id": "TEST",
   201                    "impid": "1",
   202                    "price": 10.0,
   203                    "adid": "1",
   204                    "adm": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?><VAST version=\"2.0\"><Ad id=\"128a6.44d74.46b3\"><InLine><Error><![CDATA[http://example.net/hbx/verr?e=]]></Error><Impression><![CDATA[http://example.net/hbx/vimp?lid=test&aid=testapp]]></Impression><Creatives><Creative sequence=\"1\"><Linear><Duration>00:00:15</Duration><TrackingEvents><Tracking event=\"firstQuartile\"><![CDATA[https://example.com?event=first_quartile]]></Tracking></TrackingEvents><VideoClicks><ClickThrough><![CDATA[http://example.com]]></ClickThrough></VideoClicks><MediaFiles><MediaFile delivery=\"progressive\" width=\"16\" height=\"9\" type=\"video/mp4\" bitrate=\"800\"><![CDATA[https://example.com/media.mp4]]></MediaFile></MediaFiles></Linear></Creative></Creatives></InLine></Ad></VAST>",
   205                    "adomain": ["amxrtb.com"],
   206                    "iurl": "https://assets.a-mo.net/300x250.v2.png",
   207                    "cid": "1",
   208                    "crid": "1",
   209                    "h": 600,
   210                    "w": 300,
   211                    "ext": {
   212                      "startdelay": 0
   213                    }
   214                  }
   215                ]
   216              }
   217            ],
   218            "cur": "USD"
   219          }
   220        }
   221      }
   222    ],
   223    "expectedBidResponses": [
   224      {
   225        "currency": "USD",
   226        "bids": [
   227          {
   228            "bid": {
   229              "id": "TEST",
   230              "impid": "1",
   231              "price": 10.0,
   232              "adid": "1",
   233              "adm": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?><VAST version=\"2.0\"><Ad id=\"128a6.44d74.46b3\"><InLine><Error><![CDATA[http://example.net/hbx/verr?e=]]></Error><Impression><![CDATA[http://example.net/hbx/vimp?lid=test&aid=testapp]]></Impression><Creatives><Creative sequence=\"1\"><Linear><Duration>00:00:15</Duration><TrackingEvents><Tracking event=\"firstQuartile\"><![CDATA[https://example.com?event=first_quartile]]></Tracking></TrackingEvents><VideoClicks><ClickThrough><![CDATA[http://example.com]]></ClickThrough></VideoClicks><MediaFiles><MediaFile delivery=\"progressive\" width=\"16\" height=\"9\" type=\"video/mp4\" bitrate=\"800\"><![CDATA[https://example.com/media.mp4]]></MediaFile></MediaFiles></Linear></Creative></Creatives></InLine></Ad></VAST>",
   234              "adomain": ["amxrtb.com"],
   235              "iurl": "https://assets.a-mo.net/300x250.v2.png",
   236              "cid": "1",
   237              "crid": "1",
   238              "ext": {
   239                "startdelay": 0
   240              },
   241              "h": 600,
   242              "w": 300
   243            },
   244            "type": "video"
   245          }
   246        ]
   247      }
   248    ]
   249  }