# DataForSEO — Keywords Data / Google Ads / Ad Traffic By Keywords / Live

Query Keywords Data / Google Ads / Ad Traffic By Keywords / Live data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by DataForSEO, configure supported query parameters and filters, and retrieve structured data including returned cost field, returned status code field, returned status message field, business payload, and identifier to search interfaces and source review, and integration reference.

Documentation: https://openany.si/dataforseo/dataforseo-keywords-data-google-ads-ad-traffic-by-keywords-live/d83a8159-c7d6-47b9-b6ca-ceec48a9b745/
API ID: d83a8159-c7d6-47b9-b6ca-ceec48a9b745
Provider: DataForSEO
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/google_ads/ad_traffic_by_keywords/live
Page update time: 2026-12-03T02:50:27.918Z
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.09 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:50:26.097Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "90000",
    "max_cost_micro_usd": "90000",
    "quantities": [
      {
        "id": "task_errors",
        "label": "任务错误数必须为零",
        "max_quantity": "0",
        "measure": "value",
        "pointer": "/tasks_error",
        "price_micro_usd": "0",
        "quantity_scale": 0,
        "source": "response",
        "unit": "task_error",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## Keywords Data / Google Ads / Ad Traffic By Keywords / Live API

Retrieve keywords Data Google Ads Ad Traffic By Keywords Live with the DataForSEO API. Provide JSON payload in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Search interfaces and source review**: Keep returned sources and query context together.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `cost` | Returned cost field |
| `status_code` | Returned status code field |
| `status_message` | Returned status message field |
| `tasks[].data` | Business payload |
| `tasks[].id` | Identifier |
| `tasks[].result` | Returned result |
| `tasks[].cost` | Returned cost field |
| `tasks[].path` | Returned path field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DataForSEO — Keywords Data / Google Ads / Ad Traffic By Keywords / Live 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": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "example": [
        {
          "bid": 999,
          "keywords": [
            "seo marketing"
          ],
          "language_code": "en",
          "location_code": 2840,
          "match": "exact"
        }
      ],
      "items": {
        "example": [
          {
            "bid": 999,
            "keywords": [
              "seo marketing"
            ],
            "language_code": "en",
            "location_code": 2840,
            "match": "exact"
          }
        ],
        "nullable": true,
        "properties": {
          "bid": {
            "description": "the maximum custom bid required field the collected data will be based on this value it stands for the price you are willing to pay for an ad; the higher value you specify here, the higher values you will get in the returned metrics learn more in this help center article",
            "format": "int64",
            "type": "integer",
            "x-required-status": "required"
          },
          "date_from": {
            "description": "starting date of the forecasting time range required field if you specify date_to if you indicate date_from and date_to, you don't need to specify date_interval minimum value is tomorrow's date the value you specify in date_from shouldn't be further than date_to date format: \"yyyy-mm-dd\" example: \"2021-10-30\"if Status endpoint returns false in the actual_data field, date_from can be set to the month before last and prior; if Status endpoint returns true in the actual_data field, date_from can be set to the last month and prior",
            "type": "string",
            "x-original-openapi-description": "starting date of the forecasting time range required field if you specify date_to if you indicate date_from and date_to , you don't need to specify date_interval minimum value is tomorrow's date the value you specify in date_from shouldn't be further than date_to date format: \"yyyy-mm-dd\" example: \"2021-10-30\" if Status endpoint returns false in the actual_data field, date_from can be set to the month before last and prior; if Status endpoint returns true in the actual_data field, date_from can be set to the last month and prior",
            "x-required-status": "conditional"
          },
          "date_interval": {
            "description": "forecasting date interval optional field if you specify date_interval, you don't need to indicate date_from and date_to possible values: next_week, next_month, next_quarter default value: next_month",
            "nullable": true,
            "type": "string",
            "x-original-openapi-description": "forecasting date interval optional field if you specify date_interval , you don't need to indicate date_from and date_to possible values: next_week , next_month , next_quarter default value: next_month",
            "x-required-status": "optional"
          },
          "date_to": {
            "description": "ending date of the forecasting time range required field if you specify date_from if you indicate date_from and date_to, you don't need to specify date_interval minimum value is date_from +1 day maximum value is current day and month of the next year date format: \"yyyy-mm-dd\" example: \"2022-10-30\"",
            "type": "string",
            "x-original-openapi-description": "ending date of the forecasting time range required field if you specify date_from if you indicate date_from and date_to , you don't need to specify date_interval minimum value is date_from +1 day maximum value is current day and month of the next year date format: \"yyyy-mm-dd\" example: \"2022-10-30\"",
            "x-required-status": "conditional"
          },
          "keywords": {
            "description": "keywords required field The maximum number of keywords you can specify: 1000 The maximum number of characters for each keyword: 80 The maximum number of words for each keyword phrase: 10 the keywords you specify will be converted to a lowercase format Note: Google Ads may return no data for certain groups of keywords visit our Help Center to learn more Also note that Google Ads doesn't allow using certain symbols and characters (e.g., UTF symbols, emojis), so you can't use them when setting a task; to learn more about which symbols and characters can be used, please refer to this article learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article",
            "items": {
              "type": "string"
            },
            "type": "array",
            "x-required-status": "required"
          },
          "language_code": {
            "description": "search engine language code optional field you can receive the list of available languages of the search engine with their language_code by making a separate request to https://api.dataforseo.com/v3/keywords_data/google_ads/languages example: en",
            "nullable": true,
            "type": "string",
            "x-required-status": "optional"
          },
          "language_name": {
            "description": "full name of search engine language optional field you can receive the list of available languages of the search engine with their language_name by making a separate request to https://api.dataforseo.com/v3/keywords_data/google_ads/languages example: English",
            "nullable": true,
            "type": "string",
            "x-required-status": "optional"
          },
          "location_code": {
            "description": "search engine location code optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; if you use this field, you don't need to specify location_name or location_coordinate; you can receive the list of available locations of the search engines with their location_code by making a separate request to https://api.dataforseo.com/v3/keywords_data/google_ads/locations example: 2840",
            "nullable": true,
            "type": "integer",
            "x-original-openapi-description": "search engine location code optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; if you use this field, you don't need to specify location_name or location_coordinate ; you can receive the list of available locations of the search engines with their location_code by making a separate request to https://api.dataforseo.com/v3/keywords_data/google_ads/locations example: 2840",
            "x-required-status": "optional"
          },
          "location_coordinate": {
            "description": "GPS coordinates of a location optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; if you use this field, you don't need to specify location_name or location_code; location_coordinate parameter should be specified in the \"latitude,longitude\" format; the data will be provided for the country the specified coordinates belong to; example: 52.6178549,-155.352142",
            "nullable": true,
            "type": "string",
            "x-original-openapi-description": "GPS coordinates of a location optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; if you use this field, you don't need to specify location_name or location_code ; location_coordinate parameter should be specified in the \"latitude,longitude\" format; the data will be provided for the country the specified coordinates belong to ; example: 52.6178549,-155.352142",
            "x-required-status": "optional"
          },
          "location_name": {
            "description": "full name of search engine location optional field if you do not indicate the location, you will receive worldwide results, i.e., for all available locations; if you use this field, you don't need to specify location_code or location_coordinate you can receive the list of available locations of the search engine with their location_name by making a separate request to https://api.dataforseo.com/v3/keywords_data/google_ads/locations example: London,England,United Kingdom",
            "nullable": true,
            "type": "string",
            "x-required-status": "optional"
          },
          "match": {
            "description": "keywords match-type required field can take the following values: exact, broad, phrase",
            "type": "string",
            "x-original-openapi-description": "keywords match-type required field can take the following values: exact , broad , phrase",
            "x-required-status": "required"
          },
          "sort_by": {
            "description": "results sorting parameters optional field Use these parameters to sort the results by relevance, impressions, ctr, average_cpc, cost, or clicks in the descending order default value: relevance",
            "nullable": true,
            "type": "string",
            "x-original-openapi-description": "results sorting parameters optional field Use these parameters to sort the results by relevance , impressions , ctr , average_cpc , cost , or clicks in the descending order default value: relevance",
            "x-required-status": "optional"
          },
          "tag": {
            "description": "user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response",
            "nullable": true,
            "type": "string",
            "x-required-status": "optional"
          }
        },
        "required": [
          "keywords",
          "bid",
          "match"
        ],
        "type": "object",
        "x-required-origin": "official_required_array_plus_explicit_unconditional_required_field_prose"
      },
      "maxItems": 1,
      "minItems": 1,
      "type": "array",
      "x-openany-retail-scope": "single_native_task_per_sale_execution",
      "x-openapi-version": "3.0.1",
      "x-schema-origin": "official_openapi_with_local_refs_rebased",
      "description": "Forecast Google Ads campaign impressions, CPC and clicks for the supplied keywords and selected future period."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cost": {
      "type": "number"
    },
    "status_code": {
      "type": "integer"
    },
    "status_message": {
      "type": "string"
    },
    "tasks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "cost": {
            "type": "number"
          },
          "data": {
            "type": "object",
            "properties": {
              "api": {
                "type": "string"
              },
              "bid": {
                "type": "integer"
              },
              "function": {
                "type": "string"
              },
              "keywords": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "language_code": {
                "type": "string"
              },
              "location_code": {
                "type": "integer"
              },
              "match": {
                "type": "string"
              },
              "se": {
                "type": "string"
              }
            }
          },
          "id": {
            "type": "string"
          },
          "path": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "result": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "average_cpc": {
                  "type": "number"
                },
                "bid": {
                  "type": "integer"
                },
                "clicks": {
                  "type": "number"
                },
                "cost_micros": {
                  "type": "number"
                },
                "ctr": {
                  "type": "number"
                },
                "date_interval": {
                  "type": "string"
                },
                "impressions": {
                  "type": "number"
                },
                "keyword": {
                  "type": "string"
                },
                "language_code": {
                  "type": "string"
                },
                "location_code": {
                  "type": "integer"
                },
                "match": {
                  "type": "string"
                },
                "search_partners": {
                  "type": "boolean"
                }
              }
            }
          },
          "result_count": {
            "type": "integer"
          },
          "status_code": {
            "type": "integer"
          },
          "status_message": {
            "type": "string"
          },
          "time": {
            "type": "string"
          }
        }
      }
    },
    "tasks_count": {
      "type": "integer"
    },
    "tasks_error": {
      "type": "integer"
    },
    "time": {
      "type": "string"
    },
    "version": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · 官方历史成对样例（未运行）
