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).
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