Linkedin Company Ads avatar
Linkedin Company Ads
Try for free

3 days trial then $20.00/month - No credit card required now

View all Actors
Linkedin Company Ads

Linkedin Company Ads

saswave/linkedin-company-ads
Try for free

3 days trial then $20.00/month - No credit card required now

The linkedin company ads scraper will help you extract all metadata about every ads a company is running on linkedin For each ads, you have access to the number of likes, comments, shares and more Check our documentation. Enjoy ! and we take any feedback

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8    "cookies": [{
9            "domain": ".linkedin.com",
10            "expirationDate": 1716940616.08443,
11            "hostOnly": False,
12            "httpOnly": False,
13            "name": "test",
14            "path": "/",
15            "sameSite": "no_restriction",
16            "secure": True,
17            "session": False,
18            "storeId": "0",
19            "value": "fake",
20            "id": 1,
21        }],
22    "companies": [
23        "https://www.linkedin.com/company/financial-times/",
24        "https://www.linkedin.com/company/bloomberg-news/",
25    ],
26    "ad_limit": 15,
27    "ad_description": "yes",
28}
29
30# Run the Actor and wait for it to finish
31run = client.actor("saswave/linkedin-company-ads").call(run_input=run_input)
32
33# Fetch and print Actor results from the run's dataset (if there are any)
34for item in client.dataset(run["defaultDatasetId"]).iterate_items():
35    print(item)
Developer
Community logoMaintained by Community
Actor metrics
  • 2 monthly users
  • 100.0% runs succeeded
  • 0.0 days response time
  • Created in Aug 2022
  • Modified about 1 month ago

You might also like these Actors