LinkedIn广告库 API

Linkedin广告库API提供了基于关键词、日期范围和地点的活跃LinkedIn广告的详细信息,方便营销人员和研究人员使用,它允许用户搜索特定的广告内容,查看广告类型(例如视频、图片),并直接访问LinkedIn上的广告链接
通过 MCP 从您的 AI 代理使用此 API
支持 OpenClaw、Claude Code/Desktop、Cursor、Windsurf、Cline 以及任何兼容 MCP 的 AI 客户端。
文档和设置
通过封装此 MCP 创建技能: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

### 解锁LinkedIn广告库API的潜力:完整指南、使用案例和好处

LinkedIn已经成为通过定向广告接触专业人士的强大平台。借助**LinkedIn广告库API**,开发人员和市场营销人员现在可以轻松搜索和分析LinkedIn广告,以发现有价值的见解并跟踪广告趋势。该API允许用户按关键词、日期和国家过滤,提供了一种访问详细广告信息的独特方式。

在本指南中,我们将探讨LinkedIn广告库API,包括如何使用它、它支持的多种使用案例以及它提供的主要好处。

---

### 什么是LinkedIn广告库API?

**LinkedIn广告库API**使开发人员和市场营销人员能够搜索、查看和分析LinkedIn广告。通过查询LinkedIn广告库,用户可以访问有关广告内容、链接、类型和广告背后的公司的公开信息。该API对竞争研究、广告策略制定和趋势分析非常有利。

---

### LinkedIn广告库API的关键好处

1. **竞争分析**:发现竞争对手在LinkedIn上的定位,哪些广告驱动了互动,以及他们使用了哪些信息传递策略。
2. **广告表现见解**:查看广告类型和行动号召(CTA),以了解哪些在LinkedIn上表现最佳。
3. **营销灵感**:通过查看顶级品牌的多样化LinkedIn广告获取灵感。
4. **知情决策**:访问全面的广告数据,以支持基于数据的营销决策并提高活动表现。

---

### LinkedIn广告库API的核心功能

- **广告搜索**:通过关键词、日期范围和国家过滤查询广告。
- **广告详情检索**:获取详细信息,如广告内容、类型和行动号召。
- **视频和图片缩略图**:对于视频广告,检索视频缩略图和多种质量的视频资源。
- **广告发布者信息**:识别广告背后的公司或组织,包括链接到其LinkedIn个人资料。

 

API 文档

端点


获取领英搜索广告数据


                                                                            
GET https://pr138-testing.zylalabs.com/api/6436/linkedin+ads+library+api/9260/search+ads
                                                                            
                                                                        

搜索广告 - 端点功能

对象 描述
startdate 可选 Example: `2024-04-26`
enddate 可选 Example: `2024-10-26`
keyword [必需]
countries [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        [{"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' 


    

获取LinkedIn搜索广告数据


                                                                            
GET https://pr138-testing.zylalabs.com/api/6436/linkedin+ads+library+api/9261/ad+details
                                                                            
                                                                        

广告详情 - 端点功能

对象 描述
url [必需] To get details you may get the url from search endpoint
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        <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' 


    

获取LinkedIn搜索广告数据


                                                                            
GET https://pr138-testing.zylalabs.com/api/6436/linkedin+ads+library+api/9262/search+ads+by+url
                                                                            
                                                                        

通过URL搜索广告 - 端点功能

对象 描述
url [必需] 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.
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        [{"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"}]
                                                                                                                                                                                                                    
                                                                                                    

通过URL搜索广告 - 代码片段


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' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 LinkedIn广告库 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
标头
标头 描述
授权 [必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

简单透明的定价

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

🚀 企业版

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

客户喜爱的功能

  • ✔︎ 仅支付成功请求
  • ✔︎ 7 天免费试用
  • ✔︎ 多语言支持
  • ✔︎ 一个 API 密钥,所有 API。
  • ✔︎ 直观的仪表板
  • ✔︎ 全面的错误处理
  • ✔︎ 开发者友好的文档
  • ✔︎ Postman 集成
  • ✔︎ 安全的 HTTPS 连接
  • ✔︎ 可靠的正常运行时间

LinkedIn广告库 API FAQs

该API有两个主要端点:广告搜索端点根据指定标准返回广告列表,包括广告内容和链接。广告详情端点提供特定广告的全面信息,包括其类型、内容、CTA和广告主详情

广告搜索响应中的关键字段包括“内容”(广告文本)和“链接”(广告的 URL)在广告详情响应中重要字段包括“ads_type”(广告类型)“内容”(广告文本)“cta”(号召性用语细节)和“组织”(广告商信息)

广告搜索端点接受参数,如“关键词”(搜索词)、“国家”(按国家筛选)、“开始日期”和“结束日期”(定义广告的日期范围)。用户可以通过调整这些参数来自定义请求以优化搜索结果

响应数据采用JSON格式结构化 广告搜索返回一个广告对象数组 每个对象包含“内容”和“链接”等字段 广告详情响应提供一个带有嵌套字段的单个广告对象以获取详细信息 如“cta”和“视频”

数据直接来自LinkedIn的广告库,该库汇总了关于活跃广告的公共信息。这确保了数据反映了当前平台上各种组织所使用的广告趋势和策略

典型的用例包括竞争分析 广告活动开发 和趋势监测 营销人员可以分析竞争对手的广告以优化他们的策略 而机构可以利用这些数据通过现实世界的广告示例来增强客户报告

用户可以利用返回的数据来识别成功的广告格式和信息传递策略。通过分析"cta"和"ads_type",营销人员可以调整他们的活动,以与数据中观察到的有效实践保持一致

如果API返回部分或空结果,用户应检查其查询参数的准确性。调整“关键字”,扩大“国家”或修改日期范围可以帮助获得更全面的结果

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。

价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]


此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。

定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。

有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]

价格由月度或年度订阅决定,具体取决于所选计划。

API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。

Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。

要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。

要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。

要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。

"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。

是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。

您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。

7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。

当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。

付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。


相关 API


您可能还喜欢