UC-07: Campaign Lifecycle and Conversion Tests
Role-gated control-plane steps are intentionally excluded from this public guide; use support escalation when those operations are required. Shared company context: Gharart.com Company Context Need operator help? Escalate through Troubleshooting and Support with request IDs and repro artifacts.
Developer Outcome
Ship campaign lifecycle and conversion tests for Gharart.com with reproducible API steps, operational limits, and clear debugging playbooks.
Prerequisites
- A valid handle and environment access for Gharart.com.
- JWT and/or PAT credentials with required scope for this use case.
- Access to logs, support escalation endpoints, and test workspace.
Gharart Scenario
New buyer funnel A/B test launch.
Persona: Lifecycle marketing manager
Business goal: Ship and validate campaign funnels with deterministic conversion test signals.
Step-by-Step Flow (UI + API)
- Open the relevant Gharart workflow in the dashboard and confirm actor role access.
- Execute route calls in sequence for this use case and capture response IDs.
- Validate expected state in UI and API after each step before moving forward.
- Record artifacts (request ID, run ID, deployment ID, slug, or token) for support handoff.
Primary API Routes
| Method | Path |
|---|---|
| GET | /v2/handles/{handle}/campaigns |
| GET | /v2/handles/{handle}/campaigns/{campaignId}/health |
| GET | /v2/handles/{handle}/site-structure/campaigns/{campaignId} |
| GET | /v2/public/handles/{handle}/site-structure/campaigns/{campaignId} |
| POST | /v2/handles/{handle}/campaigns |
| POST | /v2/handles/{handle}/campaigns/{campaignId}/test-conversion |
| POST | /v2/handles/{handle}/site-structure/campaigns/{campaignId}/publish |
| POST | /v2/public/handles/{handle}/site-structure/campaigns/{campaignId}/publish |
| PUT | /v2/handles/{handle}/site-structure/campaigns/{campaignId} |
| PUT | /v2/public/handles/{handle}/site-structure/campaigns/{campaignId} |
| POST | /v2/public/conversions |
Limits and Quotas
- Respect per-route throttles and daily write limits before bulk operations.
- Use idempotency-safe retries for write endpoints to avoid duplicate business actions.
- Schedule high-volume workflows outside peak campaign windows where possible.
Where This Breaks
- test-conversion endpoint returns invalid_ctx
- campaign health drops from missing traffic tags
- conversion dedupe confusion from reused idempotency key
How Gharart Debugs It
- Run campaign health endpoint before spend ramp
- Issue controlled test-conversion for each campaign variant
- Verify campaign detail page is published with
FREE_WITH_LOGINand schema fetch succeeds - Verify public conversion payload includes fresh ctx token
Escalation
Use end-user escalation path:
- Submit
POST /v2/support/report. - Include
summary,details, and when availablehandle,sessionId,requestId,reproArtifact.
Audience boundaries:
POST /v2/operator/escalationsis an internal operator workflow and not an end-user escalation action.POST /v2/public/content-reportis for public abuse moderation reports, not product incident escalation.