The AD platform interface is called to prompt the token expiration

40 views
Skip to first unread message

shaobin feng

unread,
Dec 7, 2023, 1:04:14 PM12/7/23
to AdMob API Developer Forum
ERROR: User credential refresh is only supported in the default googleapis.com universe domain, but the current universe domain is None. If you created the credential with an access token, it's likely that the provided token is expired now, please update your code with a valid token.

interface message:response = service.accounts().networkReport().generate(
      parent='accounts/{}'.format('pub-XXXX'), body=request).execute()


This interface has been working well until December 6th

Lin Yang

unread,
Dec 7, 2023, 1:09:18 PM12/7/23
to AdMob API Developer Forum
Hi,

The OAuth 2.0 protocol is an open standard, independent of the AdMob API. For OAuth 2.0 issues related to any Google APIs, I would recommend going over Google's overall OAuth 2.0 guidance at at https://developers.google.com/identity/protocols/oauth2. In particular, this section has some information about common token expiration issues and potential solutions.

Please feel free to let us know any further questions.

Thanks,
Lin
Reply all
Reply to author
Forward
0 new messages