You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to set up a connection to the Google Ads API as per these instructions..
However, when I run: oauth2l fetch --type oauth --credentials credentials.json --scope adwords --output_format refresh_token
I recieve the error: missing 'type' field in credentials
I've tried adding the --type flag and specifying oath to no avail. I also tried specifying "type" at the top level of the object, which returned the error: unknown credential type: "oauth"
I installed using the tar file, running on Linux.
The text was updated successfully, but these errors were encountered:
let me guess, your OAuth client credentials.json got generated for 'web application' as I did.
You have to generate one for 'desktop application' (even you're working on a web application) as this tool here does only support credentials made for 'desktop application'.
I am trying to set up a connection to the Google Ads API as per these instructions..
However, when I run:
oauth2l fetch --type oauth --credentials credentials.json --scope adwords --output_format refresh_token
I recieve the error:
missing 'type' field in credentials
I've tried adding the --type flag and specifying oath to no avail. I also tried specifying "type" at the top level of the object, which returned the error:
unknown credential type: "oauth"
I installed using the tar file, running on Linux.
The text was updated successfully, but these errors were encountered: