---
title: "Create website conversion action"
method: POST
path: "/v1/ads/conversions/actions"
tags: ["Conversions"]
---

# Create website conversion action

`POST /v1/ads/conversions/actions`

Creates a `WEBPAGE` conversion action (category `DEFAULT`) and returns it with
its tag snippets, read back after creation since Google never returns them on
the create response itself. Invalidates the cached list `GET` on this resource
would otherwise keep serving. Google-only; other platforms return `501`.
Requires the Ads add-on.

## Request body

- object
  - `accountId` string, required — SocialAccount ID. Must be a `googleads` account.
  - `customerId` string — Google Ads customer id (digits only). Resolved automatically when the connection has exactly one accessible customer.
  - `name` string, required
  - `type` 'WEBPAGE', required — Only WEBPAGE is supported for creation today.
  - `defaultValue` number — Default conversion value used when an event doesn't carry its own value.
  - `alwaysUseDefaultValue` boolean — When true, always use defaultValue and ignore any value sent with the event. Defaults to true when defaultValue is set.

## Response `201`

The created conversion action, with its tag snippets.

- object
  - `action` ConversionAction — A Google Ads conversion action, e.g. a WEBPAGE conversion created via `createConversionAction`. Returned by `listConversionActions` and `createConversionAction`.
    - `id` string, required — Google Ads conversion action id.
    - `name` string, required
    - `type` string, required — Google's ConversionActionType, e.g. WEBPAGE, UPLOAD_CLICKS.
    - `status` string, required — Google's ConversionActionStatus, e.g. ENABLED, REMOVED, HIDDEN.
    - `category` string, required — Google's ConversionActionCategory, e.g. DEFAULT, PURCHASE, LEAD.
    - `tagSnippets` object[], required — The code a customer pastes onto their site. Present for types Google generates a snippet for (e.g. WEBPAGE); empty otherwise.
      - `type` string, required — Google's TrackingCodeType, e.g. WEBPAGE.
      - `pageFormat` string — Google's TrackingCodePageFormat, e.g. HTML, AMP.
      - `globalSiteTag` string — The gtag.js snippet to install once per site.
      - `eventSnippet` string — The per-conversion-page snippet that fires the event.

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `403` — Ads access required (Ads add-on on legacy plans, included on usage-based plans).
- `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` — Conversion actions are only available for Google Ads (the account's platform is not `googleads`).

## Changes

- **2026-09-16** `3e6ddf2a99ea` — 3 info
  - added the optional property `details/budgetScope` to the response with the `400` status
  - added the optional property `details/budgetScope` to the response with the `404` status
  - added the optional property `details/budgetScope` to the response with the `409` status
- **2026-09-15** `0dba7d004d75` — 6 info
  - added the optional property `details/quotaExhausted` to the response with the `400` status
  - added the optional property `details/quotaExhausted` to the response with the `404` status
  - added the optional property `details/quotaExhausted` to the response with the `409` status
  - added the optional property `details/quotaScope` to the response with the `400` status
  - …2 more
- **2026-09-10** `e70ed06e7150` — 7 info
  - added the non-success response with the status `409`
  - added the optional property `code` to the response with the `404` status
  - added the optional property `details` to the response with the `404` status
  - added the optional property `param` to the response with the `404` status
  - …3 more
- **2026-09-08** `d7a8fa118ef0` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/ads/conversions/actions/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/eded32b62823?raw)
