Search ads
Returns the first page of public ads matching the supplied advertiser, payer, keyword, country, date, or impression filters. No single filter is required; use the returned pagination_token for the next page.
Authorization
ApiKeyAuth In: header
Query Parameters
Advertiser (account owner) name filter.
Alternative advertiser-name filter.
'Paid for by' entity name filter.
Free-text creative keyword.
ISO 3166-1 alpha-2 country code the ad was served in, comma-separated for multiple.
Date range preset. custom-date-range requires startdate/enddate.
Value in
- "last-30-days"
- "current-month"
- "current-year"
- "last-year"
- "custom-date-range"
Custom range start (YYYY-MM-DD). Requires date_option=custom-date-range.
^\d{4}-\d{2}-\d{2}$Custom range end (YYYY-MM-DD). Requires date_option=custom-date-range.
^\d{4}-\d{2}-\d{2}$Minimum impressions, paired with impressions_min_unit.
0 <= valueUnit for impressions_min_value.
Value in
- "none"
- "thousand"
- "million"
Maximum impressions, paired with impressions_max_unit.
0 <= valueUnit for impressions_max_value.
Value in
- "none"
- "thousand"
- "million"
curl -X GET "https://example.com/v1/linkedin/ads/search" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "ads": [ { "ad_id": "string", "url": "string", "creative_type": "string", "thumbnail": "string", "aria_label": "string", "is_video": true } ], "count": 0, "match_count": 0, "is_last_page": true, "pagination_token": "string" }}