v1.0.0OpenAPI 3.1.1

Performance Marketing API

Download OpenAPI Document

Connect Meta ad accounts, read performance and CAC, test existing assets and approve campaign operations.

Connect Meta, read saved reports and test existing organization assets. Start with the Performance Marketing guide for identifiers, attribution, CAC coverage, minor-unit budgets and the approval lifecycle.

Every ordinary operation accepts an organization-bound x-api-key acting with its creator's role. Meta browser consent still belongs to a person: keep the one-use verifier in the initiating browser. The public reference excludes internal worker and Meta callback routes.

Saving a plan or proposing an action makes no campaign write. Preparation writes paused provider objects. Launch and approval can spend the Meta account's advertising funds; the analyst separately uses Universe credits. Observed efficiency rankings do not establish statistical significance.

Server
{{API_BASE_URL}}
Your API environment
Authentication RequiredApiKeyAuth
Your organization API key (starts with `uvk_`). Create one in the Universe app under Settings → API keys.
x-api-key:
Client Libraries
Shell

Insights

Reports are snapshots for 7/30 account-local days. Null revenue, ROAS or CAC means unavailable evidence, not zero. CAC requires known first-time customer outcomes for every day. Analyst replies charge Universe credits and never execute campaign writes.

Analyze an ad account

Record new-customer outcomes

Get performance report

Queue account sync

List experiments

Create an experiment

Get an experiment

Get live delivery from Meta

Auth Required

Read the experiment’s campaigns and ads from Meta now: whether they are switched on and serving, why an ad is held back, and lifetime spend, reach and results. A paused experiment that Meta shows switched on (started in Ads Manager) is marked active.

Permission: performance_marketing.campaign:read. An API key acts with the role of the member who created it.

Path Parameters

idstring · uuidrequired

Universe resource ID in your organization; not a Meta object ID.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b

Responses

200Read the experiment’s campaigns and ads from Meta now: whether they are switched on and serving, why an ad is held back, and lifetime spend, reach and results. A paused experiment that Meta shows switched on (started in Ads Manager) is marked active.
application/json
checkedAtstringrequired

ISO 8601 timestamp.

Example: 2026-10-11T09:00:00Z
statusstringrequired

The experiment status after this check: a paused experiment Meta shows switched on is now active.

Example: draft
statestringrequired

Where the experiment stands in Meta right now.

Enum values:not_createdscheduleddeliveringin_reviewissuesendedpausedremoved
Example: not_created
switchedOnbooleanrequired

switched On.

Example: false
reconciledbooleanrequired

True when this check found the test switched on in Ads Manager and marked it active.

Example: false
startedInAdsManagerbooleanrequired

True when the test was switched on in Ads Manager, so Vitra’s launch checks did not run.

Example: false
goalstringrequired

goal.

Enum values:purchaseleadlanding_page_view
Example: purchase
currencystring | nullrequired

ISO currency of the Meta account; report money uses its major units.

Example: USD
spendCapMinornumberrequired

The planned budget for the whole test, in minor units.

Example: 1
campaignsobject[]required

campaigns.

Show child attributes
idstringrequired

Meta resource ID, not a Universe UUID.

Example: 123456789
namestring | nullrequired

name.

Example: Summer creative test
statusstring | nullrequired

Current connection, action or experiment lifecycle state. See the group guide.

Example: draft
effectiveStatusstring | nullrequired

effective Status.

Example: example
adsobject[]required

ads.

Show child attributes
idstringrequired

Meta resource ID, not a Universe UUID.

Example: 123456789
namestring | nullrequired

name.

Example: Summer creative test
variantstring | nullrequired

variant.

Example: example
statusstring | nullrequired

Current connection, action or experiment lifecycle state. See the group guide.

Example: draft
effectiveStatusstring | nullrequired

effective Status.

Example: example
statestringrequired

state.

Enum values:deliveringin_reviewissuespausedremoved
Example: delivering
problemstring | nullrequired

Why Meta holds the ad back, in Meta’s words.

Example: example
totalsobject | nullrequired

Lifetime totals from Meta, in the account currency, with the ad sets’ own attribution setting (as Ads Manager shows them).

Show child attributes
spendnumberrequired

spend.

Example: 100
impressionsnumberrequired

impressions.

Example: 1
reachnumberrequired

reach.

Example: 1
clicksnumberrequired

clicks.

Example: 1
linkClicksnumberrequired

link Clicks.

Example: 1
resultsnumberrequired

results.

Example: 1
costPerResultnumber | nullrequired

cost Per Result.

Example: 1
ctrnumber | nullrequired

ctr.

Example: 1
cpmnumber | nullrequired

cpm.

Example: 1
400Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
403Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
404The resource is not in this organization, has been removed, or lacks a required completed snapshot.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
GET/v1/galaxy/performance-marketing/experiments/{id}/delivery
curl '{{API_BASE_URL}}/v1/galaxy/performance-marketing/experiments/c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b/delivery' \
  --header 'x-api-key: YOUR_API_KEY'
{
  "checkedAt": "2026-10-11T09:00:00Z",
  "status": "draft",
  "state": "not_created",
  "switchedOn": false,
  "reconciled": false,
  "startedInAdsManager": false,
  "goal": "purchase",
  "currency": "USD",
  "spendCapMinor": 1,
  "campaigns": [],
  "ads": [],
  "totals": {}
}

Launch a prepared experiment

Preview experiment assets

Prepare paused campaign objects

Move an experiment to a project

Recover an uncertain creation

Get experiment efficiency results

Get native Meta study results

Models

InsufficientCreditsErrorDto