Есть ли разница между q = аналитикой и q = статистикой?
Когда q = статистика, метрики, связанные с видео (например, videoViews, videoCompletions и т. Д.), Недоступны.
1. д = статистика
Запрос
https://api.linkedin.com/v2/adAnalyticsV2?q=statistics&pivots=CAMPAIGN&pivots=CREATIVE&campaigns={some_campaign_urn_here}&dateRange.start.month=1&dateRange.start.day=1&dateRange.start.year=2018&timeGranularity=ALL
Ответ
{
"elements": [
{
"externalWebsitePostClickConversions": 0,
"viralImpressions": 180,
"dateRange": {
"start": {
"month": 1,
"year": 2018,
"day": 1
},
"end": {
"month": 1,
"year": 2019,
"day": 15
}
},
"adUnitClicks": 0,
"companyPageClicks": 74,
"viralOneClickLeads": 0,
"textUrlClicks": 0,
"costInLocalCurrency": "5000.00000",
"viralLikes": 2,
"viralOtherEngagements": 1,
"viralExternalWebsiteConversions": 0,
"shares": 1,
"viralCardClicks": 0,
"pivot": "CAMPAIGN",
"cardClicks": 0,
"viralExternalWebsitePostViewConversions": 0,
"viralTotalEngagements": 8,
"viralCompanyPageClicks": 0,
"likes": 76,
"viralComments": 0,
"actionClicks": 0,
"viralShares": 1,
"pivotValue": some_campaign_urn_here,
"comments": 0,
"externalWebsitePostViewConversions": 0,
"costInUsd": "5000.00000",
"oneClickLeads": 0,
"landingPageClicks": 7,
"viralCardImpressions": 0,
"follows": 0,
"oneClickLeadFormOpens": 0,
"viralOneClickLeadFormOpens": 0,
"conversionValueInLocalCurrency": "0.0",
"viralFollows": 0,
"impressions": 105165,
"otherEngagements": 58,
"viralLandingPageClicks": 0,
"viralExternalWebsitePostClickConversions": 0,
"externalWebsiteConversions": 0,
"cardImpressions": 0,
"leadGenerationMailContactInfoShares": 0,
"leadGenerationMailInterestedClicks": 0,
"opens": 0,
"clicks": 632,
"totalEngagements": 767,
"viralClicks": 4,
"pivotValues": [
some_campaign_urn_here,
some_creatives_urn_here
]
}
],
"paging": {
"count": 10,
"start": 0,
"links": []
}
}
2. д = аналитика
Запрос
https://api.linkedin.com/v2/adAnalyticsV2?q=analytics&pivot=CAMPAIGN&campaigns={some_campaign_urn_here}&dateRange.start.month=1&dateRange.start.day=1&dateRange.start.year=2018&timeGranularity=ALL
Ответ
{
"elements": [
{
"externalWebsitePostClickConversions": 0,
"adUnitClicks": 0,
"companyPageClicks": 74,
"videoFirstQuartileCompletions": 0,
"viralOneClickLeads": 0,
"textUrlClicks": 0,
"videoStarts": 0,
"viralExternalWebsiteConversions": 0,
"videoThirdQuartileCompletions": 0,
"pivot": "CAMPAIGN",
"cardClicks": 0,
"likes": 76,
"viralComments": 0,
"viralVideoThirdQuartileCompletions": 0,
"oneClickLeads": 0,
"fullScreenPlays": 0,
"viralCardImpressions": 0,
"follows": 0,
"viralOneClickLeadFormOpens": 0,
"conversionValueInLocalCurrency": "0.0",
"viralFollows": 0,
"otherEngagements": 58,
"viralVideoCompletions": 0,
"cardImpressions": 0,
"leadGenerationMailInterestedClicks": 0,
"opens": 0,
"totalEngagements": 767,
"videoViews": 0,
"viralImpressions": 180,
"viralVideoViews": 0,
"dateRange": {
"start": {
"month": 1,
"year": 2018,
"day": 1
},
"end": {
"month": 1,
"year": 2019,
"day": 17
}
},
"commentLikes": 0,
"costInLocalCurrency": "5000.00000",
"viralLikes": 2,
"viralOtherEngagements": 1,
"viralVideoMidpointCompletions": 0,
"shares": 1,
"viralFullScreenPlays": 0,
"videoMidpointCompletions": 0,
"viralCardClicks": 0,
"viralExternalWebsitePostViewConversions": 0,
"viralTotalEngagements": 8,
"viralCompanyPageClicks": 0,
"actionClicks": 0,
"viralShares": 1,
"videoCompletions": 0,
"pivotValue": some_campaign_urn_here,
"comments": 0,
"externalWebsitePostViewConversions": 0,
"viralVideoStarts": 0,
"costInUsd": "5000.00000",
"landingPageClicks": 7,
"oneClickLeadFormOpens": 0,
"impressions": 105165,
"viralLandingPageClicks": 0,
"viralExternalWebsitePostClickConversions": 0,
"externalWebsiteConversions": 0,
"viralVideoFirstQuartileCompletions": 0,
"leadGenerationMailContactInfoShares": 0,
"clicks": 632,
"viralClicks": 4,
"pivotValues": [
some_campaign_urn_here
]
}
],
"paging": {
"count": 10,
"start": 0,
"links": []
}
}