location_codeinteger
Location code, e.g. 2840 for the United States.
https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/bing/audience_estimation/liveEstimate Microsoft Ads audience size for targeting criteria. Bing Ads audience estimate for a location plus optional age, gender, industry, and job_function targeting, bid, and daily budget.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns estimated Microsoft Ads audience size, impressions, clicks and click-through rate for a set of targeting criteria. You send a location_code and language_code, plus optional targeting such as age, and a bid and daily_budget in USD.
bid and daily_budget values to plan a test budget.curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/bing/audience_estimation/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"location_code": 2840, "language_code": "en", "age": ["twenty_five_to_thirty_four"], "bid": 1, "daily_budget": 100}'
The result is returned in outputs[0].
| Name | Type | Required | Description |
|---|---|---|---|
age | array | No | Audience age groups. |
bid | integer | No | Bid in USD. |
daily_budget | integer | No | Daily budget in USD. |
language_code | string | No | Language code, e.g. "en". |
location_code | integer | No | Location code, e.g. 2840 for the United States. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"data": {
"age": [
"twenty_five_to_thirty_four"
],
"api": "keywords_data",
"bid": 1,
"daily_budget": 100,
"function": "audience_estimation",
"language_code": "en",
"location_code": 2840,
"se": "bing"
},
"id": "11030829-1614-0593-0000-3f2f80dfb5a8",
"path": [
"v3"
],
"result": [
{
"currency": "USDollar",
"est_audience_size": {
"high": 49570,
"low": 15970
},
"est_clicks": {
"high": 6190,
"low": 1550
},
"est_cost_per_event": {
"high": null,
"low": null
},
"est_ctr": {
"high": 0.02158363893284101,
"low": 0
},
"est_impressions": {
"high": 573950,
"low": 143490
},
"est_reach_audience_size": 7420000,
"est_reach_impressions": 2130000000
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "0.7798 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.7951 sec.",
"version": "0.1.20261022"
}
| Field | Meaning |
|---|---|
tasks[].result[].est_audience_size.low / est_audience_size.high | Lower and upper estimate of the audience size for the targeting and budget you sent. |
tasks[].result[].est_impressions.low / est_impressions.high | Lower and upper estimate of ad impressions. |
tasks[].result[].est_clicks.low / est_clicks.high | Lower and upper estimate of clicks. |
tasks[].result[].est_ctr.low / est_ctr.high | Lower and upper estimate of click-through rate, given as a fraction. A value of 0.0216 means about 2.16%. |
tasks[].result[].est_cost_per_event.low / est_cost_per_event.high | Lower and upper estimate of cost per event. Both values are null in this response. |
tasks[].result[].est_reach_audience_size | Estimated total reach audience size for the location and language, shown as a single number. |
tasks[].result[].est_reach_impressions | Estimated total reach impressions, shown as a single number. |
tasks[].result[].currency | Currency name for the cost values. This response shows USDollar. |
tasks[].data | Echo of the parameters the task ran with, such as location_code, age, bid and daily_budget. |
tasks[].id | Unique ID of the task. |
location_code 2840 for the United States. Pass age groups as an array of strings, for example ["twenty_five_to_thirty_four"].gender, industry and job_function as optional targeting parameters. This example request does not use them.tasks[].status_code and tasks_error to confirm the task succeeded. A successful task returns 20000.$0.09 per successful call. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/bing/audience_estimation/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"age": [
"twenty_five_to_thirty_four"
],
"bid": 1,
"daily_budget": 100,
"language_code": "en",
"location_code": 2840
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
location_codeintegerLocation code, e.g. 2840 for the United States.
language_codestringLanguage code, e.g. "en".
agearrayAudience age groups.
bidintegerBid in USD.
daily_budgetintegerDaily budget in USD.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
DataForSEO | $0.09 ต่อการเรียก | JSON |
DataForSEO | เริ่มต้นที่ $0.0102 ต่อครั้ง | JSON |
DataForSEO | เริ่มต้นที่ $0.000724 ต่อครั้ง | JSON |
DataForSEO | $0.004 ต่อการเรียก | JSON |
DataForSEO | เริ่มต้นที่ $0.00162 ต่อครั้ง | JSON |
DataForSEO | เริ่มต้นที่ $0.001105 ต่อครั้ง | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/bing/audience_estimation/live โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.09 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: location_code (integer), language_code (string), age (array), bid (integer) และ daily_budget (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น DataForSEO Bing Audience Estimation ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง DataForSEO API แยกต่างหาก