How to integrate AdRoll MCP with Hermes

Connect Hermes 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

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your AdRoll account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate AdRoll with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,500+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating AdRoll with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to AdRoll

Ask your agent to connect to AdRoll, or simply request any AdRoll-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new AdRoll connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to AdRoll or request any AdRoll-related task. It will prompt you to authenticate and authorize access.

5. Done!

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.

Way Forward

With AdRoll connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

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. Hermes 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