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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
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.
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
DataForSEO | $0.09 por llamada | JSON |
DataForSEO | Desde $0.0102 por llamada | JSON |
DataForSEO | Desde $0.000724 por llamada | JSON |
DataForSEO | $0.004 por llamada | JSON |
DataForSEO | Desde $0.00162 por llamada | JSON |
DataForSEO | Desde $0.001105 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/bing/audience_estimation/live con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.09 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
No se requieren parámetros. Opcionales: location_code (integer), language_code (string), age (array), bid (integer) y daily_budget (integer). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. DataForSEO Bing Audience Estimation funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de DataForSEO por separado.