Hi,
Excuse me, but now I have more questions.
`In order to access (retrieve data, create, modify, delete) the said Google Ads accounts, users will need the appropriate OAuth2 credentials to authenticate those requests and perform specific actions. To achieve this, a user/email address will need first to have access to the Google Ads account which they will be managing.`
This is means, that we can't make refresh token, generating AuthorizationUri with our credentials, like that:
$oauth2 = new OAuth2(
[
'authorizationUri' => self::AUTHORIZATION_URI,
'redirectUri' => self::REDIRECT_URI,
'tokenCredentialUri' => CredentialsLoader::TOKEN_CREDENTIAL_URI,
'clientId' => $clientId,
'clientSecret' => $clientSecret,
'scope' => $scopes,
'state'=> $state,
'access_type' => 'offline',
]
);
$url = $oauth2->buildFullAuthorizationUri();
return $url;
If I understand right,
what you said, means, that we need to access, from our clients to every user google account and make for every account unique credentials.(Client ID,Client secret)
If so, how we can generate right refresh token with ours credentials?
Maybe we need to request next level for developer token access, or something else?
`As for the expiring (refresh) token issue, this guide that you mentioned initially provides the reasons that may cause the said token to expire. If your Everystraus user was removed then it is possible that someone that has access to your accounts removed or revoked your access.`
Maybe, you can check that or way its happend?
пятница, 16 апреля 2021 г. в 06:04:14 UTC+3, adsapiforumadvisor: