次の方法で共有


Demand Partner Schema サービス

需要パートナー スキーマ サービスは、需要パートナーが受け入れるパラメーターを検証します。 サービスは、呼び出し元のメンバーのすべての要求パートナー スキーマを返します。

需要パートナー スキーマは需要パートナーごとに一意です。各需要パートナーは、特定の PSP 構成が処理されるときに、オークション時に必要なパラメーターのセットが異なります。 特定の需要パートナーのスキーマをフェッチする方法はありません。 有効な PSP 需要パートナーのすべてのスキーマを表示する方法のみを許可します。

REST API

HTTP メソッド エンドポイント 説明
GET https://api.appnexus.com/prebid/demand-partner-schemas すべての需要パートナー スキーマを返します。

応答の例

{
   "33across":{
      "$schema":"https://json-schema.org/draft-04/schema#",
      "description":"A schema which validates params accepted by the 33Across adapter",
      "properties":{
         "productId":{
            "description":"Product type",
            "type":"string"
         },
         "siteId":{
            "description":"Site Id",
            "type":"string"
         },
         "zoneId":{
            "description":"Zone Id",
            "type":"string"
         }
      },
      "required":[
         "productId",
         "siteId"
      ],
      "title":"33Across Adapter Params",
      "type":"object"
   },
   "adform":{
      "$schema":"https://json-schema.org/draft-04/schema#",
      "description":"A schema which validates params accepted by the Adform adapter",
      "properties":{
         "mid":{
            "description":"An ID which identifies the placement selling the impression",
            "type":[
               "integer",
               "string"
            ]
         },
         "mkv":{
         "description":"Comma-separated key-value pairs. Forbidden symbols: &. Example: mkv='color:blue,length:350'",
         "pattern":"^(\\s*|(([^,:&]*[^,:&\\s]+[^,:&]*)+:[^,:&]*,)*(([^,:&]*[^,:&\\s]+[^,:&]*)+:[^,:&]*,?))$",
            "type":"string"
         },
         "mkw":{
         "description":"Comma-separated keywords. Forbidden symbols: &.",
         "pattern":"^[^&]*$",
            "type":"string"
         },
         "priceType":{
            "description":"An expected price type (net or gross) of bids.",
            "enum":[
               "gross",
               "net"
            ],
            "type":"string"
         }
      },
      "required":[
         "mid"
      ],
      "title":"Adform Adapter Params",
      "type":"object"
   }
}