$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "ads": [
< {
< "id": "meta-1",
< "headline": "Free delivery for teams",
< "text": "Compare annual plans and see included services.",
< "cta": "Compare plans"
< },
< {
< "id": "meta-2",
< "headline": " FREE delivery for teams ",
< "text": "Compare annual plans with included support.",
< "cta": "Compare plans"
< },
< {
< "id": "search-1",
< "headline": "Try the workflow demo today",
< "text": "See the demo before you choose a plan.",
< "cta": "Book a demo"
< },
< {
< "id": "search-2",
< "headline": "Try the workflow demo today",
< "text": "See the demo before you choose a plan."
< }
< ],
< "limits": {
< "headlineCharacters": 24
< },
< "maxPhrases": 20,
< "minPhraseAds": 2,
< "phraseLength": 2,
< "maxItems": 1
<}
<EOF
$curl "https://api.apify.com/v2/actors/danielmichalek~ad-headline-cta-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'