Skip to main content
GET
/
cpc
/
{campaign_id}
Get Campaign by ID
curl --request GET \
  --url https://app.levanta.io/api/creator/v1/cpc/{campaign_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "startDate": "<string>",
  "endDate": "<string>",
  "cancellationDate": "<string>",
  "product": {
    "asin": "<string>",
    "marketplace": "amazon.com",
    "title": "<string>"
  },
  "brandId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "budget": {
    "costPerClick": 123,
    "clicks": 123,
    "clicksRemaining": 123,
    "reached": true
  },
  "membership": {
    "earnings": {
      "clicks": 123,
      "amount": 123,
      "currency": "USD"
    },
    "joinDate": "<string>",
    "removed": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaign_id
string<uuid>
required

The ID of the campaign to get

Response

Success

id
string<uuid>
required

The ID of the campaign

startDate
string
required

The start date of the campaign, format: 'YYYY-MM-DD'

endDate
string | null
required

The end date of the campaign, format: 'YYYY-MM-DD'. If null, the campaign will continue indefinitely (until budget is reached, or canceled).

cancellationDate
string | null
required

The cancellation date of the campaign, format: 'YYYY-MM-DD'. If null, the campaign has not been canceled.

product
object
required
brandId
string<uuid>
required

UUID

budget
object
required

Information about the campaign's budget, including the amount of clicks remaining, and whether or not the budget has been reached

membership
object
required

Information about your membership in this campaign. If null, you have not joined the campaign