Conversions

Update a conversion destination

Changes a LinkedIn conversion rule's name, value, attribution windows, or turns it on or off.

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.

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

patch/v1/messaging/accounts/{accountId}/conversion-destinations/{destinationId}

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/accounts/{accountId}/conversion-destinations/{destinationId}
  • Auth: HTTP bearer

Path parameters

accountIdstring required
destinationIdstring required

Headers

Idempotency-Keystring

Replay-safe: the same execution is returned instead of charging twice

X-Tagstring

Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…

Request body

namestring
enabledboolean

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

valueType'DYNAMIC' | 'FIXED' | 'NO_VALUE'
adAccountIdstring required
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.

Response

Completed

idstring

Execution id — stable across internal retries; use it with GET /v1/executions/{id}

status'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
operationstring
tagstring nullable

Your X-Tag, if sent

created_atstring date-time
completed_atstring date-time nullable
errorstring nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.