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.
您的输出将显示在这里
完成输入,然后点击运行。
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.
开始构建
具备统一身份验证和使用情况跟踪的平台 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 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_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 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| 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 |
问题
向 https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/bing/audience_estimation/live 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.09,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
无需参数。 可选:location_code (integer), language_code (string), age (array), bid (integer) 和 daily_budget (integer)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。DataForSEO Bing Audience Estimation 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 DataForSEO API 访问权限。