1 message in com.googlegroups.adwords-apiRe: AdWords API AddCampaign fails in ...
FromSent OnAttachments
Richard Jones30 May 2006 08:53 
Subject:Re: AdWords API AddCampaign fails in .NET - An internal error has occurred. Please retry your request.
From:Richard Jones (r.@annexia.org)
Date:05/30/2006 08:53:07 AM
List:com.googlegroups.adwords-api

On Tue, May 30, 2006 at 06:42:39AM -0700, helen wrote:

<detail>\n <ns1:code xmlns:ns1=\"https://adwords.google.com/api/adwords/v4\">0</ns1:code>\n\n <ns2:message xmlns:ns2=\"https://adwords.google.com/api/adwords/v4\">An internal error has occurred. Please retry your request.</ns2:message>\n\n </detail>

This error can occur intermittently anyway, but ...

Campaign newcampaign = new Campaign(); newcampaign.name = "new"; newcampaign.dailyBudget = 500;

I don't know how the ".Net" client library works, but if it's anything like other libraries out there, setting your daily budget to 500 isn't going to work. You need to set it in Google's units of "micros". See the section "Monetary Units" on this page:

http://www.google.com/apis/adwords/developer/adwords_api_services.html

Rich.