As an update, it turns out that maybe what I want isn't in the List 
Accounts link. I am trying to get the Retrieve a Report page to work. When 
I click the "get report" button, I get this error now:

"An error occurred during report retrieval:
HTTP code: 400, error type: 'AuthenticationError.NOT_ADS_USER', trigger: 
'<null>', field path: ''

At first I thought it was because I was using an account that wasn't tied 
to an adwords account, but the error still appeared when I set up the 
credentials with a gmail account that tied to an adwords account.


On Tuesday, July 14, 2015 at 3:07:36 AM UTC-7, Jeffrey Lee wrote:
>
> So I downloaded the sample rails app here: 
> https://developers.google.com/adwords/api/docs/clientlibraries
>
> I got it running, but when I click on the List Accounts link I get this 
> stack trace:
>
>
> NoMethodError - undefined method `[]=' for nil:NilClass:
>
>   google-ads-common (0.9.9) lib/ads_common/credential_handler.rb:65:in 
> `set_credential'
>
>   app/controllers/application_controller.rb:50:in `create_adwords_api'
>
>   app/controllers/application_controller.rb:36:in `get_adwords_api'
>
>   app/controllers/account_controller.rb:18:in `get_accounts_graph'
>
>   app/controllers/account_controller.rb:5:in `index'
>
>
> I have my developer_token, client_customer_id, oauth2_client_id, 
> and oauth2_client_secret. I don't know why I am getting this issue. Does 
> anyone have any ideas? Everything in my token had a value except the 
> id_token key.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fb07dd0d-bbf9-4078-b4c2-d9cfd5f13c18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to