亲爱的CSDN的各位鸟人们,大家新年好!为请看过来散分散分,到者有份!有做GOOGLE AdWords API开发的看过来,我们做测试时的沙箱应该怎么设置,即XML文件应该怎么修改,怎样放入我们自己的工程文件当中,大家有没有案例,给我参考一下<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="AdWordsApi" type="System.Configuration.DictionarySectionHandler"/>
</configSections>
<AdWordsApi>
<!-- Change the appropriate flags to turn on SOAP logging. -->
<add key="LogPath" value="C:\Logs\"/>
<add key="LogToConsole" value="false"/>
<add key="LogToFile" value="false"/>
<add key="MaskCredentials" value="true"/>
<add key="LogErrorsOnly" value="false"/> <!-- Set the service timeout in milliseconds. -->
<!-- <add key="Timeout" value="100000"/> --> <!-- Fill the following values if you plan to use a proxy server.-->
<add key="ProxyServer" value=""/>
<add key="ProxyUser" value=""/>
<add key="ProxyPassword" value=""/>
<add key="ProxyDomain" value=""/> <!-- Use this key to change the default timeout for Ads services
(in milliseconds.)-->
<add key="Timeout" value="100000"/> <!-- Use this key to enable or disable gzip compression in SOAP requests.-->
<add key="EnableGzipCompression" value="true"/> <!-- Fill the header values. -->
<add key="UserAgent" value="INSERT_YOUR_COMPANY_OR_APPLICATION_NAME_HERE"/>
<add key="ClientEmail" value="INSERT_YOUR_CLIENT_EMAIL_HERE"/>
<add key="DeveloperToken" value="INSERT_YOUR_DEVELOPER_TOKEN_HERE"/>
<!-- Uncomment this key and comment ClientEmail if you want to specify
customer id instead of customer email. -->
<!-- <add key="ClientCustomerId"
value="INSERT_YOUR_CLIENT_CUSTOMER_ID_HERE"/> -->
<!-- Application token is now optional and will be ignored by the server.-->
<!-- <add key="ApplicationToken"
value="INSERT_YOUR_APPLICATION_TOKEN_HERE"/> --> <!-- Set the Authorization method to be used with the client library. -->
<!-- To use ClientLogin as authentication mechanism, uncomment the following
section and comment the OAuth section below. -->
<add key="AuthorizationMethod" value="ClientLogin" />
<add key="Email" value="INSERT_YOUR_LOGIN_EMAIL_HERE"/>
<add key="Password" value="INSERT_YOUR_PASSWORD_HERE"/>
<!-- Optional: uncomment this if you want to reuse an authToken multiple
times. -->
<!-- <add key="AuthToken" value="INSERT_YOUR_AUTH_TOKEN_HERE"/> --> <!-- To use OAuth as authentication mechanism, uncomment the following
section and comment the AuthToken section above. -->
<!-- Note: For testing purposes, you can use the OAuth consumer key/secret
as anonymous/anonymous.-->
<!--
<add key="AuthorizationMethod" value="OAuth" />
<add key="OAuthConsumerKey" value="INSERT_YOUR_OAUTH_CONSUMER_KEY_HERE" />
<add key="OAuthConsumerSecret"
value="INSERT_YOUR_OAUTH_CONSUMER_SECRET_HERE" />
--> <!-- Uncomment this key if you want to use v13 sandbox. -->
<!-- <add key="LegacyAdWordsApi.Server"
value="https://sandbox.google.com"/> --> <!-- Uncomment this key if you want to use AdWords API sandbox. -->
<!-- <add key="AdWordsApi.Server"
value="https://adwords-sandbox.google.com"/> -->
</AdWordsApi>
<system.web>
<webServices>
<soapExtensionTypes>
<add type="Google.Api.Ads.Common.Lib.SoapListenerExtension, Google.AdWords"
priority="1" group="0"/>
</soapExtensionTypes>
</webServices>
</system.web>
<system.net>
<settings>
<httpWebRequest maximumErrorResponseLength="-1" />
</settings>
</system.net>
</configuration>
<configuration>
<configSections>
<section name="AdWordsApi" type="System.Configuration.DictionarySectionHandler"/>
</configSections>
<AdWordsApi>
<!-- Change the appropriate flags to turn on SOAP logging. -->
<add key="LogPath" value="C:\Logs\"/>
<add key="LogToConsole" value="false"/>
<add key="LogToFile" value="false"/>
<add key="MaskCredentials" value="true"/>
<add key="LogErrorsOnly" value="false"/> <!-- Set the service timeout in milliseconds. -->
<!-- <add key="Timeout" value="100000"/> --> <!-- Fill the following values if you plan to use a proxy server.-->
<add key="ProxyServer" value=""/>
<add key="ProxyUser" value=""/>
<add key="ProxyPassword" value=""/>
<add key="ProxyDomain" value=""/> <!-- Use this key to change the default timeout for Ads services
(in milliseconds.)-->
<add key="Timeout" value="100000"/> <!-- Use this key to enable or disable gzip compression in SOAP requests.-->
<add key="EnableGzipCompression" value="true"/> <!-- Fill the header values. -->
<add key="UserAgent" value="INSERT_YOUR_COMPANY_OR_APPLICATION_NAME_HERE"/>
<add key="ClientEmail" value="INSERT_YOUR_CLIENT_EMAIL_HERE"/>
<add key="DeveloperToken" value="INSERT_YOUR_DEVELOPER_TOKEN_HERE"/>
<!-- Uncomment this key and comment ClientEmail if you want to specify
customer id instead of customer email. -->
<!-- <add key="ClientCustomerId"
value="INSERT_YOUR_CLIENT_CUSTOMER_ID_HERE"/> -->
<!-- Application token is now optional and will be ignored by the server.-->
<!-- <add key="ApplicationToken"
value="INSERT_YOUR_APPLICATION_TOKEN_HERE"/> --> <!-- Set the Authorization method to be used with the client library. -->
<!-- To use ClientLogin as authentication mechanism, uncomment the following
section and comment the OAuth section below. -->
<add key="AuthorizationMethod" value="ClientLogin" />
<add key="Email" value="INSERT_YOUR_LOGIN_EMAIL_HERE"/>
<add key="Password" value="INSERT_YOUR_PASSWORD_HERE"/>
<!-- Optional: uncomment this if you want to reuse an authToken multiple
times. -->
<!-- <add key="AuthToken" value="INSERT_YOUR_AUTH_TOKEN_HERE"/> --> <!-- To use OAuth as authentication mechanism, uncomment the following
section and comment the AuthToken section above. -->
<!-- Note: For testing purposes, you can use the OAuth consumer key/secret
as anonymous/anonymous.-->
<!--
<add key="AuthorizationMethod" value="OAuth" />
<add key="OAuthConsumerKey" value="INSERT_YOUR_OAUTH_CONSUMER_KEY_HERE" />
<add key="OAuthConsumerSecret"
value="INSERT_YOUR_OAUTH_CONSUMER_SECRET_HERE" />
--> <!-- Uncomment this key if you want to use v13 sandbox. -->
<!-- <add key="LegacyAdWordsApi.Server"
value="https://sandbox.google.com"/> --> <!-- Uncomment this key if you want to use AdWords API sandbox. -->
<!-- <add key="AdWordsApi.Server"
value="https://adwords-sandbox.google.com"/> -->
</AdWordsApi>
<system.web>
<webServices>
<soapExtensionTypes>
<add type="Google.Api.Ads.Common.Lib.SoapListenerExtension, Google.AdWords"
priority="1" group="0"/>
</soapExtensionTypes>
</webServices>
</system.web>
<system.net>
<settings>
<httpWebRequest maximumErrorResponseLength="-1" />
</settings>
</system.net>
</configuration>
解决方案 »
- Application Reference 是什么东东,他属于b/s,c/s,还是什么?
- .NET动态配置控件逻辑
- Timer子线程异常
- 新手求教(关于数据库)
- C#中启动窗体时让其自动隐藏是在窗体的Load事件中调用Hide方法,可还是不能自动隐藏。当把窗体的WindowState属性的值设为Maximized后就可
- 今天刚买了一本Visual C#.NET技术内幕,类成员中的 构造函数 和 析构函数 是怎么回事?(初学者)
- 如何取得指定年和指定周的开始日期和结束日期,列2005年第22周它的开始日期和结束日期是多少??
- C#--简单问题
- WebBrowser控件如何启用自动完成功能?
- 在做数据库项目淂时候,如何用数据控件?
- C#如何把2个table合并成一个table?
- 尝试读取或写入受保护的内存。这通常指示其他内存已损坏 急啊 在线等答案 谢谢各位啦!
一堆xml代码眼晕