Archive Pixel
Archives a pixel, same as Archive in Tools -> Pixels: it stops sending and is detached from every campaign. The message says how many campaigns it left.
An archived pixel stays in the list under status=archived. Restoring it is done in Tools -> Pixels; after that attach it to the campaigns again.
Errors (status: "error", HTTP 200):
404Pixel not found: unknown id or not your pixel.422pixel_id is required.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, read the pixel list before repeating it.
message of the answer says how many campaigns it left.
What stays
- The pixel is kept and shows in the pixel list with
status=archived. - Past sends stay in Tools -> Postback Logs.
- Custom postbacks and other pixels of the campaigns are not touched.
Bringing it back
An archived pixel is restored in Tools -> Pixels. Its campaigns are not attached again by themselves: attach the pixel to each of them after the restore, in the cabinet or with attach.Errors
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.