Skip to content

Instantly share code, notes, and snippets.

View SardarDelha's full-sized avatar
🎯
Solve the challenge

Sardar SardarDelha

🎯
Solve the challenge
View GitHub Profile
import argparse
import sys
from google_auth_oauthlib.flow import InstalledAppFlow
from oauthlib.oauth2.rfc6749.errors import InvalidGrantError
DEFAULT_CLIENT_ID = 'YOUR CLIENT ID OF YOUR APP CREATED @ GOOGLE API CENTER'
DEFAULT_CLIENT_SECRET = 'YOUR CLIENT SECRET OF YOUR APP CREATED @ GOOGLE API CENTER'
# The AdWords API OAuth2 scope.