---
title: "Adjust uploaded conversions"
method: POST
path: "/v1/messaging/ads/conversions/adjustments"
tags: ["Conversions"]
---

# Adjust uploaded conversions

`POST /v1/messaging/ads/conversions/adjustments`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/messaging/ads/conversions/adjustments`
- Auth: HTTP bearer

Retracts, restates the value of, or enhances conversions you already sent to Google Ads, for refunds or late customer data.

Adjust conversions that were previously uploaded via `POST /v1/ads/conversions`:
retract them, restate their value, or enhance them with first-party data. Requires
the Ads add-on.

**Google Ads only.** Google handles adjustments through the classic Google Ads API
(`ConversionAdjustmentUploadService`); the Data Manager `ingestEvents` path used for
sending conversions is ingest-only. Meta and LinkedIn have no equivalent, so this
endpoint returns `405` for those platforms.

Adjustment types:

- `RETRACTION`: remove the conversion entirely (refund, chargeback, cancelled order, churn).
- `RESTATEMENT`: change the conversion's value (upgrade / downgrade / partial refund). Send the corrected **total** value in `restatementValue` (not a delta).
- `ENHANCEMENT`: attach first-party identifiers (hashed email / phone) to an existing conversion (enhanced conversions applied after the fact).

Identifying the original conversion (per adjustment):

- `orderId`: the transaction ID you sent as `eventId` on the original conversion. Recommended, and **required** for `ENHANCEMENT`.
- or `gclid` + `conversionTime`: the click ID and the original conversion's time (unix seconds). Not available for `ENHANCEMENT`.

`destinationId` is the conversion action resource name, e.g.
`customers/1234567890/conversionActions/987654321` (same value you send to
`POST /v1/ads/conversions`). PII in `user` is hashed with SHA-256 server-side
(Gmail-specific normalization included). Send plaintext.

Times are unix seconds; we convert to Google's required
`yyyy-MM-dd HH:mm:ss+00:00` format. Up to 2000 adjustments per request; partial
failure is supported (inspect `adjustmentsFailed` / `failures[]`).


**Billing:** Request; paid actions are priced in credits (see GET /v1/messaging/prices) · **Rate limit:** 60/min

## Headers

- `Idempotency-Key` string
- `X-Tag` string

## Request body

- object
  - `accountId` string, required: SocialAccount ID. Must be a `googleads` account.
  - `adjustments` object[], required
    - `user` object: ENHANCEMENT only. First-party identifiers (hashed server-side). At least one of email/phone required.
      - `email` string
      - `phone` string
    - `gclid` string: Alternative key. The original click ID. Pair with `conversionTime`. Not valid for ENHANCEMENT.
    - `orderId` string: Transaction ID of the original conversion (the `eventId` you sent). Recommended; required for ENHANCEMENT.
    - `currency` string: RESTATEMENT only. ISO 4217 currency for `restatementValue`.
    - `userAgent` string: ENHANCEMENT only. The original conversion's user agent (improves match quality).
    - `adjustmentTime` number, required: When the adjustment occurred, unix seconds.
    - `adjustmentType` 'RETRACTION' | 'RESTATEMENT' | 'ENHANCEMENT', required
    - `conversionTime` number: The original conversion's time, unix seconds. Required when identifying by `gclid`.
    - `restatementValue` number: RESTATEMENT only. The corrected TOTAL conversion value.
  - `destinationId` string, required: Conversion action resource name, e.g. `customers/1234567890/conversionActions/987654321`.

## Response `200`

Completed

- object
  - `id` string: Execution id — stable across internal retries; use it with GET /v1/executions/{id}
  - `status` 'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
  - `operation` string
  - `tag` string, nullable: Your X-Tag, if sent
  - `created_at` string, date-time
  - `completed_at` string, date-time, nullable
  - `output` object: Operation result (see each operation). While a Studio render is processing: `stage` (queued · transcribing · downloading · preparing · cleaning_voice · mixing_audio · rendering · finishing), `phase` (the engine's: download · prepare · voice · audio · encode · qa · upload, or null), `progress` (a percent, 0–100) and `progress_fraction` (0–1), `eta_seconds` (seconds left, never below 0) and `estimate_seconds`
    - `traceId` string
    - `failures` object[]
      - `code` union
        - string
        - integer
      - `message` string
      - `adjustmentIndex` integer: Index into the submitted adjustments array.
    - `platform` 'googleads'
    - `adjustmentsFailed` integer: Adjustments rejected (see failures).
    - `adjustmentsReceived` integer: Adjustments accepted by Google.
  - `error` string, nullable
  - `usage` object
    - `credits_charged` number, nullable
    - `credits_reserved` number
    - `estimated_credits` number
    - `cost_source` 'provider_reported' | 'calculated' | 'estimated' | 'null', nullable
    - `provider_usage` object, nullable: Normalised consumption, e.g. { VIDEO_SECOND: 22.4 }
  - `balance` object
    - `available` number
    - `reserved` number

## Other responses

- `400`: Invalid input
- `402`: Insufficient credits / project budget
- `404`: Resource not found (or not yours)
- `429`: Rate limited
- `503`: Service temporarily paused

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
