Hi, I am getting timeout when trying to get the ads:
Here is the method: AdGroupAdService service = new AdGroupAdService(); public List<AdGroupAd> GetAllAdGroupAds(long adGroupId) { List<AdGroupAd> gaAds = new List<AdGroupAd>(); try { AdGroupAdSelector acs = new AdGroupAdSelector(); acs.adGroupIds = new long[] { adGroupId }; AdGroupAdPage page = service.get(acs); if ((page.entries != null) && (page.entries.Length > 0)) { gaAds.AddRange(page.entries); } } catch (Exception ex) { log.Error("Exception occured in GetAllAdGroupAds: " + ex); throw; } return gaAds; } Error occured in GetAdwordsStatics for campaignId: XXXXXXX: System.Net.WebException: The operation has timed out at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request) at Google.Api.Ads.Common.Lib.AdsSoapClient.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Object[] parameters) at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, Object[] parameters) at Google.Api.Ads.AdWords.v201008.AdGroupAdService.get(AdGroupAdSelector selector) -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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-api@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=en