# Dapatkan Hasil SERP Google AI Mode Lanjutan mengikut id

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/serp/google/ai_mode/task_get/advanced/{id}`

**Tags:** DataForSEO

Mengambil hasil Google AI Mode yang berbaris mengikut `id`. Memulangkan `keyword`, `type`, `se_domain`, `location_code`, `language_code`, `check_url`, `datetime`, `spell`, `refinement_chips`, `item_types`, `items_count` dan `items`. Dibungkus dalam sampul DataForSEO: data dalam `tasks[0].result`, hasil dalam `tasks[0].status_code` - permintaan yang ditolak tetap memulangkan HTTP 200.

### Rujukan harga

- Pemeteran: Kos respons yang dilaporkan.
- Anggaran rujukan setiap permintaan: USD 0.02.
- Pengganda pelanggan rujukan: 1.0. Jangan gunakan semula pada amaun pelanggan yang telah diselesaikan.

Metadata rujukan sahaja, bukan sebut harga akaun, harga terjamin atau had perbelanjaan. Kredit sumber bukan kredit Felo. Caj akhir mengikut rekod pengebilan Felo.

## Related links

- [pengecam unik universal (UUID)](<https://en.wikipedia.org/wiki/Universally_unique_identifier>)
- [XPath](<https://en.wikipedia.org/wiki/XPath>)
- [bahasa markup markdown](<https://en.wikipedia.org/wiki/Markdown>)

## 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>pengecam tugas</em><br>pengecam unik universal (UUID)<br><strong>pengecam tugas unik dalam sistem kami</strong><br>anda boleh menggunakannya dalam tempoh <strong>30 hari</strong> untuk meminta hasil tugas pada bila-bila masa |

## Responses

### 200 — Operasi berjaya

Headers:
- `X-Request-Id` (string) — Pengecam permintaan untuk disertakan semasa menghubungi sokongan Felo.

**application/json**

Schema: object | null

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

### 400 — Permintaan tidak dapat diproses. Semak parameter permintaan.

### 401 — Kunci API Felo yang sah diperlukan.

### 402 — Permintaan tidak dapat diteruskan kerana keperluan pengebilan tidak dipenuhi.

### 403 — Akaun tidak dibenarkan melakukan operasi ini.

### 429 — Had permintaan atau had perbelanjaan telah dicapai.

### 502 — Perkhidmatan tidak dapat menyelesaikan permintaan.

### 503 — API atau perkhidmatan pengebilan tidak tersedia buat sementara waktu.

### 504 — Perkhidmatan tamat masa semasa memproses permintaan.

### default — Respons ralat; respons passthrough huluan mungkin menggunakan format penyedia

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AiModeAiOverviewInfo

`#/components/schemas/Response36Afe1097B20_AiModeAiOverviewInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>kedudukan kumpulan dalam SERP</em><br>kedudukan dalam kumpulan elemen dengan nilai <code>type</code> yang sama<br>kedudukan elemen dengan nilai <code>type</code> berbeza dikecualikan daripada <code>rank_group</code>"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>kedudukan mutlak dalam SERP</em><br>kedudukan mutlak antara semua elemen dalam SERP"
    },
    "page": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>halaman SERP</em><br>halaman SERP tempat elemen disenaraikan"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>penjajaran elemen dalam SERP</em><br>boleh mengambil nilai berikut:<br><code>left</code>, <code>right</code>"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>XPath elemen</em>"
    },
    "markdown": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>kandungan elemen dalam format markdown</em><br>teks <code>ai_overview</code> yang diformatkan dalam bahasa markup markdown"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_BaseSerpApiAiModeAiOverviewElementItem"
          }
        ]
      },
      "description": "<em>item yang ada dalam elemen</em>"
    },
    "references": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AiModeAiOverviewReferenceInfo"
          }
        ]
      },
      "description": "<em>rujukan tambahan yang berkaitan dengan item</em><br>merangkumi rujukan kepada halaman web yang mungkin digunakan untuk menjana <code>ai_overview</code>"
    },
    "rectangle": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AiModeRectangleInfo"
        }
      ],
      "description": "<em>parameter segi empat tepat</em><br>mengandungi koordinat kartesan dan dimensi piksel petikan hasil dalam SERP<br>sama dengan <code>null</code> jika <code>calculate_rectangles</code> dalam permintaan POST tidak ditetapkan kepada <code>true</code>"
    }
  }
}
```

### Response36Afe1097B20_AiModeAiOverviewReferenceInfo

`#/components/schemas/Response36Afe1097B20_AiModeAiOverviewReferenceInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>penjajaran elemen dalam SERP</em><br>boleh mengambil nilai berikut:<br><code>left</code>, <code>right</code>"
    },
    "source": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>nama atau tajuk sumber rujukan</em>"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>nama domain rujukan</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL pautan</em>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>teks sauh pautan</em>"
    },
    "text": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>teks komponen</em>"
    }
  }
}
```

### Response36Afe1097B20_AiModeRectangleInfo

`#/components/schemas/Response36Afe1097B20_AiModeRectangleInfo`

