AdPlug
Guide · LinkedIn Ads to Grok Bot

How to Connect LinkedIn Ads to Grok Bot

Grok Bot is the app from SpaceXAI (formerly xAI) where always-on Bots work on a cloud computer instead of your laptop. Connecting AdPlug gives a Bot a controlled way to read your LinkedIn Ads data, run reports on a schedule, and prepare changes you approve. This guide covers what you need, the five setup steps, and the prompts to run first.

Updated 2026-09-30 · 8 minute read

LinkedIn Ads MCP server URL

Give this address to your Bot when you ask it to add a custom MCP server.

https://api.adplug.app/mcp/linkedin-ads

01

How a Bot reaches LinkedIn Ads

A Bot can work on a platform in two ways: by clicking through its website in the browser on the Bot's cloud computer, or through a connector. Grok Bot's docs say to prefer a connector when one is available, because it is often more reliable than clicking through a website.

For LinkedIn Ads that connector is AdPlug. It works through LinkedIn's official Marketing API, so the Bot gets campaign data as numbers and never has to open Campaign Manager. You add it once and every Bot on your account can use it.

02

What you need

  • Grok Bot. The desktop app runs on macOS, Windows, and Linux, and there are mobile apps for iPhone, iPad, and Android. You sign in with a Cursor account. Cursor's plans page lists access as included with every paid individual Cursor plan and with Cursor Teams, or through an individual SuperGrok, SuperGrok Plus, SuperGrok Heavy, or X Premium+ subscription linked to that account. There is also a free trial credit.
  • An AdPlug account. The free plan is enough to set this up and test it: view only, 500 requests in the first month and 50 a month after that, on one ad platform. AdPlug's LinkedIn Ads MCP is the server your Bot talks to.
  • Access to the ad account. A LinkedIn profile with Campaign Manager access to the ad accounts you want the Bot to work on. Viewer access is enough for reporting.

03

Setup in 5 steps

Steps 1 and 2 happen in AdPlug. Steps 3 to 5 happen in Grok Bot. Allow about ten minutes the first time.

  1. Create your AdPlug account

    Go to adplug.app/signup, sign in with Google or email, and follow the short onboarding. It ends on your AdPlug dashboard.

    AdPlug Create your account screen with a Continue with Google button and name, email and password fields.
    AdPlug sign-up. One click with Google, or an email and password.
  2. Connect LinkedIn Ads to AdPlug

    On the dashboard, click Connect LinkedIn Ads and sign in with the LinkedIn profile that has Campaign Manager access to the ad accounts you want your Bot to work on. Every account that profile can manage becomes available through the one connection.

    AdPlug dashboard welcome screen with an arrow pointing to the Connect LinkedIn Ads button.
    Click Connect LinkedIn Ads to start LinkedIn's sign-in.

    Already past onboarding? The Connections page has the same button.

    AdPlug Ad Platform Connections page with an arrow pointing to the Connect LinkedIn Ads button on the LinkedIn Ads card.
    The Connections page shows the button whenever LinkedIn Ads is not linked yet.
  3. Ask your Bot to add AdPlug

    Grok Bot calls its connectors plugins. Most are added from Plugins in the sidebar (the docs also call it the Marketplace). AdPlug is not in that list, so you add it as a custom MCP server. Grok Bot's docs describe two kinds, Remote HTTPS and Command. AdPlug is the Remote HTTPS kind and signs you in through your browser, so there is no key to paste.

    The simplest way is to ask. Open a chat with your Bot and send:

    “Add a custom MCP server called AdPlug - LinkedIn Ads at https://api.adplug.app/mcp/linkedin-ads”

    Keep the words custom MCP server in the message so the Bot uses this address rather than searching the Marketplace. It shows the name and address back to you; confirm them.

    https://api.adplug.app/mcp/linkedin-ads
    Grok Bot card on the AdPlug dashboard showing the server name AdPlug - LinkedIn Ads and the MCP URL https://api.adplug.app/mcp/linkedin-ads, each with a Copy button, above three setup steps.
    The Grok Bot card on your AdPlug dashboard has the same name and address with copy buttons. Pick LinkedIn Ads only, then open the list of more clients.
    Grok Bot chat with the request to add a custom MCP server called AdPlug - LinkedIn Ads at https://api.adplug.app/mcp/linkedin-ads, and the Bot showing the name, address and Remote HTTPS type back.
    The request in a chat with your Bot, and the name and address to check before you confirm.
  4. Authorise the connection

    Grok Bot asks you to Authorize the plugin and opens AdPlug's sign-in in your browser. Use the same email as your AdPlug account and click Approve. If Grok Bot shows Waiting for authorization, choose Reopen to bring the browser tab back.

    AdPlug Authorize access screen asking whether an application may access your AdPlug account, with Deny and Approve buttons.
    AdPlug's authorise screen. Approve to let Grok Bot use your AdPlug connection.

    Back in Grok Bot, open Plugins in the sidebar and check that AdPlug - LinkedIn Ads appears under Installed. Cursor's plugin help covers the other statuses you might see, such as Needs auth.

    Grok Bot Plugins with the AdPlug - LinkedIn Ads MCP server listed under Installed and marked Connected.
    AdPlug - LinkedIn Ads under Installed in Plugins, marked Connected once the sign-in is done.
  5. Test the connection

    In a chat with your Bot, type @, pick AdPlug - LinkedIn Ads, and ask:

    “List my LinkedIn ad accounts.”

    The Bot calls the linkedin_ads_list_accounts tool and returns the ad accounts you can access, with currencies and statuses. If your accounts are listed, the connection works end to end.

    Grok Bot answering 'List my LinkedIn ad accounts' through the AdPlug LinkedIn Ads MCP, with each account's name, type, currency and status.
    Your Bot's reply to the test prompt, one row for each account it can reach.

