Poll an async insights report run
Status and results for a report run created via POST /v1/ads/insights/reports. While the job
runs, returns status and percentCompletion. Once status is "Job Completed" the response
also carries a data page, cursor-paginated via limit / after.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Query Parameters
Zernio SocialAccount id used to resolve the Meta token (must be the same connection that created the run).
251 <= value <= 500Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adinsights.getAdInsightsReport({ path: { reportRunId: 'reportrun_abc123', }, query: { accountId: 'account_abc123', },});console.log(data);{
"reportRunId": "string",
"status": "string",
"percentCompletion": 0,
"dateStart": "string",
"dateStop": "string",
"data": [
{}
],
"paging": {
"after": "string"
}
}{
"error": "Unauthorized"
}Get ad analytics GET
Returns detailed performance analytics for an ad. Includes summary metrics, a daily timeline over the requested date range, and optional demographic breakdowns (Meta and TikTok only). If no date range is provided, defaults to the last 90 days. Date range is capped at 730 days max.
Google Ads search terms report GET
The actual search queries that triggered your ads, with matched-keyword status and spend metrics — the raw material for wasted-spend analysis and negative-keyword lists. Reads Google's `search_term_view` live; defaults to the last 30 days. Rows are ordered by cost, descending. Draws on the shared Google Ads operations budget.