```json
{
  "type": "object",
  "properties": {
    "x": {
      "type": [
        "number",
        "null"
      ],
      "description": "koordinat paksi x\nkoordinat paksi x sudut kiri atas petikan hasil, dengan sudut kiri atas skrin sebagai asalan",
      "format": "double"
    },
    "y": {
      "type": [
        "number",
        "null"
      ],
      "description": "koordinat paksi y\nkoordinat paksi y sudut kiri atas petikan hasil, dengan sudut kiri atas skrin sebagai asalan",
      "format": "double"
    },
    "width": {
      "type": [
        "number",
        "null"
      ],
      "description": "lebar elemen dalam piksel",
      "format": "double"
    },
    "height": {
      "type": [
        "number",
        "null"
      ],
      "description": "tinggi elemen dalam piksel",
      "format": "double"
    }
  }
}
```

### Response36Afe1097B20_AmazonLabelElement

`#/components/schemas/Response36Afe1097B20_AmazonLabelElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "tajuk elemen"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL carian dengan parameter penghalusan"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "domain dalam SERP"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "versi semasa API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "kod status umum; anda boleh menemui senarai penuh kod respons di sini"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "mesej maklumat umum; anda boleh menemui senarai penuh mesej maklumat umum di sini"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "jumlah masa pelaksanaan, saat"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "jumlah kos tugas, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "bilangan tugas dalam array tasks",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "bilangan tugas dalam array tasks yang dipulangkan dengan ralat",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "pengecam tugas; pengecam tugas unik dalam sistem kami dalam format UUID"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "kod status tugas yang dijana oleh DataForSEO; boleh berada dalam julat berikut: 10000-60000; anda boleh menemui senarai penuh kod respons di sini"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "mesej maklumat tugas; anda boleh menemui senarai penuh mesej maklumat umum di sini"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "masa pelaksanaan, saat"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "jumlah kos tugas, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "bilangan elemen dalam array hasil",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "Laluan URL"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "mengandungi parameter yang sama seperti yang anda tentukan dalam permintaan POST"
    }
  }
}
```

### Response36Afe1097B20_BaseSerpApiAiModeAiOverviewElementItem

`#/components/schemas/Response36Afe1097B20_BaseSerpApiAiModeAiOverviewElementItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>penjajaran elemen dalam SERP</em><br>boleh mengambil nilai berikut:<br><code>left</code>, <code>right</code>"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "ai_overview_element": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewElementItem",
      "ai_overview_expanded_element": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewExpandedElementItem",
      "ai_overview_video_element": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewVideoElementItem",
      "ai_overview_table_element": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewTableElementItem",
      "ai_overview_shopping": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewShoppingItem",
      "ai_overview_paid": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewPaidItem"
    }
  }
}
```

### Response36Afe1097B20_RefinementChipsElement

`#/components/schemas/Response36Afe1097B20_RefinementChipsElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "tajuk elemen"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL carian dengan parameter penghalusan"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "domain dalam SERP"
    },
    "options": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AmazonLabelElement"
          }
        ]
      },
      "description": "pilihan penghalusan carian lanjut"
    }
  }
}
```

### Response36Afe1097B20_RefinementChipsInfo

`#/components/schemas/Response36Afe1097B20_RefinementChipsInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "XPath elemen"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsElement"
          }
        ]
      },
      "description": "item elemen"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResponseInfo`

```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_SerpGoogleAiModeTaskGetAdvancedTaskInfo"
              }
            ]
          },
          "description": "<em>tatasusunan tugas</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>kata kunci yang diterima dalam array POST<br></em><strong>kata kunci dipulangkan dengan %## dinyahkod (simbol tambah '+' akan dinyahkod menjadi aksara ruang)</strong>"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis elemen"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>domain enjin carian dalam array POST</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>kod lokasi dalam array POST</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>kod bahasa dalam array POST</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL terus ke hasil enjin carian<br></em>anda boleh menggunakannya untuk memastikan bahawa kami memberikan hasil yang tepat"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>tarikh dan masa hasil diterima</em><br>dalam format UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>contoh:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "spell": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_SpellInfo"
        }
      ],
      "description": "<em>pembetulan automatik enjin carian</em><br>jika enjin carian memberikan hasil untuk kata kunci yang dibetulkan, kami akan menyatakan kata kunci yang dibetulkan oleh enjin carian dan jenis pembetulan automatiknya;<br>dalam kes ini, nilainya akan menjadi <code>null</code>"
    },
    "refinement_chips": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsInfo"
        }
      ],
      "description": "<em>cip penghalusan carian</em><br>dalam kes ini, nilainya akan menjadi <code>null</code>"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>jenis hasil carian dalam SERP</em><br>mengandungi jenis hasil carian (<code>items</code>) yang ditemui dalam SERP.<br>jenis item yang mungkin:<br><code>ai_overview</code>"
    },
    "se_results_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> jumlah keseluruhan hasil dalam SERP</em>",
      "format": "int64"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>bilangan hasil yang dipulangkan dalam tatasusunan <strong><code>items</code></strong></em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AiModeAiOverviewInfo"
          }
        ]
      },
      "description": "<em>item yang ada dalam elemen</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedTaskInfo`

```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_SerpGoogleAiModeTaskGetAdvancedResultInfo"
              }
            ]
          },
          "description": "<em>tatasusunan hasil</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SpellInfo

`#/components/schemas/Response36Afe1097B20_SpellInfo`

```json
{
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "kata kunci yang diperoleh hasil daripada pembetulan automatik enjin carian\n keputusan akan diberikan untuk kata kunci yang dibetulkan"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "jenis pembetulan automatik\n nilai yang mungkin:\n did_you_mean, showing_results_for, no_results_found_for, including_results_for\n nota: Yahoo dan Yandex hanya menyokong jenis pembetulan automatik berikut:\n including_results_for"
    }
  }
}
```
