PeumeAPI

Ads · Google

Edit a Google campaign's device, location, excluded location, language, or user list targeting

Changes a Google campaign's device, location, excluded location, language or user list targeting after it was created. Google only; every other platform returns 501.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/edit-a-google-campaign-s-device-location-excluded-location \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "campaignId": "your campaignId",
    "platform": "google",
    "targeting": "your targeting"
  }
}'

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: edit-a-google-campaign-s-device-location-excluded-location.

Parameters

campaignIdRequiredstring

Google platform campaign ID

stageboolean

Send true to stage this change instead of applying it. Nothing is written to the ad network; the response is `202` with the staged change and its diff. Apply it with POST /v1/ads/changes/{changeId}/confirm. Cannot be combined with `validateOnly` or `dryRun`.

platformRequiredstring

google

targetingRequiredobject

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.