我正在使用KeywordPerformance java报告示例。是否有针对campaignid的参数允许请求为帐户提取所有广告系列?
答案 0 :(得分:1)
设置一个或多个客户帐户ID / ID。设置正确的范围。
KeywordPerformanceReportRequest reportRequest =
new KeywordPerformanceReportRequest();
// Specify the language of the report.
reportRequest.setLanguage(ReportLanguage.English);
// Specify the format of the report.
reportRequest.setFormat(ReportFormat.Xml);
reportRequest.setReturnOnlyCompleteData(false);
reportRequest.setReportName("Keyword Report");
reportRequest.setAggregation(ReportAggregation.Daily);
reportRequest.setTime(.....);
// Specify the scope of the report.
AccountThroughAdGroupReportScope scope =
new AccountThroughAdGroupReportScope();
scope.setAccountIds(ids);
reportRequest.setScope(scope);
另见:
http://msdn.microsoft.com/en-US/library/bing-ads-reporting-keywordperformancereportrequest.aspx
http://msdn.microsoft.com/en-US/library/bing-ads-reporting-accountthroughadgroupreportscope.aspx
如果你愿意,也可以打电话给这些:
reportRequest.setFilter
reportRequest.setColumns
所以我认为答案是:
只是不要设置任何CampaignID
仅提供客户帐户ID。