-
Создал(а)
пользователь-a8923 окт. 05, 2022 Время чтения: 3 мин.
Вы просматриваете старую версию данной страницы. Смотрите текущую версию.
Сравнить с текущим просмотр истории страницы
Версия 1 Текущий »
Рекламодатель:
curl --location --request PUT 'https://ui-dev.getintent.com/api/v2/advertisers/new?token=<token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "https://getintent.com/",
"name": "Test_create_api_new_adver3",
"credit": 0,
"currency": "RUB",
"max_budget": 0,
"hide_billing": false,
"margin_optimisation": false,
"compliant_media_cost": {
"enabled": false
},
"cpa_prediction_enabled": false,
"default_dsp_commission": "1",
"cpc_predict_transparent": false,
"creative_tmt_validation": false,
"default_agency_commission": "1",
"omit_expected_discrepancy": false,
"manage_campaigns_commissions": true,
"shared_pixel_data_with": [],
"payment_type": "prepaid",
"current_balance": 0
}'
Группа кампаний.
curl --location --request PUT 'https://ui-dev.getintent.com/api/v2/advertisers/9706/campaign_groups/new?token=<token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"targeting": {
"frequency_capping": {
"day": "200",
"hour": "20",
"strict": "true"
}
},
"impression_limit": "10000",
"daily_budget_limit": "100",
"name": "test_group",
"budget_limit": 1000,
"advertiser_id": 9706
}'
Кампании:
curl --location --request PUT 'https://ui.getintent.com/api/v2/advertisers/9706/campaigns/new?token=<token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Test campaign!",
"advertiser_id": 9706,
"starts": "2022-11-11 00:00:00",
"ends": "2022-11-12 00:00:00",
"group_id": 22629,
"type_ad_campaign": "CPM",
"distribution_form": "баннер",
"for_mobile_device": false,
"for_native_ads": false,
"for_video_ads": false,
"for_dooh": false,
"landing_page": "http://getintent.com",
"disabled": true,
"budget": 1000,
"financing": {
"type": "max_cpm",
"price": 3.5
},
"targeting": {
"geo": {
"countries": [
"US"
],
"regions": [
"US/FL",
"US/PA",
"US/NJ"
],
"cities": [
"Jersey City",
"Houston"
],
"dma_code": [
"500",
"502"
],
"zip_code": [
"10010"
]
},
"segments": [
1009,
1048,
1050,
1071
],
"categories": [
"iab2",
"iab2-1",
"iab2-2",
"iab2-3",
"iab2-12"
],
"frequency_capping": {
"hour": 4,
"day": 10,
"week": 30
},
"weekdays": [
"1",
"2",
"3",
"4",
"5",
"6",
"7"
],
"time": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"0"
],
"ssps": [
"yandex"
],
"page_language": [
"en"
],
"devices": [
"DESKTOP",
"SMARTPHONE",
"TABLET"
],
"positions": [
"above",
"below",
"unknown"
],
"operating_systems": [
"IOS",
"ANDROID",
"WINDOWS",
"LINUX",
"MACOS",
"OTHER",
"WINDOWS_PHONE"
],
"browsers": [
"FIREFOX",
"IE",
"EDGE",
"OPERA",
"YANDEX",
"CHROME",
"SAFARI",
"ANDROID_BROWSER",
"OTHER"
]
},
"negative_targeting": {
"domains_lists": [
"6"
]
},
"daily_budget": 12,
"site_id": 42,
"creatives": [
210,
3013,
3014,
3015,
3016,
3017,
3018,
3019,
3020,
3021,
3022,
3023,
3024
]
}'
curl --location --request PUT 'https://ui-dev.getintent.com/api/v2/advertisers/9706/campaigns/new?token=<token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ends": "2023-09-28 23:59:59",
"budget": 1,
"starts": "2023-09-28 00:00:00",
"disabled": true,
"financing": {
"type": "max_cpm",
"price": 1
},
"fp_switch": "inherit",
"targeting": {
"https": true,
"exclude_anonymous_domains": true
},
"landing_page": "https://www.google.com/",
"budget_pacing": "CAMPAIGN",
"type_ad_campaign": "CPM",
"distribution_form": "видеооролик",
"block_anomaly_click_redirect": "INHERIT",
"name": "TEST_web_video",
"for_mobile_device": false,
"for_native_ads": false,
"for_video_ads": true,
"for_dooh": false,
"advertiser_id": "9706",
"group_id": 22624
}'
curl --location --request PUT 'https://ui-dev.getintent.com/api/v2/advertisers/9706/campaigns/new?token=<token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ends": "2024-09-28 23:59:59",
"budget": 1,
"starts": "2024-09-28 00:00:00",
"disabled": true,
"financing": {
"type": "max_cpm",
"price": 1
},
"fp_switch": "inherit",
"targeting": {
"https": true,
"exclude_anonymous_domains": true
},
"landing_page": "https://www.test.com/",
"budget_pacing": "CAMPAIGN",
"landing_domain": "https://getintent.com",
"type_ad_campaign": "CPC",
"distribution_form": "текст + графика",
"block_anomaly_click_redirect": "INHERIT",
"id": 245770,
"updated_at": "2022-09-28T10:59:44+0000",
"name": "TEST_web_native",
"for_mobile_device": false,
"for_native_ads": true,
"for_video_ads": false,
"for_dooh": false,
"advertiser_id": 9699,
"group_id": 22624
}'
curl --location --request PUT 'https://ui-dev.getintent.com/api/v2/advertisers/9706/campaigns/new?token=<token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ends": "2023-09-28 23:59:59",
"budget": 1,
"starts": "2023-09-28 00:00:00",
"disabled": true,
"financing": {
"type": "max_cpm",
"price": 1
},
"fp_switch": "inherit",
"targeting": {
"https": true,
"exclude_anonymous_domains": true
},
"landing_page": "https://getintent.com/",
"budget_pacing": "CAMPAIGN",
"type_ad_campaign": "CPC",
"distribution_form": "баннер",
"block_anomaly_click_redirect": "INHERIT",
"name": "Test_InApp_Banner",
"for_mobile_device": true,
"for_native_ads": false,
"for_video_ads": false,
"for_dooh": false,
"advertiser_id": 9699,
"group_id": 22624
}'
curl --location --request PUT 'https://ui-dev.getintent.com/api/v2/advertisers/9706/campaigns/new?token=<token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ends": "2024-09-28 23:59:59",
"budget": 1,
"starts": "2024-09-28 00:00:00",
"disabled": true,
"financing": {
"type": "max_cpm",
"price": 1
},
"fp_switch": "inherit",
"targeting": {
"https": true,
"exclude_anonymous_domains": true
},
"landing_page": "https://www.google.com/",
"budget_pacing": "CAMPAIGN",
"type_ad_campaign": "CPM",
"distribution_form": "видеооролик",
"block_anomaly_click_redirect": "INHERIT",
"name": "Test_InApp_Video",
"for_mobile_device": true,
"for_native_ads": false,
"for_video_ads": true,
"for_dooh": false,
"advertiser_id": 9699,
"group_id": 22624
}'
curl --location --request PUT 'https://ui-dev.getintent.com/api/v2/advertisers/9706/campaigns/new?token=<token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ends": "2022-09-28 23:59:59",
"budget": 1,
"starts": "2022-09-28 00:00:00",
"disabled": true,
"financing": {
"type": "max_cpm",
"price": 1
},
"fp_switch": "inherit",
"targeting": {
"https": true,
"exclude_anonymous_domains": true
},
"landing_page": "https://getintent.com/",
"budget_pacing": "CAMPAIGN",
"type_ad_campaign": "CPM",
"distribution_form": "текст + графика",
"block_anomaly_click_redirect": "INHERIT",
"id": 245776,
"name": "Test_InApp_Native",
"for_mobile_device": true,
"for_native_ads": true,
"for_video_ads": false,
"for_dooh": false,
"advertiser_id": 9699,
"group_id": 22624
}'
- Нет меток