>
> Hi Thiago,
>
>
The config info has changed a little in the new api. Copy the latest
code into your web.config from here:
http://code.google.com/p/google-api-adwords-dotnet/source/browse/branches/v13.0/examples/csharp/App.config
You will need to change the line
<add type="Google.Api.Ads.Common.Lib.SoapListenerExtension, AdWords"
priority="1" group="0" />
to
<add type="Google.Api.Ads.Common.Lib.SoapListenerExtension, AdWords"
priority="1" group="High" />
In my web app I have also had to change the way users are authenticated
from using ClientEmail to ClientCustomerId and make sure the id is added in
the ClientCustomerId in the web.config file so when querying different
accounts I now use
Dictionary<string, string> headers = new Dictionary<string, string>();
headers.Add("ClientCustomerId", insert customer client id here);
AdWordsUser user = new AdWordsUser(headers);
Hope this helps other people migrating to the new version of the api. I've
seen a few messages saying you can still authenticate using ClientEmail,
but didn't work for me.
Paigey
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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