Zernio
Zernio
API Reference

Conversions API

List conversion actions and their tag snippetsGETList associated campaignsGETList conversion destinationsGETCreate a website conversion actionPOSTCreate a conversion destinationPOSTGet a conversion destinationGETGet attribution metricsGETGet Event Match QualityGETUpdate a conversion destinationPATCHDelete a conversion destinationDELETEAssociate campaignsPOSTAdjust uploaded conversionsPOSTRemove associated campaignsDELETESend conversion eventsPOST
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Conversions API

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.


PlatformsMetaGoogleTikTokLinkedIn
PATCH
/v1/accounts/{accountId}/conversion-destinations/{destinationId}

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication - use your Zernio API key as a Bearer token

In: header

Path Parameters

accountId*string
destinationId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

At least one mutable field beyond adAccountId is required; the route returns 400 if no patch fields are provided.

Response Body

application/json

application/json

{  "platform": "linkedinads",  "destination": {    "id": "string",    "name": "string",    "type": "string",    "status": "active",    "adAccountId": "string"  }}
Was this page helpful?

Get Event Match Quality

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

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.

adAccountId*string
name?string
Lengthlength <= 255
enabled?boolean

Setting false is equivalent to calling DELETE — the rule will appear as inactive afterwards.

attributionType?string

Value in

  • "LAST_TOUCH_BY_CAMPAIGN"
  • "LAST_TOUCH_BY_CONVERSION"
postClickAttributionWindowSize?integer

365 only allowed for LEAD, PURCHASE, ADD_TO_CART, QUALIFIED_LEAD, SUBMIT_APPLICATION rule types.

Value in

  • 1
  • 7
  • 30
  • 90
  • 365
viewThroughAttributionWindowSize?integer

365 only allowed for LEAD, PURCHASE, ADD_TO_CART, QUALIFIED_LEAD, SUBMIT_APPLICATION rule types.

Value in

  • 1
  • 7
  • 30
  • 90
  • 365
valueType?string

Value in

  • "DYNAMIC"
  • "FIXED"
  • "NO_VALUE"
value?

Used when valueType=FIXED.