List campaigns
Это содержимое пока не доступно на вашем языке.
scope campaigns:readreads
Returns the brand’s campaigns: slug, your externalRef if you gave one, title, status, the rate per 1,000 views and the budget.
Everything the agent is told about this tool
Returns the brand’s campaigns: slug, your externalRef if you gave one, title, status, the rate per 1,000 views and the budget. For a draft, budget.funded and budget.reserved are what launching it WOULD commit: nothing has been reserved or charged until campaign_activate succeeds. status narrows the list: draft for the drafts you have saved and not launched, live for everything that is launched, all (the default) for both. Use it to find a campaign’s slug before asking for its report or clips, or to see which drafts are waiting to be launched.
Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
status |
"all" | "draft" | "live" |
no | draft, live or all (the default). |
Example
Section titled “Example”curl https://countviews.com/api/public/v1/call \ -H "Authorization: Bearer $COUNTVIEWS_KEY" \ -H "Content-Type: application/json" \ -d '{"name":"campaigns_list","arguments":{"status":"draft"}}'{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "campaigns_list", "arguments": { "status": "draft" } }}{ "status": "draft"}