04

Prompts and routines

LinkedIn's hierarchy is campaign group, then campaign, then creative (the ad). Name the level you mean and the Bot picks the right one. More copy-paste prompts live in the prompt playbooks.

List your LinkedIn ad accounts

“List my LinkedIn ad accounts.”

Spend by seniority

“Break my LinkedIn Ads spend down by job seniority for the last 90 days, with cost per conversion for each band. Flag anything with too little data to judge.”

Pacing check

“For each active campaign group, compare planned daily spend with actual spend over the last 7 days. Highlight anything more than 15% off.”

Lead form check

“For every Lead Gen Form campaign active in the last 30 days, list completion rate and cost per lead, and tell me which form is performing worst.”

Audience size before you commit

“Estimate the audience size for marketing directors at SaaS companies in the UK, and tell me if it is too small to run.”

Competitor research

“Search the LinkedIn Ad Library for our top competitor and list their active ads with links. Summarise what they seem to be testing.”

Grok Bot can also run work on a schedule. It calls this a routine: you ask the Bot in chat, say what it should do and when, and it keeps running in the cloud while your laptop is closed. A weekly report is the obvious first one:

“Every Monday at 8:00 AM Europe/London, use AdPlug - LinkedIn Ads to pull last week's spend, impressions, clicks, and leads for every active campaign group, compare them with the week before, and post a short summary here. Read only. Do not change anything.”

Give the routine a time zone, the account it covers, and what to do when data is missing. A new routine waits for its next scheduled time, so open it and use Test to run it once now. Keep scheduled work read only. Cursor's help pages say an approval raised by a routine expires after about ten minutes if nobody answers, so a scheduled job that needs a yes will usually just stop. Every run also uses AdPlug requests, and the free plan drops to 50 a month after the first, so a routine you keep wants a paid plan.

05

Approvals and safety

AdPlug gives the Bot two tools for campaign changes: a preview tool that returns the exact change without applying it, and an execute tool that applies it. That covers campaign groups, campaigns, budgets, targeting, and ads in nine formats, including Thought Leader Ads. The free plan is view only; creating and editing campaigns needs a paid AdPlug plan.

Grok Bot has its own approval prompts for sensitive actions, with Allow once, Always allow, and Deny. Do not rely on those alone for ad changes. Put the boundary in the request: ask for a draft that shows the current value, the proposed value, and the expected impact, and tell the Bot to wait. Answer with Allow once rather than Always allow, and add an Ask first rule under Auto-review for anything that edits campaigns.

Plugins are shared across your account. Grok Bot's docs note that installed connectors are not isolated to one Bot, and that all your Bots use the same cloud computer and app logins. Any Bot you create can reach the ad accounts this connection can see.

Teams are different. On a Team Bot, the Team Bots docs say a custom MCP server that signs in with OAuth uses the account of whoever is talking to the Bot. AdPlug signs in that way, so each teammate authorises once with their own AdPlug account. A Team Bot also asks for approval only in its owner's own chat; in a teammate's chat it works within what the owner set up without stopping to ask. So set the limit in AdPlug: on the Max and Agency plans the owner can set each teammate to View only or Can edit per platform.

