Zernio
APIFor you
Zernio
APIFor you
API Reference

Conversions API

List account conversion goalsGETList conversion actionsGETList associated campaignsGETList conversion destinationsGETList custom conversion goalsGETList event destinationsGETCreate website conversion actionPOSTCreate a conversion destinationPOSTCreate a custom conversion goalPOSTAdd an event destinationPOSTGet a conversion destinationGETGet attribution metricsGETGet Event Match QualityGETUpdate account conversion goalsPATCHUpdate a conversion action's settingsPATCHUpdate a conversion destinationPATCHUpdate a custom conversion goalPATCHDelete a conversion destinationDELETERemove an event destinationDELETEAssociate campaignsPOSTAdjust uploaded conversionsPOSTRemove associated campaignsDELETERemove a custom conversion goalDELETESend conversion eventsPOSTSend events to every destinationPOST
Dashboard
OverviewPlatformsAPI ReferenceResources
Conversions API

Add an event destination

Saves an ad platform destination for a profile, so events sent to POST /v1/events for that profile are forwarded to it. Pick destinationId from GET /v1/accounts/{accountId}/conversion-destinations. Set eventNames to forward only those events (for example only Purchase); leave it out to forward every event.


POST
/v1/events/destinations

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.conversions.createEventDestination({  body: {    profileId: 'profile_abc123',    accountId: 'account_abc123',    destinationId: 'destination_abc123',  },});console.log(data);
{  "destination": {    "id": "string",    "profileId": "string",    "accountId": "string",    "destinationId": "string",    "eventNames": [      "string"    ],    "createdAt": "2019-08-24T14:15:22Z"  }}
Was this page helpful?

Create a custom conversion goal

Creates a Google Ads custom conversion goal from a set of conversion actions, so a campaign can bid on just those. Creates a custom conversion goal from conversion action ids. Point a campaign at it with `PATCH /v1/ads/campaigns/{campaignId}/conversion-goals`.

Get a conversion destination

Shows one LinkedIn conversion rule with its full settings. LinkedIn-only today. Returns the full destination record for one conversion rule. The `adAccountId` query parameter is required because LinkedIn rules are scoped to a sponsored ad account.

profileId*string
accountId*string

Connected ads account ID that owns the destination.

destinationId*string
eventNames?array<string>
Items1 <= items <= 50