# دریافت نتایج حجم جستجو بر اساس id

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/keywords_data/google_ads/search_volume/task_get/{id}`

**Tags:** DataForSEO

وظیفه حجم جستجوی Google Ads را که در صف قرار گرفته، بر اساس `id` بازیابی می‌کند. همان شکل `post_dataforseo_keywords_gads_search_volume_live`. پاسخ در پاکت DataForSEO قرار می‌گیرد: داده‌ها در `tasks[0].result` و نتیجه در `tasks[0].status_code` — درخواست ردشده نیز همچنان HTTP 200 برمی‌گرداند.

### مرجع قیمت‌گذاری

- اندازه‌گیری: هزینه گزارش‌شده پاسخ.
- برآورد درخواست مرجع: 0.012 دلار آمریکا.
- ضریب مشتری مرجع: 1.0. آن را دوباره روی مبلغ تسویه‌شده مشتری اعمال نکنید.

فقط فراداده مرجع است، نه نقل‌قول حساب، نه قیمت تضمین‌شده و نه سقف هزینه. اعتبار منابع، اعتبار Felo نیست. هزینه‌های نهایی تابع سوابق صورت‌حساب Felo است.

## Related links

- [UUID](<https://en.wikipedia.org/wiki/Universally_unique_identifier>)
- [از این پیوند بیشتر بدانید](<https://support.google.com/google-ads/answer/7476658>)
- [این مقاله مرکز راهنما](<https://dataforseo.com/help-center/what-is-competition>)

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | path | yes | string | <em>شناسه وظیفه</em><br><strong>شناسه وظیفه یکتا در سیستم ما با قالب UUID</strong><br>می‌توانید تا <strong>30 روز</strong> از آن برای درخواست نتایج وظیفه در هر زمان استفاده کنید |

## Responses

### 200 — عملیات موفق

Headers:
- `X-Request-Id` (string) — شناسه درخواست برای درج هنگام تماس با پشتیبانی Felo.

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeTaskGetResponseInfo"
    }
  ]
}
```

### 400 — درخواست پردازش نشد. پارامترهای درخواست را بررسی کنید.

### 401 — یک کلید API معتبر Felo لازم است.

### 402 — درخواست ادامه نمی‌یابد چون یک الزام صورت‌حساب برآورده نشده است.

### 403 — حساب مجاز به انجام این عملیات نیست.

### 429 — به سقف درخواست یا هزینه رسیده‌اید.

### 502 — سرویس نتوانست درخواست را کامل کند.

### 503 — سرویس API یا صورت‌حساب موقتاً در دسترس نیست.

### 504 — سرویس هنگام پردازش درخواست به پایان مهلت رسید.

