OverviewProductsPlatformsAPI ReferenceResources
Automated Rules

Delete an ad rule

DELETEhttps://zernio.com/api/v1/ads/rules/{ruleId}

Deletes a rule and its run history. Changes the rule already made on the platform stay.

PlatformsMetaGoogleTikTokLinkedInPinterestXReddit

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

ruleIdstringRequired

Responses

Success· the request worked

Errors· the request failed

DELETE/v1/ads/rules/{ruleId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adrules.deleteAdRule();console.log(data);
{  "success": true}
OpenAPI specification
Was this page helpful?