XeoRank Google Ads API

The google-ads API from XeoRank — 5 operation(s) for google-ads.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /google-ads/auth-url Ads Auth Url #
GET /google-ads/callback Ads Callback #
GET /google-ads/status Ads Status #
POST /google-ads/disconnect Ads Disconnect #
POST /google-ads/keyword-ideas Ads Keyword Ideas #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/xeorank-com:xeorank-com-google-ads-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

xeorank-com-google-ads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SEO Intelligence Engine Google Ads API
  version: 0.1.0
tags:
- name: google-ads
paths:
  /google-ads/auth-url:
    get:
      tags:
      - google-ads
      summary: Ads Auth Url
      description: Return the Google OAuth URL for the adwords scope.
      operationId: ads_auth_url_google_ads_auth_url_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: true
        schema:
          type: string
          description: Signed-in user email
          title: Email
        description: Signed-in user email
      - name: site_id
        in: query
        required: true
        schema:
          type: string
          description: Site UUID to connect Google Ads to
          title: Site Id
        description: Site UUID to connect Google Ads to
      - name: origin
        in: query
        required: false
        schema:
          type: string
          description: Frontend origin to return to after auth
          default: ''
          title: Origin
        description: Frontend origin to return to after auth
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Ads Auth Url Google Ads Auth Url Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google-ads/callback:
    get:
      tags:
      - google-ads
      summary: Ads Callback
      description: 'OAuth callback: upsert the connection, redirect to the Integrations tab.'
      operationId: ads_callback_google_ads_callback_get
      parameters:
      - name: code
        in: query
        required: true
        schema:
          type: string
          description: OAuth authorization code
          title: Code
        description: OAuth authorization code
      - name: state
        in: query
        required: true
        schema:
          type: string
          description: Encoded state from auth-url
          title: State
        description: Encoded state from auth-url
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google-ads/status:
    get:
      tags:
      - google-ads
      summary: Ads Status
      description: Connection + activation status for a site's Google Ads integration.
      operationId: ads_status_google_ads_status_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: true
        schema:
          type: string
          title: Email
      - name: site_id
        in: query
        required: true
        schema:
          type: string
          title: Site Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Ads Status Google Ads Status Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google-ads/disconnect:
    post:
      tags:
      - google-ads
      summary: Ads Disconnect
      description: Deactivate a site's Google Ads connection.
      operationId: ads_disconnect_google_ads_disconnect_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: true
        schema:
          type: string
          title: Email
      - name: site_id
        in: query
        required: true
        schema:
          type: string
          title: Site Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Ads Disconnect Google Ads Disconnect Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google-ads/keyword-ideas:
    post:
      tags:
      - google-ads
      summary: Ads Keyword Ideas
      description: 'Keyword Planner ideas — ONLY when the integration is fully active.


        Dormant path returns HTTP 200 with ``configured: false`` (never a 500)

        so agents cleanly fall back to their own ideation + XeoRank storage.'
      operationId: ads_keyword_ideas_google_ads_keyword_ideas_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: email
        in: query
        required: true
        schema:
          type: string
          title: Email
      - name: site_id
        in: query
        required: true
        schema:
          type: string
          title: Site Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdsKeywordIdeasRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Ads Keyword Ideas Google Ads Keyword Ideas Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AdsKeywordIdeasRequest:
      properties:
        seeds:
          items:
            type: string
          type: array
          maxItems: 20
          minItems: 1
          title: Seeds
        limit:
          type: integer
          maximum: 300.0
          minimum: 1.0
          title: Limit
          default: 100
        location_code:
          type: integer
          title: Location Code
          default: 2840
      type: object
      required:
      - seeds
      title: AdsKeywordIdeasRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-Agent-Key