List conversion actions
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.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Query Parameters
SocialAccount _id (must be a googleads account).
Platform ad account ID (Google customer ID, digits only). Resolved automatically when the connection has exactly one accessible customer.
Alias of adAccountId, kept for existing callers
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}List account conversion goals
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
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.