Ruft die Liste der Werbeaktionen eines Projekts ab.
project_id required | integer Projekt-ID. Dieser Parameter wird im Kundenportal neben dem Projektnamen angezeigt. Example: 44056 |
Die Liste der Werbeaktionen wurde erfolgreich empfangen.
Basisauthentifizierung nicht bestanden oder falsch. Prüfen Sie die Anmeldedaten und vergewissern Sie sich, dass Sie die Basisauthentifizierung verwenden.
{- "promotions": [
- {
- "bonus": [
- {
- "item": {
- "bundle_type": "virtual_currency_package",
- "content": [ ],
- "description": null,
- "image_url": null,
- "name": {
- "en-US": "Diamonds pack",
- "ru-RU": "Пак кристаллов"
}, - "sku": "diamonds_pack",
- "type": "bundle"
}, - "quantity": 1
}
], - "condition": [
- {
- "item": {
- "description": null,
- "image_url": null,
- "inventory_options": {
- "consumable": true,
- "expiration_period": null
}, - "name": {
- "en-US": "VG name",
- "ru-RU": "Название VG"
}, - "sku": "virtual_good_bonus_2",
- "type": "virtual_good"
}
}
], - "date_end": null,
- "date_start": "2020-01-01T00:00",
- "discount": null,
- "id": 1,
- "is_enabled": true,
- "name": "promotion_1",
- "type": "item_bonus"
}, - {
- "bonus": null,
- "condition": [
- {
- "item": {
- "description": null,
- "image_url": null,
- "inventory_options": {
- "consumable": true,
- "expiration_period": null
}, - "name": {
- "en-US": "VG name",
- "ru-RU": "Название VG"
}, - "sku": "virtual_good_bonus_2",
- "type": "virtual_good"
}
}
], - "date_end": "2030-01-01T00:00",
- "date_start": "2020-01-01T00:00",
- "discount": {
- "percent": "10.99"
}, - "id": 2,
- "is_enabled": false,
- "name": "promotion_2",
- "type": "item_discount"
}, - {
- "bonus": [
- {
- "item": {
- "description": null,
- "image_url": null,
- "inventory_options": {
- "consumable": true,
- "expiration_period": null
}, - "name": {
- "en-US": "VG name",
- "ru-RU": "Название VG"
}, - "sku": "virtual_good_bonus_2",
- "type": "virtual_good"
}, - "quantity": 2
}
], - "condition": [
- {
- "item": {
- "external_id": "coupon_2",
- "is_enabled": true,
- "name": {
- "en-US": "Coupon name",
- "ru-RU": "Название купона"
}, - "redeem_code_limit": 1,
- "redeem_total_limit": null,
- "redeem_user_limit": null
}
}
], - "date_end": "2030-01-01T00:00",
- "date_start": "2022-01-01T00:00",
- "discount": null,
- "id": 3,
- "is_enabled": true,
- "name": "promotion_3",
- "type": "coupon_bonus"
}, - {
- "bonus": [
- {
- "item": {
- "description": null,
- "image_url": null,
- "inventory_options": {
- "consumable": true,
- "expiration_period": null
}, - "name": {
- "en-US": "VG name",
- "ru-RU": "Название VG"
}, - "sku": "virtual_good_bonus_2",
- "type": "virtual_good"
}, - "quantity": 2
}
], - "condition": [
- {
- "item": {
- "external_id": "coupon_3",
- "is_enabled": true,
- "name": {
- "en-US": "Coupon name",
- "ru-RU": "Название купона"
}, - "redeem_code_limit": 1,
- "redeem_total_limit": null,
- "redeem_user_limit": null
}
}
], - "date_end": "2031-01-01T00:00",
- "date_start": "2018-01-01T00:00",
- "discount": {
- "percent": "12.99"
}, - "id": 4,
- "is_enabled": false,
- "name": "promotion_4",
- "type": "promocode_bonus_discount"
}, - {
- "bonus": [
- {
- "item": {
- "description": null,
- "image_url": null,
- "name": {
- "en-US": "VG name",
- "ru-RU": "Название VG"
}, - "sku": "virtual_good_bonus_4",
- "type": "virtual_good"
}, - "quantity": 1
}
], - "condition": null,
- "date_end": null,
- "date_start": "2020-01-01T00:00",
- "discount": null,
- "id": 5,
- "is_enabled": true,
- "name": "promotion_5",
- "type": "cart_bonus"
}
], - "total_promotions_count": 5
}