Following is what I tried ;
1. Created a manager ( production account) and created a developer token .
2. created a test manager account
3. Created credentials, project in test account.
4. Requested oath refresh token with test credentials.
5. updated the google-ads.yaml file file with
*developer_token:* From manager production account
*client_id: * test manager account
*client_secret: * test manager account
*refresh_token: *generated as mentioned providing test manager id
login-customer-id : *manager production account without hypen (-)*
But when I run the basic get_ca mpaigns.py I get
Fault: {
"errors": [
{
"errorCode": {
"authorizationError": "USER_PERMISSION_DENIED"
},
"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"
}
]
}
Can anyone help please ?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
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/2cbdbcd5-0d6a-4093-8902-3e771dd5d72e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.