Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Setting Google Ads Search SERP Tasks

Server:https://openapi.felo.ai
Client Libraries

DataForSEO

​

SEO, search-engine results, keyword research, backlinks and AI visibility data.

Setting Google Ads Search SERP Tasks

​

Queues the ads running against a keyword on Google, returning a task id in tasks[0].id. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. The live twin answers immediately and is simpler for a single query; queue when the batch would outlast a tool call.

Body
application/json
  • Type: array object[]
      • advertiser_ids
        Type: array string[]
        required

        Advertiser identifiers; required if target is not specified

      • location_code
        Type: integer

        Search engine location code

      • location_coordinate
        Type: string

        GPS coordinates of a location

      • location_name
        Type: string

        Full name of search engine location

      • pingback_url
        Type: string

        Notification URL of a completed task

      • postback_data
        Type: string

        Postback datatype; only advanced is supported

      • postback_url
        Type: string

        URL for sending task results

      • priority
        Type: integer

        Task priority

      • target
        Type: string

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

Responses
  • 200
    Type: object

    Successful response

    • cost
      Type: number

      Total tasks cost, USD

    • status_code
      Type: integer

      General status code

    • status_message
      Type: string

      General informational message

    • tasks
      Type: array string[]

      Array of task objects

    • tasks_count
      Type: integer

      The number of tasks in the tasks array

    • tasks_error
      Type: integer

      The number of tasks in the tasks array returned with an error

    • tasks[].cost
      Type: number

      Cost of the task, USD

    • tasks[].id
      Type: string

      Task identifier in UUID format

    • tasks[].result_count
      Type: integer

      Number of elements in the result array

    • tasks[].status_code
      Type: integer

      Task status code

    • tasks[].status_message
      Type: string

      Task status message

    • time
      Type: string

      Execution time, seconds

    • version
      Type: string

      The current version of the API

    application/json
  • 400

    Bad request

  • 401

    Unauthorized

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    Rate limit exceeded

  • 500

    Internal server error

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for post/v1/beta/dataforseo/serp/google/ads_search/task_post
curl https://openapi.felo.ai/v1/beta/dataforseo/serp/google/ads_search/task_post \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '[
  {}
]'
{
  "version": "string",
  "status_code": 1,
  "status_message": "string",
  "time": "string",
  "cost": 1,
  "tasks_count": 1,
  "tasks_error": 1,
  "tasks": [
    "string"
  ],
  "tasks[].id": "string",
  "tasks[].status_code": 1,
  "tasks[].status_message": "string",
  "tasks[].cost": 1,
  "tasks[].result_count": 1
}
Setting Google Ads Search SERP Tasks