All articles

Integrations

Meta Ads

Connect your Meta ad account, read spend and results, and let the assistant manage campaigns with your approval.

Overview

Channels & integrations → Meta Ads (/en/integrations/meta-ads) connects your Meta (Facebook / Instagram) ad account to OrderInChat through Meta's official Ads MCP server. Once connected you get:

  • a dashboard with spend and results for the last 7 or 30 days and your top campaigns;
  • pause / resume buttons that go through an approval card;
  • the panel assistant (and the WhatsApp operator mode) reading reports and drafting campaigns for you.

The assistant reads freely. Every change (new campaign, ad set, ad, budget, activation, audiences, catalog or pixel changes) is stored as a pending action and runs only after you click Approve on this page. Activation and budget changes always get their own card.

Connect

  1. Open Channels & integrations → Meta Ads and click Connect Meta Ads.
  2. Sign in with Facebook (Login for Business) and accept the permissions. Use a Facebook user that has access to the ad account in Business Manager.
  3. Back in the panel, pick the Ad account the reports and the assistant should use. Accounts that are not enabled for the Ads MCP server are greyed out.
  4. Click Test — the message shows how many Meta tools are available.

The access token lasts about 60 days. When Meta reports it as expired or the permissions change, the status badge turns to Reconnect needed; click Reconnect.

Until OrderInChat's Meta app review is approved, only Facebook users with a role on the OrderInChat Meta app can connect. If the page says the login is not configured yet, the OrderInChat team has not finished the setup.

