Hi there,

I'm trying out the Adwords API and have downloaded the latest version of 
the PHP lib. I'm having some trouble with making a request:

https://github.com/googleads/googleads-php-lib#getting-started
I'm stuck on step 4: * run the GetCampaigns.php example*.

When I run this page I get the following error: 

An error has occurred: { "error" : "invalid_grant" }


I've found a lot of solution on stack overflow but none seem to work for 
me. 

- I have generated a "OAuth 2.0 client ID" from which I have set to "Other" 
and entered this into the auth.ini file. 
- Then I generated a refresh token with 
"/examples/AdWords/Auth/GetRefreshToken.php".
- After accepting with my Google account (same account) I enter the token 
in the auth.ini file.
- I run GetCampaigns.php and get the above error

- I've also tried a "web application" type but then I get an error when 
trying to connect with my Google account


 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3ccd9128-dd8b-4247-a3c7-1e78b6313e49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to