Do this checklist:

- You have a valid set of credentials obtained for the *test* account. 
Remember, the developer token is global (for both test and production) but 
client_id, client_secret and refresh_token are local to either test OR 
production accounts.
- You are logging in with the *test* account id (the xxx-xxx-xxxx code you 
get from you test manager account)
- You are trying to get campaigns from a child account of the *test* 
account (not the production account)

If you check all of the above, it should be working. Make sure that if 
you're accessing a child account directly you still need to send the 
manager id, as it is mentioned in the error message.

"message": "User doesn't have permission to access customer. Note: If 
> you're accessing a client customer, the manager's customer id must be set 
> in the 'login-customer-id' header. See https://developers.google.com/goo
> gle-ads/api/docs/concepts/call-structure#login-customer-id"


Also, check your logs, maybe there will be more information here.

André 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6dc64464-7f1b-41d6-b9f8-012e77072d85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to