CoraPilot Google Ads API

The google-ads API from CoraPilot — 6 operation(s) for google-ads.

GitHub OpenAPI

Operations 6

GET /google-ads/connect Connect #
GET /google-ads/callback Callback #
GET /google-ads/status Status #
POST /google-ads/subscriptions/{sub_id}/link Link Subscription #
POST /google-ads/subscriptions/{sub_id}/write Toggle Write #
POST /google-ads/disconnect Disconnect #

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/corapilot-com:corapilot-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

corapilot-com-google-ads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Corapilot Com Google Ads API
  version: 0.1.0
  description: 'Operations tagged google-ads across 2 of this provider''s published API definitions: corapilot-com-openapi.json, corapilot-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://corapilot.com
  description: Host serving this spec (/openapi.json), its Swagger UI (/docs) and the OAuth-protected MCP resource (https://corapilot.com/mcp per /.well-known/oauth-protected-resource); the published spec carries no servers[].
tags:
- name: google-ads
paths:
  /google-ads/connect:
    get:
      tags:
      - google-ads
      summary: Connect
      description: Return the Google consent URL to start connecting Google Ads.
      operationId: connect_google_ads_connect_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Connect Google Ads Connect Get
      security:
      - HTTPBearer: []
  /google-ads/callback:
    get:
      tags:
      - google-ads
      summary: Callback
      description: 'OAuth redirect target: exchange the code and store the refresh token.'
      operationId: callback_google_ads_callback_get
      parameters:
      - name: state
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: State
      - name: code
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Code
      - name: error
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Error
      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: Status
      description: 'Connection status: whether Google is linked, accessible customer ids, and

        each subscription''s linked customer + write flag.'
      operationId: status_google_ads_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Status Google Ads Status Get
      security:
      - HTTPBearer: []
  /google-ads/subscriptions/{sub_id}/link:
    post:
      tags:
      - google-ads
      summary: Link Subscription
      description: Link a Google Ads subscription to a specific Google Ads customer id.
      operationId: link_subscription_google_ads_subscriptions__sub_id__link_post
      security:
      - HTTPBearer: []
      parameters:
      - name: sub_id
        in: path
        required: true
        schema:
          type: integer
          title: Sub Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Link Subscription Google Ads Subscriptions  Sub Id  Link Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google-ads/subscriptions/{sub_id}/write:
    post:
      tags:
      - google-ads
      summary: Toggle Write
      description: Allow/deny the AI making changes (writes) for a linked subscription.
      operationId: toggle_write_google_ads_subscriptions__sub_id__write_post
      security:
      - HTTPBearer: []
      parameters:
      - name: sub_id
        in: path
        required: true
        schema:
          type: integer
          title: Sub Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WriteToggle'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Toggle Write Google Ads Subscriptions  Sub Id  Write Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google-ads/disconnect:
    post:
      tags:
      - google-ads
      summary: Disconnect
      description: Remove the stored Google connection (subscriptions/links are kept).
      operationId: disconnect_google_ads_disconnect_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Disconnect Google Ads Disconnect Post
      security:
      - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WriteToggle:
      properties:
        write_enabled:
          type: boolean
          title: Write Enabled
      type: object
      required:
      - write_enabled
      title: WriteToggle
    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
    LinkRequest:
      properties:
        customer_id:
          type: string
          title: Customer Id
        label:
          anyOf:
          - type: string
          - type: 'null'
          title: Label
      type: object
      required:
      - customer_id
      title: LinkRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- corapilot-com-openapi.json
- corapilot-com-openapi.yml