Having a small issue here. I'm trying to run the following code:
using System;
using Google.Api.Ads.AdWords.v201306;
using Google.Api.Ads.AdWords.Lib;
namespace CodeTest2
{
class Program
{
static void Main(string[] args)
{
// Create an AdWordsUser with whatever configuration is available in App.config.
AdWordsUser user = new AdWordsUser();
CampaignService campaignService = (CampaignService)user.GetService(AdWordsService.v201306.CampaignService);
Selector selector = new Selector();
CampaignPage page = campaignService.get(selector);
}
}
}
The issue comes down to this guy in the app.config:
<system.web>
<webServices>
<soapExtensionTypes>
<add type="Google.Api.Ads.Common.Lib.SoapListenerExtension, Google.Ads.Common"
priority="1" group="0"/>
</soapExtensionTypes>
</webServices>
</system.web>
If I include this line. It breaks on the CampaignService campaignService line with a configuration error saying that the dll or one of it's dependencies is not being loaded. Everything appears to be fine though. If I don't include this line, then it breaks on CampaignPage page telling me that the soap extension is necessary....could anyone give me some advice?