You also need to register the SoapListenerExtension - which is normally done in app.config, in <system.web> <webServices> <soapExtensionTypes>
If you leave that out, you get an error that an assembly could not be loaded. Is that the case? I don't know how to work around this. Once this was submitted as a bug for the .NET library but that bug was rejected. As a workaround, the project got some information how to access the API from .NET without using the library. Hope this helps On Friday, February 21, 2014 3:52:24 PM UTC+1, Jeremy K wrote: > > Can anyone help with this please? > > I'm still struggling to get this to work without an app.config > > On Friday, February 14, 2014 5:22:32 PM UTC, Jeremy K wrote: > >> Hi, >> >> I'm looking to take the AdWords c# .net sample and get it working in an >> SSIS package, which will allow the use of .Net via a VSTA script. According >> to the best of my knowledge, a VSTA script will behave just like standard >> .net, but you can't give it an app.config. >> >> Therefore I understand that I should specify the relevant app.config >> settings manually. I'm trying to put my settings in a dictionary. The >> settings that I have are: >> >> var customDictionary = new Dictionary<string, string> { >> { "UserAgent", "xxx" }, >> { "DeveloperToken", "xxx" }, >> { "ClientCustomerId", "xxx" }, >> { "AuthorizationMethod", "xxx" }, >> { "Email", "xxx" }, >> { "Password", "xxx" } >> >> }; >> >> Could someone please tell me, are there any that I'm missing if I have >> absolutely no app.config? >> >> Unfortunately I get an error when trying to do AdWordsUser user = new >> AdWordsUser(customDictionary) so I think I must be missing some settings >> >> Thank you >> Jeremy >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 --- 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 adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.