Changes one rule as editing a row of the placement's Content replacement card does.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/placements/{placementId}/content-replacement/{ruleId}/update.do
Changes one rule as editing a row of the placement's Content replacement card does. A field not sent keeps its value; an empty 'replacement' makes the rule delete its target from the markup. A new 'target' follows the create rules: not blank, up to 255 characters, not a target another rule of the placement already has. Requires the PLACEMENT_CONTENT_REPLACEMENT permission and update rights on the placement's site. Parameters that were sent but not applied are listed in 'ignoredFields', each with its reason in 'ignoredFieldReasons'.
Path Params
placementIdintegerrequired
Placement id
4001
ruleIdintegerrequired
Rule id, as the list returns it
51
Form Params
replacementstring
What every occurrence of the target becomes; may contain macros such as $$RANDOM$$. Empty or omitted on create removes the target from the markup.
https://cdn.northwind.example/
targetstring
The exact text to find in every ad markup the placement serves — literal, no wildcards or regex; up to 255 characters, unique within the placement. Required on create.