ads

Call ads.research_pull

Changed on

See what one competitor is running as ads, longest-running first — 'what ads is our competitor running?', 'what ads is HubSpot running', 'pull up their Facebook ads', 'what are they running on Google?', 'show me their LinkedIn ads', 'what ads are they running on TikTok?'. It looks the competitor up by name in the Meta, Google, LinkedIn or TikTok ad library (the platform the member names; Meta when they name none) and returns their three longest runners: the hook, the format, how long each has run (or the date it was first seen; LinkedIn's library states neither) and a link to it in the library — the ads they keep paying for are the ones working. Each run's ad_id is what ads.pick_reference takes when the member wants one as a reference. This charges the workspace one lookup; a competitor pulled in the last 30 days answers from what we already have and costs nothing unless refresh is set. The ads' pictures are never stored: send the member to each run's link to see one. Not for suggesting which competitors to watch — that is ads.suggest_competitors. Over the API it answers in two calls: without confirmation_id it proposes — says what would happen, returns a confirmation_id and changes, spends and sends nothing; the same arguments again with that confirmation_id, on a member's own API key, do it.

Every result names the workspace it ran in. Say which workspace the answer is about. When the account has more than one workspace and none is selected, this tool refuses with workspace_ambiguous and lists the choices — offer them, never pick one.

post/api/v1/tools/ads.research_pull

Request

  • Base URL: https://app.goosybear.ai
  • URL: https://app.goosybear.ai/api/v1/tools/ads.research_pull
  • Auth: HTTP bearer

Headers

x-request-idstring

Your own id for this request, echoed back and recorded on the audit trail. 1–128 characters from A–Z a–z 0–9 . _ : -, starting with a letter or digit; anything else is replaced by a generated id.

Request body

competitorstring required

The competitor, in the operator's own words — a brand name. A platform-native page id or advertiser id also works when they have one.

platform'meta' | 'google' | 'linkedin' | 'tiktok' required

Which ad library to look in.

limitinteger

How many of their longest-running ads to keep. Defaults to three, which is what the card shows.

refreshboolean

Look them up again even though we already have a recent pull saved. This SPENDS a lookup; leave it off unless the operator asked for fresh numbers.

confirmation_idstring uuid

Omit to propose: the first call says what would happen, returns a confirmation_id and changes nothing. To go ahead, send the same arguments again with that confirmation_id, on a member's own API key; a service account's key can propose but never confirm.

workspacestring

Which workspace to run in — its slug. Omit to use your default. With more than one reachable workspace and no default, the call is refused and the choices are listed.

Response

The call was admitted and dispatched. ok says whether the tool succeeded — a refusal the tool itself produced is still a 200, exactly as it is a successful JSON-RPC result over MCP.

OR

Changes

    • warning

      added the new linkedin enum value to the / response property for the response status

    • warning

      added the new tiktok enum value to the / response property for the response status

    • info

      added the new linkedin enum value to the request property

    • info

      added the new tiktok enum value to the request property