OpenRush · Schema

AdPerformanceRequest

get_ad_performance (§13.1). The single, platform-normalized ad-performance tool. `platform` is optional (inferred when one ad platform is connected; a typed `platform_required` recovery lists options when several are). `ad_account` is the selector: an OPAQUE OpenRush id (never a raw customer id) — single-account callers omit it and it is inferred, multiple activated accounts return `account_required` with the accounts listed by name so the agent can pick one. `report`/`group_by`/period/compare_to are validated in the service so the typed-400 error taxonomy stays uniform.

Marketing IntelligenceSEOAI AgentsData APICompetitor Analysis

Properties

Name Type Description
platform object
ad_account object
period string
compare_to string
report string
group_by array
filters array
limit integer
complete_days_only boolean
View JSON Schema on GitHub

JSON Schema

openrush-com-ad-performance-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openrush-com/json-schema/openrush-com-ad-performance-request-schema.json",
  "title": "AdPerformanceRequest",
  "description": "get_ad_performance (§13.1). The single, platform-normalized ad-performance\ntool. `platform` is optional (inferred when one ad platform is connected; a\ntyped `platform_required` recovery lists options when several are). `ad_account`\nis the selector: an OPAQUE OpenRush id (never a raw customer id) — single-account\ncallers omit it and it is inferred, multiple activated accounts return\n`account_required` with the accounts listed by name so the agent can pick one.\n`report`/`group_by`/period/compare_to are validated in the service so the\ntyped-400 error taxonomy stays uniform.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openrush-com-openapi.json#/components/schemas/AdPerformanceRequest",
  "properties": {
    "platform": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40
        },
        {
          "type": "null"
        }
      ],
      "title": "Platform"
    },
    "ad_account": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Ad Account"
    },
    "period": {
      "type": "string",
      "title": "Period",
      "default": "last_28_days"
    },
    "compare_to": {
      "type": "string",
      "title": "Compare To",
      "default": "previous_period"
    },
    "report": {
      "type": "string",
      "title": "Report",
      "default": "overview"
    },
    "group_by": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 2,
      "title": "Group By"
    },
    "filters": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "maxItems": 10,
      "title": "Filters"
    },
    "limit": {
      "type": "integer",
      "maximum": 1000.0,
      "minimum": 1.0,
      "title": "Limit",
      "default": 100
    },
    "complete_days_only": {
      "type": "boolean",
      "title": "Complete Days Only",
      "default": false
    }
  },
  "type": "object"
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/openrush-com-ad-performance-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.