PeumeAPI

Ads

Attach ad-group assets

Creates sitelinks, callouts, structured snippets, call assets (phone numbers) or image assets and attaches them to a Google ad group in one step.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/attach-ad-group-assets \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "adSetId": "your adSetId",
    "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: attach-ad-group-assets.

Parameters

adSetIdRequiredstring

Numeric Google platform 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

Google Ads connection id.

adAccountIdstring

Platform ad account ID (Google customer ID, digits only). Required when the connection has multiple customers.

customerIdstring

Alias of adAccountId, kept for existing callers

sitelinksarray
calloutsarray
structuredSnippetsarray
callAssetsarray
imagesarray

Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.

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.