$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "advertisers": [
< {
< "name": "HubSpot",
< "domain": "hubspot.com",
< "googleAdvertiserId": "AR10072600183532683265",
< "linkedinUrl": "https://www.linkedin.com/company/hubspot"
< },
< {
< "name": "monday.com",
< "domain": "monday.com",
< "googleAdvertiserId": "AR15972262369074085889",
< "linkedinUrl": "https://www.linkedin.com/company/mondaydotcom"
< }
< ],
< "platforms": [
< "google"
< ],
< "googleRegion": "anywhere",
< "linkedinCountries": [],
< "tiktokQueries": [
< {
< "keyword": "fitness app",
< "region": "SA",
< "period": 30
< },
< {
< "keyword": "fitness app",
< "region": "US",
< "period": 30
< }
< ],
< "maxAdsPerAdvertiser": 20,
< "trackingId": "competitor-ads",
< "proxyConfiguration": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/almoutasem_nabil~ad-library-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'