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

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...


Example:
some_dmp. 2015-07-15_12-00-00.632a0017-bbda-4be7-a5fe-6a2478b65c89.txt.gz

Якорь
file-format
file-format

Data format

The first line of file should be a header and will always be ignored. The further line should follow the syntax below:
[DMP USER ID]<tab>[DSP USER ID]<tab>[SEGMENTS TO ADD]<tab>[SEGMENTS TO REMOVE]
Where:

...

NodeDescriptionMandatory
idSegment id in DMP taxonomyrequired
nameSegment namerequired
cost_typeCommission type RATE or FIX
cost_valueCPM in case of FIX or percents in case of RATE commission
currencySegment currency RUB/USD
advertisersList of advertisers ids to which segment should be availble
available_to_all

Should the segment be available to all advertisers (default: false).

If set to true, advertisers array must also be empty.


When no cost is provided then default pricing from DMP settings will be used.

Блок кода
languagejs
titleTaxonomy File example
linenumberstrue
[
    {
        "id": 1000,
        "name": "Mens 18-24",
        "cost_type": "RATE",
        "cost_value": 20,
        "currency": "USD",
        "advertisers": [
            1000,
            2000,
            3000
        ]
    },
    {
        "id": 1001,
        "name": "Mens 25-29",
        "cost_type": "FIX",
        "cost_value": "1",
        "currency": "USD",
        "advertisers": [
            1000,
            2000,
            3000
        ]
    }    
]