Zernio
APIFor you
Zernio
APIFor you
API Reference

Conversions API

List account conversion goalsGETList conversion actionsGETList associated campaignsGETList conversion destinationsGETList custom conversion goalsGETCreate website conversion actionPOSTCreate a conversion destinationPOSTCreate a custom conversion goalPOSTGet 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 destinationDELETEAssociate campaignsPOSTAdjust uploaded conversionsPOSTRemove associated campaignsDELETERemove a custom conversion goalDELETESend conversion eventsPOST
Dashboard
OverviewPlatformsAPI ReferenceResources
Conversions API

List conversion actions

Lists the conversion actions in a Google Ads account, with the website tag snippets to install where available.

Lists Google Ads conversion actions on the resolved customer, all types by default. Each action's tagSnippets (global site tag + event snippet) is included when Google has them for that action's type, e.g. WEBPAGE. Google-only; other platforms return 501. Requires the Ads add-on.

adAccountId (alias customerId) is optional: when omitted, it is resolved from the connection's accessible Google Ads customers, and the call fails with 400 when more than one is accessible (pass adAccountId to disambiguate).

The list itself is cached for the quota window (1 hour fresh, up to 7 days last-good; the cache key does not vary on type). The response carries cachedAt and stale, set when a quota-exhausted call falls back to the last-good copy instead of a live read.


PlatformsGoogle
GET
/v1/ads/conversions/actions

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Query Parameters

accountId*string

SocialAccount _id (must be a googleads account).

adAccountId?string

Platform ad account ID (Google customer ID, digits only). Resolved automatically when the connection has exactly one accessible customer.

customerId?string
Deprecated

Alias of adAccountId, kept for existing callers

type?string

Filter by Google's ConversionActionType enum (e.g. WEBPAGE, UPLOAD_CLICKS).

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.listConversionActions({  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "customerId": "string",  "actions": [    {      "id": "string",      "name": "string",      "type": "string",      "status": "string",      "category": "string",      "origin": "string",      "primaryForGoal": true,      "defaultValue": 0,      "defaultCurrency": "string",      "alwaysUseDefaultValue": true,      "countingType": "string",      "clickThroughLookbackWindowDays": 0,      "viewThroughLookbackWindowDays": 0,      "tagSnippets": [        {          "type": "string",          "pageFormat": "string",          "globalSiteTag": "string",          "eventSnippet": "string"        }      ]    }  ],  "cachedAt": "2019-08-24T14:15:22Z",  "stale": true}
Was this page helpful?

List account conversion goals

Lists a Google Ads account's default conversion goals, which ones are used for bidding, and the conversion actions in each. Google Ads account-default conversion goals (CustomerConversionGoal), one per category and origin, with `biddable` (whether the goal is used for bidding and reported in the Conversions column) and the conversion actions that belong to it, each flagged `primaryForGoal` (primary) or not (secondary). Reads are cached for 10 minutes; when the shared Google quota is exhausted the last successful result is served with `stale: true`.

List associated campaigns

Lists the LinkedIn campaigns that track a conversion rule, so you can spot newer campaigns that still need linking. LinkedIn-only today. Returns the campaigns currently associated with this conversion rule. Auto-association on rule creation runs once at create time; campaigns created after the rule still need explicit association.