# الحصول على نتائج ‘Ads Traffic By Keywords’ حسب المعرّف

**API:** Data API

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

**Tags:** DataForSEO

يسترجع توقّع حركة Google Ads الموضوع في قائمة الانتظار حسب `id`: الظهور والنقرات والتكلفة ومتوسط الموضع المتوقّعة للمزايدة التي حدّدتها. الاستجابة مغلّفة في غلاف DataForSEO: البيانات في `tasks[0].result`، والنتيجة في `tasks[0].status_code` — ولا يزال الطلب المرفوض يعيد HTTP 200. بخلاف نقاط نهاية الحجم، هذا توقّع لا قياس — فالأرقام تتغيّر مع `bid` و`match`.

### مرجع التسعير

- القياس: تكلفة الاستجابة المُبلَّغ عنها.
- تقدير الطلب المرجعي: 0.012 دولار أمريكي.
- مضاعف العميل المرجعي: 1.0. لا تُطبّقه مرة أخرى على مبلغ عميل مسوّى.

بيانات وصفية مرجعية فقط، وليست عرض سعر للحساب ولا سعرًا مضمونًا ولا حدًا للإنفاق. أرصدة الموارد ليست أرصدة Felo. تتبع الرسوم النهائية سجلات فوترة Felo.

## Related links

- [UUID](<https://en.wikipedia.org/wiki/Universally_unique_identifier>)
- [مقالة مركز المساعدة هذه](<https://dataforseo.com/help-center/configuring-bid>)

## 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_KeywordsDataGoogleAdsAdTrafficByKeywordsTaskGetResponseInfo"
    }
  ]
}
```

### 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_KeywordsDataGoogleAdsAdTrafficByKeywordsTaskGetResponseInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsAdTrafficByKeywordsTaskGetResponseInfo`

```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_KeywordsDataGoogleAdsAdTrafficByKeywordsTaskGetTaskInfo"
              }
            ]
          },
          "description": "<em>مصفوفة المهام</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_KeywordsDataGoogleAdsAdTrafficByKeywordsTaskGetResultInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsAdTrafficByKeywordsTaskGetResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>الكلمة المفتاحية في طلب POST</em><br>تُقدَّم المقاييس لجميع الكلمات المفتاحية المحددة في طلب POST"
    },
    "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>"
    },
    "date_interval": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>الفاصل الزمني للتنبؤ في طلب POST</em>"
    },
    "search_partners": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>تضمين شركاء بحث Google</em><br>القيمة دائمًا <code>false</code>"
    },
    "bid": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>أقصى مزايدة مخصّصة</em><br>المزايدة التي حددتها عند إعداد المهمة<br>تمثّل السعر الذي ترغب في دفعه مقابل إعلان<br>كلما زادت القيمة التي حددتها، زادت المقاييس والتكلفة التي تحصل عليها في الاستجابة<br>اعرف المزيد في مقالة مركز المساعدة هذه"
    },
    "match": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>نوع مطابقة الكلمات المفتاحية</em><br>يمكن أن يأخذ القيم التالية: <code>exact</code>، <code>broad</code>، <code>phrase</code>"
    },
    "impressions": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>عدد ظهور الإعلان المتوقّع</em><br>عدد الظهور المتوقّع أن يحصل عليها الإعلان خلال الفترة الزمنية المحددة<br><strong>ملاحظة:</strong> المعامل مهجور، والقيمة دائمًا_<code>null</code>n"
    },
    "ctr": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>معدّل النقر (CTR) المتوقّع للإعلان</em><br>عدد النقرات المتوقّع أن يتلقاها الإعلان مقسومًا على عدد ظهور الإعلان؛<br><strong>ملاحظة:</strong> المعامل مهجور، والقيمة دائمًا <code>null</code>",
      "format": "double"
    },
    "average_cpc": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>قيمة متوسط تكلفة النقرة</em><br>تمثّل تكلفة النقرة (بالدولار الأمريكي) المقدّرة لكلمة مفتاحية استنادًا إلى الفترة الزمنية المحددة والبيانات التاريخية؛<br>إذا لم تكن هناك بيانات، تكون القيمة_<code>null</code>n",
      "format": "double"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>تكلفة الإعلان</em><br>المبلغ الذي سيُحتسب لتشغيل إعلان خلال الفترة الزمنية المحددة<br>إذا لم تكن هناك بيانات، تكون القيمة_<code>null</code>n"
    },
    "clicks": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>عدد النقرات على إعلان</em><br>عدد النقرات المتوقّع أن يحصل عليها الإعلان خلال الفترة الزمنية المحددة<br>إذا لم تكن هناك بيانات، تكون القيمة_<code>null</code>n"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataGoogleAdsAdTrafficByKeywordsTaskGetTaskInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataGoogleAdsAdTrafficByKeywordsTaskGetTaskInfo`

```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_KeywordsDataGoogleAdsAdTrafficByKeywordsTaskGetResultInfo"
              }
            ]
          },
          "description": "<em>مصفوفة نتائج</em>"
        }
      }
    }
  ]
}
```
