---
title: "Set a conversion action primary or secondary"
method: PATCH
path: "/v1/ads/conversions/actions/{actionId}"
tags: ["Conversions"]
---

# Set a conversion action primary or secondary

`PATCH /v1/ads/conversions/actions/{actionId}`

Sets `primary_for_goal` on a Google Ads conversion action. A primary action counts
toward its goal's bidding and the Conversions column; a secondary one is
observation-only (All conversions).

## Path parameters

- `actionId` string, required

## 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
  - `primaryForGoal` boolean, required — true = primary, false = secondary

## Response `200`

Action updated

- object
  - `customerId` string
  - `action` object
    - `id` string
    - `primaryForGoal` boolean

## 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/actions/:actionId/patch.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)
