Google Ads · Schema

SearchGoogleAdsRequest

AdvertisingCampaign ManagementDigital AdvertisingGoogleMarketingPPCGoogle AdsAdTech

Properties

Name Type Description
query string Google Ads Query Language (GAQL) query string. Specifies the resources, segments, metrics, and filtering criteria for the data to retrieve.
pageToken string Token for pagination to retrieve the next page of results.
pageSize integer Number of results per page. Default is 10000.
validateOnly boolean If true, the query is validated but not executed.
returnTotalResultsCount boolean If true, includes the total number of results in the response.
summaryRowSetting string Determines whether a summary row is returned.
View JSON Schema on GitHub

JSON Schema

google-ads-search-google-ads-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-ads/json-schema/google-ads-search-google-ads-request-schema.json",
  "title": "SearchGoogleAdsRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-ads-reporting-api-openapi.yml#/components/schemas/SearchGoogleAdsRequest",
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Google Ads Query Language (GAQL) query string. Specifies the\nresources, segments, metrics, and filtering criteria for the data\nto retrieve.\n"
    },
    "pageToken": {
      "type": "string",
      "description": "Token for pagination to retrieve the next page of results."
    },
    "pageSize": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000,
      "description": "Number of results per page. Default is 10000."
    },
    "validateOnly": {
      "type": "boolean",
      "description": "If true, the query is validated but not executed."
    },
    "returnTotalResultsCount": {
      "type": "boolean",
      "description": "If true, includes the total number of results in the response."
    },
    "summaryRowSetting": {
      "type": "string",
      "enum": [
        "NO_SUMMARY_ROW",
        "SUMMARY_ROW_WITH_RESULTS",
        "SUMMARY_ROW_ONLY"
      ],
      "description": "Determines whether a summary row is returned."
    }
  }
}

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/google-ads-search-google-ads-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. See our Privacy Policy and Terms.

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