Magic Torpedo Talk to us
Documentation

Documentation

From connecting your first ad account to reading the engine's log. Every section maps to a screen in the admin.

Quickstart

The shortest path from sign-up to a live, optimizing campaign:

  1. Connections → Connect at least one ad platform.
  2. Products → New: name, a paragraph, the URL.
  3. Review the brief and strategy the wizard generates. Edit anything wrong.
  4. Confirm guardrails. Nothing can spend until you do.
  5. Preview pages and creative; regenerate what you don't like.
  6. Launch — campaigns are created paused. Activate them.
  7. Read tomorrow's digest.

Connecting ad accounts

Each platform runs its own OAuth flow: you approve on their side and return. Tokens are encrypted at rest and refreshed nightly. A scheduled health check marks a connection unhealthy when a token stops working, so an expired token shows up as a warning — not as a mysteriously bad week.

Meta

After connecting, choose the ad account, the Facebook Page ads will run from, and the Pixel / dataset conversions report to. A personal ad account can hold one pixel; for a pixel per product, use a Business Manager.

Google Ads

Requires a developer token on the manager account. Until the token is approved for production, campaigns can only run against test accounts.

TikTok

Requires an approved TikTok Marketing API app. Until approval, the connection shows as not connected and TikTok is left out of the channel mix.

Products & the brief

A product is anything you advertise — an app, a SaaS, a service. Creating one queues a crawl of its URL. The crawler returns a brief: value proposition, audience, price points, and screenshots it can reuse.

Read the brief properly. Everything downstream — personas, angles, pages, ads — is built on it, and a crawler reads a homepage the way a stranger does.

Deleting a product removes its pages, creatives and engine history. Campaigns already on your ad accounts are paused, not deleted — they're yours.

Strategy

The strategy is structured data, not prose. Each part is editable:

PartWhat it drives
PersonasAudience targeting and the objections copy has to answer
Channel mixWhich platforms get campaigns, and the starting budget split
AnglesOne landing page and one campaign per angle
TargetsThe CPA / ROAS the engine judges performance against

Guardrails reference

Guardrails are set per product and optionally per platform. The engine checks every action against them at the moment of execution, using actual spend synced from the platform.

SettingEffectSensible start
Max daily spendHard ceiling; actions that would exceed it are blockedAn amount you'd accept losing
Max monthly spendHard ceiling across the calendar month30× daily, or less
Max single budget moveLarger moves queue for approval± 15%
Learning periodNo kill decisions before this much runtime72 hours
CPA ceilingAds above it auto-pause~2× target CPA
New campaigns / dayMore than this queues for approval2

Every proposed action gets one of three verdicts: within (executes), exceeded (queues for approval), blocked (never executes).

Landing pages & A/B

Pages compile to static HTML under /p/<product>/<variant>/. A chooser assigns each visitor a variant by weight and remembers it, so a returning visitor sees the same page.

Every 15 minutes the stats job computes each variant's probability of being best. Past 95%, the winner is promoted automatically — within guardrails. You can promote manually at any time from Product → Pages.

Creative

Set a brand kit once per product: logo, colours, tone. Creative is generated per placement format. Every ad can be previewed as it will render and regenerated individually. The engine only ever ships creative from the approved set.

Fatigue is checked hourly: click-through falling while frequency rises triggers new variants for that ad.

Tracking pixel

Landing pages include the pixel automatically. To measure conversions on your own site or app, add:

<script src="https://www.magictorpedo.com/px.js" defer></script>
<body data-mt-pid="YOUR_PRODUCT_ID">

Mark conversion clicks and forms with attributes — no custom JavaScript needed:

<a href="/signup" data-mt-event="signup_click">Start free</a>
<form data-mt-form>…</form>

Consent behaviour

RegionBefore a choice
EU, UK, DACHNothing: no cookie, no page view, no listeners
United StatesMeasurement runs; GPC switches advertising off
ElsewhereMeasurement runs; advertising off by default

Reopen the preferences picker from your own footer with window.MTConsent.open().

The engine

JobCadence
metrics.syncEvery 15 minutes
engine.tickEvery 30 minutes
landing.statsEvery 15 minutes
anomaly.watchEvery 15 minutes
creative.fatigueHourly
digest.buildDaily, 11:00 UTC

A tick skips any product whose metrics are more than two hours stale, whose guardrails aren't confirmed, or whose kill switch is on. The reason is written to Engine → Runs.

Approvals & kill switch

Actions that exceed a guardrail wait in Approvals with the reasoning and the numbers behind them. Approve or reject; after 72 hours an unanswered item auto-rejects. The engine will raise it again next tick if the condition still holds.

The kill switch is in the top bar of every screen. Global, per product or per platform, it pauses campaigns and blocks every platform write until you turn it off.

Compliance tools

Compliance in the admin holds five tabs: the cookie register (which drives both the consent modal and the public cookie page), the consent log (exportable CSV), the DSAR queue with SLA timers, versioned legal documents, and email opt-in / suppression lists.

Troubleshooting

The engine did nothing this tick.

Guardrails not confirmed, metrics over two hours stale, or kill switch on. Engine → Runs shows which.

A campaign won't activate.

Check Connections — an expired token reports as unhealthy, and campaigns stay paused rather than half-created.

Conversions aren't reaching the platform.

Forwarding is consent-gated. Declined visitors are logged as skipped_no_consent — that's the system working.

An approval expired.

It auto-rejected at 72 hours. The engine re-raises it next tick if the condition still holds.

Still stuck? Support.

Tell us what you're launching.

Send the product and what you're spending today. You'll get an honest read on whether this helps — including if it doesn't.