Delete a value rule set
Deletes a Meta value rule set (detach it from ad sets first, since they are not changed here).
Deletes the rule set (Meta's POST /{value-rule-set-id}/delete_rule_set, a custom
action edge rather than an HTTP DELETE on its side). Ad sets pointing at it are not
modified here; detach them first with valueRulesApplied: false on
PUT /v1/ads/ad-sets/{adSetId}.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
Platform value rule set id.
Query parameters
Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token.
Responses
Success· the request worked
Errors· the request failed
Replace a value rule set
Replaces a Meta value rule set with the rules you send, so any rule left out is deleted. **THIS IS A FULL REPLACE, NOT A PATCH.** Meta's update is declarative: the body you send becomes the rule set. - `GET /v1/ads/value-rule-sets/{valueRuleSetId}` FIRST. - Keep a rule or criterion by echoing its `id`. - Create one by including the object WITHOUT an `id`. - Delete one by OMITTING it from the array. There is no warning and no undo. `name` and `rules` are both required for exactly this reason: a partial body would silently destroy every rule left out. **Rule order is semantic**: the array order you send is the evaluation order, and only the first matching rule adjusts the bid for an overlapping audience. Existing rule sets created elsewhere may contain `LOCATION_DMA` criteria. Those went inert on 2026-06-22 and are rejected here; migrate them to `LOCATION_COMSCORE_MARKET`.
List high-demand periods
Lists the scheduled budget increases set on a Meta campaign or ad set. Scheduled budget increases (Meta's budget-scheduling API). The Graph edge lives on the campaign and ad-set nodes only, so exactly one of `campaignId` / `adSetId` (platform ids) is required. Rows returned verbatim (budget_value, budget_value_type, time window, recurrence).