> ## Documentation Index
> Fetch the complete documentation index at: https://x-preview-mintlify-1336ce48.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Use the X Ads API to programmatically manage ad campaigns, audiences, creatives, and reporting on the X advertising platform with OAuth-authenticated endpoints.

export const Button = ({href, children}) => {
  return <div className="not-prose">
    <a href={href}>
      <button className="x-btn">
        <span>{children}</span>
        <svg width="3" height="24" viewBox="0 -9 3 24" class="h-6 rotate-0 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
      </button>
    </a>
  </div>;
};

## Connect to the X Ads platform

The X Ads API connects developers to X's advertising platform to build solutions to meet the needs of X's advertisers around the world.

<Button href="/x-ads-api/getting-started">
  Get started
</Button>

***

<CardGroup cols={2}>
  <Card title="Campaign management" icon="list-check" href="/x-ads-api/campaign-management">Programmatically create, schedule, and manage ad campaigns to engage people on X.</Card>
  <Card title="Custom audiences" href="/x-ads-api/audiences" icon="user-group">Create and manage Tailored Audiences using X, web or mobile data you provide.</Card>
  <Card title="Creatives" href="/x-ads-api/creatives" icon="paintbrush">Draft and publish posts, extend the functionality of posts with Cards and manage and upload images and videos.</Card>
  <Card title="Advertising analytics" href="/x-ads-api/analytics" icon="chart-pie">Use async and synchronous API endpoints to retrieve granular insights of ad campaigns by a full range of metrics.</Card>
  <Card title="Tools and libraries" href="/x-ads-api/tools-and-libraries" icon="https://mintcdn.com/x-preview-mintlify-1336ce48/9xDdVgd8Pu6R9dbY/icons/xds/icon-wrench.svg?fit=max&auto=format&n=9xDdVgd8Pu6R9dbY&q=85&s=b94b595dda3ee53eddadc1f6190b4f4a" width="24" height="24" data-path="icons/xds/icon-wrench.svg">Check out our curated selection of X-built and community-supported client libraries.</Card>
  <Card title="Postman collection" href="https://documenter.getpostman.com/view/7379786/SzRw1WTU" icon="https://mintcdn.com/x-preview-mintlify-1336ce48/DKj4lmGHqvWedQtP/icons/xds/icon-code.svg?fit=max&auto=format&n=DKj4lmGHqvWedQtP&q=85&s=14fca90a5f11b8ca892da2b0592c29d4" width="24" height="24" data-path="icons/xds/icon-code.svg">Explore our v2 endpoints with a curated Postman collection and visual client.</Card>
  <Card title="Command line tool" href="https://github.com/xdevplatform/xurl" icon="terminal">Work with our endpoints from your terminal using xurl.</Card>
  <Card title="X Ads MCP" href="/x-ads-api/mcp" icon="https://mintcdn.com/x-preview-mintlify-1336ce48/6wa0badRuB6CtUnO/icons/xds/icon-ai-agents.svg?fit=max&auto=format&n=6wa0badRuB6CtUnO&q=85&s=008bd4b3c230941bc55ed8e6d5bb1d85" width="24" height="24" data-path="icons/xds/icon-ai-agents.svg">Connect AI tools to the X Ads API.</Card>
</CardGroup>

## Get Ads API access

To request Ads API access, submit the [Ads API Access Form](/forms/ads-api-access). Allow up to 3 business days for review.

## Need help?

Visit our support section for troubleshooting tips, contact details, a live API status monitor, and other resources.

[Visit the Ads API support section](https://developer.x.com/en/support/twitter-ads-api.html)

***

Help us build the next generation of the X API: [Give us your product feedback >](https://twitterdevfeedback.uservoice.com/forums/930250-twitter-api)
