Re: invalid_grant and Bad Request

2016-09-29 Thread 'Anthony Madrigal' via AdWords API Forum
Hello,

Could you please let me know your clientCustomerId, the version of the API 
you are using, and any related SOAP request and responses?

Please do so using *reply privately to author.*

Thanks,
Anthony
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b159583a-fc3e-48c4-a846-43c117ccddb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid_grant and Bad Request

2016-09-29 Thread yada . bilal
Hi Anthony,

Thank you for answer. Yeah, I did. I have  client id, client secret (...) 
but it is error. I have a url for refresh token but I have 400 error when I 
was flow url

29 Eylül 2016 Perşembe 02:23:13 UTC+3 tarihinde Anthony Madrigal yazdı:
>
> Hi,
>
> Did you follow this guide 
> 
>  
> on how to create OAuth credentials and refresh token? Make sure you are 
> generating the refresh token using the same login you used to create the 
> credentials.
>
> Thanks,
> Anthony
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0469e0ad-a62b-4ae1-a802-e71c5d2bd9a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid_grant and Bad Request

2016-09-29 Thread yada . bilal
Hi Anthony,

Thank you for answer. Yeah, I did. I have a refresh token, client id, 
client secret (...) but it is error. Did I wrong did? I don't understand.

29 Eylül 2016 Perşembe 02:23:13 UTC+3 tarihinde Anthony Madrigal yazdı:
>
> Hi,
>
> Did you follow this guide 
> 
>  
> on how to create OAuth credentials and refresh token? Make sure you are 
> generating the refresh token using the same login you used to create the 
> credentials.
>
> Thanks,
> Anthony
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fdfe98e8-643b-451f-89b2-80057458fc38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid_grant and Bad Request

2016-09-28 Thread 'Anthony Madrigal' via AdWords API Forum
Hi,

Did you follow this guide 

 
on how to create OAuth credentials and refresh token? Make sure you are 
generating the refresh token using the same login you used to create the 
credentials.

Thanks,
Anthony
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/84f17102-57e6-4c8b-a5bc-2e449c500851%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


invalid_grant and Bad Request

2016-09-28 Thread yada . bilal
Hi,

I have a error for adwords api but I didn't understand and I didn't solve. 
Error in the down. Please, Can you help me? Thanks.

(Note: My server is localhost and my acount is testing.)

*Fatal error*: Uncaught exception 'OAuth2Exception' with message '{ 
"error": "invalid_grant", "error_description": "Bad Request" } ' in 
C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Util\SimpleOAuth2Handler.php:118
 
Stack trace: #0 
C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Util\SimpleOAuth2Handler.php(92):
 
SimpleOAuth2Handler->MakeRequest('https://www.goo...', Array) #1 
C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Util\OAuth2Handler.php(105):
 
SimpleOAuth2Handler->RefreshAccessToken(Array) #2 
C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php(452):
 
OAuth2Handler->GetOrRefreshAccessToken(Array) #3 
C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php(199):
 
AdsSoapClient->GenerateHttpHeaders() #4 
C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src in
*C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Util\SimpleOAuth2Handler.php*
 on 
line *118*


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/58fa0bd9-f198-4a4d-9592-e169fed9119c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.