# קבלת תוצאות ‘Ads Traffic By Keywords’ לפי id

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