连接到Linkedin adAnalytics API-参数中存在不允许的字段 [英] Connecting to Linkedin adAnalytics API - Unpermitted fields present in parameter
问题描述
我无法连接到LinkedIn AdAnalytics API.使用邮递员测试我的连接时-我收到错误消息:
{"serviceErrorCode":100,"message":参数中存在不允许的字段:数据处理异常在处理字段[/daterange]时,状态":403}
我可以确认我具有访问权限.我可以在邮递员中使用Oath 2.0生成访问令牌.我使用了.
这两种符号均无效.我对API还是很陌生,因此我可以肯定我缺少一些东西,但是我不确定它是什么.
您可以看到 I can verify I have access. I am able to generate the access token with Oath 2.0 in postman. I used https://docs.microsoft.com/en-us/linkedin/marketing/getting-started to setup Oauth 2.0 access on postman and make sure I have the right permissions on my app. I am using the following scopes for my access. Here is an example of using the V2 notation https://docs.microsoft.com/en-us/linkedin/shared/api-guide/concepts/protocol-version?context=linkedin/marketing/context: Here is an example of using V1 notation https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/ads-reporting#sample-request. Neither notation worked. I am very new to APIs so I am sure I am missing something, but I am unsure what it is. As you can see in the example, you can pass the dateRange values as single params in query string as follow: EDIT: Take care of use the camelCase version of the params name, in detail for dateRange: replace Hope this help 这篇关于连接到Linkedin adAnalytics API-参数中存在不允许的字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!r_organization_social, w_organization_social, rw_organization_admin,
rw_ads, r_ads_reporting, r_liteprofile
CAMPAIGN&dateRange.start.day=1&dateRange.start.month=1&dateRange.start.year=2017&timeGranularity=DAILY
daterange
with dateRange
in all the occurrences and retry (I've replicated the error using the version in lowercase)