github.com/prebid/prebid-server/v2@v2.18.0/adapters/huaweiads/huaweiadstest/exemplary/bannerWrongMccmnc.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "a3b18c5b-6708-4bb7-b41b-40ed37d89561",
     4      "source": {
     5        "tid": "a3b18c5b-6708-4bb7-b41b-40ed37d89561"
     6      },
     7      "imp": [
     8        {
     9          "id": "PrebidMobile",
    10          "secure": 1,
    11          "banner": {
    12            "format": [
    13              {
    14                "w": 300,
    15                "h": 250
    16              }
    17            ],
    18            "api": [
    19              5
    20            ]
    21          },
    22          "ext": {
    23            "prebid": {
    24              "storedrequest": {
    25                "id": "1001-1"
    26              }
    27            },
    28            "bidder": {
    29              "slotid": "m8x9x3rzff",
    30              "adtype": "banner",
    31              "publisherid": "123",
    32              "signkey": "signkey",
    33              "keyid": "41",
    34              "isTestAuthorization": "true"
    35            }
    36          }
    37        }
    38      ],
    39      "device": {
    40        "make": "HUAWEI",
    41        "model": "LYA-AL00",
    42        "ua": "ua",
    43        "lmt": 0,
    44        "os": "android",
    45        "osv": "29",
    46        "language": "zh",
    47        "w": 360,
    48        "h": 755,
    49        "pxratio": 3,
    50        "mccmnc": "203-1",
    51        "carrier": "carrier",
    52        "connectiontype": 1
    53      },
    54      "app": {
    55        "bundle": "com.example.p10",
    56        "ver": "1.11",
    57        "name": "API1.0Demo",
    58        "publisher": {
    59          "id": "1001"
    60        },
    61        "ext": {
    62          "prebid": {
    63            "source": "prebid-mobile",
    64            "version": "1.11"
    65          }
    66        }
    67      },
    68      "user": {
    69        "gender": "O",
    70        "ext": {
    71          "data": {
    72            "gaid": [
    73              "gaid"
    74            ],
    75            "oaid": [
    76              "oaid"
    77            ],
    78            "clientTime": [
    79              "2018-11-02 16:34:07.981+1300"
    80            ]
    81          }
    82        }
    83      },
    84      "ext": {
    85        "prebid": {
    86          "storedrequest": {
    87            "id": "1001"
    88          },
    89          "cache": {
    90            "bids": {}
    91          },
    92          "targeting": {}
    93        }
    94      }
    95    },
    96    "httpcalls": [
    97      {
    98        "expectedRequest": {
    99          "uri": "https://adx-dra.op.hicloud.com/ppsadx/getResult",
   100          "headers": {
   101            "Accept": [
   102              "application/json"
   103            ],
   104            "Content-Type": [
   105              "application/json;charset=utf-8"
   106            ],
   107            "User-Agent": [
   108              "ua"
   109            ],
   110            "Authorization": [
   111              "Digest username=123,realm=ppsadx/getResult,nonce=1629473330823,response=d1d61a13a83e1468aa4dff5c8a6cee0b8b381173ca3eb6fa9b313937684d87c0,algorithm=HmacSHA256,usertype=1,keyid=41"
   112            ]
   113          },
   114          "body": {
   115            "app": {
   116              "lang": "en",
   117              "country": "ZA",
   118              "name": "API1.0Demo",
   119              "pkgname": "com.example.pkgname2",
   120              "version": "1.11"
   121            },
   122            "multislot": [
   123              {
   124                "adtype": 8,
   125                "slotid": "m8x9x3rzff",
   126                "test": 1,
   127                "format": [
   128                  {
   129                    "w": 300,
   130                    "h": 250
   131                  }
   132                ]
   133              }
   134            ],
   135            "device": {
   136              "height": 755,
   137              "language": "zh",
   138              "oaid": "oaid",
   139              "os": "android",
   140              "localeCountry": "ZA",
   141              "pxratio": 3,
   142              "width": 360,
   143              "model": "LYA-AL00",
   144              "clientTime": "2018-11-02 16:34:07.981+1300",
   145              "gaid": "gaid",
   146              "useragent": "ua",
   147              "version": "29",
   148              "maker": "HUAWEI",
   149              "belongCountry": "ZA"
   150            },
   151            "geo": {
   152            },
   153            "network": {
   154              "carrier": 99,
   155              "cellInfo": [
   156                {
   157                  "mcc": "203",
   158                  "mnc": "1"
   159                }
   160              ],
   161              "type": 1
   162            },
   163            "regs": {
   164            },
   165            "version": "3.4",
   166            "clientAdRequestId": "a3b18c5b-6708-4bb7-b41b-40ed37d89561"
   167          },
   168          "impIDs":["PrebidMobile"]
   169        },
   170        "mockResponse": {
   171          "status": 200,
   172          "body": {
   173            "ctrlSwitchs": "0",
   174            "dsp1cost": 61,
   175            "dspcost": 108,
   176            "multiad": [
   177              {
   178                "adtype": 8,
   179                "brsetting": "Y",
   180                "content": [
   181                  {
   182                    "clickActionList": [
   183                      1
   184                    ],
   185                    "contentid": "58025103",
   186                    "creativetype": 2,
   187                    "endtime": 1621428898335,
   188                    "filterList": [
   189                      3
   190                    ],
   191                    "interactiontype": 1,
   192                    "landingTitle": 1,
   193                    "metaData": {
   194                      "adSign": "2",
   195                      "appPromotionChannel": "401721412",
   196                      "clickUrl": "https://ads.huawei.com/usermgtportal/home/index.html#/",
   197                      "imageInfo": [
   198                        {
   199                          "checkSha256Flag": 1,
   200                          "height": 250,
   201                          "imageType": "img",
   202                          "sha256": "",
   203                          "url": "https://ads.huawei.com/usermgtportal/home/img/huawei_logo_black.aaec817d.svg",
   204                          "width": 300
   205                        }
   206                      ],
   207                      "label": "Banner_API",
   208                      "landingPageType": "3"
   209                    },
   210                    "monitor": [
   211                      {
   212                        "eventType": "click"
   213                      },
   214                      {
   215                        "eventType": "imp",
   216                        "url": [
   217                        ]
   218                      }
   219                    ],
   220                    "paramfromserver": {
   221                      "a": "1||test",
   222                      "sig": "",
   223                      "t": "99990101235959"
   224                    },
   225                    "price": 2.8,
   226                    "starttime": 1621267200000,
   227                    "taskid": "48017658"
   228                  }
   229                ],
   230                "retcode30": 200,
   231                "slotid": "m8x9x3rzff"
   232              }
   233            ],
   234            "noReportAdTypeEventList": [
   235              {
   236                "adType": 8,
   237                "eventTypeList": [
   238                  "exception_6"
   239                ]
   240              }
   241            ],
   242            "retcode": 200,
   243            "totalCacheSize": 300
   244          }
   245        }
   246      }
   247    ],
   248    "expectedBidResponses": [
   249      {
   250        "currency": "USD",
   251        "bids": [
   252          {
   253            "bid": {
   254              "adm": "<style> html, body  { margin: 0; padding: 0; width: 100%; height: 100%; vertical-align: middle; }  html  { display: table; }  body { display: table-cell; vertical-align: middle; text-align: center; -webkit-text-size-adjust: none; }  </style> <span class=\"title-link advertiser_label\"></span> <a href='https://ads.huawei.com/usermgtportal/home/index.html#/' style=\"text-decoration:none\" onclick=sendGetReq()> <img src='https://ads.huawei.com/usermgtportal/home/img/huawei_logo_black.aaec817d.svg' width='300' height='250'/> </a> <script type=\"text/javascript\">var dspClickTrackings = [];function sendGetReq() {sendSomeGetReq(dspClickTrackings)}function sendOneGetReq(url) {var req = new XMLHttpRequest();req.open('GET', url, true);req.send(null);}function sendSomeGetReq(urls) {for (var i = 0; i < urls.length; i++) {sendOneGetReq(urls[i]);}}</script>",
   255              "adomain": [
   256                "huaweiads"
   257              ],
   258              "h": 250,
   259              "w": 300,
   260              "crid": "58025103",
   261              "id": "PrebidMobile",
   262              "impid": "PrebidMobile",
   263              "price": 2.8
   264            },
   265            "type": "banner"
   266          }
   267        ]
   268      }
   269    ]
   270  }