Skip to main content
POST
/
ads
Typescript (SDK)
import { Crevio } from "@crevio/sdk";

const crevio = new Crevio({
  apiKey: process.env["CREVIO_API_KEY"] ?? "",
});

async function run() {
  const result = await crevio.ads.create({});

  console.log(result);
}

run();
{}

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Body

application/json

Ad to create.

account_id
string
ad_account_id
string
name
string
goal
string
budget_amount
number
budget_type
string
headline
string
body
string
call_to_action
string
image_url
string

Response

Created ad.

Created ad.