ShapelessAI Ads API

The Ads API from ShapelessAI — 1 operation(s) for ads.

GitHub OpenAPI

Operations 8

DELETE /api/ads/campaigns Agents (strategies) and the manager #
GET /api/ads/campaigns Agents (strategies) and the manager #
POST /api/ads/campaigns Agents (strategies) and the manager #
GET /api/ads/performance Paid campaign performance #
POST /api/ads/refresh Refresh paid campaign data #
GET /api/ads/campaigns/{id} One Meta campaign as Meta has it now (status, budget, end date) #
POST /api/ads/campaigns/{id} Pause, resume, re-budget or re-date a Meta campaign; spend-raising changes… #
DELETE /api/ads/campaigns/{id} Delete a Meta 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/shapelessai:shapelessai-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

shapelessai-ads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shapelessai Ads API
  x-refined-note:
  - x-authored-by differs across the merged source definitions and was not carried
  - x-engine differs across the merged source definitions and was not carried
  - x-evidence-tiers differs across the merged source definitions and was not carried
  - x-generated differs across the merged source definitions and was not carried
  - x-generated-from differs across the merged source definitions and was not carried
  - x-generator differs across the merged source definitions and was not carried
  - x-provenance differs across the merged source definitions and was not carried
  - x-sources differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Ads across 2 of this provider''s published API definitions: shapelessai-openapi-generated.yml, shapelessai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://shapelessai.com
tags:
- name: Ads
paths:
  /api/ads/campaigns:
    delete:
      operationId: delete_api_ads_campaigns
      tags:
      - Ads
      summary: Agents (strategies) and the manager
      x-source: https://shapelessai.com/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
      security:
      - bearer: []
    get:
      operationId: get_api_ads_campaigns
      tags:
      - Ads
      summary: Agents (strategies) and the manager
      x-source: https://shapelessai.com/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
      security:
      - bearer: []
    post:
      operationId: post_api_ads_campaigns
      tags:
      - Ads
      summary: Agents (strategies) and the manager
      x-source: https://shapelessai.com/docs/api
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
      security:
      - bearer: []
  /api/ads/performance:
    get:
      summary: Paid campaign performance
      operationId: getAdsPerformance
      responses:
        '200':
          description: OK
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "read" scope.
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - read
      - oauth:
        - read
      x-scope: read
      x-status: live
      tags:
      - Ads
    servers:
    - url: https://shapelessai.com
  /api/ads/refresh:
    post:
      summary: Refresh paid campaign data
      operationId: postAdsRefresh
      responses:
        '200':
          description: OK
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "write" scope.
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - write
      - oauth:
        - write
      x-scope: write
      x-status: live
      tags:
      - Ads
    servers:
    - url: https://shapelessai.com
  /api/ads/campaigns/{id}:
    get:
      summary: One Meta campaign as Meta has it now (status, budget, end date)
      operationId: getAdsCampaignsId
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "read" scope.
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - read
      - oauth:
        - read
      x-scope: read
      x-status: live
      tags:
      - Ads
    post:
      summary: Pause, resume, re-budget or re-date a Meta campaign; spend-raising changes…
      operationId: postAdsCampaignsId
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "publish" scope.
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - publish
      - oauth:
        - publish
      x-scope: publish
      x-status: live
      tags:
      - Ads
    delete:
      summary: Delete a Meta campaign
      operationId: deleteAdsCampaignsId
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          description: No credential, or not valid.
        '403':
          description: The key is missing the "publish" scope.
        '429':
          description: Over the key's rate limit (600 requests an hour).
      security:
      - apiKey:
        - publish
      - oauth:
        - publish
      x-scope: publish
      x-status: live
      tags:
      - Ads
    servers:
    - url: https://shapelessai.com
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
    apiKey:
      type: http
      scheme: bearer
      description: slk_... key; scopes read, write, publish.
    oauth:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://shapelessai.com/api/auth/mcp/authorize
          tokenUrl: https://shapelessai.com/api/auth/mcp/token
          scopes:
            read: Read anything the account holds.
            write: 'Create and edit: jobs, drafts, agents, Brand Memory.'
            publish: Anything that goes out to a platform, or spends.
            wiki: Write to the wiki at /vizipedia as this account, and nothing else. A key with `write` covers it.
x-refined-from:
- shapelessai-openapi-generated.yml
- shapelessai-openapi.json