# Mencipta Tugas ‘Bing Ads Audience Estimation’ Langsung

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/keywords_data/bing/audience_estimation/live`

**Tags:** DataForSEO

Menganggar audiens Bing Ads yang boleh dicapai pada `bid` dan `daily_budget` tertentu, disempitkan oleh `location_code`, `age`, industri dan fungsi kerja. Dibungkus dalam sampul DataForSEO: data dalam `tasks[0].result`, hasil dalam `tasks[0].status_code` - permintaan yang ditolak tetap memulangkan HTTP 200. Nilai industri dan fungsi kerja datang daripada `get_dataforseo_keywords_bing_audience_industries` dan `get_dataforseo_keywords_bing_audience_job_functions` - kedua-duanya percuma, dan kedua-duanya wajar dibaca sebelum menyusun permintaan. Endpoint penghantaran dan pengambilan kembar bagi endpoint ini melakukan kerja yang sama secara tak segerak, pada harga yang sama, untuk kelompok yang terlalu besar untuk ditunggu.

### Rujukan harga

- Pemeteran: Kos respons yang dilaporkan.
- Anggaran rujukan setiap permintaan: USD 0.09.
- 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.

## Base URL

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

## Authentication

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

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "location_name": {
            "type": "string",
            "description": "<em>nama penuh lokasi enjin carian</em><br><strong>medan wajib jika anda tidak menentukan</strong> <code>location_code</code> atau <code>location_coordinate</code><br><strong>jika anda menggunakan medan ini, anda tidak perlu menentukan <code>location_code</code> atau <code>location_coordinate</code></strong><br>anda boleh mendapatkan senarai lokasi enjin carian yang tersedia bersama <code>location_name</code> masing-masing dengan membuat permintaan berasingan ke <code>https://api.dataforseo.com/v3/keywords_data/bing/locations</code><br>contoh:<br><code class=\"long-string\">London,England,United Kingdom</code>"
          },
          "location_code": {
            "type": "integer",
            "description": "<em>kod lokasi enjin carian</em><br><strong>medan wajib jika anda tidak menentukan</strong> <code>location_name</code> atau <code>location_coordinate</code><br><strong>jika anda menggunakan medan ini, anda tidak perlu menentukan <code>location_name</code> atau <code>location_coordinate</code></strong><br>anda boleh mendapatkan senarai lokasi enjin carian yang tersedia bersama <code>location_code</code> masing-masing dengan membuat permintaan berasingan ke <code>https://api.dataforseo.com/v3/keywords_data/bing/locations</code><br>contoh:<br><code class=\"long-string\">2840</code>"
          },
          "location_coordinate": {
            "type": "string",
            "description": "<em>koordinat GPS sesuatu lokasi</em><br><strong>medan wajib jika anda tidak menentukan</strong> <code>location_name</code> atau <code>location_code</code><br><strong>jika anda menggunakan medan ini, anda tidak perlu menentukan <code>location_name</code> atau <code>location_code</code></strong><br>parameter <code>location_coordinate</code> hendaklah ditentukan dalam format <em>\"latitude,longitude,radius (dalam km)\"</em><br><strong>data akan disediakan untuk negara milik koordinat yang ditentukan</strong><br>contoh:<br><code class=\"long-string\">29.6821525,-82.4098881,100</code>"
          },
          "age": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>pilihan julat umur untuk penyasaran</em><br>nilai yang mungkin: <code>eighteen_to_twenty_four</code>, <code>fifty_to_sixty_four</code>, <code>sixty_five_and_above</code>, <code>thirteen_to_seventeen</code>, <code>thirty_five_to_forty_nine</code>, <code>twenty_five_to_thirty_four</code>, <code>unknown</code>, <code>zero_to_twelve</code>"
          },
          "bid": {
            "type": [
              "number",
              "null"
            ],
            "description": "<em>nilai tetapan bidaan yang dikehendaki dalam USD</em><br>nilai maksimum: 1000"
          },
          "daily_budget": {
            "type": [
              "number",
              "null"
            ],
            "description": "<em>nilai belanjawan kempen harian dalam USD</em><br>nilai maksimum: 10000"
          },
          "gender": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>jantina untuk disasarkan</em><br>nilai yang mungkin: <code>male</code>, <code>female</code>, <code>unknown</code>"
          },
          "industry": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>industri penyasaran profil LinkedIn</em><p>jika anda menggunakan medan ini, anda boleh menerima senarai nama industri yang tersedia bersama industry_id dengan membuat permintaan berasingan ke https://api.dataforseo.com/v3/keywords_data/bing/audience_estimation/industries<p>contoh: <code>806301758</code>"
          },
          "job_function": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>fungsi kerja penyasaran profil LinkedIn</em><p>jika anda menggunakan medan ini, anda boleh menerima senarai nama fungsi kerja yang tersedia bersama job_function_id dengan membuat permintaan berasingan ke https://api.dataforseo.com/v3/keywords_data/bing/audience_estimation/job_functions<p>contoh: <code>806300451</code>"
          }
        },
        "example": [
          {
            "location_coordinate": "29.6821525,-82.4098881,100",
            "age": [
              "twenty_five_to_thirty_four",
              "eighteen_to_twenty_four",
              "unknown"
            ],
            "bid": 1,
            "daily_budget": 24,
            "gender": [
              "male"
            ],
            "industry": [
              "806303407",
              "806301758"
            ],
            "job_function": [
              "806298607"
            ]
          }
        ]
      }
    ]
  },
  "example": [
    {
      "location_coordinate": "29.6821525,-82.4098881,100",
      "age": [
        "twenty_five_to_thirty_four",
        "eighteen_to_twenty_four",
        "unknown"
      ],
      "bid": 1,
      "daily_budget": 24,
      "gender": [
        "male"
      ],
      "industry": [
        "806303407",
        "806301758"
      ],
      "job_function": [
        "806298607"
      ]
    }
  ]
}
```

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

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

