v2

latestOpenAPI 3.1.02026-08-075421692.0 MB
Conversions

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}

Path parameters

accountIdstring required
destinationIdstring required

Request body

adAccountIdstring required
namestring
enabledboolean

Setting false is equivalent to calling DELETE — the rule will appear as inactive afterwards.

attributionType'LAST_TOUCH_BY_CAMPAIGN' | 'LAST_TOUCH_BY_CONVERSION'
postClickAttributionWindowSize1 | 7 | 30 | 90 | 365

365 only allowed for LEAD, PURCHASE, ADD_TO_CART, QUALIFIED_LEAD, SUBMIT_APPLICATION rule types.

viewThroughAttributionWindowSize1 | 7 | 30 | 90 | 365

365 only allowed for LEAD, PURCHASE, ADD_TO_CART, QUALIFIED_LEAD, SUBMIT_APPLICATION rule types.

valueType'DYNAMIC' | 'FIXED' | 'NO_VALUE'

Response

Destination updated (re-fetched canonical state)

platform'linkedinads'