```bash
curl \
  'https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/google_ads/ad_traffic_by_keywords/live' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "bid": 999,
    "keywords": [
      "buy laptop",
      "cheap laptops for sale",
      "purchase laptop"
    ],
    "language_code": "en",
    "location_code": 2840,
    "match": "exact"
  }
]'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cost": 0.075,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.075,
      "data": {
        "api": "keywords_data",
        "bid": 999,
        "function": "ad_traffic_by_keywords",
        "keywords": [
          "buy laptop",
          "cheap laptops for sale",
          "purchase laptop"
        ],
        "language_code": "en",
        "location_code": 2840,
        "match": "exact",
        "se": "google_ads"
      },
      "id": "11251525-0696-0094-0000-7f236bb489d3",
      "path": [
        "v3",
        "keywords_data",
        "google_ads",
        "ad_traffic_by_keywords",
        "live"
      ],
      "result": [
        {
          "average_cpc": 452.45,
          "bid": 999,
          "clicks": 8803.42,
          "cost_micros": 3983135.48,
          "ctr": 0.0842,
          "date_interval": "next_month",
          "impressions": 104575.28,
          "keyword": "buy laptop",
          "language_code": "en",
          "location_code": 2840,
          "match": "exact",
          "search_partners": false
        },
        {
          "average_cpc": 384.19,
          "bid": 999,
          "clicks": 782.13,
          "cost_micros": 300486.83,
          "ctr": 0.116,
          "date_interval": "next_month",
          "impressions": 6744.02,
          "keyword": "cheap laptops for sale",
          "language_code": "en",
          "location_code": 2840,
          "match": "exact",
          "search_partners": false
        },
        {
          "average_cpc": 402.33,
          "bid": 999,
          "clicks": 311.69,
          "cost_micros": 125403.39,
          "ctr": 0.0722,
          "date_interval": "next_month",
          "impressions": 4318.71,
          "keyword": "purchase laptop",
          "language_code": "en",
          "location_code": 2840,
          "match": "exact",
          "search_partners": false
        }
      ],
      "result_count": 3,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "6.4505 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "6.5059 sec.",
  "version": "0.1.20210917"
}
```

## 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.

## Common questions
### Which inputs identify this request?
Provide JSON payload in body (array). Keep identifiers and URLs in the formats documented for this implementation.

### How should I structure the JSON body?
Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- DataForSEO: https://openany.si/dataforseo/dataforseo-keywords-data-google-ads-ad-traffic-by-keywords-live/d83a8159-c7d6-47b9-b6ca-ceec48a9b745/

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