Felo API PlatformFelo API Platform

数据 API / DataForSEO / SERP

Live Google Ads Search Advanced

Returns the ads running against a keyword on Google, synchronously. Returns keyword, type, se_domain, location_code, language_code, check_url, datetime, spell, refinement_chips, item_types, items_count and items. advanced is the default choice; take regular when only the ranked list matters and html only to check what the parser dropped. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200.

参数

没有路径、查询或请求头参数。

请求体

  • advertiser_idsstring[]可选

    Advertiser identifiers; required if target is not specified

  • targetstring可选

    Domain name associated with an advertiser account; required if advertiser_ids is not specified

  • location_namestring可选

    Full name of search engine location

  • location_codeinteger可选

    Search engine location code

  • location_coordinatestring可选

    GPS coordinates of a location

请求示例

curl -X POST "https://openapi.felo.ai/v1/beta/dataforseo/serp/google/ads_search/live/advanced" \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "advertiser_ids": [
    "<string>"
  ],
  "target": "<string>",
  "location_name": "<string>",
  "location_code": 0,
  "location_coordinate": "<string>"
}'

响应

响应字段

  • versionstring可选

    The current version of the API

  • status_codeinteger可选

    General status code

  • status_messagestring可选

    General informational message

  • timestring可选

    Execution time, seconds

  • costnumber可选

    Total tasks cost, USD

  • tasksstring[]可选

    Array of tasks

  • resultstring[]可选

    Array of live SERP results