# การตั้งงาน ‘Bing Ads Audience Estimation’

**API:** Data API

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

**Tags:** DataForSEO

จัดคิวการประมาณผู้ชม Bing และคืนค่า `id` ของงาน ห่อด้วย envelope ของ DataForSEO: ข้อมูลอยู่ใน `tasks[0].result` ผลลัพธ์อยู่ใน `tasks[0].status_code` — คำขอที่ถูกปฏิเสธยังคงคืน HTTP 200 ดึงผลด้วย `get_dataforseo_keywords_bing_audience_fetch`

### ข้อมูลอ้างอิงราคา

- การวัดปริมาณการใช้งาน: ต้นทุนการตอบกลับที่รายงาน
- ค่าประมาณคำขออ้างอิง: USD 0.09
- ตัวคูณอ้างอิงสำหรับลูกค้า: 1.0 ห้ามนำไปใช้ซ้ำกับยอดที่เรียกเก็บจากลูกค้าแล้ว

เป็นข้อมูลเมตาอ้างอิงเท่านั้น ไม่ใช่ใบเสนอราคาสำหรับบัญชี ไม่ใช่ราคาที่รับประกัน และไม่ใช่เพดานการใช้จ่าย เครดิตของทรัพยากรไม่ใช่เครดิต Felo ยอดเรียกเก็บขั้นสุดท้ายเป็นไปตามบันทึกการเรียกเก็บเงินของ 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>ชื่อเต็มของสถานที่ของเครื่องมือค้นหา</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ</strong> <code>location_code</code> หรือ <code>location_coordinate</code><br><strong>หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ <code>location_code</code> หรือ <code>location_coordinate</code></strong><br>คุณสามารถรับรายการสถานที่ของเครื่องมือค้นหาที่ใช้ได้พร้อม <code>location_name</code> ได้โดยส่งคำขอแยกไปที่ <code>https://api.dataforseo.com/v3/keywords_data/bing/locations</code><br>ตัวอย่าง:<br><code class=\"long-string\">London,England,United Kingdom</code>"
          },
          "location_code": {
            "type": "integer",
            "description": "<em>รหัสสถานที่ของเครื่องมือค้นหา</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ</strong> <code>location_name</code> หรือ <code>location_coordinate</code><br><strong>หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ <code>location_name</code> หรือ <code>location_coordinate</code></strong><br>คุณสามารถรับรายการสถานที่ของเครื่องมือค้นหาที่ใช้ได้พร้อม <code>location_code</code> ได้โดยส่งคำขอแยกไปที่ <code>https://api.dataforseo.com/v3/keywords_data/bing/locations</code><br>ตัวอย่าง:<br><code class=\"long-string\">2840</code>"
          },
          "location_coordinate": {
            "type": "string",
            "description": "<em>พิกัด GPS ของสถานที่</em><br><strong>ฟิลด์ที่จำเป็นหากไม่ได้ระบุ</strong> <code>location_name</code> หรือ <code>location_code</code><br><strong>หากใช้ฟิลด์นี้ ไม่จำเป็นต้องระบุ <code>location_name</code> หรือ <code>location_code</code></strong><br>พารามิเตอร์ <code>location_coordinate</code> ต้องระบุในรูปแบบ <em>\"latitude,longitude,radius (in km)\"</em><br><strong>ข้อมูลจะคืนสำหรับประเทศที่พิกัดที่ระบุตั้งอยู่</strong><br>ตัวอย่าง:<br><code class=\"long-string\">29.6821525,-82.4098881,100</code>"
          },
          "age": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>การเลือกช่วงอายุสำหรับการกำหนดเป้าหมาย</em><br>ค่าที่เป็นไปได้: <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>มูลค่าการเสนอราคาที่ต้องการในหน่วย USD</em><br>ค่าสูงสุด: 1000"
          },
          "daily_budget": {
            "type": [
              "number",
              "null"
            ],
            "description": "<em>มูลค่างบประมาณแคมเปญรายวันในหน่วย USD</em><br>ค่าสูงสุด: 10000"
          },
          "gender": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>เพศเป้าหมาย</em><br>ค่าที่เป็นไปได้: <code>male</code>, <code>female</code>, <code>unknown</code>"
          },
          "industry": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>อุตสาหกรรมของการกำหนดเป้าหมายโปรไฟล์ LinkedIn</em><p>หากใช้ฟิลด์นี้ คุณจะได้รับรายการชื่ออุตสาหกรรมที่ใช้ได้พร้อม industry_id โดยส่งคำขอแยกไปที่ https://api.dataforseo.com/v3/keywords_data/bing/audience_estimation/industries<p>ตัวอย่าง: <code>806301758</code>"
          },
          "job_function": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>ฟังก์ชันงานของการกำหนดเป้าหมายโปรไฟล์ LinkedIn</em><p>หากใช้ฟิลด์นี้ คุณจะได้รับรายการชื่อฟังก์ชันงานที่ใช้ได้พร้อม job_function_id โดยส่งคำขอแยกไปที่ https://api.dataforseo.com/v3/keywords_data/bing/audience_estimation/job_functions<p>ตัวอย่าง: <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 — ดำเนินการสำเร็จ

Headers:
- `X-Request-Id` (string) — ตัวระบุคำขอที่ต้องระบุเมื่อติดต่อฝ่ายสนับสนุนของ Felo

**application/json**

Schema: object | null

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

### 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": "ค่าใช้จ่ายรวมของงาน, USD",
      "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": "ค่าใช้จ่ายรวมของงาน, USD",
      "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_KeywordsDataBingAudienceEstimationTaskPostResponseInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingAudienceEstimationTaskPostResponseInfo`

```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_KeywordsDataBingAudienceEstimationTaskPostTaskInfo"
              }
            ]
          },
          "description": "<em>อาร์เรย์ของงาน</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_KeywordsDataBingAudienceEstimationTaskPostTaskInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingAudienceEstimationTaskPostTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "object",
            "null"
          ],
          "description": "<em>อาร์เรย์ของผลลัพธ์</em><br>ในกรณีนี้ ค่าจะเป็น <code>null</code>"
        }
      }
    }
  ]
}
```
