AdvisorPPC Ads API

The ads API from AdvisorPPC — 6 operation(s) for ads.

Operations 6

GET /api/ads/openai/campaigns List Campaigns #
POST /api/ads/openai/campaigns/{campaign_id}/pause Pause Campaign #
POST /api/ads/openai/campaigns/{campaign_id}/activate Activate Campaign #
GET /api/ads/campaigns List Shared Campaigns #
POST /api/ads/campaigns/{campaign_id}/pause Pause Shared Campaign #
POST /api/ads/campaigns/{campaign_id}/activate Activate Shared Campaign #

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/advisorppc-com:advisorppc-com-ads-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

advisorppc-com-ads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AdvisorPPC Ads API
  version: 0.1.0
tags:
- name: Ads
paths:
  /api/ads/openai/campaigns:
    get:
      tags:
      - Ads
      summary: List Campaigns
      operationId: list_campaigns_api_ads_openai_campaigns_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignsOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/ads/openai/campaigns/{campaign_id}/pause:
    post:
      tags:
      - Ads
      summary: Pause Campaign
      operationId: pause_campaign_api_ads_openai_campaigns__campaign_id__pause_post
      security:
      - HTTPBearer: []
      parameters:
      - name: campaign_id
        in: path
        required: true
        schema:
          type: string
          title: Campaign Id
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignStatusOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/ads/openai/campaigns/{campaign_id}/activate:
    post:
      tags:
      - Ads
      summary: Activate Campaign
      operationId: activate_campaign_api_ads_openai_campaigns__campaign_id__activate_post
      security:
      - HTTPBearer: []
      parameters:
      - name: campaign_id
        in: path
        required: true
        schema:
          type: string
          title: Campaign Id
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignStatusOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/ads/campaigns:
    get:
      tags:
      - Ads
      summary: List Shared Campaigns
      operationId: list_shared_campaigns_api_ads_campaigns_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignsOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/ads/campaigns/{campaign_id}/pause:
    post:
      tags:
      - Ads
      summary: Pause Shared Campaign
      operationId: pause_shared_campaign_api_ads_campaigns__campaign_id__pause_post
      security:
      - HTTPBearer: []
      parameters:
      - name: campaign_id
        in: path
        required: true
        schema:
          type: string
          title: Campaign Id
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignStatusOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/ads/campaigns/{campaign_id}/activate:
    post:
      tags:
      - Ads
      summary: Activate Shared Campaign
      operationId: activate_shared_campaign_api_ads_campaigns__campaign_id__activate_post
      security:
      - HTTPBearer: []
      parameters:
      - name: campaign_id
        in: path
        required: true
        schema:
          type: string
          title: Campaign Id
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignStatusOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CampaignsOut:
      properties:
        campaigns:
          items:
            $ref: '#/components/schemas/CampaignOut'
          type: array
          title: Campaigns
      type: object
      required:
      - campaigns
      title: CampaignsOut
    CampaignStatusOut:
      properties:
        id:
          type: string
          title: Id
        status:
          type: string
          title: Status
      type: object
      required:
      - id
      - status
      title: CampaignStatusOut
    CampaignOut:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        status:
          type: string
          title: Status
        spend:
          type: number
          title: Spend
        clicks:
          type: integer
          title: Clicks
        impressions:
          type: integer
          title: Impressions
        ctr:
          type: number
          title: Ctr
        cpc:
          type: number
          title: Cpc
      type: object
      required:
      - id
      - name
      - status
      - spend
      - clicks
      - impressions
      - ctr
      - cpc
      title: CampaignOut
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer