Hi,
Unfortunately, I can only respond in English.
The access tokens are short lived (an hour) and if you try to save it and make an API call once that expires, the call will not be successful. Instead, you could save the refresh token which is long lived and use that refresh token for generating a new access token (if already expired) for each API calls. Are you using our
PHP client library? If so, you could follow the instructions in the linked document and update the refresh token in the
adsapi_php.ini file and that should take care of renewing the access token for all the future calls. The
document about OAuth should also be helpful for you.
Please let me know if you have any additional questions.
Thanks,
Sreelakshmi, AdWords API Team