Meta Pixel

Connect Codex to Meta Ad Library for Competitor Ads

Use LoomaScale to look up public Meta Ad Library records from Codex. Resolve the competitor’s Facebook Page, pick the country you want to study, and compare the Facebook and Instagram ads in your sample. Verify each result against its library link. The lookup returns public creatives and the delivery details the source makes available.

Public ad data · Read-only research · Source links included

What can Codex do with Meta Ad Library?

Find the right Page

Resolve a brand or Instagram handle to a public Facebook Page.

View active ads

Search in one country and check the listed platforms.

Compare offers and creative

Review headlines, calls to action and available carousel cards.

Verify your sample

Open each public Ad Library link and check the Page and creative.

See it in action

Example prompt

Use LoomaScale to find the main Allbirds Facebook Page and show three ads marked active in the United States, with their platforms and public Meta Ad Library links.

Three active ads from the main Allbirds Page

Verified public sample from December 1, 2026

Ads reviewed
3
Facebook Pages checked
1

Platforms listed on the sampled ads

  • Facebook3
  • Instagram3

How to connect Codex to Meta Ad Library

  1. Install LoomaScale in Codex.
  2. Sign in to LoomaScale and approve access.
  3. Ask Codex for public ads and open one of the source links.
Full setup guide, screenshots and troubleshooting

The dedicated server reads public ads. Sign in with your LoomaScale account and approve access.

  1. Run these commands in your terminal to add the marketplace and install the Ad Library plugin.

    codex plugin marketplace add loomascale/agent-plugin
    codex plugin add loomascale-adlibrary@loomascale
  2. Run the login command and finish LoomaScale sign-in and authorization in the browser.

    codex mcp login loomascale-adlibrary
  3. Start or reopen Codex, send the test prompt and check the returned record against the public library.

Codex setup documentation

How do you see a competitor’s Facebook and Instagram ads?

The Meta Ad Library, also called the Facebook Ad Library, lets you look up ads that are running across Meta technologies, including Facebook and Instagram. Search by advertiser or keyword in Meta’s own interface. An MCP connector lets an assistant retrieve those public records and compare the creative, offer and destination across a sample. Meta’s guide to the Ad Library

Start with the exact brand name or Instagram handle and choose the Facebook Page that belongs to the competitor. Regional Pages and namesakes can appear together. Cross-check the profile URL or the social links on the brand site. Then search that Page in the country where you want to compare ads. A keyword search matches words in ad text and can return results from multiple advertisers.

Use the LoomaScale Meta Ad Library tools to find Allbirds in the United States. Show matching Facebook Pages with their IDs and linked Instagram handles. Ask which Page to use if more than one looks plausible. For the selected Page, list up to five ads currently marked active. For each, include the headline, offer, call to action, Meta platforms and Ad Library link. Tell me the sample size and whether there are more results.

On December 1, 2026, the search surfaced both Allbirds and Allbirds New Zealand. For the main brand Page, 778794852137593, the US lookup returned a sample of three active records. One of them, 2399670117453402, listed Facebook and Instagram among its platforms. Check the publisher list before describing any creative as exclusive to one platform. Allbirds example in the Meta Ad Library

  • For an offer comparison, keep the same country and active status for each Page. Record the first line of copy, the offer, the call to action and the destination where provided.
  • For carousels, keep the cards in order with their individual links. Count the records you reviewed and disclose when a result has more pages.
  • For a past period, request both active and inactive ads with explicit delivery dates. Meta’s historical coverage varies by country and ad category. Recheck the Page and filters if the search is empty.

Questions people ask before they start

Do I need Facebook Ads Manager or a Meta API token?

The LoomaScale Ad Library MCP uses LoomaScale sign-in and reads public ads. The setup requires only your LoomaScale account. It does not require Facebook Ads Manager access, a Meta developer app or a Meta API token of your own.

How does this MCP relate to the Meta Ad Library API?

Meta publishes its own Ad Library API with separate access requirements and coverage. LoomaScale retrieves public library records through a data provider and exposes them as read-only tools for your assistant. Country, ad category and publication status affect which records are available.

Can a Meta Ad Library MCP show competitor spend or targeting?

The connector provides public commercial ad records, including creative, dates and available platform information. Some EU or UK records have regional reach or selected audience disclosures. The connector does not provide competitors’ commercial ad spend, private targeting settings or conversion performance.

Other assistants and related guides

Connect your assistant to your ad platform

LoomaScale runs inside the assistant you already use. Pick the pair you work with; each guide takes about five minutes.

ChatGPT
Google Ads

Manage Google Ads campaigns from ChatGPT: search terms, budgets and new campaigns, paused for your review. One-click install from ChatGPT's directory.

Read the integration
Claude
Google Ads

Manage Google Ads from Claude: audits, budget changes and new campaigns, every write inside the spend cap you set. Connect from Claude's directory.

Read the integration
Claude Code
Google Ads

Install the LoomaScale plugin in Claude Code with two commands and audit Google Ads from your terminal: search terms, budgets and pacing, with skills built in.

Read the integration
Codex
Google Ads

