構成プラットフォーム サービス
注:
このサービスは現在、限られた一連のクライアントと Microsoft の従業員のみが利用できます。
Config Platform は、bidder メンバー ( common.config_platform
テーブルに格納されている) の非常に具体的な複数入札設定を更新するための管理専用サービスです。 このサービスを使用してオブジェクトを追加または更新する場合は、十分に注意してください。
REST API
HTTP メソッド | エンドポイント | 説明 |
---|---|---|
POST |
https://api.appnexus.com/config-platform (JSON の構成) |
新しい構成プラットフォーム設定を追加します。 |
PUT |
https://api.appnexus.com/config-platform?id=CONFIG_PLATFORM_ID (config_update JSON) 注: CONFIG_PLATFORM_ID は、構成プラットフォーム設定の一意に生成された ID であり、 GET を使用して取得できます。 |
構成プラットフォーム設定を変更します。 |
GET |
https://api.appnexus.com/config-platform |
すべての構成プラットフォーム設定を表示します。 |
JSON フィールド
フィールド | 型 (長さ) | 説明 |
---|---|---|
id |
int | 構成プラットフォーム設定の ID。 デフォルト: 自動生成された数値。 クエリ文字列で必要な On: PUT /DELETE 。 |
key |
varchar(256) | adserver で使用されるキー値。 必須: POST |
value |
varchar(16834) | 指定されたキーの値。 必須: POST |
application |
varchar(256) | 設定を使用するアプリケーション。 現在、 "impbus" のみがサポートされています。必須: POST |
json_value_type |
列挙 | 指定された値の型。 使用可能な値: "string" 、 "array" 、 "numeric" 、または "boolean" 。必須: POST |
例
すべての config-platform
設定を表示する
$ curl -b cookies -c cookies 'https://api.appnexus.com/config-platform'
{
"response": {
"status": "OK",
"count": 5,
"start_element": 0,
"num_elements": 100,
"config-platforms": [
{
"id": 1,
"key": "admarket_scale_pct",
"value": "75",
"instance": null,
"application": "impbus",
"depend": 0,
"variation": null,
"json_value_type": "numeric",
"last_modified": "2013-02-18 13:57:02"
},
{
"id": 2,
"key": "threepe_bidder_id",
"value": "55",
"instance": null,
"application": "impbus",
"depend": 1,
"variation": null,
"json_value_type": "numeric",
"last_modified": "2014-10-02 21:38:53"
},
{
"id": 3,
"key": "rmx_max_num_bids",
"value": "5",
"instance": null,
"application": "impbus",
"depend": 1,
"variation": null,
"json_value_type": "numeric",
"last_modified": "2013-08-08 12:53:06"
},
...
]
}
}
config-platform
設定を変更する
$ cat config_platform_update
{
"config-platform": {
"value": 7
}
$ curl -b cookies -c cookies -X PUT -d @template_update 'https://api.appnexus.com/config-platform?id=3'
{
"response": {
"status": "OK",
"count": 5,
"start_element": 0,
"num_elements": 100,
"config-platform": {
"id": 3,
"key": "rmx_max_num_bids",
"value": "7",
"instance": null,
"application": "impbus",
"depend": 1,
"variation": null,
"json_value_type": "numeric",
"last_modified": "2015-01-15 12:53:06"
}
}
}