github.com/prebid/prebid-server/v2@v2.18.0/adapters/amx/amxtest/exemplary/web-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          "banner": {
    16            "format": [
    17              {
    18                "h": 600,
    19                "w": 300
    20              }
    21            ],
    22            "h": 600,
    23            "pos": 1,
    24            "w": 300
    25          },
    26          "ext": {
    27            "bidder": {
    28              "tagId": "cHJlYmlkLm9yZw"
    29            }
    30          },
    31          "tagid": "example-tag-id",
    32          "id": "1",
    33          "secure": 1
    34        }
    35      ],
    36      "regs": {
    37        "ext": {
    38          "gdpr": 0,
    39          "us_privacy": "1---"
    40        }
    41      },
    42      "site": {
    43        "domain": "www.example.com",
    44        "ext": {
    45          "amp": 0
    46        },
    47        "publisher": {
    48          "id": "unused_publisher_id"
    49        },
    50        "page": "https://www.example.com/es6/es6_objects.htm",
    51        "ref": "https://www.example.com/es6/es6_objects.htm"
    52      },
    53      "source": {
    54        "ext": {
    55          "schain": {
    56            "complete": 1,
    57            "nodes": [
    58              {
    59                "asi": "amxrtb.com",
    60                "hp": 1,
    61                "sid": "1234"
    62              }
    63            ],
    64            "ver": "1.0"
    65          }
    66        }
    67      },
    68      "test": 0,
    69      "tmax": 300,
    70      "user": {
    71        "ext": {
    72          "eids": [
    73            {
    74              "source": "amxid",
    75              "uids": [
    76                {
    77                  "atype": 1,
    78                  "id": "88de601e-3d98-48e7-81d7-00000000"
    79                }
    80              ]
    81            },
    82            {
    83              "source": "adserver.org",
    84              "uids": [
    85                {
    86                  "id": "1234567",
    87                  "ext": {
    88                    "rtiPartner": "TDID"
    89                  }
    90                }
    91              ]
    92            }
    93          ],
    94          "gdpr": 0,
    95          "us_privacy": "1---"
    96        }
    97      }
    98    },
    99    "httpCalls": [{
   100      "expectedRequest": {
   101        "uri": "http://pbs-dev.amxrtb.com/auction/openrtb?v=pbs1.2",
   102        "body": {
   103          "device": {
   104            "dnt": 0,
   105            "h": 1120,
   106            "ip": "98.249.0.0",
   107            "language": "en",
   108            "os": "macos",
   109            "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",
   110            "w": 1792
   111          },
   112          "id": "TL3JS6F43CKNDQFY",
   113          "imp": [
   114            {
   115              "tagid": "example-tag-id",
   116              "banner": {
   117                "format": [
   118                  {
   119                    "h": 600,
   120                    "w": 300
   121                  }
   122                ],
   123                "h": 600,
   124                "pos": 1,
   125                "w": 300
   126              },
   127              "ext": {
   128                "bidder": {
   129                  "tagId": "cHJlYmlkLm9yZw"
   130                }
   131              },
   132              "id": "1",
   133              "secure": 1
   134            }
   135          ],
   136          "regs": {
   137            "ext": {
   138              "gdpr": 0,
   139              "us_privacy": "1---"
   140            }
   141          },
   142          "site": {
   143            "domain": "www.example.com",
   144            "ext": {
   145              "amp": 0
   146            },
   147            "publisher": {
   148              "id": "cHJlYmlkLm9yZw"
   149            },
   150            "page": "https://www.example.com/es6/es6_objects.htm",
   151            "ref": "https://www.example.com/es6/es6_objects.htm"
   152          },
   153          "source": {
   154            "ext": {
   155              "schain": {
   156                "complete": 1,
   157                "nodes": [
   158                  {
   159                    "asi": "amxrtb.com",
   160                    "hp": 1,
   161                    "sid": "1234"
   162                  }
   163                ],
   164                "ver": "1.0"
   165              }
   166            }
   167          },
   168          "tmax": 300,
   169          "user": {
   170            "ext": {
   171              "eids": [
   172                {
   173                  "source": "amxid",
   174                  "uids": [
   175                    {
   176                      "atype": 1,
   177                      "id": "88de601e-3d98-48e7-81d7-00000000"
   178                    }
   179                  ]
   180                },
   181                {
   182                  "source": "adserver.org",
   183                  "uids": [
   184                    {
   185                      "id": "1234567",
   186                      "ext": {
   187                        "rtiPartner": "TDID"
   188                      }
   189                    }
   190                  ]
   191                }
   192              ],
   193              "gdpr": 0,
   194              "us_privacy": "1---"
   195            }
   196          }
   197        },
   198        "impIDs":["1"]
   199      },
   200      "mockResponse": {
   201        "status": 200,
   202        "body": {
   203          "id": "WQ5V2DWVTMNXABDD",
   204          "seatbid": [{
   205            "bid": [{
   206              "id": "TEST",
   207              "impid": "1",
   208              "price": 10.0,
   209              "adid": "1",
   210              "adm": "<script src=\"https://assets.a-mo.net/tmode.v1.js\"></script>",
   211              "adomain": ["amxrtb.com"],
   212              "iurl": "https://assets.a-mo.net/300x250.v2.png",
   213              "cid": "1",
   214              "crid": "1",
   215              "h": 600,
   216              "w": 300
   217            }]
   218          }],
   219          "cur": "USD"
   220        }
   221      }
   222    }],
   223  
   224    "expectedBidResponses": [
   225      {
   226        "currency": "USD",
   227        "bids": [
   228          {
   229            "bid": {
   230              "id": "TEST",
   231              "impid": "1",
   232              "price": 10.0,
   233              "adid": "1",
   234              "adm": "<script src=\"https://assets.a-mo.net/tmode.v1.js\"></script>",
   235              "adomain": ["amxrtb.com"],
   236              "iurl": "https://assets.a-mo.net/300x250.v2.png",
   237              "cid": "1",
   238              "crid": "1",
   239              "h": 600,
   240              "w": 300
   241            },
   242            "type": "banner"
   243          }
   244        ]
   245      }
   246    ]
   247  }