Hi Alan,

As Evgeniy mentioned, there's probably something wrong with your PHP 
configuration, but you could try adding the parameters to the example file 
instead of auth.ini. At line 85 of GetRefreshToken.php you should find the 
following code:

        $user = new AdWordsUser();
        $user->LogAll();

The AdWordsUser object has a SetOAuth2Info method that takes an associative 
array of parameters, and you can set the client_id and client_secret as 
follows:

        $user->SetOAuth2Info(array(
            "client_id" => "INSERT_OAUTH2_CLIENT_ID_HERE",
            "client_secret" => "INSERT_OAUTH2_CLIENT_SECRET_HERE"
        ));

Regards,

Ewan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to