Linkedin Ads Library Scraper avatar

Linkedin Ads Library Scraper

Try for free

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

Go to Store
Linkedin Ads Library Scraper

Linkedin Ads Library Scraper

saswave/linkedin-ads-library-scraper
Try for free

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

The linkedin ads library scraper tool allows you to extract data from https://www.linkedin.com/ad-library/search using multiple type of input. Get data like document transcript, total impressions, date ranges, CTA, advertiser and paying entity ...

Developer
Maintained by Community

Actor Metrics

  • 26 monthly users

  • No reviews yet

  • 5 bookmarks

  • >99% runs succeeded

  • 18 hours response time

  • Created in Jul 2024

  • Modified 15 days ago

Categories

You can access the Linkedin Ads Library Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "g9ogXPfseac9VzkZ5"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/saswave~linkedin-ads-library-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-saswave-linkedin-ads-library-scraper",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/saswave~linkedin-ads-library-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-saswave-linkedin-ads-library-scraper",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/saswave~linkedin-ads-library-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-saswave-linkedin-ads-library-scraper",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "type_search"
135        ],
136        "properties": {
137          "proxyConfiguration": {
138            "title": "Proxy configuration",
139            "type": "object",
140            "description": "The best option is usually Automatic proxy. But you can also use your own proxies or no proxy"
141          },
142          "limit": {
143            "title": "Max number of ADS",
144            "minimum": 0,
145            "type": "integer",
146            "description": "0 = no limit"
147          },
148          "type_search": {
149            "title": "Select one of the 3 format input",
150            "enum": [
151              "search_url",
152              "search_word",
153              "company"
154            ],
155            "type": "string",
156            "description": "Select your country",
157            "default": "search_url"
158          },
159          "search_url": {
160            "title": "Linkedin search URL",
161            "type": "string",
162            "description": "URL to start with"
163          },
164          "accountOwner": {
165            "title": "Search by company or advertiser name",
166            "type": "string",
167            "description": "same search box as linkedin"
168          },
169          "word_search": {
170            "title": "Search by keyword",
171            "type": "string",
172            "description": "same search box as linkedin"
173          },
174          "date_range_type": {
175            "title": "Date range",
176            "enum": [
177              "last-30-days",
178              "current-month",
179              "current-year",
180              "last-year",
181              "custom-date-range"
182            ],
183            "type": "string",
184            "description": "If custom selected, you need to provide a start and end date",
185            "default": "last-30-days"
186          },
187          "date_start": {
188            "title": "Select Custom start date",
189            "type": "string",
190            "description": "mandatory when selecting date range as 'Custom date range'"
191          },
192          "date_end": {
193            "title": "Select Custom end date",
194            "type": "string",
195            "description": "mandatory when selecting date range as 'Custom date range'"
196          },
197          "country": {
198            "title": "Country",
199            "enum": [
200              "US",
201              "ALL",
202              "AF",
203              "AX",
204              "AL",
205              "DZ",
206              "AS",
207              "AD",
208              "AO",
209              "AI",
210              "AQ",
211              "AG",
212              "AR",
213              "AM",
214              "AW",
215              "AU",
216              "AT",
217              "AZ",
218              "BS",
219              "BH",
220              "BD",
221              "BB",
222              "BY",
223              "BE",
224              "BZ",
225              "BJ",
226              "BM",
227              "BT",
228              "BO",
229              "BA",
230              "BW",
231              "BV",
232              "BR",
233              "IO",
234              "BN",
235              "BG",
236              "BF",
237              "BI",
238              "KH",
239              "CM",
240              "CA",
241              "CV",
242              "CB",
243              "KY",
244              "CF",
245              "TD",
246              "CL",
247              "CN",
248              "CX",
249              "CC",
250              "CO",
251              "KM",
252              "CG",
253              "CK",
254              "CR",
255              "CI",
256              "HR",
257              "CU",
258              "CY",
259              "CZ",
260              "CD",
261              "DK",
262              "DJ",
263              "DM",
264              "DO",
265              "TP",
266              "EC",
267              "EG",
268              "SV",
269              "GQ",
270              "ER",
271              "EE",
272              "ET",
273              "FK",
274              "FO",
275              "FM",
276              "FJ",
277              "FI",
278              "FR",
279              "GF",
280              "PF",
281              "TF",
282              "GA",
283              "GM",
284              "GE",
285              "DE",
286              "GH",
287              "GI",
288              "GR",
289              "GL",
290              "GD",
291              "GP",
292              "GU",
293              "GT",
294              "GG",
295              "GN",
296              "GW",
297              "GY",
298              "HT",
299              "HM",
300              "HN",
301              "HK",
302              "HU",
303              "IS",
304              "IN",
305              "ID",
306              "IR",
307              "IQ",
308              "IE",
309              "IM",
310              "IL",
311              "IT",
312              "JM",
313              "JP",
314              "JE",
315              "JO",
316              "KZ",
317              "KE",
318              "KI",
319              "KR",
320              "KP",
321              "KO",
322              "KW",
323              "KG",
324              "LA",
325              "LV",
326              "LB",
327              "LS",
328              "LR",
329              "LY",
330              "LI",
331              "LT",
332              "LU",
333              "MO",
334              "MK",
335              "MG",
336              "MW",
337              "MY",
338              "MV",
339              "ML",
340              "MT",
341              "MH",
342              "MQ",
343              "MR",
344              "MU",
345              "YT",
346              "MX",
347              "MD",
348              "MC",
349              "MN",
350              "ME",
351              "MS",
352              "MA",
353              "MZ",
354              "MM",
355              "NA",
356              "NR",
357              "NP",
358              "NL",
359              "AN",
360              "NC",
361              "NZ",
362              "NI",
363              "NE",
364              "NG",
365              "NU",
366              "NF",
367              "MP",
368              "NO",
369              "PK",
370              "PW",
371              "PS",
372              "PA",
373              "PG",
374              "PY",
375              "PE",
376              "PH",
377              "PN",
378              "PL",
379              "PT",
380              "PR",
381              "QA",
382              "RE",
383              "RO",
384              "RU",
385              "RW",
386              "GS",
387              "SH",
388              "KN",
389              "LC",
390              "PM",
391              "VC",
392              "WS",
393              "SM",
394              "ST",
395              "SA",
396              "SN",
397              "RS",
398              "CS",
399              "SC",
400              "SL",
401              "SG",
402              "SK",
403              "SI",
404              "SB",
405              "SO",
406              "ZA",
407              "SS",
408              "ES",
409              "LK",
410              "SD",
411              "OM",
412              "SR",
413              "SJ",
414              "SZ",
415              "SE",
416              "CH",
417              "SY",
418              "TW",
419              "TJ",
420              "TZ",
421              "TH",
422              "TL",
423              "TG",
424              "TK",
425              "TO",
426              "TT",
427              "TN",
428              "TR",
429              "TM",
430              "TC",
431              "TV",
432              "UG",
433              "UA",
434              "AE",
435              "GB",
436              "UY",
437              "UZ",
438              "VU",
439              "VA",
440              "VE",
441              "VN",
442              "VG",
443              "VI",
444              "WF",
445              "EH",
446              "YE",
447              "YU",
448              "ZM",
449              "ZW"
450            ],
451            "type": "string",
452            "description": "Select a country to limit your search results",
453            "default": "ALL"
454          },
455          "combine_companies_onesearch": {
456            "title": "Combine multiple companies in 1 search",
457            "type": "boolean",
458            "description": "Select if you want 1 search for X companies or X searchs for X companies. Default value is False, 1 search per company in the list",
459            "default": false
460          },
461          "companies": {
462            "title": "List of linkedin company",
463            "type": "array",
464            "description": "Provide companies to be searched on linkedin ads library"
465          },
466          "company_word_search": {
467            "title": "Combine Provided company with a keyword search",
468            "type": "string",
469            "description": "Keyword search"
470          },
471          "company_date_range_type": {
472            "title": "Date range",
473            "enum": [
474              "last-30-days",
475              "current-month",
476              "current-year",
477              "last-year",
478              "custom-date-range"
479            ],
480            "type": "string",
481            "description": "If custom selected, you need to provide a start and end date",
482            "default": "last-30-days"
483          },
484          "company_date_start": {
485            "title": "Select Custom start date",
486            "type": "string",
487            "description": "mandatory when selecting date range as 'Custom date range'"
488          },
489          "company_date_end": {
490            "title": "Select Custom end date",
491            "type": "string",
492            "description": "mandatory when selecting date range as 'Custom date range'"
493          },
494          "company_country": {
495            "title": "Country",
496            "enum": [
497              "US",
498              "ALL",
499              "AF",
500              "AX",
501              "AL",
502              "DZ",
503              "AS",
504              "AD",
505              "AO",
506              "AI",
507              "AQ",
508              "AG",
509              "AR",
510              "AM",
511              "AW",
512              "AU",
513              "AT",
514              "AZ",
515              "BS",
516              "BH",
517              "BD",
518              "BB",
519              "BY",
520              "BE",
521              "BZ",
522              "BJ",
523              "BM",
524              "BT",
525              "BO",
526              "BA",
527              "BW",
528              "BV",
529              "BR",
530              "IO",
531              "BN",
532              "BG",
533              "BF",
534              "BI",
535              "KH",
536              "CM",
537              "CA",
538              "CV",
539              "CB",
540              "KY",
541              "CF",
542              "TD",
543              "CL",
544              "CN",
545              "CX",
546              "CC",
547              "CO",
548              "KM",
549              "CG",
550              "CK",
551              "CR",
552              "CI",
553              "HR",
554              "CU",
555              "CY",
556              "CZ",
557              "CD",
558              "DK",
559              "DJ",
560              "DM",
561              "DO",
562              "TP",
563              "EC",
564              "EG",
565              "SV",
566              "GQ",
567              "ER",
568              "EE",
569              "ET",
570              "FK",
571              "FO",
572              "FM",
573              "FJ",
574              "FI",
575              "FR",
576              "GF",
577              "PF",
578              "TF",
579              "GA",
580              "GM",
581              "GE",
582              "DE",
583              "GH",
584              "GI",
585              "GR",
586              "GL",
587              "GD",
588              "GP",
589              "GU",
590              "GT",
591              "GG",
592              "GN",
593              "GW",
594              "GY",
595              "HT",
596              "HM",
597              "HN",
598              "HK",
599              "HU",
600              "IS",
601              "IN",
602              "ID",
603              "IR",
604              "IQ",
605              "IE",
606              "IM",
607              "IL",
608              "IT",
609              "JM",
610              "JP",
611              "JE",
612              "JO",
613              "KZ",
614              "KE",
615              "KI",
616              "KR",
617              "KP",
618              "KO",
619              "KW",
620              "KG",
621              "LA",
622              "LV",
623              "LB",
624              "LS",
625              "LR",
626              "LY",
627              "LI",
628              "LT",
629              "LU",
630              "MO",
631              "MK",
632              "MG",
633              "MW",
634              "MY",
635              "MV",
636              "ML",
637              "MT",
638              "MH",
639              "MQ",
640              "MR",
641              "MU",
642              "YT",
643              "MX",
644              "MD",
645              "MC",
646              "MN",
647              "ME",
648              "MS",
649              "MA",
650              "MZ",
651              "MM",
652              "NA",
653              "NR",
654              "NP",
655              "NL",
656              "AN",
657              "NC",
658              "NZ",
659              "NI",
660              "NE",
661              "NG",
662              "NU",
663              "NF",
664              "MP",
665              "NO",
666              "PK",
667              "PW",
668              "PS",
669              "PA",
670              "PG",
671              "PY",
672              "PE",
673              "PH",
674              "PN",
675              "PL",
676              "PT",
677              "PR",
678              "QA",
679              "RE",
680              "RO",
681              "RU",
682              "RW",
683              "GS",
684              "SH",
685              "KN",
686              "LC",
687              "PM",
688              "VC",
689              "WS",
690              "SM",
691              "ST",
692              "SA",
693              "SN",
694              "RS",
695              "CS",
696              "SC",
697              "SL",
698              "SG",
699              "SK",
700              "SI",
701              "SB",
702              "SO",
703              "ZA",
704              "SS",
705              "ES",
706              "LK",
707              "SD",
708              "OM",
709              "SR",
710              "SJ",
711              "SZ",
712              "SE",
713              "CH",
714              "SY",
715              "TW",
716              "TJ",
717              "TZ",
718              "TH",
719              "TL",
720              "TG",
721              "TK",
722              "TO",
723              "TT",
724              "TN",
725              "TR",
726              "TM",
727              "TC",
728              "TV",
729              "UG",
730              "UA",
731              "AE",
732              "GB",
733              "UY",
734              "UZ",
735              "VU",
736              "VA",
737              "VE",
738              "VN",
739              "VG",
740              "VI",
741              "WF",
742              "EH",
743              "YE",
744              "YU",
745              "ZM",
746              "ZW"
747            ],
748            "type": "string",
749            "description": "Select a country to limit your search results",
750            "default": "ALL"
751          }
752        }
753      },
754      "runsResponseSchema": {
755        "type": "object",
756        "properties": {
757          "data": {
758            "type": "object",
759            "properties": {
760              "id": {
761                "type": "string"
762              },
763              "actId": {
764                "type": "string"
765              },
766              "userId": {
767                "type": "string"
768              },
769              "startedAt": {
770                "type": "string",
771                "format": "date-time",
772                "example": "2025-01-08T00:00:00.000Z"
773              },
774              "finishedAt": {
775                "type": "string",
776                "format": "date-time",
777                "example": "2025-01-08T00:00:00.000Z"
778              },
779              "status": {
780                "type": "string",
781                "example": "READY"
782              },
783              "meta": {
784                "type": "object",
785                "properties": {
786                  "origin": {
787                    "type": "string",
788                    "example": "API"
789                  },
790                  "userAgent": {
791                    "type": "string"
792                  }
793                }
794              },
795              "stats": {
796                "type": "object",
797                "properties": {
798                  "inputBodyLen": {
799                    "type": "integer",
800                    "example": 2000
801                  },
802                  "rebootCount": {
803                    "type": "integer",
804                    "example": 0
805                  },
806                  "restartCount": {
807                    "type": "integer",
808                    "example": 0
809                  },
810                  "resurrectCount": {
811                    "type": "integer",
812                    "example": 0
813                  },
814                  "computeUnits": {
815                    "type": "integer",
816                    "example": 0
817                  }
818                }
819              },
820              "options": {
821                "type": "object",
822                "properties": {
823                  "build": {
824                    "type": "string",
825                    "example": "latest"
826                  },
827                  "timeoutSecs": {
828                    "type": "integer",
829                    "example": 300
830                  },
831                  "memoryMbytes": {
832                    "type": "integer",
833                    "example": 1024
834                  },
835                  "diskMbytes": {
836                    "type": "integer",
837                    "example": 2048
838                  }
839                }
840              },
841              "buildId": {
842                "type": "string"
843              },
844              "defaultKeyValueStoreId": {
845                "type": "string"
846              },
847              "defaultDatasetId": {
848                "type": "string"
849              },
850              "defaultRequestQueueId": {
851                "type": "string"
852              },
853              "buildNumber": {
854                "type": "string",
855                "example": "1.0.0"
856              },
857              "containerUrl": {
858                "type": "string"
859              },
860              "usage": {
861                "type": "object",
862                "properties": {
863                  "ACTOR_COMPUTE_UNITS": {
864                    "type": "integer",
865                    "example": 0
866                  },
867                  "DATASET_READS": {
868                    "type": "integer",
869                    "example": 0
870                  },
871                  "DATASET_WRITES": {
872                    "type": "integer",
873                    "example": 0
874                  },
875                  "KEY_VALUE_STORE_READS": {
876                    "type": "integer",
877                    "example": 0
878                  },
879                  "KEY_VALUE_STORE_WRITES": {
880                    "type": "integer",
881                    "example": 1
882                  },
883                  "KEY_VALUE_STORE_LISTS": {
884                    "type": "integer",
885                    "example": 0
886                  },
887                  "REQUEST_QUEUE_READS": {
888                    "type": "integer",
889                    "example": 0
890                  },
891                  "REQUEST_QUEUE_WRITES": {
892                    "type": "integer",
893                    "example": 0
894                  },
895                  "DATA_TRANSFER_INTERNAL_GBYTES": {
896                    "type": "integer",
897                    "example": 0
898                  },
899                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
900                    "type": "integer",
901                    "example": 0
902                  },
903                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
904                    "type": "integer",
905                    "example": 0
906                  },
907                  "PROXY_SERPS": {
908                    "type": "integer",
909                    "example": 0
910                  }
911                }
912              },
913              "usageTotalUsd": {
914                "type": "number",
915                "example": 0.00005
916              },
917              "usageUsd": {
918                "type": "object",
919                "properties": {
920                  "ACTOR_COMPUTE_UNITS": {
921                    "type": "integer",
922                    "example": 0
923                  },
924                  "DATASET_READS": {
925                    "type": "integer",
926                    "example": 0
927                  },
928                  "DATASET_WRITES": {
929                    "type": "integer",
930                    "example": 0
931                  },
932                  "KEY_VALUE_STORE_READS": {
933                    "type": "integer",
934                    "example": 0
935                  },
936                  "KEY_VALUE_STORE_WRITES": {
937                    "type": "number",
938                    "example": 0.00005
939                  },
940                  "KEY_VALUE_STORE_LISTS": {
941                    "type": "integer",
942                    "example": 0
943                  },
944                  "REQUEST_QUEUE_READS": {
945                    "type": "integer",
946                    "example": 0
947                  },
948                  "REQUEST_QUEUE_WRITES": {
949                    "type": "integer",
950                    "example": 0
951                  },
952                  "DATA_TRANSFER_INTERNAL_GBYTES": {
953                    "type": "integer",
954                    "example": 0
955                  },
956                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
957                    "type": "integer",
958                    "example": 0
959                  },
960                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
961                    "type": "integer",
962                    "example": 0
963                  },
964                  "PROXY_SERPS": {
965                    "type": "integer",
966                    "example": 0
967                  }
968                }
969              }
970            }
971          }
972        }
973      }
974    }
975  }
976}

Linkedin Ads Library Scraper OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Linkedin Ads Library Scraper from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients: