Call it
curl https://api.peume.com/v1/call/update-a-conversion-action-s-settings \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"actionId": "your actionId",
"accountId": "your accountId"
}
}'const res = await fetch("https://api.peume.com/v1/call/update-a-conversion-action-s-settings", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"actionId": "your actionId",
"accountId": "your accountId"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/update-a-conversion-action-s-settings",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"actionId": "your actionId",
"accountId": "your accountId"
}
},
)
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: update-a-conversion-action-s-settings.
Parameters
actionIdRequiredstringGoogle conversion action id
stagebooleanSend true to store this write as a staged change instead of applying it. The response is `202` with the change, and POST /v1/ads/changes/{changeId}/confirm applies it later. Cannot be combined with `validateOnly`.
accountIdRequiredstringSocialAccount id (Google Ads)
adAccountIdstringGoogle customer id. Required when the connection has multiple customers.
customerIdstringAlias of adAccountId
namestringstatusstringREMOVED removes the action and must be sent alone; ENABLED restores a removed one.
ENABLED · REMOVED
defaultValuenumberalwaysUseDefaultValuebooleancategorystringconversion_action.category. Defaults to DEFAULT on create.
DEFAULT · PAGE_VIEW · PURCHASE · SIGNUP · DOWNLOAD · ADD_TO_CART · BEGIN_CHECKOUT · SUBSCRIBE_PAID · PHONE_CALL_LEAD · IMPORTED_LEAD · SUBMIT_LEAD_FORM · BOOK_APPOINTMENT …
countingTypestringONE_PER_CLICK counts one conversion per ad click (leads); MANY_PER_CLICK counts every one (purchases).
ONE_PER_CLICK · MANY_PER_CLICK
defaultCurrencystringISO 4217 currency of defaultValue (value_settings.default_currency_code).
clickThroughLookbackWindowDaysintegerDays after an ad click a conversion still counts.
viewThroughLookbackWindowDaysintegerDays after an ad view a view-through conversion still counts.
primaryForGoalbooleantrue = primary (counts toward bidding when its goal is biddable), false = secondary.
