Hi,
I downloaded the .Net Adwords Library, I've been reviewing the samples
(TargetingIdeaService) I extracted some code to start working on some
proofs of concept, but my problem so far is that I cannot get logged
in to the sandbox, I modified the default values in the the app.config
to use the sandbox and set my authentication data, this is what I have
now:
<AdWordsApi>
<add key="LogPath" value="C:\Logs\"/>
<add key="LogToConsole" value="false"/>
<add key="LogToFile" value="true"/>
<add key="MaskCredentials" value="true"/>
<add key="LogErrorsOnly" value="false"/>
<add key="Timeout" value="100000"/>
<add key="EnableGzipCompression" value="true"/>
<add key="UserAgent" value="MYCOMPANY"/>
<add key="ClientEmail" value="[email protected]"/>
<add key="DeveloperToken" value="[email protected]++USD"/>
<add key="AuthorizationMethod" value="ClientLogin"/>
<add key="Email" value="[email protected]"/>
<add key="Password" value="mypassword"/>
<add key="AdWordsApi.Server" value="https://adwords-
sandbox.google.com"/>
</AdWordsApi>
With those settings I'm getting the following exception when I try to
execute TargetingIdeaService.get():
{"AuthenticationError.NOT_ADS_USER @ ; trigger:'908874548491'
Service[TargetingIdeaService.get]"}
I also tried to use OAuth as AuthorizationMethod (I used the OAuth
consumer key/secret as anonymous/anonymous) but I didn't get any
success, I got the following exception:
OAuth provider cannot be null when selecting Authorization method
as "OAuth"
Documentation about .net library doesn't mention how to config a OAuth
provider, at least I haven't found anything about it yet.
Is there a way to use sandbox with a non-MCC account?
If not, there is a free way to generate a DeveloperToken?
Can someone provide some working settings or tell me what I'm missing
or doing wrong?
I also read about authToken, looks like I need it to use the sandbox,
but there is no settings samples (key) in the app.config to provide
provide it, how can I generate and provide this token?
Any thoughts? Any help would be appreciate.
Thanks.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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