# Impostare le attività live ‘Bing Ads Audience Estimation’

**API:** Data API

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

**Tags:** DataForSEO

Stima il pubblico Bing Ads raggiungibile con un dato `bid` e `daily_budget`, ristretto da `location_code`, `age`, industria e funzione lavorativa. Incapsulato nella struttura DataForSEO: dati in `tasks[0].result`, esito in `tasks[0].status_code`; una richiesta rifiutata restituisce comunque HTTP 200. I valori di industria e funzione lavorativa provengono da `get_dataforseo_keywords_bing_audience_industries` e `get_dataforseo_keywords_bing_audience_job_functions` – entrambi gratuiti ed entrambi da leggere prima di comporre una richiesta. I gemelli submit e fetch di questo endpoint svolgono lo stesso lavoro in modo asincrono, allo stesso prezzo, per batch troppo grandi per attendere.

### Riferimento prezzi

- Misurazione: costo della risposta comunicato.
- Stima di riferimento per richiesta: USD 0.09.
- Moltiplicatore di riferimento per il cliente: 1.0. Non applicarlo di nuovo a un importo già addebitato al cliente.

Solo metadati di riferimento, non un preventivo dell'account, né un prezzo garantito o un limite di spesa. I crediti delle risorse non sono crediti Felo. Gli addebiti finali seguono le registrazioni di fatturazione 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>nome completo della località del motore di ricerca</em><br><strong>campo obbligatorio se non specifichi</strong> <code>location_code</code> o <code>location_coordinate</code><br><strong>se usi questo campo, non devi specificare <code>location_code</code> o <code>location_coordinate</code></strong><br>puoi ottenere l'elenco delle località disponibili del motore di ricerca con il relativo <code>location_name</code> effettuando una richiesta separata a <code>https://api.dataforseo.com/v3/keywords_data/bing/locations</code><br>esempio:<br><code class=\"long-string\">London,England,United Kingdom</code>"
          },
          "location_code": {
            "type": "integer",
            "description": "<em>codice località del motore di ricerca</em><br><strong>campo obbligatorio se non specifichi</strong> <code>location_name</code> o <code>location_coordinate</code><br><strong>se usi questo campo, non devi specificare <code>location_name</code> o <code>location_coordinate</code></strong><br>puoi ottenere l'elenco delle località disponibili dei motori di ricerca con il relativo <code>location_code</code> effettuando una richiesta separata a <code>https://api.dataforseo.com/v3/keywords_data/bing/locations</code><br>esempio:<br><code class=\"long-string\">2840</code>"
          },
          "location_coordinate": {
            "type": "string",
            "description": "<em>coordinate GPS di una località</em><br><strong>campo obbligatorio se non specifichi</strong> <code>location_name</code> o <code>location_code</code><br><strong>se usi questo campo, non devi specificare <code>location_name</code> o <code>location_code</code></strong><br>il parametro <code>location_coordinate</code> deve essere specificato nel formato <em>\"latitude,longitude,radius (in km)\"</em><br><strong>i dati verranno forniti per il paese a cui appartengono le coordinate specificate</strong><br>esempio:<br><code class=\"long-string\">29.6821525,-82.4098881,100</code>"
          },
          "age": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>selezione degli intervalli di età per il targeting</em><br>valori possibili: <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>valore di offerta desiderato in USD</em><br>valore massimo: 1000"
          },
          "daily_budget": {
            "type": [
              "number",
              "null"
            ],
            "description": "<em>budget giornaliero della campagna in USD</em><br>valore massimo: 10000"
          },
          "gender": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>genere di destinazione</em><br>valori possibili: <code>male</code>, <code>female</code>, <code>unknown</code>"
          },
          "industry": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>settore per il targeting del profilo LinkedIn</em><p>se usi questo campo, puoi ricevere l'elenco dei nomi dei settori disponibili con industry_id effettuando una richiesta separata a https://api.dataforseo.com/v3/keywords_data/bing/audience_estimation/industries<p>esempio: <code>806301758</code>"
          },
          "job_function": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>funzione lavorativa per il targeting del profilo LinkedIn</em><p>se usi questo campo, puoi ricevere l'elenco dei nomi delle funzioni lavorative disponibili con job_function_id effettuando una richiesta separata a https://api.dataforseo.com/v3/keywords_data/bing/audience_estimation/job_functions<p>esempio: <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 — Operazione riuscita

