I am ran
this github token creation than I used this token for OAuth sometimes successful and other times i got USER_PERMISSION_DENIED or PERMISSION_DENIED. After setting up Oauth keys for x-times, generating token for xy- times i now only seem to get this error:
google.api_core.exceptions.PermissionDenied: 403 Request had insufficient authentication scopes.
I dont understand how it works
I have following structure:
--> Company Huge MCC
--> Other Company sub MCCs
--> Account I want to get campigns from
i was trying to use
this get campign script, obviously I am complete beginner and still dont understand where in the script this OAuth magic happens and how the permissions are handeled and whatever.
I also set up test account like this
--> TEST MCC
--> Test Account
--> Test Campign
trying to use the same script as above but i failed miserably with the same
google.api_core.exceptions.PermissionDenied: 403 Request had insufficient
Error.
Can you explain how this code works?:
ga_service = client.get_service("GoogleAdsService", version="v6") (line 30)