$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "reportName": "Sample weekly sportswear competitor ad report",
< "items": [
< {
< "libraryID": "sample-nike-001",
< "brand": "Nike",
< "keyword": "Nike",
< "body": "Run-ready styles for every training day. Explore the latest performance collection.",
< "startDate": "2026-05-20",
< "isActive": true,
< "platforms": [
< "Facebook",
< "Instagram"
< ],
< "ctaLink": "https://www.nike.com/running"
< },
< {
< "libraryID": "sample-puma-001",
< "brand": "PUMA",
< "keyword": "Puma",
< "body": "New season essentials built for training, streetwear, and everyday movement.",
< "startDate": "2026-05-22",
< "isActive": true,
< "platforms": [
< "Facebook",
< "Instagram"
< ],
< "ctaLink": "https://us.puma.com/us/en/sports"
< },
< {
< "libraryID": "sample-newbalance-001",
< "brand": "New Balance",
< "keyword": "New Balance",
< "body": "Fresh running gear and comfort-first sneakers for your next workout.",
< "startDate": "2026-05-24",
< "isActive": true,
< "platforms": [
< "Facebook"
< ],
< "ctaLink": "https://www.newbalance.com/running/"
< }
< ],
< "search": {
< "keywords": [
< "Nike",
< "Puma",
< "New Balance"
< ],
< "country": "US",
< "activeStatus": "active",
< "period": "sample input"
< },
< "maxItems": 500
<}
<EOF
$curl "https://api.apify.com/v2/acts/jy-labs~weekly-competitor-ad-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'