Report calls and executed changes are recorded in your AdPlug Usage and Audit Log, so you can check what a Bot did while you were away.

06

Using Grok chat instead

If you use Grok in the browser rather than Grok Bot, add AdPlug as a custom connector. The Grok connector docs give three steps:

  1. Go to grok.com/connectors.
  2. Click New Connector, then select Custom.
  3. Enter the AdPlug address above and complete the sign-in.

Connectors are available to all Grok users. On Grok Business and Enterprise a team admin provisions the connector first.

07

Troubleshooting

Click any item to expand the answer.

The Bot installed a Marketplace plugin instead
Send the request again with the words custom MCP server and the full AdPlug address. To remove the plugin you did not want, open Plugins in the sidebar, open it, and choose Remove.
The plugin says Added, but the Bot says it is missing
Added means installed, not signed in. Open Plugins, open AdPlug - LinkedIn Ads, and choose Authorize if it shows Needs auth or Disconnected. Finish the sign-in within about ten minutes.
AdPlug - LinkedIn Ads shows Disabled by team admin
On a Cursor team, an admin controls which connectors members can use. Ask your admin to allow the AdPlug address on the Plugins & MCPs page of the Cursor dashboard, then restart Grok Bot.
The Bot answers without using AdPlug
Type @ and pick AdPlug - LinkedIn Ads before you ask, or name it at the start of the request so the Bot knows which plugin you mean.
The connection shows zero LinkedIn ad accounts
The LinkedIn profile you connected has no ad account access. Open Campaign Manager, confirm the profile has at least Viewer access, then disconnect and reconnect on the Connections page with the right profile.
A change is refused on the free plan
AdPlug's free plan can read but not edit, and the reply says so. Creating or changing campaigns needs a paid plan.
An approval expired before I saw it
Approvals raised by a routine or by another Bot expire after about ten minutes. Turn on Notifications for that Bot, or keep scheduled work read only and make changes in a chat you are in.
The numbers look out of date
Ad platforms finalise some metrics hours after the event. For same-day reporting, ask for a date range ending yesterday and treat today's spend as provisional.

08

Questions people ask

Can Grok Bot connect to LinkedIn Ads?
Yes. Grok Bot reaches outside services through plugins, and AdPlug's LinkedIn Ads MCP server can be added as a custom one. Give your Bot the address (https://api.adplug.app/mcp/linkedin-ads), approve AdPlug's sign-in, and it can pull reports from the accounts you have access to. With a paid AdPlug plan it can also create and change campaigns through AdPlug's preview and execute tools.
How do I get access to Grok Bot?
Grok Bot signs in with a Cursor account. Cursor's plans page lists access as included with every paid individual Cursor plan (Pro, Pro+, and Ultra) and with Cursor Teams, or through an individual SuperGrok, SuperGrok Plus, SuperGrok Heavy, or X Premium+ subscription linked to that account. There is also a free trial credit. Check Cursor's plans page for current terms.
How do I add a custom MCP server to Grok Bot?
Ask a Bot to add a custom MCP server, giving it a name and the server address, and confirm the details it shows back. Approve the sign-in in your browser, then open Plugins and check that the server appears under Installed. Attach it to a task by typing @.
Can Grok Bot change my LinkedIn Ads campaigns?
With a paid AdPlug plan, yes. AdPlug gives the Bot two tools for campaign changes: a preview that shows the exact change without applying it, and an execute that applies it. Tell your Bot to preview first and wait for your approval, and add an Ask first rule in Grok Bot for anything that edits campaigns.
Can a Bot run LinkedIn Ads reports on a schedule?
Yes. A Grok Bot routine runs a workflow on a schedule, for example a Monday summary of last week's spend and results, and it keeps running while your laptop is closed. Keep scheduled work read only, because an approval raised by a routine expires after about ten minutes if nobody answers.
Does this work in Grok chat as well?
Yes. On grok.com, open Connectors, choose New Connector then Custom, paste the same AdPlug address, and complete the sign-in.
Is connecting Grok Bot to LinkedIn Ads free?
AdPlug's free plan is view only, on one ad platform, with 500 requests in the first month and 50 a month after that. Scheduled routines and campaign changes need a paid AdPlug plan. Grok Bot itself needs one of the plans Cursor lists, or its free trial credit.