capabilities.work

Report on a NewsBreak ad account and pause underperforming campaigns

A 3-step recipe with News Break. We can help you get access.

Recipe · 3 steps

Report on a NewsBreak ad account and pause underperforming campaigns

with News Break · Advertising Revenue Reporting

Run a report for an ad account, then pause a campaign.

  1. Synchronous report. dataSource HOURLY is the official basis for income settlement; REALTIME is monitoring only. The DATE dimension is limited to a 30-day FIXED range.
  2. Page through the ad account's campaigns. pageNo and pageSize are both REQUIRED; pageSize is a closed enum (5, 10, 20, 50, 100, 200, 500).
  3. Toggle the campaign OFF. Prefer this over deleteCampaign, which is destructive and sets onlineStatus to DELETED.
What you'll need to have ready
  • adAccountId: The ad account to report on.
  • reportName
  • timezone: IANA timezone string. The API default is PDT, so always set this explicitly.
  • campaignIdToPause: Campaign to switch OFF. Omit to run report-only.
For your developer

Arazzo workflow news-break:report-and-pause-campaign, 3 operations: runSynchronousReport → getCampaigns → updateCampaignStatus. Specs on APIs.io.

More recipes with News Break

Launch a NewsBreak advertising campaign