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).
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Query Parameters
Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token.
Platform campaign id. Exactly one of campaignId / adSetId.
Platform ad set id. Exactly one of campaignId / adSetId.
Rows per page
1 <= value <= 10025Cursor from paging.after of the previous page.
Response Body
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adaccounts.listHighDemandPeriods({ query: { accountId: 'account_abc123', },});console.log(data);{ "objectId": "string", "data": [ {} ], "paging": { "after": "string" }}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}`.
Schedule a budget increase
Schedules a temporary budget increase on a Meta campaign or ad set for a busy period, like Black Friday or a launch. Same target rule as the GET: exactly one of `campaignId` / `adSetId`. Two Meta constraints worth knowing before you call it. `timeStart` / `timeEnd` must fall on a 15-minute boundary, and a campaign cannot mix `ABSOLUTE` and `MULTIPLIER` across its schedules; the second type is rejected with "Can't mix your budget scaling selection". Window rules (must sit inside the campaign's run dates, minimum lead time, no overlap) are Meta's and its message is forwarded verbatim.