指定的报告请求未指定测量列 [英] The specified report request does not specify measurement columns

查看:85
本文介绍了指定的报告请求未指定测量列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在昨天使用的请求中收到错误:

I'm getting an error on a request that up to yesterday use to work:

(错误){

   faultcode =" s:Server"

   faultstring ="无效的客户数据。有关详细信息,请查看SOAP故障详细信息"
$
   detail =

      (详情){

         ApiFaultDetail =

            (ApiFaultDetail){
$
               TrackingId =" a0cfbe14-5998-4d11-b10b-4da442bb1650"

               BatchErrors =""

               OperationErrors =


                  (OperationErrors){

                      OperationError =


                         (OperationError){

                            Code =" 2017"&
                           详细=无

                   &NBSP ;       ErrorCode =" NoMeasureSelected"

                            Message ="指定的报告请求未指定测量列(至少需要一个)。
请提交报告请求,其中包含此报告类型所需的列,以及可选的其他列,这些列将包含在报告中。"

      ;                   }¥b $ b                  }
            }
      }
 }

(Fault){
   faultcode = "s:Server"
   faultstring = "Invalid client data. Check the SOAP fault details for more information"
   detail =
      (detail){
         ApiFaultDetail =
            (ApiFaultDetail){
               TrackingId = "a0cfbe14-5998-4d11-b10b-4da442bb1650"
               BatchErrors = ""
               OperationErrors =
                  (OperationErrors){
                     OperationError =
                        (OperationError){
                           Code = "2017"
                           Details = None
                           ErrorCode = "NoMeasureSelected"
                           Message = "The specified report request does not specify measurement columns (at least one is required). Please submit a report request with the required columns for this report type, and optionally additional columns that are to be included in the report."
                        }
                  }
            }
      }
 }

请求的编辑版本为:

(CampaignPerformanceReportRequest){

  格式=" Csv"

  语言="英语"

   ReportName =无

   ReturnOnlyCompleteData =无

   Aggregation =" Summary"

   Columns =

      (ArrayOfCampaignPerformanceReportColumn){

         CampaignPerformanceReportColumn [] =


            " AccountId",
            " QualityScore",
      }¥b $ b  过滤器=

      (CampaignPerformanceReportFilter){

         AccountStatus =无

         AdDistribution =无

         DeviceOS =无

         DeviceType =无

        状态=无

      }¥b $ b  范围=

      (AccountThroughCampaignReportScope){

         AccountIds =

            (ArrayOflong){

               long [] =< empty>

            }
        广告系列=

            (ArrayOfCampaignReportScope){

               CampaignReportScope [] =


                  (CampaignReportScope){

                    &NBSP; AccountId =" XXX"&
                   &NBSP;&NBSP; CampaignId = YYY&
                  },

   &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP;&NBSP; &NBSP;&NBSP; ... ...
                  (CampaignReportScope){

                    &NBSP; AccountId =" XXX"&
                   &NBSP;&NBSP; CampaignId = YYY&
                  },b $ b            }
      }¥b $ b  时间=

      (ReportTime){
$
         CustomDateRangeEnd =

            (日期){

               Day = 31

              月份= 12年
              年= 2014年
            }
         CustomDateRangeStart =

            (日期){

               Day = 1年
              月份= 12年
              年= 2014年
            }
         PredefinedTime = None

      } b $ b }

(CampaignPerformanceReportRequest){
   Format = "Csv"
   Language = "English"
   ReportName = None
   ReturnOnlyCompleteData = None
   Aggregation = "Summary"
   Columns =
      (ArrayOfCampaignPerformanceReportColumn){
         CampaignPerformanceReportColumn[] =
            "AccountId",
            "QualityScore",
      }
   Filter =
      (CampaignPerformanceReportFilter){
         AccountStatus = None
         AdDistribution = None
         DeviceOS = None
         DeviceType = None
         Status = None
      }
   Scope =
      (AccountThroughCampaignReportScope){
         AccountIds =
            (ArrayOflong){
               long[] = <empty>
            }
         Campaigns =
            (ArrayOfCampaignReportScope){
               CampaignReportScope[] =
                  (CampaignReportScope){
                     AccountId = "XXX"
                     CampaignId = YYY
                  },
                  ...
                  (CampaignReportScope){
                     AccountId = "XXX"
                     CampaignId = YYY
                  },
            }
      }
   Time =
      (ReportTime){
         CustomDateRangeEnd =
            (Date){
               Day = 31
               Month = 12
               Year = 2014
            }
         CustomDateRangeStart =
            (Date){
               Day = 1
               Month = 12
               Year = 2014
            }
         PredefinedTime = None
      }
 }

有人可以解释一下吗?

推荐答案

你好。

QualityScore和AccountId都是属性。该报告还必须包含CampaignPerformanceReportColumn值集中可用的一个或多个效果统计信息(度量)列,例如点击。有关详细信息,请参阅
报告属性和性能统计信息 。我们还将更新文档和错误代码消息以对齐术语,即"测量"和"测量"。和
"表现统计数据。

QualityScore and AccountId are both attributes. The report must also include one or more of the performance statistics (measurement) columns available with the CampaignPerformanceReportColumn value set e.g. Clicks. For more information, see Report Attributes and Performance Statistics. We will also update the documentation and error code message to align the terminology i.e. "measurement" and "performance statistics".

我希望这会有所帮助!

Eric

这篇关于指定的报告请求未指定测量列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