Ads Data

Get detailed information about a specific B2B ad using its ad library URL, path, or numeric ID.

post/v1/ads/b2b-ads-details

Request

  • Base URL
    https://api.leadmagic.io
  • Auth
    API key in header X-API-Key

Request body

ad_urlstring required

B2B ad library URL, path (/ad-library/detail/{id}), or numeric ad ID

Example request

{
  "ad_url": "1436673673"
}

Response

Successful response with ad details

messagestring
credits_consumednumber

Example response

{
  "message": "Ad details retrieved successfully",
  "credits_consumed": 2,
  "company": {
    "name": "Gong",
    "linkedin_url": "/company/gong-io"
  },
  "ad_details": {
    "ad_id": "1436673673",
    "content": "See how revenue teams use Gong to win more deals.",
    "link": "1436673673",
    "ad_url": "/ad-library/detail/1436673673",
    "ad_type": "Document Ad",
    "creative_type": "SPONSORED_UPDATE_NATIVE_DOCUMENT",
    "advertiser": "Gong",
    "advertiser_linkedin_url": "/company/gong-io",
    "raw": {}
  }
}

Changes

    • info

      added the non-success response with the status

    • breaking

      added to the response body oneOf list for the response status

    • info

      removed from the response body allOf list for the response status