我有下一期使用Linked In API V2的问题:
curl -X GET --header 'Accet: application/json' --header 'Authorization: Bearer <my token>' 'https://api.linkedin.com/v2/adCreativesV2/62119114?projection=(variables(data(com.linkedin.ads.TextAdCreativeVariables(vectorImage~:privatePlayableStreams))))' | json_pp
{
"variables" : {
"data" : {
"com.linkedin.ads.TextAdCreativeVariables" : {
"vectorImage" : "urn:li:digitalmediaAsset:C560EAQFjbUgC1TlCcw",
"vectorImage!" : {
"message" : "URN Resolution failed for unknown reasons.: com.linkedin.restligateway.exceptions.GatewayAccessException: Not enough permissions to access: GET-playableStreams /assets/C560EAQFjbUgC1TlCcw/mediaArtifactPrivateUrls",
"status" : 500
}
}
}
}
}
我的应用程序有r_basicprofile,r_ad_campaigns权限范围 我的用户具有“account_manager”级别访问权限。
我不确定访问vectorImage的Playable Streams需要哪些权限?
这里在Asset Playable Streams表部分https://developer.linkedin.com/docs/ref/v2/digital-media-asset中他们写了关于authorizationMethod的内容,我的理解是只有具有authorizationMethod = PUBLIC的资产才可以访问,可能是我的问题不在范围内?
我会很感激有关此问题的任何信息。谢谢!