Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Added segment_id dynamic price feature description

...

AttributeRequiredTypeDescription
idyesnumberUnique ID
priceyesnumberPrice for the current set of features.
featuresyesobjectFeatures for the current price
features.sspnostringSSP name feature. Example: "adx"
features.browsernostringBrowser name feature. Values: FIREFOX, IE, EDGE, OPERA, YANDEX, ANDROID_BROWSER, CHROME, SAFARI, FACEBOOK_APP
features.devicenostringDevice type feature. Values: UNKNOWN, SMARTPHONE, TABLET, DESKTOP, SMART_TV, GAME_CONSOLE
features.domainnostringDomain feature. Example: "*.google.com", "facebook.com"
features.app_idnostringApplication ID feature. Example: "com.instagram.android", "389801252"
features.sizenostringCreative Size feature. Example: "320x240"
features.osnostringOperating System feature. IOS, ANDROID, WINDOWS, LINUX, MACOS, OTHER, WINDOWS_PHONE, BLACKBERRY
features.segment_idnonumberSegment id feature. Example: 16951

Example

Блок кода
languagejs
titleDynamic Financing JSON Example
linenumberstrue
"financing": {
		"type": "max_cpm",
		"price": "3",
		"dynamic_prices": [
			{
				"id": 1,
				"price": 5,
				"features": {
					"ssp": "bsw.brx",
                    "segment_id": 1000
				}
			},
			{
				"id": 2,
				"price": 6,
				"features": {
					"ssp": "bsw.vi",
					"domain": "*.google.com"
				}
			},
			{
				"id": 3,
				"price": 10,
				"features": {
					"ssp": "adx",
					"device": "SMARTPHONE",
					"domain": "cnn.com"
				}
			}
		]
	}

...