### default — پاسخ خطا؛ پاسخ‌های عبوری بالادست ممکن است از قالب‌های ارائه‌دهنده استفاده کنند

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "نسخه فعلی API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "کد وضعیت عمومی\nفهرست کامل کدهای پاسخ را اینجا پیدا می‌کنید"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "پیام اطلاعاتی عمومی\nفهرست کامل پیام‌های اطلاعاتی عمومی را اینجا پیدا می‌کنید"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "زمان کل اجرا، بر حسب ثانیه"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "هزینه کل وظایف، دلار آمریکا",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "تعداد وظایف در آرایه tasks",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "تعداد وظایف در آرایه tasks که با خطا برگردانده شده‌اند",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "شناسه وظیفه\nشناسه یکتای وظیفه در سیستم ما در قالب UUID"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "کد وضعیت وظیفه\nتوسط DataForSEO تولید می‌شود و می‌تواند در بازه زیر باشد: 10000-60000\nفهرست کامل کدهای پاسخ را اینجا پیدا می‌کنید"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "پیام اطلاعاتی وظیفه\nفهرست کامل پیام‌های اطلاعاتی عمومی را اینجا پیدا می‌کنید"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "زمان اجرا، ثانیه"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "هزینه کل وظایف، دلار آمریکا",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "تعداد عناصر در آرایه result",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "مسیر URL"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "همان پارامترهایی را دارد که در درخواست POST تعیین کرده‌اید"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeTaskGetResponseInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeTaskGetResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeTaskGetTaskInfo"
              }
            ]
          },
          "description": "<em>آرایه‌ای از وظایف</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeTaskGetResultInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeTaskGetResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>کلیدواژه<br></em><strong>کلیدواژه با %## رمزگشایی‌شده بازگردانده می‌شود (کاراکتر جمع '+' به کاراکتر فاصله رمزگشایی می‌شود)</strong>"
    },
    "spell": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>املای صحیح کلیدواژه</em><br><strong>توجه:</strong>اگر کلیدواژه در آرایه POST دارای غلط املایی به نظر برسد، داده‌ها برای کلیدواژه با املای صحیح بازگردانده می‌شوند؛<br>ما از قابلیت Google Ads API برای بررسی و اعتبارسنجی املای کلیدواژه‌ها استفاده می‌کنیم، از این پیوند بیشتر بدانید"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>کد مکان در آرایه POST</em><br>اگر داده‌ای نباشد، مقدار <code>null</code> است"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>کد زبان در آرایه POST</em><br>اگر داده‌ای نباشد، مقدار <code>null</code> است"
    },
    "search_partners": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>نشان می‌دهد آیا داده‌های شبکه‌های شریک در پاسخ گنجانده شده‌اند</em>"
    },
    "competition": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>رقابت</em><br>میزان نسبی رقابت مرتبط با کلیدواژه مشخص را فقط در SERP پرداختی نشان می‌دهد؛<br>این مقدار بر پایه داده‌های Google Ads است و می‌تواند مقادیر زیر را داشته باشد: <code>HIGH</code>، <code>MEDIUM</code>، <code>LOW</code>؛<br>اگر داده‌ای نباشد مقدار <code>null</code> است؛<br>درباره این معیار در این مقاله مرکز راهنما بیشتر بدانید"
    },
    "competition_index": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>رقابت</em><br>میزان نسبی رقابت مرتبط با کلیدواژه مشخص را فقط در SERP پرداختی نشان می‌دهد؛<br>این مقدار بر پایه داده‌های Google Ads است و می‌تواند بین 0 و 100 (شامل دو سر بازه) باشد؛<br>اگر داده‌ای نباشد مقدار <code>null</code> است؛<br>درباره این معیار در این مقاله مرکز راهنما بیشتر بدانید"
    },
    "search_volume": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>نرخ میانگین حجم جستجوی ماهانه</em>",
      "format": "int64"
    },
    "low_top_of_page_bid": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>حداقل پیشنهاد برای نمایش تبلیغ در بالای صفحه اول</em><br>مقداری را نشان می‌دهد که بزرگ‌تر از حدود 20% کمترین پیشنهادهایی است که تبلیغات در آن‌ها نمایش داده شده‌اند (بر پایه آمار Google Ads برای تبلیغ‌دهندگان)؛<br>این مقدار بسته به موقعیت مشخص‌شده در درخواست POST می‌تواند متفاوت باشد"
    },
    "high_top_of_page_bid": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>حداکثر پیشنهاد برای نمایش تبلیغ در بالای صفحه اول</em><br>مقداری را نشان می‌دهد که بزرگ‌تر از حدود 80% کمترین پیشنهادهایی است که تبلیغات در آن‌ها نمایش داده شده‌اند (بر پایه آمار Google Ads برای تبلیغ‌دهندگان)؛<br>این مقدار بسته به موقعیت مشخص‌شده در درخواست POST می‌تواند متفاوت باشد"
    },
    "cpc": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>هزینه هر کلیک</em><br>مبلغ پرداخت‌شده (دلار آمریکا) را برای هر کلیک روی تبلیغ نمایش‌داده‌شده برای یک کلیدواژه مشخص نشان می‌دهد"
    },
    "monthly_searches": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_MonthlySearchesInfo"
          }
        ]
      },
      "description": "<em>جستجوهای ماهانه</em><br>تعداد (تقریبی) جستجوهای این ایده کلیدواژه (به‌صورت موجود برای دوازده ماه گذشته به‌طور پیش‌فرض) را نشان می‌دهد که به موقعیت‌های جغرافیایی مشخص‌شده هدف‌گیری شده‌اند؛<br>اگر داده‌ای نباشد مقدار_<code>null</code>n است"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeTaskGetTaskInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeTaskGetTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsSearchVolumeTaskGetResultInfo"
              }
            ]
          },
          "description": "<em>آرایه‌ای از نتایج</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_MonthlySearchesInfo

`#/components/schemas/Response36Afe1097B20_MonthlySearchesInfo`

```json
{
  "type": "object",
  "properties": {
    "year": {
      "type": [
        "integer",
        "null"
      ],
      "description": "سال"
    },
    "month": {
      "type": [
        "integer",
        "null"
      ],
      "description": "ماه"
    },
    "search_volume": {
      "type": [
        "integer",
        "null"
      ],
      "description": "نرخ میانگین حجم جستجوی ماهانه"
    }
  }
}
```
