AI 向け

オブジェクト

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.

フィールド種類view から説明
idstringcompactライブラリ内の広告 ID。
urlstringcompactライブラリ内の広告へのリンク。
advertiserAdvertiserRefcompact広告の出稿者。
titlestring | nullcompact見出し(広告にある場合)。
textstringcompactAd copy as plain text; empty when the ad has none. · compact では省略される場合あり
formatstring | nullcompactCreative format; dynamic means the platform assembles it per viewer (catalog ads).
imagesstring[] | nullstandardクリエイティブの画像 URL。
videosstring[] | null全体クリエイティブの動画 URL。
landing_urlstring | nullstandard広告のリンク先。
ctastring | nullstandardCTA ボタンのテキスト。
platformsstring[] | nullstandard配信先(例:facebook、instagram)。
activeboolean | nullcompact広告が現在も配信中かどうか。
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.
extオブジェクト全体プラットフォーム固有の追加情報。view=full の場合のみ返されます。 · view=full の場合のみ

AdvertiserRef

フィールド種類説明
idstring | nullライブラリ内の広告主 ID。
namestring | null広告主名。
urlstring | null広告主のページ。

Ad を返すエンドポイント

一度つなげば、あとは聞くだけ。

新しいキーには $0.20 の無料クレジットが付きます。AI に1文貼るだけで接続できます。

無料で始める
AI につなぐ

これを AI エージェントに貼り付けてください

https://okdata.online/agents.md を読んで、okdata を設定してください。キーは環境変数 OKDATA_API_KEY に入っています。

Claude Code、Cursor、Codex など、リンクを開ける AI エージェントなら、読んで自分で設定します。

MCP サーバーhttps://api.okdata.online/mcp