Get Creatives By Account

Retrieve a paginated list of creatives associated with a specific advertiser within an account.

Endpoint

GET

https://lifeapi.pulsepoint.com/RestApi/v2/account/{accountId}/creatives

Path Parameters

NameData TypeRequiredNotes
accountIdintegeryesThe account ID to retrieve creatives for

Query Parameters

NameData TypeRequiredDefaultNotes
advertiser_idintegeryesThe advertiser ID to filter creatives by
limitintegerno50Number of results to return per page. Maximum: 100
cursorstringnoOpaque pagination cursor returned from a previous response. Pass the next_cursor value here to retrieve the next page of results

Sample Request

GET https://lifeapi.pulsepoint.com/RestApi/v2/account/456/creatives?advertiser_id=789&limit=50

Response Field List

NameData TypeNotes
successbooleanReturns true on a successful request
messagestringHuman-readable result message
requestIdstringUnique identifier for the request
dataobjectWrapper containing results and pagination
data.dataarray of objectsList of creative objects returned for the advertiser
data.data.crtidintegerThe creative ID
data.data.addescstringThe creative name or description
data.data.landingPageDomainstringThe landing page domain associated with the creative
data.data.notesstringAny notes about the creative
data.data.archivedbooleanWhether the creative is archived
data.data.enabledbooleanWhether the creative is enabled
data.data.advertiserIdintegerThe advertiser ID the creative belongs to
data.data.accountIdintegerThe account ID the creative belongs to
data.data.heightstringThe creative height in pixels
data.data.widthstringThe creative width in pixels
data.data.createdOnstringTimestamp of when the creative was created. Format: ISO 8601
data.paginationobjectPagination metadata
data.pagination.limitintegerThe page size used for this response
data.pagination.totalintegerTotal number of creatives matching the query
data.pagination.has_morebooleanWhether additional pages of results exist
data.pagination.next_cursorstringOpaque cursor to pass as the cursor query parameter to retrieve the next page
data.pagination.next_cursor_urlstringFull URL for the next page of results

Sample Response

{
  "success": true,
  "message": "Operation completed successfully",
  "requestId": "550e8400-e29b-41d4-a716-446655440000",
  "data": {
    "data": [
      {
        "crtid": 123456,
        "addesc": "Summer Sale Banner",
        "landingPageDomain": "example.com",
        "notes": "",
        "archived": false,
        "enabled": true,
        "advertiserId": 789,
        "accountId": 456,
        "height": "250",
        "width": "300",
        "createdOn": "2024-01-15T10:30:00Z"
      }
    ],
    "pagination": {
      "limit": 50,
      "total": 1250,
      "has_more": true,
      "next_cursor": "eyJpZCI6MTIzNDU2fQ",
      "next_cursor_url": "/RestApi/v2/account/456/creatives?advertiser_id=789&cursor=eyJpZCI6MTIzNDU2fQ&limit=50"
    }
  }
}

Errors

HTTP StatusErrorDescription
400Bad RequestMissing or invalid request parameters. advertiser_id is required
401UnauthorizedInvalid or expired access token
403ForbiddenYou do not have permission to access this account
404Not FoundNo advertiser found for the given advertiser_id
422Unprocessable EntityBusiness rule violation — e.g., invalid cursor value or limit outside the 1–100 range
429Too Many RequestsRate limit exceeded
500Internal Server Error