Connector guide7-minute read20 MCP tools7 languages

Connect Criteo to Gemini CLI via MCP

Criteo Marketing Solutions API for advertisers: campaigns, ad sets with budget, bids and targeting, ads, creatives, coupons, audience segments, and statistics, transactions and placements reports. Starting, stopping and budget or bid changes installed switched off. Client ID and secret.

HCBy HelpCode teamUpdated 7 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Criteo

Criteo

Criteo Marketing Solutions API for advertisers: campaigns, ad sets with budget, bids and targeting, ads, creatives, coupons, audience segments, and statistics, transactions and placements reports. Starting, stopping and budget or bid changes installed switched off. Client ID and secret.

tools

20

Region

INTL

Category

Advertising

Authentication

OAuth 2.0

Required env vars

CRITEO_CLIENT_IDCRITEO_CLIENT_SECRET
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Criteo Marketing Solutions API for advertisers: campaigns, ad sets with budget, bids and targeting, ads, creatives, coupons, audience segments, and statistics, transactions and placements reports. Starting, stopping and budget or bid changes installed switched off. Client ID and secret.

Guided setup

Connect Criteo to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Criteo in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for Criteo

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Criteo · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Criteo, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Criteo + Gemini

Criteo Marketing Solutions API for advertisers: campaigns, ad sets with budget, bids and targeting, ads, creatives, coupons, audience segments, and statistics, transactions and placements reports. Starting, stopping and budget or bid changes installed switched off. Client ID and secret.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

CRITEO_CLIENT_ID, CRITEO_CLIENT_SECRET

Step 1 — Get credentials

