PeumeAPI

Ads

Update a conversion action's settings

Changes a Google Ads conversion action's settings, such as primary or secondary, counting, value and lookback windows, or removes or restores it.

$0.002 per callRuns on an account you connect

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"
  }
}'

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

actionIdRequiredstring

Google conversion action id

stageboolean

Send 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`.

accountIdRequiredstring

SocialAccount id (Google Ads)

adAccountIdstring

Google customer id. Required when the connection has multiple customers.

customerIdstring

Alias of adAccountId

namestring
statusstring

REMOVED removes the action and must be sent alone; ENABLED restores a removed one.

ENABLED · REMOVED

defaultValuenumber
alwaysUseDefaultValueboolean
categorystring

conversion_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 …

countingTypestring

ONE_PER_CLICK counts one conversion per ad click (leads); MANY_PER_CLICK counts every one (purchases).

ONE_PER_CLICK · MANY_PER_CLICK

defaultCurrencystring

ISO 4217 currency of defaultValue (value_settings.default_currency_code).

clickThroughLookbackWindowDaysinteger

Days after an ad click a conversion still counts.

viewThroughLookbackWindowDaysinteger

Days after an ad view a view-through conversion still counts.

primaryForGoalboolean

true = primary (counts toward bidding when its goal is biddable), false = secondary.

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.