{
  "mockBidRequest": {
    "id": "test-req-id",
    "imp": [
      {
        "id": "test-imp-id",
        "native": {
          "request": "{\"context\":2,\"contextsubtype\":20,\"plcmttype\":1,\"plcmtcnt\":1,\"seq\":0,\"aurlsupport\":0,\"durlsupport\":0,\"eventtrackers\":[{\"event\":1,\"methods\":[1,2]}],\"privacy\":0,\"assets\":[{\"id\":100,\"title\":{\"len\":90},\"required\":1},{\"id\":101,\"img\":{\"type\":3,\"wmin\":200,\"hmin\":200},\"required\":1},{\"id\":102,\"img\":{\"type\":1,\"w\":20,\"h\":20},\"required\":1},{\"id\":105,\"data\":{\"type\":2,\"len\":90},\"required\":1}],\"ver\":\"1.2\"}",
          "ver": "1.2"
        },
        "ext": {
          "bidder": {
            "slotid": "u42ohmaufh",
            "adtype": "native",
            "publisherid": "123",
            "signkey": "signkey",
            "keyid": "41",
            "isTestAuthorization": "true"
          }
        }
      }
    ],
    "app": {
      "bundle": "com.huawei.browser",
      "name": "Huawei Browser",
      "ver": "9.1.0.301"
    },
    "device": {
      "ua": "useragent",
      "h": 1920,
      "language": "zh",
      "geoCountry": "CH",
      "model": "COL-TEST",
      "os": "android",
      "osv": "10.0.0",
      "devicetype": 4,
      "make": "huawei",
      "w": 1080,
      "ip": "152.193.6.74",
      "pxratio": 23.01,
      "geo": {
        "country": ""
      }
    },
    "user": {
      "ext": {
        "data": {
          "gaid": [
            "gaid"
          ],
          "oaid": [
            "oaid"
          ],
          "clientTime": [
            "2018-11-02 16:34:07.981+1300"
          ]
        }
      }
    },
    "ext": {
    }
  },
  "httpcalls": [
    {
      "expectedRequest": {
        "uri": "https://adx-dra.op.hicloud.com/ppsadx/getResult",
        "headers": {
          "Accept": [
            "application/json"
          ],
          "Content-Type": [
            "application/json;charset=utf-8"
          ],
          "User-Agent": [
            "useragent"
          ],
          "Authorization": [
            "Digest username=123,realm=ppsadx/getResult,nonce=1629473330823,response=d1d61a13a83e1468aa4dff5c8a6cee0b8b381173ca3eb6fa9b313937684d87c0,algorithm=HmacSHA256,usertype=1,keyid=41"
          ]
        },
        "body": {
          "app": {
            "lang": "en",
            "country": "ZA",
            "name": "Huawei Browser",
            "pkgname": "com.huawei.browser",
            "version": "9.1.0.301"
          },
          "multislot": [
            {
              "adtype": 3,
              "slotid": "u42ohmaufh",
              "detailedCreativeTypeList": [
                "901",
                "904",
                "905"
              ],
              "format":[{"w":1080,"h":607},{"w":300,"h":250},{"w":1080,"h":1620},{"w":1280,"h":720},{"w":640,"h":360},{"w":1080,"h":1920},{"w":720,"h":1280}],
              "test": 1
            }
          ],
          "device": {
            "height": 1920,
            "language": "zh",
            "oaid": "oaid",
            "os": "android",
            "type": 4,
            "ip": "152.193.6.74",
            "localeCountry": "ZA",
            "pxratio": 23.01,
            "model": "COL-TEST",
            "width": 1080,
            "clientTime": "2018-11-02 16:34:07.981+1300",
            "gaid": "gaid",
            "useragent": "useragent",
            "version": "10.0.0",
            "maker": "huawei",
            "belongCountry": "ZA"
          },
          "geo": {
          },
          "network": {
            "type": 0
          },
          "regs": {
          },
          "version": "3.4",
          "clientAdRequestId": "test-req-id"
        },
        "impIDs":["test-imp-id"]
      },
      "mockResponse": {
        "status": 200,
        "body": {
          "ctrlSwitchs": "0",
          "multiad": [
            {
              "adtype": 3,
              "content": [
                {
                  "contentid": "58022259",
                  "creativetype": 106,
                  "endtime": 1621344684645,
                  "interactiontype": 1,
                  "landingTitle": 1,
                  "metaData": {
                    "adSign": "2",
                    "apkInfo": {
                      "appIcon": "https://icon.png",
                      "appName": "%E6%89%8B%E6%9C%BA%E6%B7%98%E5%AE%9D",
                      "fileSize": 118902470,
                      "packageName": "com.demo.package",
                      "permPromptForCard": "0",
                      "popNotify": 1,
                      "popUpAfterInstallNew": 1,
                      "priorInstallWay": "2",
                      "sha256": "sha256",
                      "url": "https://test/apkurl",
                      "versionCode": "284",
                      "versionName": "9.6.1.9"
                    },
                    "appId": "101219405",
                    "appPromotionChannel": "401721412",
                    "clickUrl": "https://ads.huawei.com/usermgtportal/home/index.html#/",
                    "cta": "%e5%ae%89%e8%a3%85",
                    "duration": 6038,
                    "icon": [
                      {
                        "checkSha256Flag": 1,
                        "fileSize": 10797,
                        "height": 160,
                        "imageType": "img",
                        "sha256": "042479eccbda9a8d7d3aa3da73c42486854407835623a30ffff875cb578242d0",
                        "url": "https://icon1.png",
                        "width": 160
                      },
                      {
                        "checkSha256Flag": 1,
                        "fileSize": 10797,
                        "height": 320,
                        "imageType": "img",
                        "sha256": "042479eccbda9a8d7d3aa3da73c42486854407835623a30ffff875cb578242d0",
                        "url": "https://icon2.png",
                        "width": 160
                      }
                    ],
                    "imageInfo": [
                      {
                        "checkSha256Flag": 0,
                        "height": 350,
                        "imageType": "img",
                        "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
                        "url": "http://image1.jpg",
                        "width": 400
                      },
                      {
                        "checkSha256Flag": 0,
                        "height": 300,
                        "imageType": "img",
                        "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
                        "url": "http://image2.jpg",
                        "width": 400
                      },
                      {
                        "checkSha256Flag": 0,
                        "height": 300,
                        "imageType": "img",
                        "sha256": "8baa56fdb2702b9fb044d95b328936160cd245764375cdb25a4ab504f4ae2e19",
                        "url": "http://image3.jpg",
                        "width": 400
                      }
                    ],
                    "label": "%E6%89%8B%E6%9C%BA%E6%B7%98%E5%AE%9D",
                    "landingPageType": "3",
                    "marketAppId": "C101219405",
                    "title": "%2Ftest%2F",
                    "description": "this is a test ad"
                  },
                  "monitor": [
                    {
                      "eventType": "click",
                      "url": [
                        "http://test/click"
                      ]
                    },
                    {
                      "eventType": "imp",
                      "url": [
                        "http://test/imp"
                      ]
                    },
                    {
                      "eventType": "download",
                      "url": [
                        "http://test/download"
                      ]
                    },
                    {
                      "eventType": "install",
                      "url": [
                        "http://test/install"
                      ]
                    },
                    {
                      "eventType": "downloadstart",
                      "url": [
                        "http://test/downloadstart"
                      ]
                    },
                    {
                      "eventType": "userclose",
                      "url": [
                        "http://test/userclose"
                      ]
                    },
                    {
                      "eventType": "playStart",
                      "url": [
                        "http://test/playStart"
                      ]
                    },
                    {
                      "eventType": "playEnd",
                      "url": [
                        "http://test/playEnd"
                      ]
                    },
                    {
                      "eventType": "playResume",
                      "url": [
                        "http://test/playResume"
                      ]
                    },
                    {
                      "eventType": "playPause",
                      "url": [
                        "http://test/playPause"
                      ]
                    },
                    {
                      "eventType": "appOpen",
                      "url": [
                        "http://test/appOpen"
                      ]
                    }
                  ],
                  "paramfromserver": {
                    "a": "1||test",
                    "sig": "",
                    "t": "99990101235959"
                  },
                  "price": 2.8,
                  "starttime": 1620230400000,
                  "taskid": "48016632"
                }
              ],
              "retcode30": 200,
              "slotid": "u42ohmaufh"
            }
          ],
          "noReportAdTypeEventList": [
            {
              "adType": 3,
              "eventTypeList": [
                "installFail"
              ]
            }
          ],
          "retcode": 200,
          "totalCacheSize": 300
        }
      }
    }
  ],
  "expectedBidResponses": [
    {
      "currency": "CNY",
      "bids": [
        {
          "bid": {
            "adomain": [
              "huaweiads"
            ],
            "crid": "58022259",
            "adm": "{\"ver\":\"1.2\",\"assets\":[{\"id\":100,\"title\":{\"text\":\"/test/\",\"len\":6}},{\"id\":101,\"img\":{\"type\":3,\"url\":\"http://image1.jpg\",\"w\":400,\"h\":350}},{\"id\":102,\"img\":{\"type\":1,\"url\":\"https://icon1.png\",\"w\":160,\"h\":160}},{\"id\":105,\"data\":{\"label\":\"desc\",\"value\":\"this is a test ad\"}}],\"link\":{\"url\":\"https://ads.huawei.com/usermgtportal/home/index.html#/\",\"clicktrackers\":[\"http://test/click\"]},\"eventtrackers\":[{\"event\":1,\"method\":1,\"url\":\"http://test/imp\"}]}",
            "id": "test-imp-id",
            "impid": "test-imp-id",
            "price": 2.8,
            "h": 350,
            "w": 400
          },
          "type": "native"
        }
      ]
    }
  ]
}