PeumeAPI

Ads

Create a standalone ad group

Creates an empty ad group under an existing campaign, ready for ads to be added later.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/create-a-standalone-ad-group \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "platform": "facebook",
    "campaignId": "your campaignId",
    "name": "your name",
    "status": "PAUSED"
  }
}'

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: create-a-standalone-ad-group.

Parameters

stageboolean

Send true to stage this create instead of sending it. Nothing is created on the ad network; the response is `202` with the staged change. Create it with POST /v1/ads/changes/{changeId}/confirm. Google only: `platform: reddit` or `snapchat` returns 400 `staging_not_supported`.

accountIdRequiredstring

SocialAccount id owning the Google Ads or Reddit Ads connection.

platformRequiredstring

"google", "reddit" and "snapchat" are implemented; every other value returns 501.

facebook · instagram · tiktok · linkedin · pinterest · google · twitter · openai · reddit · snapchat

campaignIdRequiredstring

Platform campaign ID the ad group is created under (numeric on Google).

nameRequiredstring
statusstring

ACTIVE · PAUSED

Example: PAUSED

maxCpcnumber

Max CPC of the new ad group, in the account's currency units. Send it when the campaign uses Manual CPC: Google gives an ad group without one a 0.01 bid.

adAccountIdstring

Platform ad account ID: the Google customer ID (digits only, only required when the connection has more than one) or the Reddit ad account id (required).

customerIdstring

Google only. Alias of adAccountId, kept for existing callers

budgetAmountnumber

Reddit only. Budget of the new ad group, in the ad account's currency units. Required when the campaign has no campaign budget; 400 under campaign budget optimization, where the campaign budget funds the ad group.

budgetTypestring

Reddit only. Sent together with budgetAmount.

daily · lifetime

startDatestring

Reddit only. ISO 8601 start of the ad group. Defaults to now, or to the campaign start when it is in the future.

endDatestring

Reddit only. ISO 8601 end of the ad group. Defaults to the campaign end.

targetingstring

Reddit: the full targeting object. Google: locations and languages only, on a Demand Gen campaign.

promotedObjectobject

Reddit only. The pixel and the conversion event the ad group optimizes toward.

optimizationGoalstring

Reddit only. VIDEO_VIEW_6S (default) or VIDEO_VIEW_15S on a video views campaign.

bidStrategystring

Reddit only. Defaults to LOWEST_COST_WITHOUT_CAP. Not accepted under campaign budget optimization.

LOWEST_COST_WITHOUT_CAP · LOWEST_COST_WITH_BID_CAP · COST_CAP

bidAmountnumber

Reddit only. Bid cap in currency units, sent with bidStrategy.

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.