PeumeAPI

Social publishing & inbox · Google Ads

Run a Google Ads Query Language search on one customer

Runs a GAQL `SELECT` on one Google Ads customer, read only. Without `adAccountId` it reads the connection's own customer.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/run-a-google-ads-query-language-search-on-one \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "query": "your query"
  }
}'

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: run-a-google-ads-query-language-search-on-one.

Parameters

accountIdRequiredstring

The id of the connected Google Ads account.

adAccountIdstring

The Google Ads customer to query. Defaults to the connection's own customer.

queryRequiredstring

A GAQL SELECT statement, up to 10,000 characters. Read only.

cursorstring

The pagination.nextCursor of the previous page, unchanged.

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.