GET accounts/:account_id/campaigns/:campaign_id

Retrieve details for a specific campaign associated with the current account.

Resource URL

https://ads-api.twitter.com/1/accounts/:account_id/campaigns/:campaign_id

Resource Information

Response formats JSON
Requires authentication? Yes (user context only)
Rate limited? Yes

Parameters

Name Required Description Default Value Example
account_id required The identifier for the leveraged account. Appears within the resource’s path and is generally a required parameter for all Advertising API requests excluding GET accounts . The specified account must be associated with the authenticating user.   43853bhii879
campaign_id required The identifier for a campaign associated with the current account.   1wxdf8jujgo9
with_deleted optional Include deleted results in your request. Defaults to false.   true

Example Request

GET https://ads-api.twitter.com/1/accounts/18ce54d4x5t/campaigns/6kqps

Example Response

{
  "request": {
    "params": {
      "campaign_id": "6kqps",
      "account_id": "18ce54d4x5t"
    }
  },
  "data_type": "campaign",
  "data": {
    "name": "Untitled",
    "start_time": "2016-11-24T00:00:01Z",
    "reasons_not_servable": [],
    "servable": true,
    "daily_budget_amount_local_micro": 10000000,
    "end_time": null,
    "funding_instrument_id": "lygyi",
    "duration_in_days": null,
    "standard_delivery": true,
    "total_budget_amount_local_micro": 20000000,
    "id": "6kqps",
    "entity_status": "ACTIVE",
    "paused": false,
    "account_id": "18ce54d4x5t",
    "frequency_cap": null,
    "currency": "USD",
    "created_at": "2016-11-25T05:56:59Z",
    "updated_at": "2016-11-25T07:44:05Z",
    "deleted": false
  }
}