ads
GET /v1/ads/connections/{connection_id}/rsa-tests
RSA A/B tests — variants rotated, winners called at the customer's confidence (za-197).
Authentication
Send an API key as a bearer token. The key must carry the ads.view permission; a key without it is refused with 403, not 404.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/ads/connections/{connection_id}/rsa-tests \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Gated on ads.view. Reads only Zinn® Ads' own rows (no network request, nothing spent). The tests themselves run in the connection's daily audit: an ad group with two enabled responsive search ads is rotated evenly through the campaigns mode, measured from the day rotation is even, and a winner is called only when both variants have the minimum impressions and clicks, the minimum days have passed and a two-sided two-proportion test is below 1 - confidence. The swap (pause the loser, add a new challenger built from the winner without its weakest assets) goes through the ads mode and the za-171 gate. settings are the connection's stored values, recommended what "Reset to recommended" restores; edit them with PATCH /v1/ads/connections/{connection_id}.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
connection_id (path) | string | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
supported | boolean | Yes | — |
platform | string | Yes | — |
settings | AdsRsaTestSettings | Yes | RSATEST (za-197) — a connection's RSA A/B test settings (stored, or the Recommended). |
recommended | AdsRsaTestSettings | Yes | RSATEST (za-197) — a connection's RSA A/B test settings (stored, or the Recommended). |
tests | AdsRsaTest[] | Yes | — |
Errors this endpoint can return
404