Leading DX帐号(208-456-8721)     2015-10-11 数据对比(如附件):

api下载的数据比从帐户上手动下载数据,展示次数少了2192。数据比较就少了
这个标题 Soshine Battery对应的Awesome Arduino Robot Car (In-Display)  三条数据
也就是广告组名称为Awesome Arduino Robot Car (In-Display)的展示次数,api下载文件这部分数据是没有的。
Awesome Arduino Robot Car (In-Display)广告组,点击次数0,每次点击平均费用0,总费用>0

不知道为何少了这部分数据?
希望得到协助。

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fe85c0fb-78cc-4b86-b3ff-83f9db023e8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: api_下载.xlsx
Description: MS-Excel 2007 spreadsheet

名称	Geographic performance report									
类型	地理位置									
频率	一次									
日期范围	自定义日期范围									
日期	2015年10月11日									
帐户	日期	国家/地区	广告组	展示次数	点击次数	平均每次点击费用	总费用			
Leading DX	2015/10/11	以色列	THL	85	0	0	0			
Leading DX	2015/10/11	以色列	3.7V Li Battery	113	1	0.26	0.26			
Leading DX	2015/10/11	以色列	wholesale general	1312	29	0.28	8.2			
Leading DX	2015/10/11	以色列	Dealextreme Competitor Buyincoins	39	2	0.26	0.51			
Leading DX	2015/10/11	以色列	Dealextreme Competitor Chinabuye	70	1	0.25	0.25			
Leading DX	2015/10/11	以色列	DX-Iphone/ipod	471	6	0.14	0.81			
Leading DX	2015/10/11	以色列	DX-Battery & Charger	1242	21	0.15	3.07			
Leading DX	2015/10/11	以色列	Ad Keywords	9585	110	0.15	16.21			
Leading DX	2015/10/11	以色列	Ad Keywords-2	1578	14	0.15	2.15			
Leading DX	2015/10/11	以色列	search words 4	3282	127	0.19	24.01			
Leading DX	2015/10/11	以色列	search words 7	1037	47	0.24	11.11			
Leading DX	2015/10/11	以色列	search words 8	1290	41	0.15	6			
Leading DX	2015/10/11	巴西	All Product	261470	5116	0.06	330.89			
Leading DX	2015/10/11	以色列	torch Lighters	43	0	0	0			
Leading DX	2015/10/11	以色列	UltraFire Battery	143	5	0.49	2.45			
Leading DX	2015/10/11	以色列	Mini Android Media Player	56	0	0	0			
Leading DX	2015/10/11	俄罗斯	DealExtreme Image Ads	473	1	0.02	0.02			
Leading DX	2015/10/11	俄罗斯	201509 Bluboo	4033	3	0.04	0.13			
Leading DX	2015/10/11	以色列	DX-General	10805	136	0.16	21.98			
Leading DX	2015/10/11	以色列	DX-Cable	192	3	0.17	0.52			
Leading DX	2015/10/11	以色列	DX-PC	213	2	0.14	0.27			
Leading DX	2015/10/11	巴西	Awesome Arduino Robot Car (In-Display)	1285	0	0	0.42			
Leading DX	2015/10/11	以色列	Awesome Arduino Robot Car (In-Display)	507	0	0	0.07			
Leading DX	2015/10/11	以色列	search words 3	2594	121	0.21	25.1			
Leading DX	2015/10/11	以色列	search words 5	2120	92	0.18	16.65			
Leading DX	2015/10/11	以色列	search words 6	675	32	0.15	4.95			
Leading DX	2015/10/11	以色列	search words 11	1621	66	0.12	8.23			
Leading DX	2015/10/11	以色列	Lighters	150	2	0.29	0.58			
Leading DX	2015/10/11	以色列	Gopro	446	7	0.27	1.9			
Leading DX	2015/10/11	以色列	DG280	197	2	0.15	0.3			
Leading DX	2015/10/11	以色列	CR123A Battery	13	1	0.09	0.09			
Leading DX	2015/10/11	以色列	Himedia Media Player	1	1	0.48	0.48			
Leading DX	2015/10/11	以色列	1080p Media Player	45	0	0	0			
Leading DX	2015/10/11	以色列	Dealextreme Competitor Tinydeal	30	1	0.12	0.12			
Leading DX	2015/10/11	以色列	DX-LED	603	9	0.19	1.72			
Leading DX	2015/10/11	以色列	DX-Samsung	752	2	0.16	0.33			
Leading DX	2015/10/11	以色列	DX-Bike	212	2	0.25	0.5			
Leading DX	2015/10/11	以色列	DX-Camera	649	7	0.19	1.3			
Leading DX	2015/10/11	以色列	DX-Flash	44	3	0.26	0.78			
Leading DX	2015/10/11	以色列	Ad Keywords-3	6732	69	0.15	10.6			
Leading DX	2015/10/11	以色列	search words 2	4726	193	0.17	33.41			
Leading DX	2015/10/11	以色列	search words 9	1119	29	0.17	4.85			
Leading DX	2015/10/11	以色列	zippo Lighters	149	1	0.19	0.19			
Leading DX	2015/10/11	以色列	201509 Bluboo	157	0	0	0			
Leading DX	2015/10/11	以色列	Raspberry Pi	171	4	0.24	0.98			
Leading DX	2015/10/11	以色列	Soshine Battery	7	0	0	0			
Leading DX	2015/10/11	以色列	Kaiboer Media Player	1	0	0	0			
Leading DX	2015/10/11	巴西	DealExtreme Image Ads	73316	164	0.03	5.5			
Leading DX	2015/10/11	巴西	201509 Bluboo	47899	119	0.03	3.7			
Leading DX	2015/10/11	以色列	China store	402	15	0.33	5			
Leading DX	2015/10/11	以色列	DX-Sd	782	11	0.25	2.7			
Leading DX	2015/10/11	以色列	DX-Game	288	6	0.16	0.94			
Leading DX	2015/10/11	以色列	DX-Car	950	8	0.18	1.47			
Leading DX	2015/10/11	以色列	DX-Case	413	0	0	0			
Leading DX	2015/10/11	以色列	DX-General-2	7862	82	0.17	13.85			
Leading DX	2015/10/11	俄罗斯	Awesome Arduino Robot Car (In-Display)	400	0	0	0.12			
Leading DX	2015/10/11	以色列	search words 1	6878	324	0.21	67.42			
Leading DX	2015/10/11	以色列	search words 10	1332	53	0.13	7.1			
Leading DX	2015/10/11	以色列	DealExtreme Text Ads	3202	14	0.06	0.84			
Leading DX	2015/10/11	以色列	DealExtreme Image Ads	12	0	0	0			
总计	 --	 --	 --	466274	7105	0.09	651.03			
//下载请求方法 
public void Run()
        {
            var accountList = new List<string>
            {
                
                "208-456-8721"//我们使用的账号 Name:Leading DX
            };
            foreach (var acc in accountList)
            {
                var path = Environment.CurrentDirectory + @"\data" + 
acc.ToString() + ".csv";
                var helper = new DataTran();
                helper.RunDownload(new AdWordsUser(), path, acc);
               
            }

        }
         

