AdRoll MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with AdRoll MCP or direct API to manage campaigns, create and update audiences, pull performance reports, and adjust bids and budgets through natural language.

AdRoll logoAdRoll
Oauth2

AdRoll is a digital marketing platform for managing advertising campaigns, audiences, and account-based marketing. It helps marketers retarget customers across channels and measure performance.

51 Tools

Try AdRoll now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
AdRoll
Try asking
TOOLS

Supported Tools

Every AdRoll action and event your agent gets out of the box.

Create Ad

Create an ad for an advertisable, optionally creating nested assets that do not have EIDs in the same operation.

Create Adgroup

Create a web-retargeting adgroup under a Campaign v3 campaign.

Create Advertisable

Create an advertisable in an organization owned by the connected account.

Create Asset

Create an asset.

Create Campaign

Create a web-retargeting campaign under a Campaign v3 strategy.

Create Marketplace Mapping

Create a marketplace-to-merchant mapping.

Create Rule

Create a pixel rule.

Create Segment

Create one audience segment for an advertiser and seed it with user identifiers.

Create Strategy

Create a Campaign v3 strategy under an advertisable.

Delete Segment

Delete one existing audience segment.

Edit Advertisable

Edit the name, URL, or country code of an accessible advertisable.

Get Ad

Retrieve an ad by its Ad API resource eid, not its Reporting adroll_ad_eid.

Get Adgroup

Fetch one Campaign v3 adgroup by EID.

Get Adgroup Geotargets

Fetch a Campaign v3 adgroup and return its geotargets.

Get Advertisable

Fetch an advertisable by EID.

Get Advertisable Pixel

Fetch the active pixel for an accessible advertisable.

Get Asset

Retrieve an asset by its EID.

Get Campaign

Fetch one Campaign v3 campaign by advertisable and campaign EID.

Get Consent Banner

Fetch an advertisable's consent banner state.

Get Current Organization

Return the connected account's current organization from Reporting GraphQL, including nested advertisables.

Get Marketplace Mappings

Retrieve marketplace mappings for a parent marketplace advertisable and child merchant advertisable.

Get Pixel

Fetch a pixel by EID.

Get Pixel Segments

Fetch segments associated with a pixel.

Get Rule

Fetch a rule by EID, including its generated segments when returned.

Get Rule Segments

Fetch the segments associated with a specific rule.

Get Segment

Return one audience segment, optionally including general-exclusion attributes or an inactive segment.

Get Strategy

Fetch one Campaign v3 strategy by EID.

Get Cross-Device Opt-In

Retrieve an accessible advertisable's cross-device graph opt-in setting.

List Adgroups

Return Reporting GraphQL adgroups for one campaign.

List Ads

Retrieve one numbered page of ads for an advertisable, or set all='true' to request all matching ads.

List Advertisables

Fetch one numbered page of advertisables associated with an organization; omitted pagination inputs send page 1 with 10 records.

List Assets

Retrieve one numbered page of assets belonging to an advertisable; omitted pagination inputs send page 1 with 10 records.

List Campaigns

Return Reporting GraphQL campaigns for one advertisable.

List Segments

Return audience segments for an advertiser, optionally filtered by segment type.

List Strategies

Return strategies for an advertisable.

Query Reporting Adgroups

Query adgroups by campaign, advertisable, one EID, or many EIDs with nested relations and optional date/currency metrics.

Query Reporting Ads

Query ads by adgroup, advertisable, or Reporting EIDs (`adroll_ad_eid` from the Ad API), with optional date/currency metrics; parent lookup preserves adgroup relationship state.

Query Reporting Advertisables

Query advertisables by user, organization, one EID, or many EIDs with nested relations and optional date/currency metrics.

Query Reporting Campaigns

Query campaigns by advertisable, organization, one EID, or many EIDs with nested relations and optional date/currency metrics.

Query Reporting Organizations

Query the current AdRoll organization or organizations by one or many EIDs, including nested advertisables.

Run Reporting GraphQL Query

Execute one AdRoll Reporting GraphQL document and preserve complete or partial provider data, errors, request ID, and version.

Query Reporting Segments

Query direct segment metadata or parent-scoped campaign/adgroup audiences with relationship state and optional date-scoped audience-size metrics.

Run Performance Report

Return current AdRoll GraphQL delivery metrics for advertisables, campaigns, adgroups, or ads, optionally with attribution metrics, as an aggregate summary, aggregate daily rows, or per-entity summaries.

Search Geotargets

Search AdRoll geotargets by a location-name prefix and optional types.

Set Campaign Status

Pause or activate one campaign through the Campaign v3 edit operation.

Update Adgroup

Edit one web-retargeting or web-prospecting Campaign v3 adgroup.

Update Campaign

Edit one Campaign v3 web-retargeting or web-prospecting campaign.

Update Consent Banner

Create or update an advertisable's consent banner configuration.

Update Segment

Update audience-segment information and submit its user-record payload.

Update Strategy

Edit a Campaign v3 strategy containing only web-retargeting or web-prospecting campaigns using a complete campaign set.

Update Cross-Device Opt-In

Update an accessible advertisable's cross-device graph opt-in setting; provider feature access is required.

SETUP GUIDE

Connect AdRoll MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK for Python or TypeScript
2

Initialize Client and Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
Import and initialize the Composio client, then create a Tool Router session for AdRoll
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'YOUR_SPECIFIC_PROMPT_HERE'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent (Anthropic Claude or Mastra)
SETUP GUIDE

Connect AdRoll API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute AdRoll Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'YOUR_SPECIFIC_PROMPT_HERE'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute AdRoll actions with your Agent

Why Use Composio?

AI Native AdRoll Integration

  • Supports both AdRoll MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your AdRoll data

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke AdRoll access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access AdRoll
  • Scoped, least privilege access to AdRoll resources
  • Full audit trail of agent actions to support review and compliance

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with AdRoll.It takes 30 seconds.

Managed auth, hosted MCP servers, and every AdRoll tool your agent needs.Free to start.

Start building