$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "adsFile": {
< "format": "json",
< "content": "[\n {\n \"advertiserName\": \"North Pier Demo\",\n \"adId\": \"DEMO-106\",\n \"adText\": \"Compare the sample dashboard.\",\n \"creativeType\": \"image\",\n \"creativeReferenceUrl\": \"https://example.org/demo/a.png\",\n \"landingPageUrl\": \"https://example.org/demo\",\n \"sourceUrl\": \"https://example.org/demo/export\",\n \"sourceReportedStartDate\": \"2026-01-12\"\n },\n {\n \"advertiserName\": \"North Pier Demo\",\n \"adId\": \"DEMO-106\",\n \"adText\": \"Compare the sample dashboard.\",\n \"creativeType\": \"image\",\n \"creativeReferenceUrl\": \"https://example.org/demo/a.png\",\n \"landingPageUrl\": \"https://example.org/demo\",\n \"sourceUrl\": \"https://example.org/demo/export\",\n \"sourceReportedStartDate\": \"2026-01-12\"\n },\n {\n \"advertiserName\": \"North Pier Demo\",\n \"adId\": \"DEMO-106\",\n \"adText\": \"Compare the sample dashboard.\",\n \"creativeType\": \"image\",\n \"creativeReferenceUrl\": \"https://example.org/demo/b.png\",\n \"landingPageUrl\": \"https://example.org/demo\",\n \"sourceUrl\": \"https://example.org/demo/export\",\n \"sourceReportedStartDate\": null\n }\n]"
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/afkdigital~linkedin-b2b-ad-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'