Browse the help center

Update a placement piggyback

Changes one placement piggyback the way the console's piggyback grid does: codeUrl, active, sampling, deliveryAttribution and the action it fires for (actionId, or allActions=true for every action of the campaign).

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/piggyback/placement/{id}/update.do

Changes one placement piggyback the way the console's piggyback grid does: codeUrl, active, sampling, deliveryAttribution and the action it fires for (actionId, or allActions=true for every action of the campaign). A field not sent keeps its value; the type cannot change. Needs the Piggyback Pixel Tracking permission and update rights on the placement's site. Returns the piggyback as the list does, in 'piggyback'. Parameters that were sent but not applied are listed in 'ignoredFields', each with its reason in 'ignoredFieldReasons'.

Path Params

id integer required

The unique numeric identifier of the piggyback to change

701

Form Params

actionId integer

Fire only for this action; ignored when allActions is true

101

active boolean

Whether the piggyback fires

true

allActions boolean

true to fire for every action of the campaign

false

codeUrl string

New tracking code (BEACON) or URL (URL type)

https://tracker.example.com/pixel?pid=789

deliveryAttribution string

Which conversions the piggyback fires for: ALL, POST_CLICK_ONLY or POST_VIEW_ONLY

ALL

sampling integer

Percentage of conversions the piggyback fires on (0-100)

100

Responses

200

Piggyback updated (success:true), or success:false with per-field 'errors'

400

Bad request — invalid or missing parameters

401

Unauthorized - authentication error

403

Forbidden - no update rights on the placement, or the Piggyback Pixel Tracking permission is not enabled

404

No placement piggyback with this id

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.