Hi,
Thank you for the additional details. I work with Yasar and allow me to assist you as well.
Whether you will be using the
desktop or the web app flow, you will still be required to perform steps via the browser for completing the process of generating your refresh token.
This should generally be a one time or rare process to perform. You can also check out this
guide for causes on why your refresh token may become invalid, and therefore require you to generate them once more.
There is also the option of using a
service account for authentication. However, as per the guide as well it states that :
We strongly recommend using OAuth2 desktop app or web app flow instead of service accounts unless you need a domain-specific feature (for example, impersonation). OAuth2 desktop app and web app flows do require an initial user interaction for granting access to the account, but are much simpler to set up.
I hope this helps.
Best regards,
 |
| Peter Laurence Napa Oliquino |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q2OSzV3:ref