Conversions

Update a conversion destination

Changed on

The first path of PATCH /v1/ads/conversions/destinations/{destinationId} (updateAdConversionDestination), which does the same with accountId as a parameter. It keeps working.

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

Request

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

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'

Changes

    • info

      endpoint deprecated

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status