Details
Description
See AML-1018 (which was actually invalid due to a manual change to the DB).
This sub-task is to protect our system if Google decides to change the expiration time for their auth tokens. Our system currently relies on logic that happens when an instance of GoogleAdWordsAPI is created that figures out if an auth token is expired based on whether the date in `sesystem`.googleAuthToken is 6 or more days old. But if Google ever changed the expiration time to 5 days, our system would fail so we should have a mechanism in place to catch these errors and automatically request a new token from Google and update our DB.
Attachments
Issue Links
- duplicates
-
AML-1628 Catch AuthorizationError.USER_PERMISSION_DENIED and re-authenticate
- Open