---
updatedAt: 2025-06-11T00:12:58.000Z
agentTools:
  projectIndex: https://developer.audience.io/llms.txt
---

# Get Campaign

## Authorization

Either 1) x-token, or 2) x-api-key must be included to authorize account

## Parameters

**fields**

Default value:\
app\_type,app\_id,account,parent\_app\_id,title,share\_title,tags,grid\_status,grid\_redirect,page\_url,primary\_image,mobile\_image,grid\_image,facebook\_share\_image,width,prize,share\_location,sort,active,start\_time,end\_time,schedule\_status,time\_zone

Available field values:

* app\_id
* app\_type
* account
* form\_id
* type
* vcreative\_prf\_id
* parent\_app\_id
* syndication\_type
* title
* subtitle
* grid\_title
* description
* grid\_status
* schedule\_status
* facebook\_page\_id
* facebook\_app\_id
* page\_url
* primary\_image
* secondary\_image
* tertiary\_image
* mobile\_image
* grid\_image
* facebook\_share\_image
* display\_image
* theme\_color
* secondary\_color
* tertiary\_color
* width
* height
* content\_box\_left
* content\_box\_top
* content\_box\_width
* content\_box\_height
* css
* terms
* short\_terms
* prize
* send\_confirmation\_email
* share\_location
* share\_title
* share\_subtitle
* share\_twitter
* share\_value
* sort
* installed\_on\_facebook
* redirect\_on\_mobile
* tags
* grid\_redirect
* privacy\_policy\_url
* terms\_of\_service\_url
* fine\_print
* custom\_terms
* hide\_terms
* additional\_terms
* language
* notifications\_email
* test\_email
* external\_id
* whitelabel
* archived\_at
* active
* start\_time
* end\_time
* created\_at
* deleted\_at
* updated\_at
* time\_zone
* form ( for app types with a form, will return form settings, and form fields )
* prizes (for countdown app types. Will return a list of the prizes and keywords)

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.aptivada.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v2/account/{client_id}/app/{app_id}": {
      "get": {
        "summary": "Get Campaign",
        "description": "",
        "operationId": "get-campaign",
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "description": "Account ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "app_id",
            "in": "path",
            "description": "Campaign ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-token",
            "in": "header",
            "description": "Admin's authorization token",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "description": "Authorized account's API key",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "convert_timezones",
            "in": "query",
            "description": "When true, converts campaign start/end times to account's timezone",
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "replace_tokens",
            "in": "query",
            "description": "When true, converts account shortcodes into their dynamic values.",
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "full_image_urls",
            "in": "query",
            "description": "When true, returns absolute",
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "fields",
            "in": "query",
            "description": "Comma separated list of campaign fields to return. See docs below for list of default / available fields.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": \"success\",\n    \"data\": {\n        \"app_type\": \"contest\",\n        \"app_id\": \"12345\",\n        \"account\": \"123456789\",\n        \"parent_app_id\": \"\",\n        \"title\": \"Example Campgain\",\n        \"share_title\": \"I just entered to win an awesome prize!\",\n        \"tags\": \"\",\n        \"grid_status\": \"show_live\",\n        \"grid_redirect\": \"\",\n        \"page_url\": \"\",\n        \"primary_image\": \"\",\n        \"mobile_image\": \"\",\n        \"grid_image\": \"\",\n        \"facebook_share_image\": \"\",\n        \"width\": \"810\",\n        \"prize\": \"Enter to with an example prize!\",\n        \"share_location\": \"link\",\n        \"sort\": \"\",\n        \"active\": \"auto\",\n        \"start_time\": \"2019-07-01 00:00:00\",\n        \"end_time\": \"2019-11-30 00:00:00\",\n        \"schedule_status\": \"\",\n        \"time_zone\": \"\"\n    },\n    \"message\": \"\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "app_type": {
                          "type": "string",
                          "example": "contest"
                        },
                        "app_id": {
                          "type": "string",
                          "example": "12345"
                        },
                        "account": {
                          "type": "string",
                          "example": "123456789"
                        },
                        "parent_app_id": {
                          "type": "string",
                          "example": ""
                        },
                        "title": {
                          "type": "string",
                          "example": "Example Campgain"
                        },
                        "share_title": {
                          "type": "string",
                          "example": "I just entered to win an awesome prize!"
                        },
                        "tags": {
                          "type": "string",
                          "example": ""
                        },
                        "grid_status": {
                          "type": "string",
                          "example": "show_live"
                        },
                        "grid_redirect": {
                          "type": "string",
                          "example": ""
                        },
                        "page_url": {
                          "type": "string",
                          "example": ""
                        },
                        "primary_image": {
                          "type": "string",
                          "example": ""
                        },
                        "mobile_image": {
                          "type": "string",
                          "example": ""
                        },
                        "grid_image": {
                          "type": "string",
                          "example": ""
                        },
                        "facebook_share_image": {
                          "type": "string",
                          "example": ""
                        },
                        "width": {
                          "type": "string",
                          "example": "810"
                        },
                        "prize": {
                          "type": "string",
                          "example": "Enter to with an example prize!"
                        },
                        "share_location": {
                          "type": "string",
                          "example": "link"
                        },
                        "sort": {
                          "type": "string",
                          "example": ""
                        },
                        "active": {
                          "type": "string",
                          "example": "auto"
                        },
                        "start_time": {
                          "type": "string",
                          "example": "2019-07-01 00:00:00"
                        },
                        "end_time": {
                          "type": "string",
                          "example": "2019-11-30 00:00:00"
                        },
                        "schedule_status": {
                          "type": "string",
                          "example": ""
                        },
                        "time_zone": {
                          "type": "string",
                          "example": ""
                        }
                      }
                    },
                    "message": {
                      "type": "string",
                      "example": ""
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```