Hi David, In order to use the library you need to setup your app.config correctly. A sample file is included with the library:
http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/Examples/App.config Best, - Eric Koleda, AdWords API Team On Feb 12, 8:07 am, David <cont...@akamarketing.com> wrote: > Didn't use app.config, just created a new adwordsUser with a > dictionary object directly passed in with account/token etc. I'm not > getting an incorrect login/access denied type of thing. I getting > 'unable to connect to remote server' the target machine actively > refused the connection at 127... > > How do I change URL? > > Is there any examples of how to install this library on the web, I've > not found anything yet. > > On Feb 11, 9:12 pm, jamesJ <jamesjiang...@hotmail.com> wrote: > > > > > Hi David, > > > I think you need to change some values on app.config file such as your > > google account info and tokens.etc. > > > and you have to change the URL as well. I am using .net with c#,too. I > > took a quick look this .net library, it can be your good reference, > > but I won't take them into my project. > > > James > > > On Feb 11, 9:12 am, David <cont...@akamarketing.com> wrote: > > > > I'm trying to use the library as recommended but not sure where to > > > begin. I've used v13 directly without issues for a while. I've > > > downloaded the latest library and placed elements of the src folder > > > into my app_code folder namely lib, v13, 200906 and 200909, everything > > > seems to compile. > > > > I then created a test file based on an example, it looks a bit like > > > this: > > > > AdWordsUser user = new AdWordsUser(headers); > > > CampaignTargetService campaignService = > > > (CampaignTargetService)user.GetService(AdWordsService.v200909.CampaignTarge > > > tService); > > > > CampaignTargetPage page = campaignService.get(new > > > CampaignTargetSelector()); > > > > // Display campaign targets. > > > if (page != null && page.entries != null) > > > { > > > foreach (TargetList targetList in page.entries) > > > { > > > Debug.WriteLine("Campaign target of type " > > > + targetList.TargetListType > > > + " was found for campaign with" + > > > +targetList.campaignId); > > > } > > > } > > > > Everything compiles fine. But I always get a 'Unable to connect to the > > > remote server' in runtime. I've not manually added any webservices in > > > visual studio, the only ones that are there are from v13. Do I need > > > to? The runtime exception happens in v2009 soapServiceBase, line 135. > > > Suggests it could be down but more likely I'm doing something wrong. > > > How do I install the library? I haven't done anything with assembly.cs > > > and app.config, I didn't bring them into my project. -- 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=en.