Re: how to get eternal token?

2017-10-02 Thread sprytar . developer
I have an idea to keep getting a token, say admin, and store it in the database and update it for all users' requests so that they do not have to confirm application permissions. Is this a good idea? On Monday, October 2, 2017 at 10:06:14 PM UTC+3, sprytar@gmail.com wrote: > > Hi, The previ

how to get eternal token?

2017-10-02 Thread sprytar . developer
Hi, The previous developer used the function TargetingIdeaService to get new keywords, based on one old one. We have a file with constant settings: adsapi_php.ini.But today we have error Client error: `POST https://www.googleapis.com/oauth2/v4/token` resulted in a `400 Bad Request` response: {

API version v201609 warning email: where i can statistic?

2017-09-06 Thread sprytar . developer
I received this warning mail today, is say that i use 72.24% of v201609 API calls. In my project i doesn't use v201609, where i can see statistic about version API calls that i do? Thanks. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://goog

i don't recieve new refresh token, if i have one

2017-09-06 Thread sprytar . developer
it is my code $client = new Google_Client(); $client->setApplicationName('name of app'); $client->setScopes('https://www.googleapis.com/auth/adwords'); $client->setAuthConfig($path_to_secret); $client->setApprovalPrompt('force'); $client->setAccessType('offline'); $array = $client->authenticate