Install the LoomaScale plugin in OpenAI Codex with two commands and audit Google Ads from your terminal: search terms, budgets and conversion goals.

Read the integration
Antigravity
Google Ads

Install the LoomaScale plugin in Google Antigravity with one command and audit Google Ads from your terminal: search terms, budgets and conversion goals.

Read the integration
ChatGPT
Meta Ads

Manage Facebook and Instagram campaigns from ChatGPT: ad sets, budgets and creatives in one chat. The same one-click install.

Read the integration
Claude
Meta Ads

Manage Facebook and Instagram campaigns from Claude: audits, budget caps and new ad sets, inside the limits you set.

Read the integration
Claude Code
Meta Ads

Run Facebook and Instagram campaign reviews from Claude Code: the same plugin, one sign-in, and skills for waste audits, pacing and creative fatigue.

Read the integration
Codex
Meta Ads

Review Facebook and Instagram campaigns from OpenAI Codex: the same plugin and sign-in, with placement, age and lead-quality checks.

Read the integration
Antigravity
Meta Ads

Review Facebook and Instagram campaigns from Google Antigravity: the same plugin and sign-in, with placement, age and lead-quality checks.

Read the integration
ChatGPT
TikTok Ads

Manage TikTok campaigns from ChatGPT: reports, video watch-through, audience breakdowns, and pauses, budgets and bids on request. The same one-click install.

Read the integration
Claude
TikTok Ads

Manage TikTok campaigns from Claude: audits, video and audience reports, and pauses, budgets and bids inside the spend cap you set.

Read the integration
Claude Code
TikTok Ads

Install the Claude Code plugin, authenticate through /mcp and group TikTok ads by video to compare their opening seconds with the conversions they earned.

Read the integration
Codex
TikTok Ads

Sign in with codex mcp login loomascale, verify the TikTok advertiser ID and compare complete weeks without treating missing conversion data as zero.

Read the integration
Antigravity
TikTok Ads

Sign in from /plugin, verify the TikTok advertiser ID and compare complete weeks without treating missing conversion data as zero.

Read the integration
ChatGPT
Reddit Ads

Read Reddit Ads from ChatGPT: campaign reports, subreddit and placement breakdowns, and Reddit Pixel checks. The same one-click install.

Read the integration
Claude
Reddit Ads

Review Reddit Ads from Claude: waste audits, subreddit and placement reports, and Reddit Pixel checks, from the same connector.

Read the integration
Claude Code
Reddit Ads

Connect Reddit Ads to Claude Code for campaign reporting, subreddit breakdowns and Reddit Pixel checks.

Read the integration
Codex
Reddit Ads

Connect Reddit Ads to Codex for campaign reporting, subreddit breakdowns and Reddit Pixel checks.

Read the integration
Grok Build
Reddit Ads

Connect Reddit Ads to Grok Build for campaign reporting, subreddit breakdowns and Reddit Pixel checks.

Read the integration
Cursor
Reddit Ads

Connect Reddit Ads to Cursor for campaign reporting, subreddit breakdowns and Reddit Pixel checks.

Read the integration
Gemini CLI
Reddit Ads

Connect Reddit Ads to Gemini CLI for campaign reporting, subreddit breakdowns and Reddit Pixel checks.

Read the integration
Antigravity
Reddit Ads

Connect Reddit Ads to Antigravity for campaign reporting, subreddit breakdowns and Reddit Pixel checks.

Read the integration
Meta Muse
Reddit Ads

Connect Reddit Ads to Meta Muse for campaign reporting, subreddit breakdowns and Reddit Pixel checks.

Read the integration
Hermes Agent
Reddit Ads

Connect Reddit Ads to Hermes Agent for campaign reporting, subreddit breakdowns and Reddit Pixel checks.

Read the integration
Manus
Google Ads

Connect Manus to Google Ads through LoomaScale’s MCP server. Analyze campaigns, keywords and search terms, then request changes within your permissions and spend cap.

Read the integration
Slack
Google Ads

Ask Slackbot about Google Ads in any Slack DM: audits, search terms and pacing checks, with changes kept inside your spend cap. Install the app once per workspace.

Read the integration
Manus
Meta Ads

Connect Manus to Meta Ads through LoomaScale’s MCP server. Review Facebook and Instagram campaigns, ad sets, creatives and placements.

Read the integration
Slack
Meta Ads

Ask Slackbot about Facebook and Instagram campaigns in any Slack DM: delivery, pacing and ad-set spend, read live from Meta Ads.

Read the integration
Slack
TikTok Ads

Install LoomaScale once for the workspace. Each teammate links their own account and can ask Slackbot for yesterday’s spend and TikTok’s diagnosis of a stalled ad group.

Read the integration
Manus
Reddit Ads

Connect Reddit Ads to Manus for campaign reporting, subreddit breakdowns and Reddit Pixel checks.

Read the integration
Slack
Reddit Ads

Connect Reddit Ads to Slack for campaign reporting, subreddit breakdowns and Reddit Pixel checks.

Read the integration

Research competitor ads on Meta