as i understand the use of the publisher api is only with server side (no client actions are involved).
as explained I opened project in Google console got private key file & email account .
since no offical sample code was publihsed I used this example of storageService . as I understand it's the same flow, i got the access token then sends the get request and as a response i get the "This developer account does not own the application.".
if no access token is generated i get different error "401 not authorized" or something similar.
if any official example be published I think it will be best for all.
On Saturday, June 30, 2012 1:00:42 AM UTC+3, Naveen Agarwal wrote:
It says "Access to the Google Play Android Developer API is authenticated using the
OAuth 2.0 Web Server
flow. Before you can use the API, you will need to set up an APIs Console
project, create a client ID and generate a refresh token."
From the code you posted, you are trying to use a service account but the API is for a real user account.
So you need to manually get an access token using the web server flow and try the API.
It may be easier if you describe the overall flow and what you are trying to do (what is client doing, if ther eis a server involved) and we may be able to help more.