EU ad reach and audience breakdown — Meta ad library
meta-ad-library.meta-ads.library.eu_reachGet the EU reach, audience breakdown and payer of ads delivered in Europe
- Price
- freeAl precio del proveedor
- Success rate
- —Aún no hay datos de tasa de éxitoAún no hay datos de tasa de éxito
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/meta-ad-library.meta-ads.library.eu_reachPreview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
Meta publishes these under the EU Digital Services Act: eu_total_reach is an actual number of accounts reached (not a range), age_country_gender_reach_breakdown splits it by country/age/gender, beneficiary_payers names who paid and who benefits, and target_ages / target_gender / target_locations expose the advertiser's declared targeting — the only place any Meta ad targeting is public. All of it is missing for non-EU delivery, which reads as an empty response field rather than an error
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
limit | entero | Opcional | 25 | |
fields | cadena | Obligatorio | the DSA disclosure set | id,page_name,eu_total_reach,age_country_gender_reach_breakdown,beneficiary_payers,target_ages,target_gender,target_locations,ad_creative_bodies,ad_delivery_start_time |
search_terms | cadena | Opcional | electric car | |
search_page_ids | matriz | Opcional | up to 10 Page ids, to scope to one advertiser | |
ad_active_status | cadena | Opcional | ALL | |
ad_reached_countries | matriz | Obligatorio | EU/EEA member states only — the DSA fields are populated for EU delivery and are absent everywhere else | ["DE","FR"] |
- Parámetros de consulta
limitenteroOpcionalEjemplo:
25fieldscadenaObligatoriothe DSA disclosure set
Ejemplo:
id,page_name,eu_total_reach,age_country_gender_reach_breakdown,beneficiary_payers,target_ages,target_gender,target_locations,ad_creative_bodies,ad_delivery_start_timesearch_termscadenaOpcionalEjemplo:
electric carsearch_page_idsmatrizOpcionalup to 10 Page ids, to scope to one advertiser
ad_active_statuscadenaOpcionalEjemplo:
ALLad_reached_countriesmatrizObligatorioEU/EEA member states only — the DSA fields are populated for EU delivery and are absent everywhere else
Ejemplo:
["DE","FR"]
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
curl -X GET 'https://toolswitch.dev/v1/tools/meta-ad-library.meta-ads.library.eu_reach' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/meta-ad-library.meta-ads.library.eu_reach",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/meta-ad-library.meta-ads.library.eu_reach", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a free, incluida la tarifa de servicio.