PeumeAPI

Ads

Update a conversion event

Changes a conversion event's settings, such as its name or default value, where the platform allows edits.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/update-a-conversion-event \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "tagId": "your tagId",
    "eventId": "your eventId"
  }
}'

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-event.

Parameters

accountIdRequiredstring
tagIdRequiredstring
eventIdRequiredstring

Event id (`TrackingTagEvent.id`).

adAccountIdstring

Scopes the lookup on platforms whose tag ids live inside an ad account.

namestring
typestring

The platform's own event type enum value (e.g. `PURCHASE`).

siteEventstring

Neutral alternative to `type`, mapped to the platform's closest type.

page_view · view_content · add_to_cart · search · initiate_checkout · add_payment_info · purchase

enabledboolean
defaultValuenumber
currencystring

ISO 4217 code.

clickWindowDaysinteger
viewWindowDaysinteger
urlContainsstring

Fire only on pages whose URL contains this text (case-insensitive).

Start free · $1 of calls included

Every API your business needs. One key.

7,267 data and AI APIs behind one key, with backup sources built in.