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.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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 anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
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.
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
DataForSEO | $0.09 çağrı başına | JSON |
DataForSEO | Kullanım başına $0.0102'den itibaren | JSON |
DataForSEO | Kullanım başına $0.000724'den itibaren | JSON |
DataForSEO | $0.004 çağrı başına | JSON |
DataForSEO | Kullanım başına $0.00162'den itibaren | JSON |
DataForSEO | Kullanım başına $0.001105'den itibaren | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/bing/audience_estimation/live adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.09, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli parametre yoktur. İsteğe bağlı: location_code (integer), language_code (string), age (array), bid (integer) ve daily_budget (integer). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. DataForSEO Bing Audience Estimation, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. DataForSEO API erişimi için ayrıca başvuru yapmanız gerekmez.