`#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo`

```json
{
  "type": "object",
  "properties": {
    "high": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>menunjukkan had atas hasil julat</em>",
      "format": "double"
    },
    "low": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>menunjukkan had bawah hasil julat</em>",
      "format": "double"
    }
  }
}
```

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

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingAudienceEstimationLiveResponseInfo`

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

### Response36Afe1097B20_KeywordsDataBingAudienceEstimationLiveResultInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingAudienceEstimationLiveResultInfo`

```json
{
  "type": "object",
  "properties": {
    "est_impressions": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo"
        }
      ],
      "description": "<em>julat anggaran tayangan setiap bulan</em>"
    },
    "est_audience_size": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo"
        }
      ],
      "description": "<em>julat anggaran bilangan pengguna yang boleh dicapai setiap bulan</em>"
    },
    "est_clicks": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo"
        }
      ],
      "description": "<em>julat anggaran bilangan klik setiap bulan</em>"
    },
    "est_spend": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo"
        }
      ],
      "description": "<em>julat anggaran perbelanjaan setiap bulan</em>"
    },
    "est_cost_per_event": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo"
        }
      ],
      "description": "<em>menunjukkan anggaran kos setiap peristiwa dalam bentuk julat</em>"
    },
    "est_ctr": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo"
        }
      ],
      "description": "<em>julat anggaran kadar klik-lalu</em>"
    },
    "suggested_bid": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>nilai bidaan yang dicadangkan di bawah penyasaran semasa</em>"
    },
    "suggested_budget": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>nilai belanjawan harian yang dicadangkan di bawah penyasaran dan bidaan semasa</em>",
      "format": "double"
    },
    "events_lost_to_bid": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>menunjukkan bilangan peristiwa yang hilang disebabkan bidaan input tidak mencukupi</em>",
      "format": "int64"
    },
    "events_lost_to_budget": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>menunjukkan bilangan peristiwa yang hilang disebabkan belanjawan input tidak mencukupi</em>"
    },
    "est_reach_audience_size": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>anggaran bilangan pengguna setiap bulan</em>",
      "format": "int64"
    },
    "est_reach_impressions": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>anggaran bilangan tayangan setiap bulan</em>",
      "format": "int64"
    },
    "currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>nama mata wang</em><p>contoh: <code>USDollar</code>"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataBingAudienceEstimationLiveTaskInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingAudienceEstimationLiveTaskInfo`

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