Conversions

Update a conversion destination

Changed on

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.

patch/v1/ads/conversions/destinations/{destinationId}

Request

  • Base URL
    https://zernio.com/api
  • Auth
    HTTP bearer

Path parameters

destinationIdstring required

Request body

accountIdstring required

The connected ads account (SocialAccount ID).

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'

Changes