Get ad analytics
documentedRetrieve analytics for ad campaigns.
GET /v2/adAnalyticsAdsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl 'https://api.linkedin.com/rest/adAnalytics?q=analytics&dateRange=(start:(year:{{$start_year}},month:{{$start_month}},day:{{$start_day}}),end:(year:{{$end_year}},month:{{$end_month}},day:{{$end_day}}))&timeGranularity=DAILY&accounts=List(urn:li:sponsoredAccount:{{$account_id}})&pivot={{$pivot}}&fields={{$fields}}' \
-H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Restli-Protocol-Version: 2.0.0'