Call it
curl https://api.peume.com/v1/call/read-a-campaign-s-current-bidding \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"accountId": "your accountId",
"platform": "google",
"campaignId": "your campaignId"
}
}'const res = await fetch("https://api.peume.com/v1/call/read-a-campaign-s-current-bidding", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"accountId": "your accountId",
"platform": "google",
"campaignId": "your campaignId"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/read-a-campaign-s-current-bidding",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"accountId": "your accountId",
"platform": "google",
"campaignId": "your campaignId"
}
},
)
print(res.json()["output"])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-current-bidding.
Parameters
accountIdRequiredstringGoogle Ads SocialAccount id: resolves the customer id + refresh token.
platformRequiredstringRequired: campaign IDs are not globally unique. Only "google" is supported today.
adAccountIdstringPlatform ad account ID (Google customer ID, digits only). Required when the connection has multiple Google Ads accounts; optional (and inferred) when it has only one.
customerIdstringAlias of adAccountId, kept for existing callers
campaignIdRequiredstringNumeric Google platform campaign id.
