Soft-delete a conversion destination
LinkedIn-only today. LinkedIn does not expose hard-delete on conversion rules — what their UI calls "delete" is the same `enabled: false` flip we apply here. The rule remains fetchable via GET with `status: 'inactive'`; the unified discovery endpoint hides it by default. `adAccountId` may be passed as a query parameter (recommended) or as a JSON body field for clients that can send DELETE bodies.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Query Parameters
Required as query OR in JSON body.
Response Body
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.ads.deleteConversionDestination({ path: { accountId: 'account_abc123', destinationId: 'destination_abc123', },});console.log(data);{
"error": "Unauthorized"
}Cancel an ad DELETE
Cancels the ad on the platform and marks it as cancelled in the database. The ad is preserved for history.
Associate campaigns with a conversion destination POST
Associate one or more campaigns with this conversion rule. Returns a per-campaign success/failure result so callers can retry only the rows that failed (e.g. wrong campaign type for the rule's objective).