# Gravity - [Introduction](https://docs.trygravity.com/index.md): Who Gravity is for, and where to start. - [Overview](https://docs.trygravity.com/introduction/overview.md): How Gravity connects advertisers, AI apps, and their users. - [How it works](https://docs.trygravity.com/introduction/how-it-works.md): The request flow, the auction, and how Gravity matches ads to a conversation. - [Core concepts](https://docs.trygravity.com/introduction/concepts.md): The Gravity glossary: one short definition for each term that the docs use. - [Advertiser quickstart](https://docs.trygravity.com/advertisers/quickstart.md): Add a payment method, set up conversion tracking, and launch your first campaign. - [Campaigns](https://docs.trygravity.com/advertisers/campaigns.md): Campaign objectives, ad groups, targeting, bids, and budgets. - [Advertiser pixel](https://docs.trygravity.com/advertisers/pixel.md): Install the Gravity Pixel to connect website activity to the Gravity ad that caused it. - [Server-side conversions (CAPI)](https://docs.trygravity.com/advertisers/server-conversions.md): Send conversion events from your backend to the Gravity Conversions API. - [Browser conversion tag](https://docs.trygravity.com/advertisers/browser-conversions.md): Send conversions from a web page or Google Tag Manager with conversion.js and your advertiser ID. - [Integrations](https://docs.trygravity.com/advertisers/integrations.md): Track purchases and bookings with Shopify, Stripe, or Cal.com. - [App install tracking](https://docs.trygravity.com/advertisers/app-installs.md): Track iOS and Android app installs and in-app events as Gravity conversions. - [Tracking CLI](https://docs.trygravity.com/advertisers/tracking-cli.md): Set up the Pixel and server-side conversion tracking with your coding agent. - [Dashboard API](https://docs.trygravity.com/advertisers/dashboard-api.md): Read your advertiser reports and manage campaigns from code with your API key. - [Dashboard MCP server for advertisers](https://docs.trygravity.com/advertisers/dashboard-mcp.md): Connect an AI agent to your advertiser account. The agent can read reports and manage campaigns. - [AI platform quickstart](https://docs.trygravity.com/ai-platforms/quickstart.md): Show your first Gravity ad in your AI product. Create an account, install the SDK, request an ad, and show it. - [Integration guide](https://docs.trygravity.com/ai-platforms/integration-guide.md): The full AI platform process: design, integrate, test, install the pixel, go live, and get paid. - [Inference API](https://docs.trygravity.com/ai-platforms/inference.md): Serve free LLM inference to your users with Gravity's OpenAI-compatible endpoint. Covered by ad payouts during the pilot. - [Guidelines](https://docs.trygravity.com/ai-platforms/publisher-requirements.md): The AI Platform Guidelines for platforms that show Gravity ads, and the review before you go live. - [Request ads](https://docs.trygravity.com/ai-platforms/request-ads.md): Request ads from your server with the SDK or the HTTP API: request fields, device signals, user data, response, and options. - [Show ads](https://docs.trygravity.com/ai-platforms/show-ads.md): Show Gravity ads in your UI with the React component, or with your own component. - [Ad formats](https://docs.trygravity.com/ai-platforms/ad-formats.md): The ad formats Gravity serves to AI platforms, what each looks like, and how to show it. - [Pixel](https://docs.trygravity.com/ai-platforms/pixel.md): Install the Gravity pixel on your website and in your in-app browser. The pixel is required for attribution, measurement, and payouts. - [Placements](https://docs.trygravity.com/ai-platforms/placements.md): Placements are the ad slots in your UI. Register them, name them, and use them to tune fill, match quality, and the user experience. - [Impression & click tracking proxy](https://docs.trygravity.com/ai-platforms/tracking-proxy.md): Send impression and click tracking through your own domain, so that you can log each event on your server. - [Server-rendered ads](https://docs.trygravity.com/sdks/server-rendered-ads.md): Show the ad designs that Gravity manages, with the official SDKs. - [JavaScript and React SDKs](https://docs.trygravity.com/sdks/javascript.md): Request Gravity ads from JavaScript or TypeScript, and show them in React. - [React Native SDK](https://docs.trygravity.com/sdks/react-native.md): Show Gravity ads as native views in React Native apps. - [Python SDK](https://docs.trygravity.com/sdks/python.md): Request contextual ads from the Gravity API in a Python server. - [iOS SDK](https://docs.trygravity.com/sdks/ios.md): Add Gravity contextual ads to iOS, macOS, tvOS, and watchOS apps with the Swift SDK. - [Android SDK](https://docs.trygravity.com/sdks/android.md): Add Gravity contextual ads to Android apps with the Kotlin SDK. - [Terminal / CLI SDK](https://docs.trygravity.com/sdks/terminal.md): Add Gravity ads and tracking to Node.js, Bun, and Deno terminal apps with @gravity-ai/api. - [Experiments](https://docs.trygravity.com/ai-platforms/experiments.md): Gravity tests ad designs on your traffic. You do not change your code. - [Understand what your users earn you](https://docs.trygravity.com/ai-platforms/user-earnings.md): Send user tags and model usage on your ad requests to see earnings and model cost per user group. - [Going live](https://docs.trygravity.com/ai-platforms/going-live.md): The checklist to do before you change to production mode and serve real ads. - [Payouts & analytics](https://docs.trygravity.com/ai-platforms/payouts.md): How Gravity pays you, how to connect your payout account, and what your dashboard shows. - [Gravity Index](https://docs.trygravity.com/gravity-index/introduction.md): A recommendation API for AI agents. It finds developer services and consumer products for your users. - [Install](https://docs.trygravity.com/gravity-index/install.md): Connect the Gravity Index to your agent, your editor, or your terminal. - [Conversation context](https://docs.trygravity.com/gravity-index/conversation-context.md): Send your session ID, and the Index recommends from the full conversation, not only from the current query. - [MCP Server](https://docs.trygravity.com/gravity-index/mcp.md): Give your AI agent the Gravity Index as a set of MCP tools. - [CLI](https://docs.trygravity.com/gravity-index/cli.md): Search the Gravity Index from the terminal. - [Search](https://docs.trygravity.com/gravity-index/search.md): Find the best developer service for a task. - [Product search](https://docs.trygravity.com/gravity-index/products.md): Find consumer products that a user can buy (shoes, cookware, electronics), not developer tools. - [Publisher performance](https://docs.trygravity.com/gravity-index/publisher-performance.md): Read the numbers of your Index dashboard with your publisher API key. - [Agent Purchases](https://docs.trygravity.com/gravity-index/link-purchases.md): Report to Gravity the purchases that your agent completes with Stripe Link. - [For Service Providers](https://docs.trygravity.com/gravity-index/for-service-providers.md): List your service in the Gravity Index and pay only for confirmed signups from AI agents. - [Dashboard API](https://docs.trygravity.com/ai-platforms/dashboard-api.md): Read your earnings and create placements from code with your API key. - [Dashboard MCP server for publishers](https://docs.trygravity.com/ai-platforms/dashboard-mcp.md): Connect an AI agent to your publisher account. The agent can read earnings reports and manage placements. - [Ad serving API](https://docs.trygravity.com/engine/introduction.md): The public Gravity ad serving API: the endpoints, the hosts, authentication, and common errors. - [Contextual Ads](https://docs.trygravity.com/engine/contextual-ads.md): Get ads that match the conversation context. - [Ad Feedback](https://docs.trygravity.com/engine/ad-feedback.md): Let users react to ads with a thumbs up or a thumbs down. - [Advertiser APIs](https://docs.trygravity.com/api-reference/advertiser/overview.md): Base URL, authentication, limits, and conventions for the advertiser Dashboard API. - [Reports and account data](https://docs.trygravity.com/api-reference/advertiser/reports.md): Read your profile, campaigns, metrics, conversions, billing, pixel events, and integrations. - [Campaigns](https://docs.trygravity.com/api-reference/advertiser/campaigns.md): Create, change, pause, and archive campaigns. - [Ad groups and ads](https://docs.trygravity.com/api-reference/advertiser/ad-groups.md): Create and manage the ad groups and ads of a campaign. - [Targeting](https://docs.trygravity.com/api-reference/advertiser/targeting.md): Look up geo targets and manage the customer-list audiences that campaigns target. - [Pixels](https://docs.trygravity.com/api-reference/advertiser/pixels.md): Create and list the conversion pixels of your account. - [Full dashboard access](https://docs.trygravity.com/api-reference/advertiser/dashboard-access.md): Use the /dashboard routes to reach every dashboard feature with your API key. - [Errors](https://docs.trygravity.com/api-reference/advertiser/errors.md): The error statuses of the advertiser Dashboard API and what causes them. - [Deprecated endpoints and fields](https://docs.trygravity.com/api-reference/advertiser/deprecated.md): Legacy ad unit endpoints and legacy fields that still work but have newer replacements. - [Publisher APIs](https://docs.trygravity.com/api-reference/publisher/overview.md): Base URL, authentication, limits, and conventions for the publisher Dashboard API. - [Reports and earnings](https://docs.trygravity.com/api-reference/publisher/reports.md): Read your profile, earnings, request funnel, and results by device and country. - [Placements](https://docs.trygravity.com/api-reference/publisher/placements.md): Create placements and read the results of each placement. - [Users and segments](https://docs.trygravity.com/api-reference/publisher/users-and-segments.md): Rank your users by usage and value, and attach email identities. - [Revenue insights and agreement statements](https://docs.trygravity.com/api-reference/publisher/revenue.md): See what your users earn you and what they cost to serve, and read the monthly statement of a qualifying-request agreement. - [Full dashboard access](https://docs.trygravity.com/api-reference/publisher/dashboard-access.md): Use the /dashboard routes to reach every dashboard feature with your API key. - [Errors](https://docs.trygravity.com/api-reference/publisher/errors.md): The error statuses of the publisher Dashboard API and what causes them. - [Changelog](https://docs.trygravity.com/changelog.md): New features and fixes in Gravity for advertisers and publishers, newest first. - [Docs for AI tools](https://docs.trygravity.com/agents/overview.md): Let your coding agent or AI assistant read and search these docs. - [Docs MCP server](https://docs.trygravity.com/agents/docs-mcp.md): Let an AI tool search and read the Gravity docs. It has no access to your account. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.