Bring Ad Campaigns
to Pydantic AI
Create your Vinkius account to connect LinkedIn Ads to Pydantic AI and start using all 8 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the LinkedIn Ads MCP Server?
Connect LinkedIn Ads to your AI agent and manage your B2B advertising campaigns conversationally.
What you can do
- Campaign Management — List, create, update, and pause campaigns, campaign groups, and creatives.
- B2B Analytics — Pull impressions, clicks, CTR, CPC, leads, and cost-per-lead metrics.
- Audience Targeting — Query targeting by job title, company, industry, seniority, and matched audiences.
- Lead Gen Forms — Access lead gen form submissions and sync leads to your CRM.
How it works
- Subscribe to the LinkedIn Ads integration on the marketplace.
- Create an app in the LinkedIn Developer Portal (developer.linkedin.com → My Apps → Create App).
- Ask your AI agent to manage campaigns, pull reports, or download leads.
Who is this for?
- B2B Marketers — Monitor and optimize LinkedIn ad spend targeting professionals and decision-makers.
- Demand Gen Teams — Track lead gen form submissions and campaign ROI conversationally.
- Agencies — Manage multiple client LinkedIn advertising accounts from one interface.
Built-in capabilities (8)
Enable campaign
Get account analytics
Get ad account info
Get campaign analytics
List campaign groups
List campaigns
List ad creatives
Pause campaign
Why Pydantic AI?
Pydantic AI validates every LinkedIn Ads tool response against typed schemas, catching data inconsistencies at build time. Connect 8 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
- —
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
- —
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your LinkedIn Ads integration code
- —
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
- —
Dependency injection system cleanly separates your LinkedIn Ads connection logic from agent behavior for testable, maintainable code
LinkedIn Ads in Pydantic AI
Why run LinkedIn Ads with Vinkius?
The LinkedIn Ads connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 8 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect LinkedIn Ads using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
LinkedIn Ads and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect LinkedIn Ads to Pydantic AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
LinkedIn Ads for Pydantic AI
Every request between Pydantic AI and LinkedIn Ads is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
How do I get my LinkedIn Ads API credentials?
- Go to developer.linkedin.com and log in with your LinkedIn account.
- Click My Apps → Create App.
- Fill in your app name, company LinkedIn page, and logo.
- Under the Products tab, request access to Marketing Developer Platform.
- After approval, go to the Auth tab and copy your Client ID and Client Secret.
- Paste both values below.
⚠️ Access to the Marketing API requires approval from LinkedIn (typically 1-5 business days).
Can I download lead gen form submissions?
Yes. Your AI agent can pull all lead gen form submissions including names, emails, job titles, and custom fields — ready to sync to your CRM or outreach tool.
What targeting criteria can I use?
LinkedIn offers the most precise B2B targeting: job title, job function, seniority, company name, company size, industry, skills, education, and matched audiences (ABM lists, retargeting, lookalikes).
Can I track cost-per-lead (CPL)?
Yes. Your AI agent calculates CPL by dividing total spend by leads generated — broken down by campaign, ad group, or creative. Essential for B2B marketers optimizing demand gen budgets.
How does Pydantic AI discover MCP tools?
Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.
Does Pydantic AI validate MCP tool responses?
Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.
Can I switch LLM providers without changing MCP code?
Absolutely. Pydantic AI abstracts the model layer. your LinkedIn Ads MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.
MCPServerHTTP not found
Update: pip install --upgrade pydantic-ai
Explore More MCP Servers
View all →
DocsGenFlow
10 toolsCreate documents automatically from templates with merge fields that pull data from your systems and generate polished output.

Kissmetrics
7 toolsTrack user behavior, set properties, and query analytics data via the Kissmetrics API.

Five9 QM
12 toolsManage agent evaluations, review recorded interactions, and track quality metrics via AI agents with Five9 QM.

Klevu (E-commerce AI Search)
10 toolsPower your e-commerce discovery via Klevu AI — execute keyword searches, manage category merchandising, and retrieve product recommendations.
