### Unlocking the Potential of Linkedin Ads Library API: Full Guide, Use Cases, and Benefits
Linkedin has become a powerful platform for reaching professionals through targeted ads. With the **Linke dIn Ads Library API**, developers and marketers can now easily search and analyze Linke dIn ads to discover valuable insights and track ad trends. This API lets users filter by keywords, dates, and countries, providing a unique way to access detailed ad information.
In this guide, we’ll explore the Linke dIn Ads Library API, including how to use it, the variety of use cases it supports, and the key benefits it offers.
---
### What is Link dIn Ads Library API?
The **Link dIn Ads Library API** enables developers and marketers to search, view, and analyze LinkedIn advertisements. By querying the LinkedIn Ads Library, users can access public information about ad content, links, types, and companies behind the ads. This API is highly beneficial for competitive research, ad strategy development, and trend analysis.
---
### Key Benefits of Linkedin Ads Library API
1. **Competitive Analysis**: Discover how competitors are positioning themselves on LinkedIn, which ads are driving engagement, and what messaging strategies they’re using.
2. **Ad Performance Insights**: View ad types and calls-to-action (CTA) to understand what performs best on LinkedIn.
3. **Marketing Inspiration**: Gain inspiration by viewing a diverse range of LinkedIn ads from top brands.
4. **Informed Decision-Making**: Access comprehensive ad data to support data-driven marketing decisions and improve campaign performance.
---
### Core Features of Link dIn Ads Library API
- **Ad Search**: Query ads by keywords, date range, and country filters.
- **Ad Detail Retrieval**: Get detailed information, such as ad content, type, and calls-to-action.
- **Video and Image Thumbnails**: For video ads, retrieve video thumbnails and multiple quality video sources.
- **Ad Advertiser Information**: Identify the company or organization behind the ad, including links to their LinkedIn profiles.
get linkedin search ads data
search ads - Endpoint Features
| Object | Description |
|---|---|
startdate |
Optional Example: `2024-04-26` |
enddate |
Optional Example: `2024-10-26` |
keyword |
[Required] |
countries |
[Required] |
[{"content":"👋 #CX Leaders, Discover how 70% of CMOs are using #AI for Smarter #Communications to Boost Revenue, Drive Retention & R…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/987163966"},{"content":"Students are no longer starting their college search with Google. They are turning to generative AI tools like ChatGPT, …","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990671393"},{"content":"Throttling, errors, too many workloads... so many things can slow your migrations down. But ShareGate not only takes you…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/1070292074"},{"content":"👋 CX Leaders, Discover how 70% of #CMOs are using #AI to elevate #CX to Boost Revenue, Drive Retention & ROI. Get the C…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/988024316"},{"content":"Orgulho de ser parte da transformação científica do Brasil através da #IA, com ajuda do Google, Google DeepMind e Google…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990651303"},{"content":"Learn how ShareGate's parent company, Workleap, used ShareGate Migrate to move their new acquisition from Google Workspa…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/1071284184"},{"content":"👋 #CX Leaders, Discover how 70% of CMOs are using #AI for Smarter #Communications to Boost Revenue, Drive Retention & R…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/988123296"},{"content":"👋 CX Leaders, Discover how 70% of #CMOs are using #AI to elevate #CX to Boost Revenue, Drive Retention & ROI. Get the C…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/988322986"},{"content":"10 reasons working with a B2B paid media agency might not be for you.\n\nAs an agency owner, I'm about to talk myself out …","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/1071784324"},{"content":"Hear me out.... You're about to pause campaigns for December.\n\"Nobody buys in December\". \"Let's save the budget for Janu…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/1070292484"},{"content":"👋 CX Leaders, Discover how 70% of #CMOs are using #AI to elevate #CX to Boost Revenue, Drive Retention & ROI. Get the C…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/987553826"},{"content":"Students are no longer starting their college search with Google. They are turning to generative AI tools like ChatGPT, …","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990631443"},{"content":"Students are no longer starting their college search with Google. They are turning to generative AI tools like ChatGPT, …","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990691223"},{"content":"Fast Forward's portfolio spans 112 organizations, 262M lives impacted, and $1B+ raised in follow-on funding to scale the…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/989195946"},{"content":"Legal ads in California can hit $300 per click and still lose money.\n\nThat’s the market my client, Marquee Advocacy Grou…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/988898316"},{"content":"👋 #CX leaders, 70% of CMOs use #AI for smarter communications. Read this CIO paper to boost revenue and elevate custome…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/988897376"},{"content":"When SEO first became a “thing” in higher ed, we had to learn how to show up in Google.\n\nNow, we have to learn how to sh…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/1072083314"},{"content":"Learn how ShareGate's parent company, Workleap, used ShareGate Migrate to move their new acquisition from Google Workspa…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/1071383744"},{"content":"Two weeks ago, I asked Microsoft Copilot a question about my recent PFMEA book Deductive Process Management. One week la…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/987453246?trk=ad_library_ad_preview_article_content"},{"content":"¿Cuánto tiempo pierde tu equipo configurando planillas en Revit? 📉⏱️\nComo especialista BIM, noté que una gran parte de …","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/987453246"},{"content":"Students are no longer starting their college search with Google. They are turning to generative AI tools like ChatGPT, …","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990477023"},{"content":"👋 #CX Leaders, Discover how 70% of CMOs are using #AI for Smarter #Communications to Boost Revenue, Drive Retention & R…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990741613"},{"content":"#Ambition #Resilience #Focus #Growth #Leadership \n\nIterate.ai Central Garden & Pet Flexsteel Industries Inc. Hanna Ander…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/987360826"},{"content":"Throttling, errors, too many workloads... so many things can slow your migrations down. But ShareGate not only takes you…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/988324056"}]
curl --location --request GET 'https://zylalabs.com/api/6436/linkedin+ads+library+api/9260/search+ads?keyword=google&countries=us' --header 'Authorization: Bearer YOUR_API_KEY'
get LinkedIn search ads data
ad details - Endpoint Features
| Object | Description |
|---|---|
url |
[Required] To get details you may get the url from search endpoint |
<br />
<b>Deprecated</b>: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in <b>/www/wwwroot/api.experthasan.com/linkedin/ads.php</b> on line <b>79</b><br />
{"ads_type":"Single Image Ad","content":"👋 #CX Leaders, Discover how 70% of CMOs are using #AI for Smarter #Communications to Boost Revenue, Drive Retention & ROI. Get the CIO Guide.","image":"https:\/\/media.licdn.com\/dms\/image\/v2\/D5610AQHUKB_dzdX33g\/image_627_1200\/B4DZsE.zBDJUAk-\/0\/1765315129645\/CS17922-OpenTextCommunicationsvsSmartCommunications-LinkedInLeadGen-1200x628-2-FINALpng?e=2147483647&v=beta&t=OmbkkhBViV63qTBwIjbjp3_lPN79HonKvaIaBby1KM0","heading":"Get the CIO Guide Now for AI-Driven Strategies to Boost Revenue, Drive Retention & ROI.","sub_heading":"Discover how 70% of CMOs are using AI to elevate Customer Experiences (CX), Customer journey management & transform their customer Communications to Boost Revenue, Drive Retention and ROI. Get the CIO Insights Paper Now!","availability_duration":null,"cta":{"button_text":"Learn more","link":"https:\/\/www.opentext.com\/compare\/opentext-communications-vs-smart-communications?utm_campaign=FY26-Q2-GL-DX-GC-OT-Comms-vs-Smart-Comms-PPCIM-pd-gg-img&utm_source=google-display&utm_medium=display&utm_content=analyst-report&trk=ad_library_ad_preview_content_image"},"video":{"video_thumbnail":null,"data_sources":null},"total_impressions":null,"country_impressions":[],"targeting_language":null,"targeting_location":null,"organization":{"linkedin":"https:\/\/www.linkedin.com\/company\/2709?trk=ad_library_about_ad_advertiser","advertiser":"OpenText"},"about_ad_paying_entity":"Paid for by OPEN TEXT CORPORATION"}
curl --location --request GET 'https://zylalabs.com/api/6436/linkedin+ads+library+api/9261/ad+details?url=https://www.linkedin.com/ad-library/detail/987163966' --header 'Authorization: Bearer YOUR_API_KEY'
get LinkedIn search ads data
search ads by URL - Endpoint Features
| Object | Description |
|---|---|
url |
[Required] To get the search link goto [https://www.linkedin.com/ad-library/](https://www.linkedin.com/ad-library/) and get your desire link to search. |
[{"content":"How is AI shaping the future of work? I recently had the pleasure of recording a vodcast on this topic with the extraor…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/988023486"},{"content":"Comment la formation permet de bénéficier des opportunités IA ? Réponse avec l'économiste Antonin Bergeaud et Sébastien …","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/988698836"},{"content":"« I had realized over the years of doing makeup that there was very little skincare education. So that was why I became …","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/943671624"},{"content":"¡Llegó Google AI Plus!🚀 Nuestro nuevo plan de IA ya está disponible. Más funciones, almacenamiento y mucho más por much…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990300363"},{"content":"Os podcasts são uma das minhas formas favoritas de me atualizar com o mercado - é aquele momento de aprendizado que se e…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/986637906"},{"content":"« If there was one lesson…it's that we aren't meant to survive life's storms alone and community is essential to our wel…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/943760234"},{"content":"¡Llegó Google AI Plus!🚀 Nuestro nuevo plan de IA ya está disponible. Más funciones, almacenamiento y mucho más por much…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990222243"},{"content":"¡Llegó Google AI Plus!🚀 Nuestro nuevo plan de IA ya está disponible. Más funciones, almacenamiento y mucho más por much…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990300203"},{"content":"¡Llegó Google AI Plus!🚀 Nuestro nuevo plan de IA ya está disponible. Más funciones, almacenamiento y mucho más por much…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990192713"},{"content":"¡Llegó Google AI Plus!🚀 Nuestro nuevo plan de IA ya está disponible. Más funciones, almacenamiento y mucho más por much…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990192703"},{"content":"¡Llegó Google AI Plus!🚀 Nuestro nuevo plan de IA ya está disponible. Más funciones, almacenamiento y mucho más por much…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990261133"},{"content":"Et si l'IA pouvait stimuler l'économie européenne ? L'avis de Sébastien Missoffe, DG de Google France et de l'économiste…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/988893176"},{"content":"How is AI shaping the future of work?\n\nListen to this conversation between Google’s Chief Economist Fabien Curto Millet,…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/987360016"},{"content":"¡Llegó Google AI Plus!🚀 Nuestro nuevo plan de IA ya está disponible. Más funciones, almacenamiento y mucho más por much…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990360103"},{"content":"Falar de Copa do Mundo é falar sobre como o brasileiro consome paixão e cultura hoje. E o YouTube tem tudo a ver com iss…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/986525596"},{"content":"¡Llegó Google AI Plus!🚀 Nuestro nuevo plan de IA ya está disponible. Más funciones, almacenamiento y mucho más por much…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990290523"},{"content":"¡Llegó Google AI Plus!🚀 Nuestro nuevo plan de IA ya está disponible. Más funciones, almacenamiento y mucho más por much…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990202723"},{"content":"¡Llegó Google AI Plus!🚀 Nuestro nuevo plan de IA ya está disponible. Más funciones, almacenamiento y mucho más por much…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990360093"},{"content":"« My goal with Klur has always been to build something better. I see Klur as my own table in the industry, and everyone …","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/943602204"},{"content":"At the recent Google Public Sector Summit, we challenged our partners to build AI agents that could directly accelerate …","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/985077986"},{"content":"¡Llegó Google AI Plus!🚀 Nuestro nuevo plan de IA ya está disponible. Más funciones, almacenamiento y mucho más por much…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990310403"},{"content":"¡Llegó Google AI Plus!🚀 Nuestro nuevo plan de IA ya está disponible. Más funciones, almacenamiento y mucho más por much…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990271133"},{"content":"¡Llegó Google AI Plus!🚀 Nuestro nuevo plan de IA ya está disponible. Más funciones, almacenamiento y mucho más por much…","link":"https:\/\/www.linkedin.com\/ad-library\/detail\/990290533"}]
curl --location --request GET 'https://zylalabs.com/api/6436/linkedin+ads+library+api/9262/search+ads+by+url?url=https://www.linkedin.com/ad-library/search?accountOwner=google&countries=ALL&dateOption=last-30-days' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The API has two main endpoints: the ad search endpoint returns a list of ads based on specified criteria, including ad content and links. The ad details endpoint provides comprehensive information about a specific ad, including its type, content, CTA, and advertiser details.
Key fields in the ad search response include "content" (ad text) and "link" (URL to the ad). In the ad details response, important fields include "ads_type" (type of ad), "content" (ad text), "cta" (call-to-action details), and "organization" (advertiser information).
The ad search endpoint accepts parameters such as "keyword" (search term), "countries" (filter by country), "startdate," and "enddate" (define the date range for ads). Users can customize their requests by adjusting these parameters to refine search results.
The response data is structured in JSON format. The ad search returns an array of ad objects, each containing fields like "content" and "link." The ad details response provides a single ad object with nested fields for detailed information, such as "cta" and "video."
The data is sourced directly from LinkedIn's Ads Library, which aggregates public information about active ads. This ensures that the data reflects current advertising trends and strategies used by various organizations on the platform.
Typical use cases include competitive analysis, ad campaign development, and trend monitoring. Marketers can analyze competitor ads to refine their strategies, while agencies can use the data to enhance client reports with real-world ad examples.
Users can leverage the returned data to identify successful ad formats and messaging strategies. By analyzing the "cta" and "ads_type," marketers can tailor their campaigns to align with effective practices observed in the data.
If the API returns partial or empty results, users should check their query parameters for accuracy. Adjusting the "keyword," expanding the "countries," or modifying the date range can help yield more comprehensive results.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
1,024ms
Service Level:
100%
Response Time:
3,709ms
Service Level:
100%
Response Time:
1,814ms
Service Level:
100%
Response Time:
844ms
Service Level:
100%
Response Time:
916ms
Service Level:
100%
Response Time:
1,680ms
Service Level:
100%
Response Time:
1,658ms
Service Level:
100%
Response Time:
830ms
Service Level:
100%
Response Time:
375ms
Service Level:
100%
Response Time:
12,413ms
Service Level:
100%
Response Time:
432ms
Service Level:
100%
Response Time:
573ms
Service Level:
100%
Response Time:
494ms
Service Level:
100%
Response Time:
809ms
Service Level:
100%
Response Time:
568ms
Service Level:
100%
Response Time:
1,026ms
Service Level:
100%
Response Time:
1,008ms
Service Level:
100%
Response Time:
1,053ms
Service Level:
100%
Response Time:
798ms
Service Level:
100%
Response Time:
1,003ms