View Source DataForSeo.API.Serp (DataForSeo v0.6.0)

Provides SERP API interfaces.

Link to this section Summary

Functions

Gets result for a single task. The fetched tasks are then removed from completed list. So be sure to save and process them.

Creates a task for each keyword.

Gets the list of completed tasks ids.

Link to this section Functions

Link to this function

task_get(task_id, opts \\ [])

View Source

Gets result for a single task. The fetched tasks are then removed from completed list. So be sure to save and process them.

examples

Examples

DataForSeo.API.Serp.task_get("test-task-id")

Creates a task for each keyword.

parameters

Parameters

  • params - list of maps for multiple tasks, or single map fir one task.

See https://docs.dataforseo.com/v3/serp/google/organic/task_post/ for available prameters.

examples

Examples

DataForSeo.API.Serp.task_post([%{keyword: "Schrauben", tag: "tag_123", language_code: "de", priority: 1, location_name: "Hamburg,Hamburg,Germany", se_domain: "google.de"}])
DataForSeo.API.Serp.task_post(%{keyword: "Schrauben", tag: "tag_123", language_code: "de", priority: 1, location_name: "Hamburg,Hamburg,Germany", se_domain: "google.de"})

Gets the list of completed tasks ids.

examples

Examples

DataForSeo.API.Serp.tasks_ready()