# Google Ads

Get Google AD data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by LiteScrape, pass parameters such as location, q, and retrieve structured data including pagination metadata, returned ads value, returned ai overview value, returned answer box value, and returned available on value to search interfaces and source review, and integration reference.

Documentation: https://openany.si/market/apis/google/google-ad/?offering=4d5313da-27ba-4b85-b28d-43338fc405e1
API ID: 4d5313da-27ba-4b85-b28d-43338fc405e1
Provider: litescrape
Contract revision: 6
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/google/ads
Page update time: 2026-12-03T02:53:21.479Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:53:16.502Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Google Ads request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "timeout": {
          "type": "number",
          "description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "location": "Austin, Texas, United States",
          "q": "coffee maker"
        }
      ],
      "properties": {
        "device": {
          "default": "desktop",
          "description": "Google returns its real layout for the selected device.",
          "enum": [
            "desktop",
            "tablet",
            "mobile"
          ],
          "title": "Device",
          "type": "string",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "id": "google-ads-controls-device",
            "kind": "select",
            "label": "Device",
            "options": [
              {
                "label": "desktop",
                "value": "desktop"
              },
              {
                "label": "tablet",
                "value": "tablet"
              },
              {
                "label": "mobile",
                "value": "mobile"
              }
            ],
            "summary": "Google returns its real layout for the selected device."
          }
        },
        "hl": {
          "default": "en",
          "description": "Google interface and result language, such as en, en-GB, or de.",
          "title": "Hl",
          "type": "string",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "id": "google-ads-controls-hl",
            "label": "Language",
            "placeholder": "en",
            "summary": "Google interface and result language, such as en, en-GB, or de."
          }
        },
        "location": {
          "description": "Human-readable location where the ad search originates, up to 63 UTF-8 bytes once Google-encoded.\n\nExample: Austin, Texas, United States.",
          "title": "Location",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "id": "google-ads-targeting-location",
            "label": "Location",
            "notes": [
              "Example: Austin, Texas, United States."
            ],
            "placeholder": "Austin, Texas, United States",
            "summary": "Human-readable location where the ad search originates, up to 63 UTF-8 bytes once Google-encoded."
          }
        },
        "nfpr": {
          "anyOf": [
            {
              "enum": [
                "0",
                "1"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Google spelling auto-correction control. Set 1 to exclude corrected queries.",
          "title": "Nfpr",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "id": "google-ads-controls-nfpr",
            "kind": "select",
            "label": "Auto-correction",
            "options": [
              {
                "label": "Default",
                "value": ""
              },
              {
                "label": "0",
                "value": "0"
              },
              {
                "label": "1",
                "value": "1"
              }
            ],
            "summary": "Google spelling auto-correction control. Set 1 to exclude corrected queries."
          }
        },
        "q": {
          "description": "Google Ads search query, up to 2,048 characters with no controls.",
          "title": "Q",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "id": "google-ads-targeting-q",
            "label": "Query",
            "placeholder": "coffee maker",
            "summary": "Google Ads search query, up to 2,048 characters with no controls."
          }
        },
        "safe": {
          "anyOf": [
            {
              "enum": [
                "active",
                "off"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Google adult-content filtering.",
          "title": "Safe",
          "x-litescrape": {
            "formGroup": 1,
            "group": 1,
            "id": "google-ads-controls-safe",
            "kind": "select",
            "label": "Safe search",
            "options": [
              {
                "label": "Default",
                "value": ""
              },
              {
                "label": "active",
                "value": "active"
              },
              {
                "label": "off",
                "value": "off"
              }
            ],
            "summary": "Google adult-content filtering."
          }
        }
      },
      "required": [
        "q",
        "location"
      ],
      "title": "Request",
      "type": "object",
      "description": "Get the ads shown on a Google search results page."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "ads": {
      "type": "null"
    },
    "ai_overview": {
      "type": "null"
    },
    "answer_box": {
      "type": "null"
    },
    "ask_ai_mode": {
      "type": "null"
    },
    "available_on": {
      "type": "null"
    },
    "broaden_searches": {
      "type": "null"
    },
    "categorized_shopping_results": {
      "type": "null"
    },
    "complementary_results": {
      "type": "null"
    },
    "discover_more_places": {
      "type": "null"
    },
    "discussions_and_forums": {
      "type": "null"
    },
    "dmca_messages": {
      "type": "null"
    },
    "episode_guide": {
      "type": "null"
    },
    "events_results": {
      "type": "null"
    },
    "filters": {
      "type": "null"
    },
    "finance_results": {
      "type": "null"
    },
    "find_results_on": {
      "type": "null"
    },
    "flight_result": {
      "type": "null"
    },
    "immersive_products": {
      "type": "null"
    },
    "inline_images": {
      "type": "null"
    },
    "inline_videos": {
      "type": "null"
    },
    "jobs_results": {
      "type": "null"
    },
    "knowledge_graph": {
      "type": "null"
    },
    "latest_posts": {
      "type": "null"
    },
    "local_map": {
      "type": "null"
    },
    "local_results": {
      "type": "null"
    },
    "news_results": {
      "type": "null"
    },
    "organic_results": {
      "type": "null"
    },
    "pagination": {
      "type": "null"
    },
    "perspectives": {
      "type": "null"
    },
    "places_sites": {
      "type": "null"
    },
    "recipes_results": {
      "type": "null"
    },
    "refine_by": {
      "type": "null"
    },
    "related_brands": {
      "type": "null"
    },
    "related_categories": {
      "type": "null"
    },
    "related_questions": {
      "type": "null"
    },
    "related_searches": {
      "type": "null"
    },
    "scholarly_articles": {
      "type": "null"
    },
    "search_information": {
      "type": "null"
    },
    "search_metadata": {
      "type": "object",
      "properties": {
        "ai_overview_state": {
          "type": "null"
        },
        "created_at": {
          "type": "string"
        },
        "google_ads_url": {
          "type": "string"
        },
        "google_ai_overview_url": {
          "type": "null"
        },
        "id": {
          "type": "string"
        },
        "json_endpoint": {
          "type": "string"
        },
        "processed_at": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "total_time_taken": {
          "type": "integer"
        }
      }
    },
    "search_parameters": {
      "type": "object",
      "properties": {
        "as_dt": {
          "type": "null"
        },
        "as_epq": {
          "type": "null"
        },
        "as_eq": {
          "type": "null"
        },
        "as_lq": {
          "type": "null"
        },
        "as_nhi": {
          "type": "null"
        },
        "as_nlo": {
          "type": "null"
        },
        "as_oq": {
          "type": "null"
        },
        "as_q": {
          "type": "null"
        },
        "as_qdr": {
          "type": "null"
        },
        "as_rq": {
          "type": "null"
        },
        "as_sitesearch": {
          "type": "null"
        },
        "color_scheme": {
          "type": "null"
        },
        "cr": {
          "type": "null"
        },
        "device": {
          "type": "null"
        },
        "engine": {
          "type": "null"
        },
        "fast_mode": {
          "type": "null"
        },
        "filter": {
          "type": "null"
        },
        "gl": {
          "type": "null"
        },
        "google_domain": {
          "type": "null"
        },
        "gs_lp": {
          "type": "null"
        },
        "hl": {
          "type": "null"
        },
        "ibp": {
          "type": "null"
        },
        "kgmid": {
          "type": "null"
        },
        "lat": {
          "type": "null"
        },
        "location": {
          "type": "null"
        },
        "location_requested": {
          "type": "null"
        },
        "location_used": {
          "type": "null"
        },
        "lon": {
          "type": "null"
        },
        "lr": {
          "type": "null"
        },
        "lsig": {
          "type": "null"
        },
        "ludocid": {
          "type": "null"
        },
        "nfpr": {
          "type": "null"
        },
        "num": {
          "type": "null"
        },
        "oq": {
          "type": "null"
        },
        "peek_pws": {
          "type": "null"
        },
        "pws": {
          "type": "null"
        },
        "q": {
          "type": "null"
        },
        "radius": {
          "type": "null"
        },
        "safe": {
          "type": "null"
        },
        "sclient": {
          "type": "null"
        },
        "si": {
          "type": "null"
        },
        "start": {
          "type": "null"
        },
        "tbm": {
          "type": "null"
        },
        "tbs": {
          "type": "null"
        },
        "uds": {
          "type": "null"
        },
        "uule": {
          "type": "null"
        }
      }
    },
    "shopping_results": {
      "type": "null"
    },
    "short_videos": {
      "type": "null"
    },
    "sports_results": {
      "type": "null"
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    },
    "top_sights": {
      "type": "null"
    },
    "top_stories": {
      "type": "null"
    },
    "video_results": {
      "type": "null"
    }
  }
}
```

## Request example
Scenario: Schema template (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/litescrape/api/google/ads' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "location": "Austin, Texas, United States",
  "q": "coffee maker"
}'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Configured HTTP 200; actual status is unverified.
```json
{
  "ads": null,
  "ai_overview": null,
  "answer_box": null,
  "ask_ai_mode": null,
  "available_on": null,
  "broaden_searches": null,
  "categorized_shopping_results": null,
  "complementary_results": null,
  "discover_more_places": null,
  "discussions_and_forums": null,
  "dmca_messages": null,
  "episode_guide": null,
  "events_results": null,
  "filters": null,
  "finance_results": null,
  "find_results_on": null,
  "flight_result": null,
  "immersive_products": null,
  "inline_images": null,
  "inline_videos": null,
  "jobs_results": null,
  "knowledge_graph": null,
  "latest_posts": null,
  "local_map": null,
  "local_results": null,
  "news_results": null,
  "organic_results": null,
  "pagination": null,
  "perspectives": null,
  "places_sites": null,
  "recipes_results": null,
  "refine_by": null,
  "related_brands": null,
  "related_categories": null,
  "related_questions": null,
  "related_searches": null,
  "scholarly_articles": null,
  "search_information": null,
  "search_metadata": {
    "ai_overview_state": null,
    "created_at": "<created_at>",
    "google_ads_url": "<google_ads_url>",
    "google_ai_overview_url": null,
    "id": "<id>",
    "json_endpoint": "<json_endpoint>",
    "processed_at": "<processed_at>",
    "status": "Success",
    "total_time_taken": 0
  },
  "search_parameters": {
    "as_dt": null,
    "as_epq": null,
    "as_eq": null,
    "as_lq": null,
    "as_nhi": null,
    "as_nlo": null,
    "as_oq": null,
    "as_q": null,
    "as_qdr": null,
    "as_rq": null,
    "as_sitesearch": null,
    "color_scheme": null,
    "cr": null,
    "device": null,
    "engine": null,
    "fast_mode": null,
    "filter": null,
    "gl": null,
    "google_domain": null,
    "gs_lp": null,
    "hl": null,
    "ibp": null,
    "kgmid": null,
    "lat": null,
    "location": null,
    "location_requested": null,
    "location_used": null,
    "lon": null,
    "lr": null,
    "lsig": null,
    "ludocid": null,
    "nfpr": null,
    "num": null,
    "oq": null,
    "peek_pws": null,
    "pws": null,
    "q": null,
    "radius": null,
    "safe": null,
    "sclient": null,
    "si": null,
    "start": null,
    "tbm": null,
    "tbs": null,
    "uds": null,
    "uule": null
  },
  "shopping_results": null,
  "short_videos": null,
  "sports_results": null,
  "submit_feedback_for_this_response_here": "<submit_feedback_for_this_response_here>",
  "top_sights": null,
  "top_stories": null,
  "video_results": null
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- anyapi: https://openany.si/market/apis/google/google-ad/?offering=038adc9c-597d-4a9c-b329-5f535daebc67
- anyapi: https://openany.si/market/apis/google/google-ad/?offering=2a2d2c49-10fb-411c-8d3c-58c41fe249c1
- anyapi: https://openany.si/market/apis/google/google-ad/?offering=9fb7f316-b6ea-4390-8191-93d7103d7f08
- anyapi: https://openany.si/market/apis/google/google-ad/?offering=ee029b8f-c98a-47e7-8878-fb9e43120994
- litescrape: https://openany.si/market/apis/google/google-ad/?offering=4d5313da-27ba-4b85-b28d-43338fc405e1
- scrapecreators: https://openany.si/market/apis/google/google-ad/?offering=1f7257dd-d9c6-4def-8ff9-500773ec5c43
- scrapecreators: https://openany.si/market/apis/google/google-ad/?offering=8b19732e-5be2-42b8-b117-bbce3c57e3d9
- scrapecreators: https://openany.si/market/apis/google/google-ad/?offering=e30afaff-180c-4d43-be26-52b094f79b55

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
