Anyone experienced with LinkedIn ads API? Trying to pull data for reporting and running into an error with the parameters.
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!