/// <summary>
        /// 从google adwords api中下载报表数据
        /// </summary>
        /// <param name="user"></param>
        /// <param name="filePath">文件存储路径</param>
        /// <param name="clientCustomerId">帐号</param>
        public void RunDownload(AdWordsUser user, string filePath, string 
clientCustomerId)
        {
            var rang = new DateRange(){
                max = "20151011",
                min = "20151011"
            };
            var selector = new Selector{
                fields = new[] { "Date", "CountryCriteriaId", "Impressions", 
"Clicks", "Cost", "AverageCpc", "ConversionValue" },
                dateRange = rang
            };

            var definition = new ReportDefinition
            {
                reportName = "GEO_PERFORMANCE_REPORT",
                reportType = ReportDefinitionReportType.GEO_PERFORMANCE_REPORT,
                downloadFormat = DownloadFormat.CSV,
                dateRangeType = ReportDefinitionDateRangeType.CUSTOM_DATE,
                selector = selector,
                includeZeroImpressions = false
            };

            var config = (AdWordsAppConfig)user.Config;
            config.ClientCustomerId = clientCustomerId;
            try
            {
                var utilities = new ReportUtilities(user, "v201506", 
definition);
                using (var response = utilities.GetResponse())
                {
                    response.Save(filePath);
                }
                //Utilities.WriteLog(typeof(DataTran), 
string.Format("文件下载完成,存储路径为:{0}", filePath));
            }
            catch (Exception ex)
            {
                //Utilities.WriteLog(typeof(DataTran), ex, "文件下载失败!");
                throw new System.ApplicationException("文件下载失败!", ex);
            }
        }

Reply via email to