I want to use Purchases.subscriptions:get. in my django server
My Google API's project is linked my android application.
And i used service account(json) of Google API, service account's permission is project's owner and google play console's admin.
This is my code
from oauth2client.service_account import ServiceAccountCredentials
from httplib2 import Http
from googleapiclient.discovery import build
scopes = ['https://www.googleapis.com/auth/androidpublisher']
credentials = ServiceAccountCredentials.from_json_keyfile_name('service_account.json', scopes)
http_auth = credentials.authorize(Http())
androidpublisher = build('androidpublisher', 'v3', http=http_auth)
product = androidpublisher.purchases().products().get(productId="", packageName="", token="")
purchase = product.execute()
This is response.
The current user has insufficient permissions to perform the requested operation
What's wrong????