curl --request POST \
--url 'https://api.adside.ai/linkedin/mcp#get_analytics' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "<string>",
"method": "<string>",
"params": {
"name": "<string>",
"arguments": {
"pivot": "ACCOUNT",
"date_range_start": {
"year": 123,
"month": 6.5,
"day": 16
},
"account_id": "<string>",
"time_granularity": "ALL",
"date_range_end": {
"year": 123,
"month": 6.5,
"day": 16
},
"campaign_ids": [
"<string>"
],
"campaign_group_ids": [
"<string>"
],
"creative_ids": [
"<string>"
],
"fields": [
"<string>"
]
}
},
"id": "1"
}
'{
"jsonrpc": "<string>",
"id": "<string>",
"result": {
"content": [
{
"type": "<string>",
"text": "<string>"
}
]
}
}Get performance analytics (impressions, clicks, cost, conversions, etc.) for LinkedIn ad entities. Group by account, campaign group, campaign, or creative with daily/monthly/all-time granularity.
curl --request POST \
--url 'https://api.adside.ai/linkedin/mcp#get_analytics' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "<string>",
"method": "<string>",
"params": {
"name": "<string>",
"arguments": {
"pivot": "ACCOUNT",
"date_range_start": {
"year": 123,
"month": 6.5,
"day": 16
},
"account_id": "<string>",
"time_granularity": "ALL",
"date_range_end": {
"year": 123,
"month": 6.5,
"day": 16
},
"campaign_ids": [
"<string>"
],
"campaign_group_ids": [
"<string>"
],
"creative_ids": [
"<string>"
],
"fields": [
"<string>"
]
}
},
"id": "1"
}
'{
"jsonrpc": "<string>",
"id": "<string>",
"result": {
"content": [
{
"type": "<string>",
"text": "<string>"
}
]
}
}API key (sk_live_*) — SHA256 hashed, looked up in Redis. Generate via the web app's workspace settings.