recomentionDocs
API reference

Read ads reporting

Your connected Google Ads and Meta Ads accounts and their cached campaign reporting (dates, fetchedAt, completeness), as the dashboard last fetched it. Never calls Google or Meta. Per provider: not connected, reconnect needed, no cached report yet, or the report. Spend is in the account currency. Reads only what is already stored; calls no provider and spends nothing. Served by the web app, which holds the ad connections: call `https://www.recomention.com/api/v1/projects/{id}/ads` with the same key (the npm MCP server and the CLI do). Here it answers 409 with code feature_disabled and that path.

GET
/v1/projects/{id}/ads

Authorization

apiKey
headerAuthorizationBearer <token>

An API key (rmk_…).

Path Parameters

id*string

Response Body

Ads reporting.

application/json
  1. response
ads*
Example Request
curl -X GET 'https://api.recomention.com/v1/projects/string/ads'
Example Response
{  "ads": {    "providers": [      {        "provider": "GOOGLE_ADS",        "state": "NOT_CONNECTED",        "account": {          "id": "string",          "name": "string",          "currency": "string",          "timeZone": "string"        },        "connectedAt": "string",        "report": {          "startDate": "string",          "endDate": "string",          "fetchedAt": "string",          "completeness": "COMPLETE",          "truncated": true,          "notes": [            "string"          ],          "currency": "string",          "campaigns": [            {              "id": "string",              "name": "string",              "status": "string",              "impressions": "string",              "clicks": "string",              "spend": "string",              "conversions": 0            }          ],          "total": {            "impressions": "string",            "clicks": "string",            "spend": "string",            "conversions": 0          }        }      }    ]  }}