/api/skill-api/v1/skills/seo-search-ad-samples/runRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | /api/skill-api/v1/skills/seo-search-ad-samples/run |
| Auth | Bearer API key |
| Content-Type | application/json |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | required | Keyword value used by this API operation. Minimum length: 1 Maximum length: 200 |
limit | integer | optional | Limit value used by this API operation. Default: 10 Minimum: 1 Maximum: 20 |
Request example
{
"keyword": "example",
"limit": 10
}Response body
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | required | 0 is a successful envelope; inspect data.status separately. Allowed: 0, 42008, 42009 |
cost | string | required | Elapsed processing milliseconds; not price. -1 for non-web context. |
data | object | required | Data value used by this API operation. |
data.callId | string | null | optional | Call id value used by this API operation. |
data.completedAt | integer | null | optional | Completed at value used by this API operation. |
data.coverage | object | optional | Coverage value used by this API operation. |
data.coverage.missing | array | optional | Missing value used by this API operation. |
data.coverage.missing[] | object | required | Item in data coverage missing. |
data.coverage.missing[].field | string | optional | Field value used by this API operation. |
data.coverage.missing[].reason | string | optional | Reason value used by this API operation. |
data.coverage.status | string | optional | Status value used by this API operation. |
data.requestedAt | integer | null | optional | Requested at value used by this API operation. |
data.result | object | null | required | Result value used by this API operation. |
data.result.ads | array | required | Ads value used by this API operation. Minimum items: 0 Maximum items: 20 |
data.result.ads[] | object | required | Item in data result ads. |
data.result.ads[].description | string | null | required | Description value used by this API operation. |
data.result.ads[].domain | string | null | required | Domain value used by this API operation. |
data.result.ads[].page | integer | null | required | Page value used by this API operation. Minimum: 0 |
data.result.ads[].rankAbsolute | integer | null | required | Rank absolute value used by this API operation. Minimum: 0 |
data.result.ads[].rankGroup | integer | null | required | Rank group value used by this API operation. Minimum: 0 |
data.result.ads[].title | string | null | required | Title value used by this API operation. |
data.result.ads[].url | string | null | required | Url value used by this API operation. |
data.result.keyword | string | required | Keyword value used by this API operation. |
data.result.meta | object | required | Meta value used by this API operation. |
data.result.meta.market | object | required | Market value used by this API operation. |
data.result.meta.market.country | string | required | Country value used by this API operation. Constant: US |
data.result.meta.market.language | string | null | required | Language value used by this API operation. Allowed: en, null |
data.result.meta.market.locationCode | integer | required | Location code value used by this API operation. Constant: 2840 |
data.result.meta.missing | array | required | Missing value used by this API operation. Minimum items: 0 Maximum items: 100 |
data.result.meta.missing[] | object | required | Item in data result meta missing. |
data.result.meta.missing[].path | string | required | Path value used by this API operation. |
data.result.meta.missing[].reason | string | required | Reason value used by this API operation. Allowed: MISSING, NULL, INVALID, UNSUPPORTED, TRUNCATED |
data.result.meta.missingOverflow | boolean | required | Missing overflow value used by this API operation. |
data.result.meta.retrievedAt | integer | required | Retrieved at value used by this API operation. Minimum: 0 Maximum: 9007199254740991 |
data.result.meta.sampledAt | integer | null | required | Sampled at value used by this API operation. Minimum: 0 Maximum: 9007199254740991 |
data.result.meta.source | string | required | Source value used by this API operation. Constant: DATAFORSEO_GOOGLE_SERP_PAID_SAMPLE |
data.result.meta.truncated | boolean | required | Truncated value used by this API operation. |
data.schemaVersion | string | null | optional | Schema version value used by this API operation. |
data.source | string | null | optional | Source value used by this API operation. |
data.status | string | optional | Status value used by this API operation. Allowed: SUCCESS, PARTIAL, EMPTY, PROCESSING, UNKNOWN, FAILED |
data.usage | object | optional | Usage value used by this API operation. |
data.usage.billingStatus | string | optional | Billing status value used by this API operation. |
data.usage.chargedCredits | integer | null | optional | Charged credits value used by this API operation. |
data.usage.providerCostStatus | string | optional | Provider cost status value used by this API operation. |
data.usage.providerCostUsd | string | null | optional | Provider cost usd value used by this API operation. |
data.usage.providerRequests | integer | optional | Provider requests value used by this API operation. |
msg | string | null | required | Msg value used by this API operation. |
time | string | required | yyyy-MM-dd HH:mm:ss |
traceId | string | null | required | Trace id value used by this API operation. |
ts | string | required | Epoch milliseconds; global long serializer. |
Response example
Example response envelope from the documented SEO API contract.
{
"code": 0,
"cost": "-1",
"data": {
"callId": "synthetic-call",
"completedAt": null,
"coverage": {
"missing": [
{
"field": "synthetic",
"reason": "UPSTREAM_FIELD_MISSING"
}
],
"status": "PARTIAL"
},
"requestedAt": 123,
"result": {
"ads": [
{
"description": "synthetic",
"domain": "synthetic",
"page": 9007199254740992,
"rankAbsolute": 9007199254740992,
"rankGroup": 9007199254740992,
"title": "synthetic",
"url": "synthetic"
}
],
"keyword": "synthetic",
"meta": {
"market": {
"country": "synthetic",
"language": "synthetic",
"locationCode": 1
},
"missing": [
{
"path": "synthetic",
"reason": "synthetic"
}
],
"missingOverflow": false,
"retrievedAt": 9007199254740992,
"sampledAt": 9007199254740992,
"source": "synthetic",
"truncated": false
}
},
"schemaVersion": "synthetic",
"source": "synthetic",
"status": "PARTIAL",
"usage": {
"billingStatus": "UNAPPROVED",
"chargedCredits": 0,
"providerCostStatus": "UNAPPROVED",
"providerCostUsd": null,
"providerRequests": 0
}
},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": null,
"ts": "9007199254740993"
}Responses
| Code | Description |
|---|---|
| 200 | API executed successfully. Body is the direct response payload. |
| 400 | Request JSON or required API parameters are invalid. |
| 401 | API key is missing, invalid, or cannot be matched to a user. |
| 5xx | API execution or upstream service failed. |
Data source, freshness, and limitations
Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.