-
-
Save davedavis/f62e3273f6876847cdb97b8e9b097339 to your computer and use it in GitHub Desktop.
// Download from : https://dl.google.com/adwords_editor/google_ads_editor.msi | |
// Set up wine 5: https://gist.github.com/davedavis/afd22fe0eb0e3035cececfcc4a6a77af | |
// Then in the same directory as the downloaded file, run wine as: | |
wine msiexec /i ./google_adwords_editor.msi |
For what I've seen the problem is that the program totally hangs when trying to open an url.
If you open it from command line...
env WINEPREFIX="/home/USER NAME/.wine" wine C:\users\USER NAME\Start\ Menu\Programs\Google\ Ads\ Editor\Google\ Ads\ Editor.lnk
You'll see that when calling to "autorize using a browser" it tries to open an url...
01-04 14:11:13 [Mem: 391MB][Tid: 2824] "(editorapplication.cc:2544:EditorApplication::OpenUrl())" Open url QUrl("https://accounts.google.com/o/oauth2/v2/auth?client_id=XXXXXXXXXXXX-XXXXXXXXXXXXX.apps.googleusercontent.com&response_type=code&redirect_u
ri=http://127.0.0.1:45877/index.htm&code_challenge_method=S256&code_challenge=XXXXXX-XXXXX&scope=https://www.googleapis.com/auth/adwords+email&hl=ca")
See that the call includes a localhost port that is opened so the process can send some kind of signature to the app with authorization credentials.
...response_type=code&redirect_uri=http://127.0.0.1:45877/index.htm...
The port gets opened, because if you try to wget it (wget -O - 'http://127.0.0.1:45877/index.htm') wget keeps waiting for a reply, why when you try it for any other port, wget immediatily dies telling that no port is opened.
You can copy the url inside QUrl("") in a browser and the browser seems to keep going untill it has to connect to http://127.0.0.1:45877/index.htm to save the credentials.
So the only thing we need is that this QUrl call do not hang the app.
Couldn't find any way to solve it.
What I do know is that If I try to open up any other innocent url from the help menu, it also hangs the app. So, the problem is not that authorization process is too complicated, but that QUrl call halts all processing on the app.
If someone finds a way to overcome this hanging problem, we should be able to login simply copying the url from cmd log and pasting it to a linux browser.
I've been having the same login issue for a while. If someone finds a solution please help!! :)
Wine 7.0 + Google Ads 2.0 works as I tried. Just opt to login on the same app and not on browser
Thanks for the comments guys.
Would there be any interest in a repo/app/script for an automated installer?
Would you be comfortable with something like that? (assuming open source of course)
Yes, there is no modifications at all, just using these versions (or maybe later, above it) will work
It works for me too with wine 7.5
Here I want to call our dear Uncle Google. Why this anger, this attitude towards Linux is not understood at all. Look at the topics we deal with as people who are more interested in technology, such as programmers, developers, gamers, hackers, data scientists. No problem, we can produce a solution if we are going to use it. You know, we sit down and rewrite it from scratch as a hybrid so that it can run on all systems at the same time with Flutter. Our business may be solved, but you are missing day by day.
In the linux world, which has reached billions of users, using the Google Drive service is like the famous Chinese torture, Turkish slap.
Once upon a time there was Yahoo
Regards :D
I'd actually recommend spending the money in crossover now. Editor works great in it.
AdWords Editor has been installed ok, but there is no way to sign in after :)