VoidhashDocs
DocumentationAPI reference
Dashboard
Essentials
API overview
Authentication
Endpoints
Ad_accounts
Analytics
Api_keys
Session
Component_dev_sessions
Component_registry
Components
Sandbox
Events
Experiments
Feature_flags
Ingest_policy
Push_notifications
Organizations
Payment_providers
Payment_provider_products
Payment_sources
Paywall_locations
Paywalls
Perks
Persons
Products
Projects
Push_notification_configurations
Schema
Sdk
Me
Webhooks
Audit_log
Organization_members
Notices
Connected_apps
Tracking_domains
Ads
Payment_provider_history_imports
Feedback
Analytics
Event capture
List Campaigns
Get Campaign
List Ad Groups
Get Ad Group
List Ads
Get Ad
Get Settings
Update Settings
Report Performance
Report Creatives
Report Cohorts
Report Changes

Get Campaign

PreviousList CampaignsNextList Ad Groups
GET
/api/v1/projects/{projectId}/ads/campaigns/{campaignId}

Path Parameters

projectId*string
campaignId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/projects/string/ads/campaigns/string"
{  "id": "string",  "projectId": "string",  "adAccountId": "string",  "platform": "meta",  "name": "string",  "status": "on",  "deliveryStatus": "delivering",  "deliveryReasons": [    {      "code": "string",      "severity": "blocking",      "message": "string"    }  ],  "destination": "website",  "budget": {    "amount": -9007199254740991,    "currency": "string",    "period": "daily",    "level": "campaign"  },  "startsAt": "string",  "endsAt": "string",  "platformUrl": "string",  "createdAt": "string",  "updatedAt": "string",  "syncedAt": "string",  "objective": "awareness",  "bidStrategy": "lowest_cost"}
{  "error": {    "type": "invalid_request",    "code": "string",    "message": "string",    "param": "string"  }}
{  "error": {    "type": "unauthenticated",    "code": "string",    "message": "string",    "param": "string"  }}
{  "error": {    "type": "permission_denied",    "code": "string",    "message": "string",    "param": "string"  }}
{  "error": {    "type": "not_found",    "code": "string",    "message": "string",    "param": "string"  }}
{  "error": {    "type": "internal",    "code": "string",    "message": "string",    "param": "string"  }}