Para IA

Objeto

Objeto Ad

One ad from a public ad library: advertiser, copy, creative, landing page and when it ran. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.

CampoTipoDesde viewDescripción
idstringcompactID del anuncio en la biblioteca.
urlstringcompactEnlace al anuncio en la biblioteca.
advertiserAdvertiserRefcompactQuién publica el anuncio.
titlestring | nullcompactTitular, si el anuncio lo tiene.
textstringcompactAd copy as plain text; empty when the ad has none. · puede recortarse en compact
formatstring | nullcompactCreative format; dynamic means the platform assembles it per viewer (catalog ads).
imagesstring[] | nullstandardURL de imágenes de la creatividad.
videosstring[] | nullcompletoURL de los videos del creativo.
landing_urlstring | nullstandardA dónde lleva el anuncio.
ctastring | nullstandardTexto del botón de llamada a la acción.
platformsstring[] | nullstandardDónde se muestra, p. ej. facebook, instagram.
activeboolean | nullcompactSi el anuncio sigue activo.
first_shown_atstring | nullcompactFirst time or day shown, ISO 8601 in UTC.
last_shown_atstring | nullcompactLast time or day shown, ISO 8601 in UTC.
reachstring | nullstandardPeople reached, as the library publishes it: a bracket such as 1K-10K, or a count (the EU reach of a Meta ad); null where none is published.
extobjetocompletoDatos adicionales propios de la plataforma. Solo se devuelven con view=full. · solo con view=full

AdvertiserRef

CampoTipoDescripción
idstring | nullEl ID del anunciante en la biblioteca.
namestring | nullEl nombre del anunciante.
urlstring | nullLa página del anunciante.

Endpoints que devuelven un Ad

Conéctate una vez y luego solo pregunta.

Cada clave nueva incluye $0.20 para probar. Una frase conecta tu agente.

Empieza gratis
Conecta tu IA

Pega esto en tu agente

Lee https://okdata.online/agents.md y configura okdata por mí; mi clave está en la variable de entorno OKDATA_API_KEY.

Claude Code, Cursor, Codex y otros agentes que pueden abrir un enlace se configuran solos a partir de él.

Servidor MCPhttps://api.okdata.online/mcp