Hi, I am hoping you could point me in the right direction I am trying to call the Adwords API within a SSIS Script task(VB.NET Visual Studio 2005),the user is initialized as below
Dim UserDict As New Dictionary(Of String, String) UserDict.Add("UserAgent", "XXX") UserDict.Add("ClientEmail", "XXX") UserDict.Add("DeveloperToken", "XXX") UserDict.Add("AuthorizationMethod", "ClientLogin") UserDict.Add("Email", "XX") UserDict.Add("Password", "XX") UserDict.Add("AdWordsApi.Server", "https://adwords- sandbox.google.com") user = New AdWordsUser(UserDict) I get an error on the first line after the user is initialized Dim infoService As InfoService = CType(user.GetService(AdWordsService.v201109.InfoService), Google.Api.Ads.AdWords.v201109.InfoService) at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at Google.Api.Ads.AdWords.Lib.AdWordsServiceFactory.CreateService(ServiceSignature signature, AdsUser user, Uri serverUrl) at Google.Api.Ads.Common.Lib.AdsUser.GetService(ServiceSignature serviceSignature, Uri serverUrl) at Google.Api.Ads.Common.Lib.AdsUser.GetService(ServiceSignature serviceSignature, String serverUrl) at Google.Api.Ads.Common.Lib.AdsUser.GetService(ServiceSignature serviceSignature) at ScriptTask_ccb838f94ed54707841fdafbf304dd05.ScriptMain.Main() Thank you!! Vaibhavi -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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