I changed the URL to:

_targetingIdeaService.Url = "https://adwords.google.com/api/adwords/o/
v200909/TargetingIdeaService";

and now I get an error that the authToken is missing in the soap
header...

On Mar 11, 4:04 pm, Greg Heidel <[email protected]> wrote:
> I am using the following code to initialize the service:
>
>             var requestHeader = new RequestHeader
>                 {
>                     authToken = new AuthToken("[email protected]",
> "Demand78704").GetToken(),
>                     clientEmail = "[email protected]",
>                     developerToken = "CH5Wpvamcj2CVB3Q530-fA",
>                     userAgent = "DemandMedia"
>                 };
>             _targetingIdeaService.RequestHeader = requestHeader;
>             _targetingIdeaService.Url = "https://adwords-
> sandbox.google.com";
>
> However when I make a call I get the following:
> The request failed with the error message:
> --
> <HTML>
> <HEAD>
> <TITLE>Moved Permanently</TITLE>
> </HEAD>
> <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
> <H1>Moved Permanently</H1>
> The document has moved <A HREF="http://adwords-sandbox.google.com/
> select/">here</A>.
> </BODY>
> </HTML>
>
> --.
>
> What am I missing?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

Reply via email to