Ad account and tracking
ads_setupWhere an ad platform (x, meta, reddit or google) stands for a boost, in the fixed order: 1. account (an ad account with a payment method the founder added, read in their browser; on Meta first a business portfolio and the Facebook Page the ads run under, with its own profile picture), 2. tracking (the platform's pixel on the site, loaded by Shipfound's script, so the founder deploys nothing: the pixel id and an event per ladder step, read in Events manager), 3. launch. Returns each step's state and what to do, what the campaign can optimise for, the recommended step of the ladder (landing page view, signup, payment: the deepest with enough volume) for the founder to confirm, the site's signup and payment goals (firable: whether the pixel can see them in the browser), and clicksSeen: visits in the last 7 days that arrived with X's click id. With record, first stores what you read: account { adAccountId?, name?, payment?, currency?, businessId?, pageId?, pageName?, pagePicture? } (X: ads.x.com; Meta: business.facebook.com settings and Ads Manager; Reddit: ads.reddit.com; Google: the customer ID at ads.google.com); tracking { pixelId, events?, verified? } from Events manager (X: the pixel id and each event's id; Meta: the dataset id; Reddit: the pixel id, a2_ or t2_; their standard events need no ids; Google: the conversion ID, AW- and digits, as pixelId, and each conversion action's label, after the slash in its send_to, as the event; verified: it shows events recorded from the site, or on Google the tag shows as active). Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | No | ||
| platform | No | Default x |