Campaigns

The API to access the Campaign object collection follows the conventions described in Version 5 (Beta) Overview.

Supported Operations

Operation HTTP Verb URL Format
Read GET https://pi.pardot.com/api/v5/objects/campaigns/<id>?<params>

Fields

Required Editable Fields

None.

Optional Editable Fields

None.

Read-Only Fields

Field Type Description
id Integer ID of the object.
name String Name of the object for identification in Pardot.
isDeleted Boolean True if the object is in the recycle bin in Pardot.

Campaign Read

Retrieve a single Campaign object following the conventions described in the Version 5 (Beta) Overview.

Example request:

GET /api/objects/campaigns/101?fields=id,name,isDeleted
Host: pi.pardot.com
Authorization: Bearer <access-token>

Example response:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "id": 101,
    "name": "My Campaign",
    "isDeleted": "false"
}