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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1199316f-f339-43ee-9a75-226bbf37b2f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to