### 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.
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.
Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]
Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.
To see the maximum number of API requests your plan allows, check the 'X-Zyla-RateLimit-Limit' response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.
The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.
Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]
To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.
After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.
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:
955ms
Service Level:
100%
Response Time:
1,680ms
Service Level:
100%
Response Time:
916ms
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:
3,220ms
Service Level:
100%
Response Time:
2,647ms
Service Level:
100%
Response Time:
2,864ms
Service Level:
100%
Response Time:
2,992ms
Service Level:
100%
Response Time:
2,452ms
Service Level:
100%
Response Time:
3,510ms
Service Level:
100%
Response Time:
2,506ms
Service Level:
100%
Response Time:
2,464ms
Service Level:
100%
Response Time:
2,417ms
Service Level:
100%
Response Time:
2,540ms