Hi Santhoshkumar,
Thank you for getting back to us.
Moving forward to your concern,
"Can i get user oauth2 credentials(client id and client secret) and developer token in my website, like custom form in my website to get their oauth2 credentials and then i save in my database, so that they can view their ads metrics, Is this legal?", we really don't recommend doing this because credentials are sensitive information.
However, please see the 2 items below that will allow you to use only your OAuth2 credentials to access the users' accounts without getting your users' credentials:
Regards,
 |
| Carmela |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q2bCrw4:ref