OK. I changed the value of maxBufferSize, maxBufferPoolSize, maxReceivedMessageSize, and the tag <reader Quotas maxDepth>. Please check them up.
The original <system.serviceModel> in app.config is: <system.serviceModel> <bindings> <basicHttpBinding> <binding name="CampaignServiceSoapBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> <security mode="Transport"> <transport clientCredentialType="None" proxyCredentialType="None" realm="" /> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security> </binding> </basicHttpBinding> </bindings> </system.serviceModel> And the modified one is below: <system.serviceModel> <bindings> <basicHttpBinding> <binding name="CampaignServiceSoapBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="50000000" maxBufferPoolSize="50000000" maxReceivedMessageSize="50000000" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"> <readerQuotas maxDepth="320" maxStringContentLength="81920" maxArrayLength="163840" maxBytesPerRead="40960" maxNameTableCharCount="163840" /> <security mode="Transport"> <transport clientCredentialType="None" proxyCredentialType="None" realm="" /> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security> </binding> </basicHttpBinding> </bindings> </system.serviceModel> On 11月20日, 下午11时12分, AdWords API Advisor <adwordsapiadvi...@google.com> wrote: > Hi Kelvin, > > Can you explain in more detail what the problem and solution was with > fetching ad groups? Perhaps the same problem is campaign retrieval. > > Best, > - Eric > > On Nov 19, 8:01 pm, Kelvin <xzl....@gmail.com> wrote: > > > > > Hi, > > > I've figured out the problem lies in the parameters set in the > > serviceModel and I am able to get full records of adgroup for each > > campaign. But still, the campaign records are not complete compared > > to my google account. Since all of the campaigns might be created > > within a short period, I am wondering deprecated types of campaign > > might not be the cause. In fact, I try to pull out all the informaiton > > (campaign, adgroup, keyword) into local databse according to google > > service, is there any advice on that? Am I still on the right track? > > > Thanks. > > > Kelvin. > > > On 11月18日, 上午3时38分, AdWords API Advisor <adwordsapiadvi...@google.com> > > wrote: > > > > Hi Kelvin, > > > > There should be no hard limit of 31 results in any of the services. > > > Have you confirmed that the raw XML response only has 31 results? > > > > Best, > > > - Eric > > > > On Nov 17, 1:28 pm, Kelvin <xzl....@gmail.com> wrote: > > > > > Thanks. Just now, I found that no matter what the method is > > > > (getAllAdWordsCampaign, getAllAdGroups), the corresponding webservice > > > > always return a set of 31 objects. So does the problem lie in some > > > > settings in application so that only fixed amount of objects are > > > > accessed? > > > > > Best. > > > > > On 11月18日, 上午12时38分, AdWords API Advisor > > > > > <adwordsapiadvi...@google.com> wrote: > > > > > Hi Kelvin, > > > > > > The v13 and v2009 APIs are the only way to programmatically retrieve > > > > > data from AdWords. > > > > > > Best, > > > > > - Eric > > > > > > On Nov 16, 9:19 pm, Kelvin <xzl....@gmail.com> wrote: > > > > > > > Hi,thanks for the clarification. But is it possible to get all the > > > > > > campaigns without using web interface? > > > > > > > Thanks. > > > > > > > On 11月17日, 上午5时19分, AdWords API Advisor > > > > > > <adwordsapiadvi...@google.com> > > > > > > wrote: > > > > > > > > Hi Kelvin, > > > > > > > > There are some types of campaigns that the API cannot retrieve. > > > > > > > These > > > > > > > are often deprecated types of campaigns that you can no longer > > > > > > > create > > > > > > > using the AdWords web interface. > > > > > > > > Best, > > > > > > > - Eric Koleda, AdWords API Team > > > > > > > > On Nov 16, 1:50 pm, Kelvin <xzl....@gmail.com> wrote: > > > > > > > > > Hi all, > > > > > > > > > I am using adwords .net client library to develop .net > > > > > > > > application. > > > > > > > > And I found the method "getAllCampaigns" couldn't return all the > > > > > > > > campaigns information listed in my google account while I could > > > > > > > > only > > > > > > > > get part of them. In that sense, I amnotable to put total > > > > > > > > campaigns > > > > > > > > informaton into database, and that'll be a problem for my > > > > > > > > appliation. > > > > > > > > So any help? > > > > > > > > > Thanks.- 隐藏被引用文字 - > > > > > > > > - 显示引用的文字 -- 隐藏被引用文字 - > > > > > > - 显示引用的文字 -- 隐藏被引用文字 - > > > > - 显示引用的文字 -- 隐藏被引用文字 - > > - 显示引用的文字 - -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=.