I need to connect to google adwords API.
I do not need to authenticate 3rd party users.
I am the only user of my system.
There's only 1 program that runs in my system, serving only myself.
Previously, all I had to do was supply some sort of ID, password, and client version.
Now i need to provide OAUTH, refresh token, other tokens, user agents, etc. etc.
Is there a way NOT to use OAuth?
The reasons for NOT using OAUTH are:
- i don't need to authenticate any 3rd party.
- i don't know what is "user agent" in this context
- i can't get a refresh token:
- i'm running "generate_refresh_token.py",
- it asks me to get a token at (i use my real client-id, not xxxx): https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=xxxxxxxxxxxx.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords
- that url redirects to a 400 error page: "Error: redirect_uri_mismatch"
- but which uri it should match?
EDIT 2:
the refresh token requires specific settings "installed application". Doh. And it needs to be re-coded into "generate_refresh_token.py" :P
I'm still off with "user agent"