Setting up takes about 10 minutes.

  1. Sign in to the Criteo Partners Portal (https://partners.criteo.com) with any account, create an organization if asked, then click + under My apps.
  2. Name the app, choose Client Credentials as the authentication method and C-Growth (Marketing Solutions) as the service. Under Authorizations pick the domains: Analytics read, Campaign read, Creative read and Audience read are enough for every read tool; Campaign manage only if you will switch on the spend tools.
  3. Click Create new key: a text file with the client ID and client secret downloads. The secret is only in that file. Paste them into CRITEO_CLIENT_ID and CRITEO_CLIENT_SECRET.
  4. On the app page click Generate new URL under Consent and open it (or send it to the advertiser) while signed in to Criteo with a user who may grant access to the advertiser account. Approve the advertisers the app should see. Each consent URL works once.

The connector exchanges the ID and secret at https://api.criteo.com/oauth2/token (client credentials) for a token that lasts 15 minutes and renews it automatically.

Where to start: criteo_list_advertisers shows the advertisers that granted consent and their ids. criteo_get_app_info confirms which Criteo app the credentials belong to. Then criteo_search_campaigns and criteo_search_ad_sets with those ids, and criteo_get_statistics_report for performance.

Campaign structure: an advertiser has campaigns (criteo_search_campaigns, criteo_get_campaign), a campaign has ad sets (criteo_search_ad_sets, criteo_get_ad_set) that hold the budget, the bid and the targeting; criteo_get_category_bids and criteo_get_display_multipliers show per-category settings. Ads bind a creative to an ad set: criteo_list_ads, criteo_get_ad, criteo_list_creatives, criteo_list_coupons. Audiences: criteo_search_audience_segments.

Reports: criteo_get_statistics_report groups by the dimensions you pass (for a daily trend per ad set use AdsetId and Day) and returns the metrics you name: Displays, Clicks, AdvertiserCost (spend), Cpc, SalesPc30d, RevenueGeneratedPc30d, RoasPc30d, CostPerOrderPc30d. The suffix is the attribution window: Pc30d post-click 30 days, Pv24h post-view 24 hours; ClientAttribution metrics use the advertiser's own attribution. criteo_get_transactions_report lists the attributed orders, criteo_get_placements_report the publishers and apps where ads ran. Keep format json. Dates are whole days (YYYY-MM-DD) in the time zone you pass; the current day is incomplete.

Changing spend (installed switched off): criteo_start_ad_set, criteo_stop_ad_set, criteo_update_ad_set_budget and criteo_update_ad_set_bid change what the advertiser pays. Turn them on only for workspaces that should manage campaigns, and give the app the Campaign manage domain. They answer errors and warnings per ad set even with HTTP 200: read them.

Limits and ids: client-credentials apps may make 250 calls per minute, reporting endpoints 40 per minute; a 429 carries x-ratelimit-reset. Ids are numeric strings. advertiser_ids in the report tools is one comma-separated string (12345,67890), in the search tools a list. The API version is part of each path; Criteo supports a stable version for 12 months.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Gemini

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of YOUR_MCP_API_KEY.
  2. Save the file and restart gemini.
  3. Run /mcp inside Gemini CLI (or gemini mcp list in your shell) — anythingmcp should show as connected.
  4. Start prompting — Gemini CLI can now call the Criteo tools.

Available tools

ToolWhat it does
criteo_list_advertisersList the advertisers this app may read: per advertiser its id and advertiserName. Only advertisers that granted consent to the app (consent…
criteo_get_app_infoRead the app behind the credentials: application id, name, organization and the type of OAuth flow. Useful to confirm which Criteo app the…
criteo_search_campaignsSearch campaigns by advertiser or campaign id: per campaign id, name, advertiserId, goal (Acquisition, Retention, Awareness...), spendLimit…
criteo_get_campaignRead one campaign: name, advertiserId, goal, spendLimit (amount, type and renewal), scheduled spend limits and budget automation. Read-only
criteo_search_ad_setsSearch ad sets by advertiser, campaign or ad set id: per ad set id, name, advertiserId, campaignId, datasetId, objective, schedule…
criteo_get_ad_setRead one ad set with its full configuration: schedule and delivery status, bidding, budget, scheduled budgets, targeting, attribution and…
criteo_get_category_bidsRead the bid per product category of one ad set: categoryName and bidAmount (advertiser currency, up to 4 decimals). Read-only
criteo_get_display_multipliersRead the display multiplier per product category of one ad set: categoryName and displayMultiplier (1 = neutral, above 1 shows the category…
criteo_list_adsList the ads of one advertiser, each binding a creative to an ad set: id, name, description, creativeId, adSetId, inventoryType, startDate…
criteo_get_adRead one ad: name, creativeId, adSetId, inventoryType, schedule and delivery status. Read-only
criteo_list_creativesList the creatives in the library of one advertiser: id, name, description, author, status, format (Image, HtmlTag, Dynamic, Adaptive…
criteo_list_couponsList the coupons of one advertiser: id, name, adSetId, format, start and end date, status and slide images. 50 per page by default (limit…
criteo_search_audience_segmentsSearch audience segments: per segment id, name, description, type (Retargeting, Lookalike, ContactList, InMarket, Prospecting, Location…
criteo_get_statistics_reportPerformance report by ad set and the dimensions you choose (day, campaign, ad, category, device, OS...), with the metrics you choose: e.g.…
criteo_get_transactions_reportList attributed transactions (sales) per transaction id: date, advertiser, ad set, transaction id as sent by the site, amount, currency…
criteo_get_placements_reportPerformance per placement (publisher domain or app) and environment (Web, Android, iOS): displays, clicks, cost, and sales, revenue, CoS…
criteo_start_ad_setStart one ad set so it delivers and spends again. Changes ad spend; installed switched off. Answers the ad set id, with errors and warnings…
criteo_stop_ad_setStop (pause) one ad set: it stops delivering until it is started again. Changes ad spend and traffic; installed switched off. Answers the…
criteo_update_ad_set_budgetSet the budget amount of one ad set, in the advertiser currency, for its current budget renewal (daily, monthly, lifetime). Changes ad…
criteo_update_ad_set_bidSet the bid amount of one ad set, in the advertiser currency (the meaning depends on its cost controller, e.g. cost per click or per…

Example prompts

  • "Which Criteo campaigns are running for our advertiser, and what are their ad set budgets?"
  • "Show last week's clicks, cost and revenue per campaign from the statistics report."
  • "Which placements brought the most sales in October?"
  • "Which audience segments do we have, and how large are they?"
  • "Which ad sets spent their whole daily budget yesterday?"

FAQ

Where do the credentials come from? From an app in the Criteo Partners Portal with client credentials and the Marketing Solutions service. Create a key to get the client ID and secret, then open the consent URL as a user who may grant access to the advertiser.

Does it cover Criteo Retail Media? No. It covers Criteo Marketing Solutions only: advertisers, campaigns, ad sets, ads, creatives, coupons, audience segments and the statistics, transactions and placements reports. Retail Media has a separate API.

Which tools install switched off? criteo_start_ad_set, criteo_stop_ad_set, criteo_update_ad_set_budget and criteo_update_ad_set_bid, because they change what the advertiser pays. Switch them on on the connector page and give the app the Campaign manage domain only if the AI should manage campaigns.

Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.

Next steps

Was this guide helpful?

Connect Criteo to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Criteo in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

Related guides

Connectors

Connect Criteo to ChatGPT via MCP

Criteo Marketing Solutions API for advertisers: campaigns, ad sets with budget, bids and targeting, ads, creatives, coupons, audience segments, and statistics, transactions and placements reports. Starting, stopping and budget or bid changes installed switched off. Client ID and secret.

Connectors

Connect Criteo to Claude via MCP

Criteo Marketing Solutions API for advertisers: campaigns, ad sets with budget, bids and targeting, ads, creatives, coupons, audience segments, and statistics, transactions and placements reports. Starting, stopping and budget or bid changes installed switched off. Client ID and secret.

Connectors

Connect Criteo to Microsoft Copilot via MCP

Criteo Marketing Solutions API for advertisers: campaigns, ad sets with budget, bids and targeting, ads, creatives, coupons, audience segments, and statistics, transactions and placements reports. Starting, stopping and budget or bid changes installed switched off. Client ID and secret.

Connectors

Connect Criteo to Cursor via MCP

Criteo Marketing Solutions API for advertisers: campaigns, ad sets with budget, bids and targeting, ads, creatives, coupons, audience segments, and statistics, transactions and placements reports. Starting, stopping and budget or bid changes installed switched off. Client ID and secret.

Connectors

Connect Criteo to Meta Muse via MCP

Criteo Marketing Solutions API for advertisers: campaigns, ad sets with budget, bids and targeting, ads, creatives, coupons, audience segments, and statistics, transactions and placements reports. Starting, stopping and budget or bid changes installed switched off. Client ID and secret.

Connectors

Criteo MCP Server: Campaigns, Ad Sets and Reports

Criteo Marketing Solutions API for advertisers: campaigns, ad sets with budget, bids and targeting, ads, creatives, coupons, audience segments, and statistics, transactions and placements reports. Starting, stopping and budget or bid changes installed switched off. Client ID and secret.