Update a conversion destination
Partial-update a conversion rule. LinkedIn-only today. Whitelisted
fields: name, enabled, attribution windows, valueType, value,
attributionType. The rule's type and parent ad account are
intentionally not exposed for update — recreate the rule if those
need to change.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
length <= 255Setting false is equivalent to calling DELETE — the
rule will appear as inactive afterwards.
"LAST_TOUCH_BY_CAMPAIGN" | "LAST_TOUCH_BY_CONVERSION"365 only allowed for LEAD, PURCHASE, ADD_TO_CART, QUALIFIED_LEAD, SUBMIT_APPLICATION rule types.
1 | 7 | 30 | 90 | 365365 only allowed for LEAD, PURCHASE, ADD_TO_CART, QUALIFIED_LEAD, SUBMIT_APPLICATION rule types.
1 | 7 | 30 | 90 | 365"DYNAMIC" | "FIXED" | "NO_VALUE"Used when valueType=FIXED.
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.conversions.updateConversionDestination({ path: { accountId: 'account_abc123', destinationId: 'destination_abc123', }, body: { adAccountId: 'adaccount_abc123', },});console.log(data);{
"platform": "linkedinads",
"destination": {
"id": "string",
"name": "string",
"type": "string",
"status": "active",
"adAccountId": "string"
}
}{
"error": "Unauthorized"
}Get Event Match Quality GET
Reads Meta Event Match Quality (EMQ) and pixel↔CAPI event coverage for a pixel/dataset, live from Meta's Dataset Quality API. Web events only (a Meta limitation). Meta-only; other platforms return 405. Requires the Ads add-on.
Delete a conversion destination DELETE
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.