How to integrate AdRoll MCP with Atomic Agent

Connect Atomic Agent to AdRoll MCP. Create retargeting audience from website visitors, pause underperforming campaigns across all accounts, and more using natural language, with authentication handled for you.

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

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,500+ apps through Composio, including AdRoll.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a AdRoll account. See the Atomic Agent documentation for installation instructions.

Also integrate AdRoll with

How Atomic Agent connects to AdRoll

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect AdRoll to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in AdRoll. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your AdRoll account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the AdRoll MCP server, and what's possible with it?

The AdRoll MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your AdRoll account. It provides structured and secure access so your agent can perform AdRoll operations on your behalf.

Use AdRoll from Atomic Agent

With your account connected, ask Atomic Agent to work with AdRoll in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

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 only its geotarget configuration.

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 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 using a caller-provided complete campaign set.

Update Cross-Device Opt-In

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

FAQ

Frequently asked questions

With a standalone AdRoll MCP server, the agents and LLMs can only access a fixed set of AdRoll tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from AdRoll and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Atomic Agent fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right AdRoll tools.

Yes, absolutely. You can configure which AdRoll scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your AdRoll data and credentials are handled as safely as possible.

Start with AdRoll.It takes 30 seconds.

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

Start building