Prerequisites
- A Meta account with access to the ad accounts you want to use, through Meta Business Suite or Business Manager
- The Connect sources capability in your VexiData organization, to connect the platform — Owners and Admins have it by default
Connect Meta Ads
1
Open the Integrations page
Go to the Integrations page in VexiData and find Meta Ads.
2
Log in with Meta
Click Connect. VexiData redirects you to Meta’s login — sign in with the profile that has access to your ad accounts and approve the request.VexiData asks for the
ads_read, ads_management, read_insights, and business_management permissions, plus your basic profile and email address. Keep every ad permission enabled in the Meta dialog — if one is turned off, the connection is refused and you need to connect again.3
Pick your default ad accounts
Click the new connection’s card to open its page. In the Settings card, check the ad accounts the AI should use when you don’t name one, then click Save.
Meta issues a long-lived access token that lasts about 60 days and can’t
be renewed silently. When it expires, the connection shows Reconnect
required and stops working until someone who can connect a new source
opens it and clicks Reconnect — one Meta login away. The Access
expires date is on the connection’s Connection details card.
Managing the connection
To connect another Meta profile, click Add account on the Meta Ads card on the Integrations page. Each profile becomes its own connection, and the one with the Primary badge is the primary, which tools use when a request doesn’t name a connection. Click a connection’s card to open its page. It has Connection details, Settings, and Connection cards, plus an Access section for choosing who can use the connection. From there you can:- Set default ad accounts — in Settings, check the accounts the AI uses by default and click Save.
- Make primary — in Connection, make this connection the primary one. The button is hidden on the connection that is already primary.
- Reconnect — appears in Connection only when the Meta token has expired (the card shows Reconnect required). Log in with the same Meta profile to refresh this connection. A different profile is added as a separate connection.
- Disconnect — in Connection, remove the connection. AI tools stop working for it immediately.
What the AI can do
Meta expresses budgets in your account currency’s minor units (cents): a
daily_budget of 5000 on a USD account is $50.00. Keep that in mind when
reading or setting budgets.Searching the Ad Library
meta_ads_search_ad_library queries Meta’s public Ad Library for ads run by advertisers other than you, which makes it useful for competitor research. Every search must name the countries to look in, plus either search terms or the Facebook page IDs of the advertisers whose ads you want to list. Try: “What is [competitor] running in Germany and France right now?”
Outside the European Union, Meta’s Ad Library API returns only political and
social-issue ads. A search for a commercial advertiser in, say, the US will
usually come back empty — that is expected, not a failure. The search has no
setting that widens this, so search EU countries when you research a
competitor’s regular ads.
Troubleshooting
An ad account is missing from the list
An ad account is missing from the list
VexiData sees exactly the ad accounts the connected Meta profile can access:
- Check the account appears in Meta Business Suite for that profile
- Ask a Business Manager admin to grant the profile access to the ad account
- If you logged in with the wrong profile, click Add account on the Integrations page and log in with the right one — a different profile becomes a second connection — then open the wrong connection and click Disconnect
Tools don't appear in my AI client
Tools don't appear in my AI client
Tools register as soon as the platform is connected, but some clients cache the tool list. Reload or reconnect the VexiData connector in your AI client.