LinkedIn Ad Analytics:下游服务为URN返回空响应

问题描述 投票:0回答:1

我正在尝试使用LinkedIn营销开发者平台的Ad Analytics API,特别是Analytics Finder

pivot参数接受各种值。使用pivot=COMPANY时,我可以成功使用响应修饰从带有以下查询参数的pivotValue字段中直接提取组织:projection=(elements*(pivotValue~))

但是,即使我可以确认pivot=CAMPAIGN字段已明确定义,使用pivot=CAMPAIGN_GROUPpivot=CREATIVEpivotValue时,响应也始终相同:

{'pivotValue!': {'message': 'Downstream service returned an empty response for URN.', 'status': 404}, 'pivotValue': 'urn:li:sponsoredCampaign:<SOMEID>'}

我做错什么了吗?

linkedin linkedin-api
1个回答
0
投票

当尝试通过投影检索广告系列名称时,我遇到了同样的问题。我尝试了许多解决方案,直到发现使用多个帐户进行过滤时才出现此问题,如下所示:

?q=analytics&pivot=CAMPAIGN&timeGranularity=DAILY
&accounts[0]=urn:li:sponsoredAccount:12345678&accounts[1]=urn:li:sponsoredAccount:01234567
&projection=(*,elements*(dateRange(*),clicks,impressions,pivot,pivotValue~(name)))
&fields=dateRange,clicks,impressions,pivot,pivotValue
&daterange_filter_logic

显然,他们的后端不支持多个帐户的修饰。只要您通过one帐户进行过滤,它就会起作用。

© www.soinside.com 2019 - 2024. All rights reserved.