Start RevShare Campaign
Starts a RevShare campaign on a model from the offer catalog (/api/marketer/revshare/offers). Same fields, defaults and rules as the Start modal in the cabinet: campaign limits, cooldowns and per-model source restrictions come back as error messages.
Returns the created campaign as one /api/marketer/revshare/campaigns row.
Errors (status: "error", HTTP 200):
422Please fill in all campaign fieldswhenof_account_idorsourceis missing.4xxPlatform limit / cooldown messages (campaign limit reached, source not allowed for this model, cooldown after a finished campaign) pass through unchanged.429Another campaign start is still running. Wait a few seconds and try again (one campaign start at a time per account).403Access denied: missing / unknown key, or the account is not an active partner.429Rate limit exceeded (30 writes per minute per key, see theRetry-Afterheader).503Service is temporarily unavailable: the platform did not answer in time. The action may still have been applied, check the matching read endpoint before repeating it.
/api/marketer/revshare/offers and pass its of_account_id.
Fields
Errors
available_campaigns_limit on the offers endpoint before starting: null means unlimited, 0 means no start will go through.Authorizations
API key from the partner cabinet, Tools -> API (https://partners.onlytraffic.com/tools/api): up to 5 named keys per account, each Full or Read-only, ot_partners_ prefix, shown once at creation. Raw value or Bearer form. Read-only keys cannot call the POST endpoints (403 This API key is read-only); expired or revoked keys get 403 Error! Access denied.