{
  "opencollection": "1.0.0",
  "info": {
    "name": "LinkedIn Compliance Events Access Control Use Cases > Spotlight Ad API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://www.linkedin.com/oauth/v2/authorization",
      "accessTokenUrl": "https://www.linkedin.com/oauth/v2/accessToken",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Use Cases > Spotlight Ad",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "LinkedIn Create a Dynamic Spotlight Ad",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.linkedin.com/creatives",
            "headers": [
              {
                "name": "LinkedIn-Version",
                "value": "{{insert_version}}"
              }
            ]
          },
          "docs": "Creates a Dynamic Spotlight Ad Creative.\n\nA successful response returns a `201 Created HTTP` status code and the ID in the `x-linkedin-id` response header. For example, `urn:li:sponsoredCreative:123456789`\n\n##"
        },
        {
          "info": {
            "name": "LinkedIn Get a Dynamic Spotlight Ad",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.linkedin.com/creatives/:sponsoredCreative-urn",
            "headers": [
              {
                "name": "LinkedIn-Version",
                "value": "{{insert_version}}"
              }
            ],
            "params": [
              {
                "name": "sponsoredCreative-urn",
                "value": "urn:li:organization:123456",
                "type": "path"
              }
            ]
          },
          "docs": "Retrives a Dynamic Spotlight Ad.\n\n#### Sample Response\n\nJSONCopy\n\n```\n{\n    \"servingHoldReasons\": [\n        \"UNDER_REVIEW\",\n        \"CAMPAIGN_STOPPED\"\n    ],\n    \"lastModifiedAt\": 1648512200000,\n    \"lastModifiedBy\": \"urn:li:member:123\",\n    \"content\": {\n        \"spotlight\": {\n            \"organizationName\": \"LinkedIn Demo\",\n            \"showMemberProfilePhoto\": true,\n            \"landingPage\": \"http://linkedin.com\",\n            \"description\": \"Check out this demo\",\n            \"logo\": \"urn:li:i"
        },
        {
          "info": {
            "name": "LinkedIn Update a Dynamic Spotlight Ad",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.linkedin.com/creatives/:sponsoredCreative-urn",
            "headers": [
              {
                "name": "LinkedIn-Version",
                "value": "{{insert_version}}"
              }
            ],
            "params": [
              {
                "name": "sponsoredCreative-urn",
                "value": "urn:li:organization:123456",
                "type": "path"
              }
            ]
          },
          "docs": "## Update a Dynamic Spotlight Ad Creative\n\n\\*   [http](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads/advertising-targeting/version/spotlight-ads?view=li-lms-2022-08&tabs=http#tabpanel_3_http)\n\\*   [curl](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads/advertising-targeting/version/spotlight-ads?view=li-lms-2022-08&tabs=http#tabpanel_3_curl)\n    \n\nHTTPCopy\n\n```\nPOST https://api.linkedin.com/rest/creatives/{sponsoredCreative-urn}\n\n```\n\nJSONCopy\n\n```\n{\n  "
        },
        {
          "info": {
            "name": "LinkedIn Delete a Dynamic Spotlight Ad",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.linkedin.com/creatives/:sponsoredCreative-urn",
            "headers": [
              {
                "name": "LinkedIn-Version",
                "value": "{{insert_version}}"
              }
            ],
            "params": [
              {
                "name": "sponsoredCreative-urn",
                "value": "urn:li:organization:123456",
                "type": "path"
              }
            ]
          },
          "docs": "## Delete a Dynamic Spotlight Ad Creative\n\n\\*   [http](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads/advertising-targeting/version/spotlight-ads?view=li-lms-2022-08&tabs=http#tabpanel_4_http)\n\\*   [curl](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads/advertising-targeting/version/spotlight-ads?view=li-lms-2022-08&tabs=http#tabpanel_4_curl)\n    \n\nHTTPCopy\n\n```\nDELETE https://api.linkedin.com/rest/creatives/{sponsoredCreative-urn}\n\n```\n\nA successful res"
        }
      ]
    }
  ],
  "bundled": true
}