Dashboard

  • Spend, results, leads, purchases, impressions, reach, clicks for the selected window (last 7 days, last 30 days, or Maximum (lifetime) for the account's whole history). Numbers come straight from Meta; the currency is the ad account's.
  • Campaigns: top campaigns by spend with status, daily budget, spend and results. Pause creates an approval card that sets the campaign to PAUSED; Resume creates a card that activates it (spending starts again). Campaigns with no spend in the period (paused, new or not yet published) are listed after them with spend 0, so you can resume or pause them here too.
  • Open Ads Manager opens the same account on Meta.
  • Open in Ads Manager on a campaign row, and on a done approval card that created a campaign, ad set or ad, opens that object on Meta in a new tab.

Ask the assistant

The shortcuts open the panel assistant with a ready question: weekly report, campaign draft, "why are my ads not running?", audience ideas. You can also ask in your own words, for example "how much did I spend on Meta last week?" or "draft a sales campaign with a 10 € daily budget".

  • Drafts are created paused. The assistant tells you what to approve; nothing spends until you approve the activation card.
  • In the WhatsApp operator mode the assistant shows a 4-digit code; reply with that code (for example YES 1234) to approve. The code works for 15 minutes and is cancelled after 5 wrong tries; then ask the assistant for a new code, or approve the card in the panel. Every code you send also counts as one try on the other cards still waiting for a code, so after 5 code approvals in a row the 6th card's code is cancelled — ask for a new code or approve that card in the panel.
  • Meta rate limits: when Meta asks us to slow down, the assistant and the page say so and name the waiting time.

Create campaign

Owners and admins can open Create campaign (below Campaigns) to set up a campaign, its ad set and an ad step by step: objective, name, daily budget in the ad account currency and ad account; countries or cities, age, gender, interests or a saved audience, automatic placements and start date; then an image or video (upload a JPG / PNG up to 30 MB or an MP4 / MOV, or pick a product image), primary text, headline, description, call to action, destination URL (your store link by default), Facebook Page and Instagram account. Status is always Paused and cannot be changed. At the end you see your plan. Prepare approval cards creates the paused approval cards that can be made now under Approvals — OrderInChat builds them from your answers, without the assistant and without AI credits; publishing them is a separate approval. Ad images are stored exactly as uploaded; videos can be up to 50 MB. Meta needs the campaign before an ad set, the uploaded video before its creative, and the ad set and creative before the ad, so the cards come in rounds: approve the open cards under Approvals, reopen Create campaign and press Continue (free) until the dialog says every card is created. Pressing it again never duplicates a card; a rejected or failed card stops the cards after it. Interests and cities are not added automatically (Meta needs its own IDs for them; the dialog says so) — add them in Meta Ads Manager if you need them. If your Page or Instagram account is not in the list, choose Enter a Page ID… / Enter an Instagram account ID… and type its numeric ID. The image can also be a full https link (Use an image URL); Meta downloads it when the creative card is approved, OrderInChat does not. Instagram is optional: without an Instagram account, Instagram placements use the Facebook Page. A typed Instagram ID must be the ads ID (it starts with 17841).

Several languages: pick one or more Languages in the first step to get one campaign with one ad set per language (people who speak that language in the countries you enter) and one ad per ad set, each with its own primary text, headline, description, destination and media. The daily budget is per language (each ad set has its own budget). The high-budget warning looks at the campaign total: when the ad sets together come to more than about 500 USD per day, each ad set card shows the total and is approved only after you type that total. Paste one language version of an OrderInChat site video link (…/en-9x16.mp4) and press Fill all languages: every language gets its own 9:16 video, optionally the 16:9 version for feeds, and its poster as the thumbnail; you can replace the thumbnail with any https JPG / PNG link or upload one (JPG / PNG is safest). Meta does not run ads in Russia, so Russia cannot be a target country; Russian speakers are reached in other countries (Kazakhstan by default). The review step shows about how many approval cards the run needs (campaign, ad sets, video uploads, creatives, ads); approve and press Continue until every language has its ad. The 16:9 version is not used yet (each ad uses the 9:16 video).

Approve all: after the cards are prepared, Approve all in the dialog approves this campaign's cards in order and prepares the next ones (campaign and uploads, then ad sets and creatives, then ads) until every card is created on Meta, all paused. It stops at the first error and shows which card failed and Meta's message. When the budget needs confirming, type the campaign's daily total once. If Meta is still processing a video, it waits and tries the creative again (up to 3 times, about 2 minutes). Keep the dialog open while it runs; pressing it again later continues from where it stopped. Each card is still approved through the normal checks and audit log (marked as a bulk approval). No AI credits are used.

Write with AI: on the ad step, open Write with AI and describe the ad in your own words (what you advertise, the goal, the tone). Generate texts writes the primary text, headline, description and a call-to-action suggestion for each language of the ad and fills the fields; Generate image draws an image in 1:1, 4:5 or 9:16. Each button shows its AI credits before you click, and the store needs at least that balance; the same description is never charged twice (the earlier result comes back free), and an input that failed three times is refused for 24 hours. By default the image has no text, so one image serves every language; in a multi-language ad you can instead make one image per language with a short headline in that language (check the spelling). Below the buttons a line shows the estimated credits per language and the total (the texts plus the images you chose; with one image per language each language's image counts on its own, and one already made is free). Images are centre-cropped to the exact ratio (for 4:5 the model's 3:4 picture loses a little at the top and bottom) and stored as JPG in your media. Everything stays editable. When the ad uses an AI image, the review step says so and Declare AI-generated media to Meta is ticked: OrderInChat then sets Meta's AI disclosure on the creative (Meta may show an "AI info" label in some regions); untick it if you do not want to declare it.

Sales and leads campaigns: when a pixel was chosen under Website (Pixel) on the same ad account, the ad sets of a sales campaign optimize for the pixel's Purchase events and those of a leads campaign for its Lead events (website conversions). Without such a pixel they optimize for link clicks, and the section shows a hint with a link to Website (Pixel). OrderInChat storefronts send Purchase events today; Lead events are not sent by the storefront yet.

Approvals

The Approvals section lists what is waiting: the tool, a summary, the exact JSON and the risk (change / budget change / starts spending). Cards expire after 60 minutes. An expired card stays in the list for 24 hours, marked expired and no longer approvable; Prepare again creates a new card with the same change for a fresh approval. Approve runs the Meta call once; Reject discards it. Every decision is written to the audit log. Owners and admins can tidy the list: Remove takes an expired, rejected, applied or failed card off the list and Clear expired removes every expired card at once. The card is only hidden, never deleted, and its audit record stays; a card that can still be approved cannot be removed, only rejected. A card with a high budget — more than about 500 USD per day (a lifetime budget counts as its total ÷ days; one without an end date always counts as high) — shows a red warning and can only be approved after you type its amount again; no amount is blocked. In WhatsApp operator mode, send the code and the amount in one message (for example YES 1234 175). Type the amount as it is shown on the card, in the account currency (for example 175 for 175.00, not the smallest unit). If the amount is the same number as the code, write it twice (for example YES 1234 1234).

Website (Pixel)

The Website (Pixel) section puts the Meta Pixel of your ad account on your storefront. Only the store owner or an admin can do this.

  1. Connect Meta Ads (see Connect above).
  2. Pick the Ad account and click Choose a pixel. OrderInChat lists the pixels this ad account can use, with their ID and last activity. It only reads from Meta; nothing is created or changed there.
  3. Click Use this pixel. Your storefront loads it right away. If another pixel ID is already set (for example one typed on the Analytics page), you are asked first whether to replace it.

When conversion measurement is available, choosing a pixel also switches on Send purchases to Meta, so website purchases are sent from the server too (switch it off under Conversion measurement if you do not want that). If server-side sending is not switched on for OrderInChat yet, the section says so and only the browser Pixel works.

No pixel in the list? Create one in Meta Events Manager, then click Choose a pixel again. You can still type a pixel ID on the Analytics page; Create campaign then does not bind campaigns to it, because OrderInChat does not know its ad account.

Create a new pixel: click Create new pixel next to Choose a pixel. Nothing is created yet: an approval card for a pixel named “your store name (OrderInChat)” on the chosen ad account appears under Approvals, and the pixel is created on Meta only when you approve it. Clicking twice gives the same card, and OrderInChat reuses a pixel it created on that ad account before instead of making a second one. After approval the pixel goes on your storefront like a chosen one (if another pixel was set, you are asked first). If Meta refuses, the card says why and nothing changes on your storefront. If the pixel was created but could not be added to your storefront, click Retry link in this section (no new pixel is created). Meta cannot delete a pixel: Remove from store takes a pixel created here off your storefront and switches Send purchases to Meta off for the whole store, so WhatsApp and Messenger ad purchases also stop going to Meta, not only website ones (purchases made while it is off are never sent later; turn the switch back on to keep measuring WhatsApp and Messenger). The pixel stays in your ad account.

Conversion measurement

The Conversion measurement section (at the bottom of this page) tells Meta when a customer who came from your Meta ad buys, through Meta's Conversions API. Ads Manager then counts these sales in your results and Meta can optimize your ads for purchases.

What is sent. One Purchase event per paid order (or cash on delivery / pay later), with the order value and currency, about 5 minutes after the order:

  • WhatsApp — only when the customer wrote to you from a click-to-WhatsApp ad in the 7 days before the order.
  • Messenger — only when the customer came to your page from a Messenger ad.
  • Website — only when the visitor accepted marketing cookies in the cookie banner. Website customers without marketing consent are never sent. The email, phone, first and last name, city, postal code and country go hashed, together with a hashed customer number; a Meta Pixel must be set (Website (Pixel) section or the Analytics page).

Products are not sent; names and address details are sent hashed, for website purchases only. Instagram purchases are not sent (Meta does not use them for ad optimization yet). Customers who did not come from an ad are never sent.

Turn it on. Only the store owner or an admin can do this.

  1. Open Channels & integrations → Meta Ads and scroll to Conversion measurement.
  2. Switch on Send purchases to Meta. OrderInChat finds or creates the dataset of your WhatsApp Business account (and your Facebook page) and shows it under Where events go.
  3. If you see "Meta did not let us create the dataset", reconnect WhatsApp on the WhatsApp Business page to grant the new permission, then switch it on again.

Switching it off stops new events at once; events already sent stay in Meta.

Send a test event.

  1. In Meta Events Manager, open the dataset (or your Pixel) shown under Where events go → Test events, and copy the test code (for example TEST12345).
  2. Paste it into Test code, pick a Channel (or leave Automatic) and click Send test event.
  3. The event appears in Events Manager → Test events within a minute and in Recent events here with a test badge. Test events do not count in your ad results.

Recent events lists the last events with date, event, channel, order, status (Waiting, Sending, Sent, Failed, Skipped) and Meta's error. A failed send is retried a few times with a growing pause, then stops.

Troubleshooting

  • Reconnect needed — the token expired or Meta permissions changed. Click Reconnect.
  • Meta Ads connection expires soon — the Facebook login lasts about 60 days. Seven days before it ends, this page shows a banner and the store owners get one email. Click Reconnect and sign in with Facebook again; campaigns, pixel and settings stay.
  • No ad accounts found — the Facebook user has no ad account in Business Manager, or the account is not enabled for the Ads MCP server. Add the user to the account, then Refresh ad accounts.
  • Rate limit reached — wait the number of seconds shown, then retry.
  • Could not store the pending action — contact support (the platform database is not up to date).

Need more help?

Chat with the Help assistant about OrderInChat, or open My Support Tickets while signed in (free trial included).