{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Ad Library Scraper ($0.89/1K): Competitor Ads",
    "description": "Scrape the LinkedIn Ad Library: every ad of a company, keyword or payer with full text, images, video, call to action, landing page, dates, impressions by country and targeting. Monitor new and stopped B2B ads with Slack, Discord, Telegram alerts. Unofficial.",
    "version": "0.0",
    "x-build-id": "kMKNfIgbFFvKUHt9q"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tsutseisoftware~linkedin-ad-library-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tsutseisoftware-linkedin-ad-library-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/tsutseisoftware~linkedin-ad-library-scraper/runs": {
      "post": {
        "operationId": "runs-sync-tsutseisoftware-linkedin-ad-library-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/tsutseisoftware~linkedin-ad-library-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-tsutseisoftware-linkedin-ad-library-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "companies": {
            "title": "Companies",
            "type": "array",
            "description": "One per line: a company name (HubSpot), a LinkedIn company page (linkedin.com/company/hubspot) or a company ID (68529). A name is matched to the company page with exactly that name, so only that company's ads come back (see \"Company match\" for every advertiser with the name).",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords in the ad",
            "type": "array",
            "description": "One per line: LinkedIn's keyword search over the ads of all advertisers (e.g. \"CRM\" or \"webinar\"). LinkedIn can also match words that are not in the visible text (another version of the ad, the image). Each line is a separate search.",
            "items": {
              "type": "string"
            }
          },
          "payers": {
            "title": "Paid for by",
            "type": "array",
            "description": "One per line: ads paid for by this company or agency (the \"Paid for by\" name LinkedIn shows for ads in the EU). Each line is a separate search.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "LinkedIn Ad Library links or ad IDs",
            "type": "array",
            "description": "Links copied from linkedin.com/ad-library: a search (its own filters are kept) or one ad (linkedin.com/ad-library/detail/...), or just an ad's ID (1643332444). A company page link here is read like a line of \"Companies\".",
            "items": {
              "type": "string"
            }
          },
          "searches": {
            "title": "Searches with their own filters",
            "type": "array",
            "description": "Several searches in one run, each with its own filters (for agencies: one entry per client). Each entry has one of \"company\", \"keyword\", \"payer\" or \"url\" and any of the filters \"countries\", \"dateRange\", \"startDate\", \"endDate\", \"impressionsMin\", \"impressionsMax\", \"targetingIncludes\", \"targetingExcludes\", \"adFormats\", \"keywordFilter\", \"sortOrder\" and \"maxAds\" (ads of this search); what it leaves out comes from the filters below. Example: [{\"company\": \"HubSpot\", \"countries\": [\"DACH\"], \"dateRange\": \"last30Days\"}, {\"keyword\": \"AI agents\", \"impressionsMin\": 10000, \"maxAds\": 50}]"
          },
          "companyMatch": {
            "title": "Company match",
            "enum": [
              "exact",
              "name"
            ],
            "type": "string",
            "description": "\"Exactly this company page\": a name is matched to the LinkedIn company page with that exact name (if there is none, every advertiser with the name is searched and the log says so). \"Every advertiser whose name contains it\": like the website's search, so \"Siemens\" also finds Siemens Healthineers and Siemens EDA.",
            "default": "exact"
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Only ads shown in these countries; groups like the EU or DACH add all their countries. Empty = all countries. LinkedIn does not apply this filter together with an impressions or targeting filter: then the actor leaves out ads shown or targeted elsewhere after reading their page (with \"Ad details\"; not charged) and marks ads it cannot check (countryUnverified).",
            "items": {
              "type": "string",
              "enum": [
                "EU",
                "EEA",
                "DACH",
                "NORDICS",
                "BENELUX",
                "BALTICS",
                "CEE",
                "UKI",
                "NORTH_AMERICA",
                "LATAM",
                "ANZ",
                "GCC",
                "AF",
                "AX",
                "AL",
                "DZ",
                "AS",
                "AD",
                "AO",
                "AI",
                "AQ",
                "AG",
                "AR",
                "AM",
                "AW",
                "AU",
                "AT",
                "AZ",
                "BS",
                "BH",
                "BD",
                "BB",
                "BY",
                "BE",
                "BZ",
                "BJ",
                "BM",
                "BT",
                "BO",
                "BA",
                "BW",
                "BV",
                "BR",
                "IO",
                "BN",
                "BG",
                "BF",
                "BI",
                "KH",
                "CM",
                "CA",
                "CV",
                "CB",
                "KY",
                "CF",
                "TD",
                "CL",
                "CN",
                "CX",
                "CC",
                "CO",
                "KM",
                "CG",
                "CK",
                "CR",
                "CI",
                "HR",
                "CU",
                "CY",
                "CZ",
                "CD",
                "DK",
                "DJ",
                "DM",
                "DO",
                "TP",
                "EC",
                "EG",
                "SV",
                "GQ",
                "ER",
                "EE",
                "ET",
                "FK",
                "FO",
                "FM",
                "FJ",
                "FI",
                "FR",
                "GF",
                "PF",
                "TF",
                "GA",
                "GM",
                "GE",
                "DE",
                "GH",
                "GI",
                "GR",
                "GL",
                "GD",
                "GP",
                "GU",
                "GT",
                "GG",
                "GN",
                "GW",
                "GY",
                "HT",
                "HM",
                "HN",
                "HK",
                "HU",
                "IS",
                "IN",
                "ID",
                "IR",
                "IQ",
                "IE",
                "IM",
                "IL",
                "IT",
                "JM",
                "JP",
                "JE",
                "JO",
                "KZ",
                "KE",
                "KI",
                "KR",
                "KP",
                "KO",
                "KW",
                "KG",
                "LA",
                "LV",
                "LB",
                "LS",
                "LR",
                "LY",
                "LI",
                "LT",
                "LU",
                "MO",
                "MK",
                "MG",
                "MW",
                "MY",
                "MV",
                "ML",
                "MT",
                "MH",
                "MQ",
                "MR",
                "MU",
                "YT",
                "MX",
                "MD",
                "MC",
                "MN",
                "ME",
                "MS",
                "MA",
                "MZ",
                "MM",
                "NA",
                "NR",
                "NP",
                "NL",
                "AN",
                "NC",
                "NZ",
                "NI",
                "NE",
                "NG",
                "NU",
                "NF",
                "MP",
                "NO",
                "PK",
                "PW",
                "PS",
                "PA",
                "PG",
                "PY",
                "PE",
                "PH",
                "PN",
                "PL",
                "PT",
                "PR",
                "QA",
                "RE",
                "RO",
                "RU",
                "RW",
                "GS",
                "SH",
                "KN",
                "LC",
                "PM",
                "VC",
                "WS",
                "SM",
                "ST",
                "SA",
                "SN",
                "RS",
                "CS",
                "SC",
                "SL",
                "SG",
                "SK",
                "SI",
                "SB",
                "SO",
                "ZA",
                "SS",
                "ES",
                "LK",
                "SD",
                "OM",
                "SR",
                "SJ",
                "SZ",
                "SE",
                "CH",
                "SY",
                "TW",
                "TJ",
                "TZ",
                "TH",
                "TL",
                "TG",
                "TK",
                "TO",
                "TT",
                "TN",
                "TR",
                "TM",
                "TC",
                "TV",
                "UG",
                "UA",
                "AE",
                "GB",
                "US",
                "UY",
                "UZ",
                "VU",
                "VA",
                "VE",
                "VN",
                "VG",
                "VI",
                "WF",
                "EH",
                "YE",
                "YU",
                "ZM",
                "ZW"
              ],
              "enumTitles": [
                "Group: European Union (27 countries)",
                "Group: European Economic Area (EU, Iceland, Liechtenstein, Norway)",
                "Group: DACH (Germany, Austria, Switzerland)",
                "Group: Nordics (Denmark, Finland, Iceland, Norway, Sweden)",
                "Group: Benelux (Belgium, Netherlands, Luxembourg)",
                "Group: Baltics (Estonia, Latvia, Lithuania)",
                "Group: Central and Eastern Europe (EU members)",
                "Group: United Kingdom and Ireland",
                "Group: North America (United States, Canada)",
                "Group: Latin America",
                "Group: Australia and New Zealand",
                "Group: Gulf states (UAE, Saudi Arabia, Qatar, Kuwait, Bahrain, Oman)",
                "Afghanistan (AF)",
                "Aland Islands (AX)",
                "Albania (AL)",
                "Algeria (DZ)",
                "American Samoa (AS)",
                "Andorra (AD)",
                "Angola (AO)",
                "Anguilla (AI)",
                "Antarctica (AQ)",
                "Antigua and Barbuda (AG)",
                "Argentina (AR)",
                "Armenia (AM)",
                "Aruba (AW)",
                "Australia (AU)",
                "Austria (AT)",
                "Azerbaijan (AZ)",
                "Bahamas (BS)",
                "Bahrain (BH)",
                "Bangladesh (BD)",
                "Barbados (BB)",
                "Belarus (BY)",
                "Belgium (BE)",
                "Belize (BZ)",
                "Benin (BJ)",
                "Bermuda (BM)",
                "Bhutan (BT)",
                "Bolivia (BO)",
                "Bosnia and Herzegovina (BA)",
                "Botswana (BW)",
                "Bouvet Island (BV)",
                "Brazil (BR)",
                "British Indian Ocean Territory (IO)",
                "Brunei Darussalam (BN)",
                "Bulgaria (BG)",
                "Burkina Faso (BF)",
                "Burundi (BI)",
                "Cambodia (KH)",
                "Cameroon (CM)",
                "Canada (CA)",
                "Cape Verde (CV)",
                "Caribbean Nations (CB)",
                "Cayman Islands (KY)",
                "Central African Republic (CF)",
                "Chad (TD)",
                "Chile (CL)",
                "China (CN)",
                "Christmas Island (CX)",
                "Cocos (Keeling) Islands (CC)",
                "Colombia (CO)",
                "Comoros (KM)",
                "Congo (CG)",
                "Cook Islands (CK)",
                "Costa Rica (CR)",
                "Cote D’Ivoire (Ivory Coast) (CI)",
                "Croatia (HR)",
                "Cuba (CU)",
                "Cyprus (CY)",
                "Czech Republic (CZ)",
                "Democratic Republic of the Congo (CD)",
                "Denmark (DK)",
                "Djibouti (DJ)",
                "Dominica (DM)",
                "Dominican Republic (DO)",
                "East Timor (TP)",
                "Ecuador (EC)",
                "Egypt (EG)",
                "El Salvador (SV)",
                "Equatorial Guinea (GQ)",
                "Eritrea (ER)",
                "Estonia (EE)",
                "Ethiopia (ET)",
                "Falkland Islands (Malvinas) (FK)",
                "Faroe Islands (FO)",
                "Federated States of Micronesia (FM)",
                "Fiji (FJ)",
                "Finland (FI)",
                "France (FR)",
                "French Guiana (GF)",
                "French Polynesia (PF)",
                "French Southern Territories (TF)",
                "Gabon (GA)",
                "Gambia (GM)",
                "Georgia (GE)",
                "Germany (DE)",
                "Ghana (GH)",
                "Gibraltar (GI)",
                "Greece (GR)",
                "Greenland (GL)",
                "Grenada (GD)",
                "Guadeloupe (GP)",
                "Guam (GU)",
                "Guatemala (GT)",
                "Guernsey (GG)",
                "Guinea (GN)",
                "Guinea-Bissau (GW)",
                "Guyana (GY)",
                "Haiti (HT)",
                "Heard Island and McDonald Islands (HM)",
                "Honduras (HN)",
                "Hong Kong (HK)",
                "Hungary (HU)",
                "Iceland (IS)",
                "India (IN)",
                "Indonesia (ID)",
                "Iran (IR)",
                "Iraq (IQ)",
                "Ireland (IE)",
                "Isle of Man (IM)",
                "Israel (IL)",
                "Italy (IT)",
                "Jamaica (JM)",
                "Japan (JP)",
                "Jersey (JE)",
                "Jordan (JO)",
                "Kazakhstan (KZ)",
                "Kenya (KE)",
                "Kiribati (KI)",
                "Korea (KR)",
                "Korea (North) (KP)",
                "Kosovo (KO)",
                "Kuwait (KW)",
                "Kyrgyzstan (KG)",
                "Laos (LA)",
                "Latvia (LV)",
                "Lebanon (LB)",
                "Lesotho (LS)",
                "Liberia (LR)",
                "Libya (LY)",
                "Liechtenstein (LI)",
                "Lithuania (LT)",
                "Luxembourg (LU)",
                "Macao (MO)",
                "Macedonia (MK)",
                "Madagascar (MG)",
                "Malawi (MW)",
                "Malaysia (MY)",
                "Maldives (MV)",
                "Mali (ML)",
                "Malta (MT)",
                "Marshall Islands (MH)",
                "Martinique (MQ)",
                "Mauritania (MR)",
                "Mauritius (MU)",
                "Mayotte (YT)",
                "Mexico (MX)",
                "Moldova (MD)",
                "Monaco (MC)",
                "Mongolia (MN)",
                "Montenegro (ME)",
                "Montserrat (MS)",
                "Morocco (MA)",
                "Mozambique (MZ)",
                "Myanmar (MM)",
                "Namibia (NA)",
                "Nauru (NR)",
                "Nepal (NP)",
                "Netherlands (NL)",
                "Netherlands Antilles (AN)",
                "New Caledonia (NC)",
                "New Zealand (NZ)",
                "Nicaragua (NI)",
                "Niger (NE)",
                "Nigeria (NG)",
                "Niue (NU)",
                "Norfolk Island (NF)",
                "Northern Mariana Islands (MP)",
                "Norway (NO)",
                "Pakistan (PK)",
                "Palau (PW)",
                "Palestinian Territory (PS)",
                "Panama (PA)",
                "Papua New Guinea (PG)",
                "Paraguay (PY)",
                "Peru (PE)",
                "Philippines (PH)",
                "Pitcairn (PN)",
                "Poland (PL)",
                "Portugal (PT)",
                "Puerto Rico (PR)",
                "Qatar (QA)",
                "Reunion (RE)",
                "Romania (RO)",
                "Russian Federation (RU)",
                "Rwanda (RW)",
                "S. Georgia and S. Sandwich Islands (GS)",
                "Saint Helena (SH)",
                "Saint Kitts and Nevis (KN)",
                "Saint Lucia (LC)",
                "Saint Pierre and Miquelon (PM)",
                "Saint Vincent and the Grenadines (VC)",
                "Samoa (WS)",
                "San Marino (SM)",
                "Sao Tome and Principe (ST)",
                "Saudi Arabia (SA)",
                "Senegal (SN)",
                "Serbia (RS)",
                "Serbia and Montenegro (CS)",
                "Seychelles (SC)",
                "Sierra Leone (SL)",
                "Singapore (SG)",
                "Slovak Republic (SK)",
                "Slovenia (SI)",
                "Solomon Islands (SB)",
                "Somalia (SO)",
                "South Africa (ZA)",
                "South Sudan (SS)",
                "Spain (ES)",
                "Sri Lanka (LK)",
                "Sudan (SD)",
                "Sultanate of Oman (OM)",
                "Suriname (SR)",
                "Svalbard and Jan Mayen (SJ)",
                "Swaziland (SZ)",
                "Sweden (SE)",
                "Switzerland (CH)",
                "Syria (SY)",
                "Taiwan (TW)",
                "Tajikistan (TJ)",
                "Tanzania (TZ)",
                "Thailand (TH)",
                "Timor-Leste (TL)",
                "Togo (TG)",
                "Tokelau (TK)",
                "Tonga (TO)",
                "Trinidad and Tobago (TT)",
                "Tunisia (TN)",
                "Turkey (TR)",
                "Turkmenistan (TM)",
                "Turks and Caicos Islands (TC)",
                "Tuvalu (TV)",
                "Uganda (UG)",
                "Ukraine (UA)",
                "United Arab Emirates (AE)",
                "United Kingdom (GB)",
                "United States (US)",
                "Uruguay (UY)",
                "Uzbekistan (UZ)",
                "Vanuatu (VU)",
                "Vatican City State (Holy See) (VA)",
                "Venezuela (VE)",
                "Vietnam (VN)",
                "Virgin Islands (British) (VG)",
                "Virgin Islands (U.S.) (VI)",
                "Wallis and Futuna (WF)",
                "Western Sahara (EH)",
                "Yemen (YE)",
                "Yugoslavia (YU)",
                "Zambia (ZM)",
                "Zimbabwe (ZW)"
              ]
            }
          },
          "dateRange": {
            "title": "Date range",
            "enum": [
              "all",
              "last30Days",
              "thisMonth",
              "thisYear",
              "lastYear",
              "custom"
            ],
            "type": "string",
            "description": "Only ads that ran in this period.",
            "default": "all"
          },
          "startDate": {
            "title": "Ran from",
            "type": "string",
            "description": "Custom range: only ads that ran on or after this day: 2026-11-01, or relative like \"30 days\" or \"3 months\" (ago). LinkedIn searches dates within the last year."
          },
          "endDate": {
            "title": "Ran until",
            "type": "string",
            "description": "Custom range: only ads that ran on or before this day (same formats; yesterday at the latest). Empty = up to yesterday."
          },
          "adFormats": {
            "title": "Ad formats",
            "type": "array",
            "description": "Only ads of these formats. Empty = all formats.",
            "items": {
              "type": "string",
              "enum": [
                "image",
                "video",
                "carousel",
                "document",
                "message",
                "conversation",
                "text",
                "event",
                "job",
                "article",
                "spotlight",
                "follower",
                "leadGen"
              ],
              "enumTitles": [
                "Single Image Ad",
                "Video Ad",
                "Carousel Ad",
                "Document Ad",
                "Message Ad",
                "Conversation Ad",
                "Text Ad",
                "Event Ad",
                "Job Ad",
                "Article Ad",
                "Spotlight Ad",
                "Follower Ad",
                "Lead Gen Ad"
              ]
            }
          },
          "impressionsMin": {
            "title": "Min impressions",
            "minimum": 0,
            "type": "integer",
            "description": "Only ads with at least this many impressions (e.g. 10000); works alone or with \"Max impressions\". LinkedIn knows impressions only for ads shown in the EU (and Brazil), so this filter keeps only those."
          },
          "impressionsMax": {
            "title": "Max impressions",
            "minimum": 0,
            "type": "integer",
            "description": "Only ads with at most this many impressions; works alone or with \"Min impressions\" (EU and Brazil ads only, as above)."
          },
          "targetingIncludes": {
            "title": "Targeting uses",
            "type": "array",
            "description": "Only ads that target by these parameters (EU and Brazil ads only, LinkedIn shows targeting for those).",
            "items": {
              "type": "string",
              "enum": [
                "language",
                "location",
                "audience",
                "demographic",
                "company",
                "education",
                "job",
                "interestsAndTraits"
              ],
              "enumTitles": [
                "Language",
                "Location",
                "Audience (matched and retargeting)",
                "Demographic",
                "Company",
                "Education",
                "Job",
                "Member interests and traits"
              ]
            }
          },
          "targetingExcludes": {
            "title": "Targeting excludes",
            "type": "array",
            "description": "Only ads that exclude people by these parameters (EU and Brazil ads only).",
            "items": {
              "type": "string",
              "enum": [
                "language",
                "location",
                "audience",
                "demographic",
                "company",
                "education",
                "job",
                "interestsAndTraits"
              ],
              "enumTitles": [
                "Language",
                "Location",
                "Audience (matched and retargeting)",
                "Demographic",
                "Company",
                "Education",
                "Job",
                "Member interests and traits"
              ]
            }
          },
          "keywordFilter": {
            "title": "Keyword within the ads",
            "type": "string",
            "description": "Narrows every company and payer search with LinkedIn's keyword search (e.g. HubSpot ads about \"AI\"). Like the website, LinkedIn can also match words that are not in the visible text of the ad (another version of the ad, the image)."
          },
          "sortOrder": {
            "title": "Sort by",
            "enum": [
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "Order in which LinkedIn lists the ads.",
            "default": "newest"
          },
          "maxItems": {
            "title": "Max ads in total",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of ads saved in the run. You pay per saved ad. 0 = no limit.",
            "default": 100
          },
          "maxAdsPerSearch": {
            "title": "Max ads per search",
            "minimum": 0,
            "type": "integer",
            "description": "Keep at most this many ads of each company, keyword, payer or link (in monitoring: check at most this many recent ads). 0 = no limit per search.",
            "default": 0
          },
          "countOnly": {
            "title": "Only count the ads",
            "type": "boolean",
            "description": "Save one row per search with the number of ads LinkedIn has for it (adCount) instead of the ads: share of voice of competitors by country or month at the price of one row per search. Not together with monitoring.",
            "default": false
          },
          "includeAdDetails": {
            "title": "Ad details",
            "type": "boolean",
            "description": "Read each ad's page: the full text, headline, call to action, landing page, all images, the video, carousel cards, who paid for it, the days it ran, impressions with their countries and the targeting (dates, impressions and targeting are published for ads shown in the EU and some other places), document and event details and every button. Charged as \"Ad details\" only for ads whose page was read. Off = only what the list of results shows (shortened text, first image, advertiser and format).",
            "default": true
          },
          "includeMemberNames": {
            "title": "Member names (personal data)",
            "type": "boolean",
            "description": "Add who posted an ad when it is a person: the member's name, headline, profile link and photo (memberName, memberHeadline, memberProfileUrl, memberPhotoUrl; for ads of members also as advertiserName and advertiserUrl, for thought leader ads the member next to the company), and the sender of a message ad (senderName, senderPhotoUrl) with the message text as written, signature included. This is personal data: you are responsible for using it lawfully (GDPR in the EU). Off = no names, photos or profiles of people anywhere. E-mail addresses and phone numbers are removed from texts either way.",
            "default": false
          },
          "includeAdvertiserDetails": {
            "title": "Advertiser details",
            "type": "boolean",
            "description": "Add the advertiser's industry, company size, employees on LinkedIn, followers, website, headquarters, founding year, type, specialties and description from the company's public LinkedIn page. Read once per company and run and charged as \"Advertiser details\" ($0.004 per company, from 17 Nov 2026) only for companies whose page was found; ads of members get none. Needs \"Ad details\" for keyword, payer and link searches (company searches work without them).",
            "default": false
          },
          "onlyNewAds": {
            "title": "Monitoring: only new ads",
            "type": "boolean",
            "description": "Save only ads that started running since the previous run with the same Monitoring key (and, below, ads that stopped or ran again). Each run reads the ads that ran since the previous run; the first run takes the ads that ran in the last 30 days as the baseline and saves them. LinkedIn shows days up to yesterday, so an ad that starts today comes in the next day's run. Every page of results read costs the small \"Monitoring check\" fee (see Pricing).",
            "default": false
          },
          "reportStoppedAds": {
            "title": "Monitoring: report stopped ads",
            "type": "boolean",
            "description": "Also save ads that were running at the previous run and have not run for 3 days (changeType \"stopped\"), and stopped ads that run again (\"restarted\"). Needs all ads that ran since the previous run to fit in the limits.",
            "default": true
          },
          "monitoringKey": {
            "title": "Monitoring: key",
            "type": "string",
            "description": "Name of the saved state. Use a different key for each watched list. Empty = \"default\". The value is stored encrypted."
          },
          "slackWebhookUrl": {
            "title": "Notifications: Slack webhook URL",
            "type": "string",
            "description": "Incoming webhook of your Slack channel (https://hooks.slack.com/services/...). Stored encrypted."
          },
          "discordWebhookUrl": {
            "title": "Notifications: Discord webhook URL",
            "type": "string",
            "description": "Webhook of your Discord channel (https://discord.com/api/webhooks/...). In Discord: channel settings → Integrations → Webhooks → Copy Webhook URL. Stored encrypted."
          },
          "telegramBotToken": {
            "title": "Notifications: Telegram bot token",
            "type": "string",
            "description": "Token of your Telegram bot (from @BotFather). Used with \"Telegram chat ID\". Stored encrypted."
          },
          "telegramChatId": {
            "title": "Notifications: Telegram chat ID",
            "type": "string",
            "description": "Chat, group or channel ID the bot writes to (e.g. -1001234567890)."
          },
          "webhookUrl": {
            "title": "Notifications: webhook URL",
            "type": "string",
            "description": "Any HTTPS URL (Zapier, Make, n8n, your server): gets a POST with JSON {title, summary, totalSaved, runUrl, datasetUrl, items}."
          },
          "whatsappAccessToken": {
            "title": "Notifications: WhatsApp access token",
            "type": "string",
            "description": "Access token of the WhatsApp Cloud API of your Meta business account, used with \"WhatsApp phone number ID\" and \"WhatsApp recipient number\" (step by step in the README, section \"WhatsApp notifications: setup\"). For scheduled runs use a permanent token of a system user: Business settings → System users → Generate token, with the permissions whatsapp_business_messaging and whatsapp_business_management; the token of WhatsApp → API Setup expires within hours. Stored encrypted."
          },
          "whatsappPhoneNumberId": {
            "title": "Notifications: WhatsApp phone number ID",
            "type": "string",
            "description": "ID of your WhatsApp business number that sends the message (not the number itself), e.g. 106540352242922. In your Meta app: WhatsApp → API Setup → Phone number ID."
          },
          "whatsappTo": {
            "title": "Notifications: WhatsApp recipient number",
            "type": "string",
            "description": "Phone number that gets the message, in international format with the country code (e.g. +420601234567); up to 5 numbers separated by commas or new lines, each gets its own message and the notification is charged once per run. A test number of Meta sends only to numbers you added and confirmed under API Setup → To. Stored encrypted."
          },
          "whatsappTemplateName": {
            "title": "Notifications: WhatsApp template name",
            "type": "string",
            "description": "Name of your approved message template (WhatsApp Manager → Message templates, e.g. apify_results), recommended: WhatsApp delivers a template message at any time. Its body gets the run summary with the first results in {{1}} and the dataset link in {{2}} (a template with only {{1}} gets both in {{1}}). Empty: a plain text message, which WhatsApp delivers only when the recipient wrote to your business number in the last 24 hours, so a scheduled run usually needs a template. Meta charges your business account for template messages (step by step in the README, section \"WhatsApp notifications: setup\")."
          },
          "whatsappTemplateLanguage": {
            "title": "Notifications: WhatsApp template language",
            "type": "string",
            "description": "Language code of the template exactly as WhatsApp Manager → Message templates shows it next to the template, e.g. en_US, en_GB, cs, sk, pl or de. Used only with \"WhatsApp template name\".",
            "default": "en_US"
          },
          "notificationLimit": {
            "title": "Notifications: max ads per message",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many ads are listed in one notification (the rest as \"…and N more\").",
            "default": 10
          },
          "notifyOnlyChanges": {
            "title": "Notifications: only when something was saved",
            "type": "boolean",
            "description": "Send nothing when the run saved nothing (e.g. a monitoring run without new or stopped ads).",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify residential proxy by default (included in the price): LinkedIn refuses most data center IP addresses.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "exportFormats": {
            "title": "Extra export formats",
            "type": "array",
            "description": "Off by default. Printable HTML report: the results as a clean, branded table with the main columns, made for printing, saving as PDF or sending to someone; for working with the data use Excel or CSV, which have every field. Markdown table: the same columns as text for AI tools, docs or GitHub. The Output tab links the files. Each file has the overview columns of every saved row and nothing is left out, so a run with tens of thousands of rows makes a file of tens of MB that can be slow to open; for big runs use the dataset or its Excel export. Excel (XLSX), CSV and JSON are always in the Output tab and under Export, at no extra cost.",
            "items": {
              "type": "string",
              "enum": [
                "html",
                "markdown"
              ],
              "enumTitles": [
                "Printable HTML report",
                "Markdown table"
              ]
            },
            "default": []
          },
          "sendErrorReports": {
            "title": "Send error reports",
            "type": "boolean",
            "description": "When a run fails, send the developer a short error report: the error and your input with secrets left out (tokens, webhooks and e-mails are hidden). Your results are never sent. Reports are deleted after at most 120 hours. Turn off to send nothing.",
            "default": true
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}