Hi Alan,

ClientLogin is deprecated, so we recommend using OAuth 2.0 authentication 
as a long-term 
approach. 
http://code.google.com/p/google-api-adwords-php/source/browse/#git%2Fexamples%2Fv201209%2FMisc
 
has a code example that explains how to use OAuth2 in your application. 
However, if you are new to AdWords API and want to quickly get an 
application running, it should be fine to use ClientLogin.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, January 31, 2013 12:09:27 AM UTC+5:30, Alan Coleman wrote:
>
> Hello everyone,
>
> As a newbie to the Google AdWords API I'm experimenting with the examples 
> in v201209
>
> I have GetCampaigns.php returning data from my test account successfully 
> on localhost.
>
> However when I run GetCampaigns.php from a server I get an error:* An 
> error has occurred: Failed to get authToken. Reason: Failed to connect to 
> 2607:f8b0:400e:c02::54: Network is unreachable*
>
> The question is, do I have to use OAuth 2.0 Authentication and do I have 
> to assign API access in the API Console?
>
> Many 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

--- 
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.


Reply via email to