Hello Danial,
thx for the fast reply.
I got the example working (which I should have done from the beginning).
The problem is, that my programming-workflow is different from the example.
Example (stateful):
1) make request (with adwords-obj, and generate consumer)
2) get token
3) make new request (reuse adwords-obj with consumer)
My App (stateless):
1) make request (new adwords-obj)
2) redirect user to Auth-Page
3) create new adwords-obj (new consumer) based on data from a db
4) make request with verification token set
Now, the problem seems to me, that I don't know which tokens I need to save and where to get them from. I don't want the User to authenticate each request. This problem is addressed in the other libraries (UpgradeOAuthToken), but as far as I can see, not in the ruby library.
Also, I've noticed (which is the most likely culprit), that the cosumer-object is created during/after a request is made. That seems to be the underlying assumption in the ruby-example. But I'm not sure.
best regards
Thomas