PeumeAPI

Ads

Read a campaign's ad schedule (dayparting)

Shows the days and hours a Google campaign runs and its bid adjustments, optionally with performance by day and hour.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/read-a-campaign-s-ad-schedule-dayparting \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "windowDays": 30,
    "campaignId": "your campaignId"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: read-a-campaign-s-ad-schedule-dayparting.

Parameters

platformstring

Disambiguates the campaign id when the connection spans platforms.

google

includePerformanceboolean

Also return delivery by day of week and by hour. Costs one extra Google call.

windowDaysinteger

Trailing window for the performance split. Ignored when fromDate and toDate are both given.

Example: 30

fromDatestring

Start of an explicit performance range (YYYY-MM-DD). Use together with toDate.

toDatestring

End of an explicit performance range (YYYY-MM-DD). Must be on or after fromDate.

campaignIdRequiredstring

Numeric Google platform campaign id.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.