I'm trying to use this API to get subscription information but I get the following error
{
"error": {
"code": 403,
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console.",
"errors": [
{
"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console.",
"domain": "androidpublisher",
"reason": "projectNotLinked"
}
]
}
}
I have enabled Google Play Android Developer API in the Google Cloud Platform.
and also completed all OAuth consent screen and set up the scope
Ref Video
Related
I wanted to fetch google play reviews of any application. I'm trying with google API using OAuth2.0 in postman.
I'm trying to use this API:
https://developers.google.com/android-publisher/api-ref/rest/v3/reviews/list
I've added the required scopes as well.
When I try to send the get request in postman after generating an access token,
I'm getting this as a response.
"error": {
"code": 403,
"message": "The caller does not have permission",
"status": "PERMISSION_DENIED"
}
is it possible to access any app reviews or only the app reviews which were developed by us?
"errors": [
{
"message": "You currently have Essential access which includes access to Twitter API v2 endpoints only. If you need access to this endpoint, you’ll need to apply for Elevated access via the Developer Portal. You can learn more here: https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api#v2-access-leve",
"code": 453
}
]
I have downloaded postman collection of Twitter API and set all the required keys in environment variables.
When I try to run following URL ,
https://api.twitter.com/2/tweets/search/all?query=%23haiku
I am getting following error in postman.
{
"client_id": "22929871",
"detail": "When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.",
"registration_url": "https://developer.twitter.com/en/docs/projects/overview",
"title": "Client Forbidden",
"required_enrollment": "Standard Basic",
"reason": "client-not-enrolled",
"type": "https://api.twitter.com/2/problems/client-forbidden"
}
For following API, I am getting response.
https://api.twitter.com/2/tweets/search/recent?query=%23haiku
Can someone suggest me, what I am missing.
after following the step-by-step instructions (https://developers.google.com/beacons/proximity/guides) I can successfully enable the Google Proximity Beacon API and create both API key and OAuth 2.0 client IDs for the App I created in the Google Developers Console.
Everything appears to be set up fine: the Google Proximity Beacon API shows to be active and "Credentials" tabs shows both API Key and OAuth 2.0 client ID.
The problem occurs when I try calling my Beacon: the Response gives me a "401" error:
...
"code": 401,
"message": "The request does not have valid authentication credentials.",
"status": "UNAUTHENTICATED"
...
The strange thing is that if I try the oauthplayground, again following google's proximity docs, I get a 403 error:
{
"error": {
"status": "PERMISSION_DENIED",
"message": "Project has not enabled the API. Please use Google Developers Console to activate the 'proximitybeacon' API for your project.",
"code": 403,
"details": [
...
I'm kind of lost here...anyone?
Thank you in advance.
Flik
I want to use Google Shopping Search API for products search. I have followed all the steps stated in document. First I created a google account, then went to GOOGLE APIs console to create a project and got an API key. I want to use this service as publishers in the Google Affiliate Network who can use the API to access product offers from their advertisers of choice.
Then I signed up at google affliate network to get pid. Then I send request to some advertisers to join their program from my affiliate admin panel. Now I have one advertiser approved. Now on this document, it states that to request feed to access products from google affiliate network advertisers of publisher I have to use the following url
https://www.googleapis.com/shopping/search/v1/source/products
Where source in the url is replaced by gan:mypublisherid after putting this my url looks like
https://www.googleapis.com/shopping/search/v1/gan:myid/products?key=mykey&country=US
But When I access this url i found following json error
{
"error": {
"errors": [
{
"domain": "global",
"reason": "conditionNotMet",
"message": "authentication is required for GAN",
"locationType": "header",
"location": "If-Match"
}
],
"code": 412,
"message": "authentication is required for GAN"
}
}
Now my question is how to get authenticated? Is my url is correct or there is some thing other way to do this?
Best Regards.
Read this article. The last part i.e. authentication.
You have to get an access token before using the API. You can either use OAuth or Client Login token. To get a token using Client login you can use cURL. Remember to put servicetype as shoppingapi as the document says.