LinkedIn · Schema

AdAccount

AdAccount from LinkedIn API

BusinessCareersMarketingProfessional NetworkingRecruitingSocial MediaFortune 1000

Properties

Name Type Description
id integer Unique identifier
name string Display name
currency string Account currency
type string Account type
status string Account status
reference string Organization URN
test boolean Whether this is a test account
notifiedOnCampaignOptimization boolean
notifiedOnCreativeApproval boolean
notifiedOnCreativeRejection boolean
notifiedOnEndOfCampaign boolean
View JSON Schema on GitHub

JSON Schema

linkedin-marketing-campaigns-ad-account-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/linkedin/refs/heads/main/json-schema/linkedin-marketing-campaigns-ad-account-schema.json",
  "title": "AdAccount",
  "description": "AdAccount from LinkedIn API",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier",
      "example": 123456
    },
    "name": {
      "type": "string",
      "description": "Display name",
      "example": "XYZ Company"
    },
    "currency": {
      "type": "string",
      "description": "Account currency",
      "example": "USD"
    },
    "type": {
      "type": "string",
      "enum": [
        "BUSINESS",
        "ENTERPRISE"
      ],
      "description": "Account type",
      "example": "BUSINESS"
    },
    "status": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "CANCELLED",
        "DRAFT",
        "PENDING_DELETION",
        "REMOVED"
      ],
      "description": "Account status",
      "example": "ACTIVE"
    },
    "reference": {
      "type": "string",
      "description": "Organization URN",
      "example": "urn:li:organization:12345678"
    },
    "test": {
      "type": "boolean",
      "description": "Whether this is a test account",
      "example": true
    },
    "notifiedOnCampaignOptimization": {
      "type": "boolean",
      "example": true
    },
    "notifiedOnCreativeApproval": {
      "type": "boolean",
      "example": true
    },
    "notifiedOnCreativeRejection": {
      "type": "boolean",
      "example": true
    },
    "notifiedOnEndOfCampaign": {
      "type": "boolean",
      "example": true
    }
  }
}