Skip to content

Update a conversion destination

Partial-update a conversion rule. LinkedIn-only today. Whitelisted fields: name, enabled, attribution windows, valueType, value, attributionType. The rule's type and parent ad account are intentionally not exposed for update — recreate the rule if those need to change.

PATCH /v1/accounts/{accountId}/conversion-destinations/{destinationId}

Partial-update a conversion rule. LinkedIn-only today. Whitelisted fields: name, enabled, attribution windows, valueType, value, attributionType. The rule's type and parent ad account are intentionally not exposed for update — recreate the rule if those need to change.

Parameters

  • accountId (path, string) required

  • destinationId (path, string) required

Request body

Content-Type: application/json

  • adAccountId (string) required
  • name (string)
  • enabled (boolean) — Setting false is equivalent to calling DELETE — the rule will appear as inactive afterwards.
  • attributionType (string) (enum: LAST_TOUCH_BY_CAMPAIGN, LAST_TOUCH_BY_CONVERSION)
  • postClickAttributionWindowSize (integer) (enum: 1, 7, 30, 90, 365) — 365 only allowed for LEAD, PURCHASE, ADD_TO_CART, QUALIFIED_LEAD, SUBMIT_APPLICATION rule types.
  • viewThroughAttributionWindowSize (integer) (enum: 1, 7, 30, 90, 365) — 365 only allowed for LEAD, PURCHASE, ADD_TO_CART, QUALIFIED_LEAD, SUBMIT_APPLICATION rule types.
  • valueType (string) (enum: DYNAMIC, FIXED, NO_VALUE)
  • value (object) — Used when valueType=FIXED.

Responses

200 — Destination updated (re-fetched canonical state)

  • platform (string) (enum: linkedinads)
  • destination ($ref)

400 — Invalid body or LinkedIn validation failure.

401

403 — Ads add-on or LinkedIn reconnect required.

404 — Account or destination not found.

405 — Platform does not support updating destinations.

429 — LinkedIn rate limit hit. Retry with backoff.