PeumeAPI

Ads

Update a tracking tag

Changes a pixel's settings, such as its name or automatic matching, on platforms that allow edits.

$0.002 per callRuns on an account you connect

Call it

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

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-tracking-tag.

Parameters

accountIdRequiredstring
tagIdRequiredstring

Pixel id.

adAccountIdstring

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

namestring
enableAutomaticMatchingboolean

Meta Advanced Matching toggle (`enable_automatic_matching`).

automaticMatchingFieldsarray

Which user fields Advanced Matching may collect. Meta's terse codes: em=email, ph=phone, fn=first name, ln=last name, ge=gender, db=date of birth, ct=city, st=state, zp=zip.

firstPartyCookieStatusstring

empty · first_party_cookie_disabled · first_party_cookie_enabled

dataUseSettingstring

advertising_and_analytics · analytics_only · empty

enableFirstPartyCookiesboolean

First-party cookie on or off (TikTok, LinkedIn). Platform-neutral alternative to `firstPartyCookieStatus`.

autoTaggingboolean

Google Ads: turn gclid auto-tagging on or off for the ad account.

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.