Headers:
- `X-Request-Id` (string) — Identificatore della richiesta da includere quando contatti l'assistenza Felo.

**application/json**

Schema: object | null

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

### 400 — Impossibile elaborare la richiesta. Controlla i parametri della richiesta.

### 401 — È richiesta una chiave API Felo valida.

### 402 — Impossibile procedere con la richiesta perché non è soddisfatto un requisito di fatturazione.

### 403 — L'account non è autorizzato a eseguire questa operazione.

### 429 — È stato raggiunto un limite di richieste o di spesa.

### 502 — Il servizio non è riuscito a completare la richiesta.

### 503 — L'API o il servizio di fatturazione è temporaneamente non disponibile.

### 504 — Si è verificato un timeout durante l'elaborazione della richiesta.

### default — Risposta di errore; le risposte passthrough upstream possono usare formati del provider

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AudienceEstimationInfo

`#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo`

```json
{
  "type": "object",
  "properties": {
    "high": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>indica il limite superiore del risultato dell'intervallo</em>",
      "format": "double"
    },
    "low": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>indica il limite inferiore del risultato dell'intervallo</em>",
      "format": "double"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "La versione corrente dell'API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "codice di stato generale\nl'elenco completo dei codici di risposta è disponibile qui"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "messaggio informativo generale\nl'elenco completo dei messaggi informativi generali è disponibile qui"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "tempo di esecuzione totale, secondi"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "Costo totale delle attività, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Il numero di attività nell'array tasks",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Il numero di attività nell'array tasks restituite con un errore",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "identificatore dell'attività\nidentificatore univoco dell'attività nel nostro sistema in formato UUID"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "codice di stato dell'attività\ngenerato da DataForSEO, può essere compreso nell'intervallo: 10000-60000\nl'elenco completo dei codici di risposta è disponibile qui"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "messaggio informativo dell'attività\nl'elenco completo dei messaggi informativi generali è disponibile qui"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "Tempo di esecuzione in secondi"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "Costo totale delle attività, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Numero di elementi nell'array dei risultati",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "Percorso URL"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "Contiene gli stessi parametri specificati nella richiesta POST"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataBingAudienceEstimationLiveResponseInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingAudienceEstimationLiveResponseInfo`

```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_KeywordsDataBingAudienceEstimationLiveTaskInfo"
              }
            ]
          },
          "description": "<em>array di attività</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_KeywordsDataBingAudienceEstimationLiveResultInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingAudienceEstimationLiveResultInfo`

```json
{
  "type": "object",
  "properties": {
    "est_impressions": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo"
        }
      ],
      "description": "<em>intervallo mensile stimato delle impressioni</em>"
    },
    "est_audience_size": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo"
        }
      ],
      "description": "<em>intervallo mensile stimato del numero di utenti</em>"
    },
    "est_clicks": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo"
        }
      ],
      "description": "<em>intervallo mensile stimato del numero di clic</em>"
    },
    "est_spend": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo"
        }
      ],
      "description": "<em>intervallo mensile stimato della spesa</em>"
    },
    "est_cost_per_event": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo"
        }
      ],
      "description": "<em>indica il costo stimato per evento come intervallo</em>"
    },
    "est_ctr": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AudienceEstimationInfo"
        }
      ],
      "description": "<em>intervallo stimato della percentuale di clic</em>"
    },
    "suggested_bid": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>offerta suggerita con il targeting attuale</em>"
    },
    "suggested_budget": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>budget giornaliero suggerito con il targeting e l'offerta attuali</em>",
      "format": "double"
    },
    "events_lost_to_bid": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>indica il numero di eventi persi a causa di un'offerta inserita troppo bassa</em>",
      "format": "int64"
    },
    "events_lost_to_budget": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>indica il numero di eventi persi a causa di un budget inserito troppo basso</em>"
    },
    "est_reach_audience_size": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>numero mensile stimato di utenti</em>",
      "format": "int64"
    },
    "est_reach_impressions": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>impressioni mensili stimate</em>",
      "format": "int64"
    },
    "currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>nome della valuta</em><p>esempio: <code>USDollar</code>"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataBingAudienceEstimationLiveTaskInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataBingAudienceEstimationLiveTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_KeywordsDataBingAudienceEstimationLiveResultInfo"
              }
            ]
          },
          "description": "<em>array di risultati</em>"
        }
      }
    }
  ]
}
```
