I followed the instructions to create the client ID, client secret, and get the refresh token and put them in the yaml file. Then execute the script to get the keyword idea, which results in an error. How can I solve it?
google.api_core.exceptions.PermissionDenied: 403 Request had insufficient authentication scopes. [reason: "ACCESS_TOKEN_SCOPE_INSUFFICIENT"
domain: "
googleapis.com"
metadata {
key: "service"
value: "
googleads.googleapis.com"
}
metadata {
key: "method"
value: "google.ads.googleads.v13.services.KeywordPlanIdeaService.GenerateKeywordIdeas"
}
]
I'm still new to Python, thank you for help.