---
title: "Create a custom conversion goal"
method: POST
path: "/v1/ads/conversions/custom-goals"
tags: ["Conversions"]
---

# Create a custom conversion goal

`POST /v1/ads/conversions/custom-goals`

Creates a custom conversion goal from conversion action ids. Point a campaign at it with `PATCH /v1/ads/campaigns/{campaignId}/conversion-goals`.

## Request body

- object
  - `accountId` string, required — Zernio SocialAccount id (Google Ads)
  - `adAccountId` string — Google customer id. Required when the connection has multiple customers.
  - `customerId` string — Alias of adAccountId
  - `name` string, required
  - `conversionActionIds` string[], required

## Response `201`

Custom goal created

- object
  - `customerId` string
  - `id` string
  - `resourceName` string

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `404` — The account or requested resource was not found or is not accessible. An account ID may have been disconnected and removed. Read GET /v1/accounts for current account IDs.
- `409` — The account exists but is inactive or needs reconnection. Reconnect it, then read GET /v1/accounts for its current account ID before retrying. Code: ads_connection_required.
- `501` — Only available on Google Ads accounts

## Changes

- **2026-09-28** `1c23a639830f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/ads/conversions/custom-goals/post.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) · [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/1c23a639830f?raw)
