问题描述
我们注意到 ReportingService 正在返回广告和关键字的效果数据,这些广告和关键字曾经存在于现在已删除的广告组中。
We noticed ReportingService is returning the performance data for Ads and keywords that used to exist within adgroups that are now deleted.
我们可以'找到一种方法从报告中过滤掉这些不再存在的广告和关键字。
We can't find a way to filter out these no longer existent Ads and keywords from the report.
对于广告组报告本身,我们可以过滤掉已删除的广告组,因为
AdGroupPerformanceReportFilter 有一个setStatus()方法,我们用它来指定"活动"和"暂停"实体。
For the adgroups report itself, we can filter out deleted adgroups because AdGroupPerformanceReportFilter has a setStatus() method which we use to specify "Active" and "Paused" entities.
但 AdPerformanceReportFilter 和 KeywordPerformanceReportFilter
似乎没有允许我们执行此操作的方法。
But AdPerformanceReportFilter and KeywordPerformanceReportFilterdon't seem to have methods that allow us to do this.
任何想法?
推荐答案
作为解决方法的一个想法是在下载报告后进行过滤。例如,在下载广告效果报告时,您可以添加AdStatus列并过滤其值。这对你有用吗?
One idea as a workaround is to filter after you download the report. For example when downloading the ad performance report you could include the AdStatus column and filter on its value. Would that work for you?
祝你好运,
Eric
Best regards,
Eric
这篇关于我们可以停止ReportingService返回已删除的实体吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!