I am continuing the development of an application in VB.Net that uses v201506 of the AdWords API. I have written a page that works perfectly on my Dev box(Windows 10) and now I am trying to deploy it to a Windows Server 2008 R2 Server that already has numerous websites running that use this same version of the API. However, when I deploy to the server and try to run the page I get the following error:
Type 'Google.Api.Ads.AdWords.v201506.CampaignService' is not defined.
Here is the line of code that is throwing this exception:
Dim objService As Google.Api.Ads.AdWords.v201506.CampaignService = CType(objAdWordsUser.GetService(AdWordsService.v201506.CampaignService), CampaignService)
I also tried this line first
Dim objService As CampaignService = objAdWordsUser.GetService(AdWordsService.v201506.CampaignService)
These are the imports I am using on the page:
Imports Google.Api.Ads.AdWords.v201506
Imports Google.Api.Ads.AdWords.Lib
Imports Google.Api.Ads.Common.Lib
Any ideas to point me in the right direction would be greatly appreciated.
Greg