OverviewProductsPlatformsAPI ReferenceResources
Conversions API

List custom conversion goals

GEThttps://zernio.com/api/v1/ads/conversions/custom-goals

Lists the custom conversion goals in a Google Ads account, each a named set of conversion actions a campaign can bid on.

Google Ads custom conversion goals (a named set of conversion actions a campaign can bid on). Removed goals are excluded. Cached like the other Google reads.

PlatformsGoogle

Authentication

AuthorizationBearer tokenRequired

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

Query parameters

accountIdstringRequired

Zernio SocialAccount id (Google Ads)

adAccountIdstring

Google customer id. Required when the connection has multiple customers.

customerIdDeprecatedstring

Alias of adAccountId

Responses

Success· the request worked

Errors· the request failed

GET/v1/ads/conversions/custom-goals
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.conversions.listCustomConversionGoals({  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "customerId": "string",  "goals": [    {      "id": "string",      "resourceName": "string",      "name": "string",      "status": "string",      "conversionActionIds": [        "string"      ]    }  ],  "cachedAt": "2019-08-24T14:15:22Z",  "stale": true}
OpenAPI specification
Was this page helpful?