PeumeAPI

Ads

Suggested bid and budget bounds

LinkedIn-only. Returns the suggested bid and bid limits for a targeting

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/suggested-bid-and-budget-bounds \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "adAccountId": "your adAccountId",
    "spec": "your spec"
  }
}'

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: suggested-bid-and-budget-bounds.

Parameters

accountIdRequiredstring

account ID (LinkedIn).

adAccountIdRequiredstring

LinkedIn ad account ID (numeric).

specRequiredstring

Same targeting spec used by POST /v1/ads/create.

campaignTypestring

Defaults to SPONSORED_UPDATES.

TEXT_AD · SPONSORED_UPDATES · SPONSORED_INMAILS

bidTypestring

Defaults to CPM.

CPM · CPC · CPV

matchTypestring

Defaults to EXACT.

EXACT · AUDIENCE_EXPANDED

currencystring

ISO 4217, defaults to USD.

objectiveTypestring

LinkedIn objectiveType, e.g. WEBSITE_VISIT, LEAD_GENERATION, VIDEO_VIEW.

optimizationTargetTypestring

LinkedIn optimizationTargetType, e.g. MAX_CLICK, MAX_IMPRESSION.

dailyBudgetnumber

Optional daily budget in whole account-currency units. LinkedIn refines the suggested bid to this budget.

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.