資料 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