LinkedIn Ads API Call
Anyone experienced with LinkedIn ads API? Trying to pull data for reporting and running into an error with the parameters.
Here's the URL I'm trying to call: https://api.linkedin.com/v2/adAnalytics
It's a GET method
Sending query paramaters:
{
"q": "analytics",
"pivot": "CAMPAIGN",
"timeGranularity": "DAILY",
"accounts": "List(urn:li:sponsoredAccount:NiceTry8)",
"dateRange.start.year": "{{ $json.year }}",
"dateRange.start.month": "{{ $json.month }}",
"dateRange.end.year": "{{ $json.year }}",
"dateRange.end.month": "{{ $json.month }}",
"fields": "CAMPAIGN_NAME,DATE,IMPRESSION_COUNT,CLICK_COUNT,SPEND,CONVERSIONS"
}
Here are the headers:
Linkedin-Version: 202402
X-Restli-Protocol-Version: 2.0.0
Happy to pay for the time!
9
2 comments
Dustin Trout
3
LinkedIn Ads API Call
AI Automation Society
skool.com/ai-automation-society
A community built to master no-code AI automations. Join to learn, discuss, and build the systems that will shape the future of work.
Leaderboard (30-day)
Powered by