cURL-Beispiele
Überblick
Authentifizierung (Login)
curl -X POST "https://api.exoclick.com/v2/login" \
-H "Content-Type: application/json" \
-d '{
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD"
}'curl -X POST "https://api.exoclick.com/v2/login" \
-H "Content-Type: application/json" \
-d '{
"api_token": "YOUR_API_TOKEN"
}'Erstellungsablauf für 300x250 Banner-Kampagnen
1
2
3
Kampagnen-Rahmen erstellen
curl -X POST "https://api.exoclick.com/v2/campaigns" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Banner 300x250",
"status": 0,
"advertiser_ad_type": 0,
"media_storage_template": "img_banner",
"size": "300x250",
"categories": { "type": "targeted", "elements": [97, 98, 99] },
"countries": {
"type": "targeted",
"elements": [{ "country": "USA", "regions": [0] }]
},
"pricing": { "model": 4, "price": 300 },
"start_date": "2026-03-02",
"daily_limit_type": 1,
"max_daily_budget": 2000,
"budget_delivery_mode": 1,
"run_on_responsive_zones": 1
}'Zuletzt aktualisiert
War das hilfreich?

