Hello,

I’m wondering if you can help – if not please can you direct us to the 
correct email/contact to address our support query to.
We are working as Developers on behalf of our customer (QuickWins), who has 
had his Google Adwords Developer API access token approved successfully:

User: iain(at_sign)quickwinsinternet.co.uk <[email protected]>

We downloaded a sample .NET console application code from Adwords API web 
page using this developer token back in Feb 2013 – which worked fine then. 
Since then we didn't test it (or use it), and when we tried to test it 
again now, we discovered '403 forbidden' error message (see error.txt for 
full error details). 

Can you please advise why this error appears? 

Has something changed with the API/DeveloperToken access since Feb 2013? 

May be something is wrong in our app.config (see attachment)?

Your help is much appreciated – thank you. Please feel free to ask if you 
need any clarifications.

Many thanks,
Dhruvesh

Dhruvesh Patel
Project Manager
Blueberry Consultants Ltd
Tel:
 +44 (0)121 285 0100
Fax:
 +44 (0)121 771 3649
DDI:
+44 (0)121 285 0112
Web:
 http://www.bbconsult.co.uk

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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].
For more options, visit https://groups.google.com/groups/opt_out.


This code example lists all campaigns. To add a campaign, run AddCampaign.cs.
An exception occurred while running this code example. 
System.Reflection.TargetInvocationException (Exception has been thrown by the 
target of an invocation.)

   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] 
arguments, SignatureStruct& sig, MethodAttributes methodAttributes, 
RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags 
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean 
skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags 
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at Google.Api.Ads.AdWords.Examples.CSharp.Program.InvokeRun(Object 
codeExample, AdWordsUser user) in C:\Dev\QuickWins\Google Adwords\sample 
projects\examples\adwords\csharp\Program.cs:line 140
   at 
Google.Api.Ads.AdWords.Examples.CSharp.Program.RunACodeExample(AdWordsUser 
user, Object codeExample) in C:\Dev\QuickWins\Google Adwords\sample 
projects\examples\adwords\csharp\Program.cs:line 99

Caused by

System.ApplicationException (Failed to retrieve campaigns)

   at 
Google.Api.Ads.AdWords.Examples.CSharp.v201206.GetCampaigns.Run(AdWordsUser 
user) in C:\Dev\QuickWins\Google Adwords\sample 
projects\examples\adwords\csharp\v201206\BasicOperations\GetCampaigns.cs:line 
100

Caused by

Google.Api.Ads.Common.Lib.AuthTokenException (AuthToken login failed. See 
ErrorCode for more details.)

   at Google.Api.Ads.Common.Lib.AuthToken.GenerateToken() in 
C:\Dev\QuickWins\Google Adwords\sample 
projects\src\Common\Lib\AuthToken.cs:line 247
   at Google.Api.Ads.Common.Lib.AuthToken.GetToken() in C:\Dev\QuickWins\Google 
Adwords\sample projects\src\Common\Lib\AuthToken.cs:line 192
   at Google.Api.Ads.AdWords.Lib.AdWordsSoapClient.InitForCall(String 
methodName, Object[] parameters) in C:\Dev\QuickWins\Google Adwords\sample 
projects\src\AdWords\Lib\AdWordsSoapClient.cs:line 78
   at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, 
Object[] parameters) in C:\Dev\QuickWins\Google Adwords\sample 
projects\src\Common\Lib\AdsSoapClient.cs:line 210
   at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, 
Object[] parameters) in C:\Dev\QuickWins\Google Adwords\sample 
projects\src\Common\Lib\AdsSoapClient.cs:line 127
   at Google.Api.Ads.AdWords.v201206.CampaignService.get(Selector 
serviceSelector) in C:\Dev\QuickWins\Google Adwords\sample 
projects\src\AdWords\v201206\AdWordsApi.cs:line 3167
   at 
Google.Api.Ads.AdWords.Examples.CSharp.v201206.GetCampaigns.Run(AdWordsUser 
user) in C:\Dev\QuickWins\Google Adwords\sample 
projects\examples\adwords\csharp\v201206\BasicOperations\GetCampaigns.cs:line 83

Caused by

System.Net.WebException (The remote server returned an error: (403) Forbidden.)

   at System.Net.HttpWebRequest.GetResponse()
   at Google.Api.Ads.Common.Lib.AuthToken.GenerateToken() in 
C:\Dev\QuickWins\Google Adwords\sample 
projects\src\Common\Lib\AuthToken.cs:line 232

Press [Enter] to continue

Attachment: App.config
Description: Binary data

Reply via email to