List an agent's ads
list_adsList an agent's ads
The Meta ads customers have reached the agent through, newest first by when Mojeeb
first saw each, with what each brought in: taps by channel, private replies to comments
on its own posts, and the conversations, contacts and leads it touched. An ad appears
once a customer taps it (Messenger, Instagram or WhatsApp) or, on Instagram, once a
comment arrives on its ad media; Mojeeb never reads Ads Manager, so spend and reach are
not here. Filter with active_since (ads seen on or after an instant) or search (a
part of the title, case-insensitive). A conversation's attribution and latest_ad_id
point at these ads, and listConversations takes an ad_id to list the threads an ad
brought in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1 to 100 (values outside are clamped). Default 20. | |
| cursor | No | Opaque cursor from the previous page's `next_cursor`. Omit for the first page. A cursor the API didn't return is `422 invalid_request`. | |
| search | No | A part of the ad's title, case-insensitive. It can't contain `,` `(` `)` `"` `*` `%` or `\` (`422 invalid_request_body`). | |
| agent_id | Yes | The agent the resource belongs to. Another company's agent, or the nil UUID, is `404 agent_not_found`; an agent outside the key's agent list is `403 agent_not_authorized`. | |
| active_since | No | Only ads seen (`last_seen_at`) on or after this instant. |