amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
611 stars 733 forks source link

Unclear How To Obtain Brand Analytics Selling Partner API Role #2225

Closed tspicer closed 2 years ago

tspicer commented 2 years ago

The "Brand Analytics Selling Partner API role" is required to make requests for various reports. However, unlike most other roles, this is not a role we can select for our application. There is no Brand Analytics check box. The documentation is vague on this point as well.

Can someone provide some details on how we can attach this role so customers can get access to these reports? Thanks.

moltar commented 2 years ago

It turns out, which isn’t documented anywhere, you need to register and create a completely separate application in the Vendor Central account. And you can only authorize your own VC account.

tspicer commented 2 years ago

@moltar , thanks for that context. I sent a note to support and they simply told me to "select the role checkbox".

Guerri114 commented 2 years ago

There's two things you should check in Vendor Central:

  1. Make sure your Developer Profile has Brand Analytics role checked in the Data Access section: https://vendorcentral.amazon.com/developer/register
  2. After you've confirmed your Developer Profile has the role, then go into your individual application clients (click: Edit App) and ensure the Brand Analytics role is attached as needed. See list of clients here: https://vendorcentral.amazon.com/sellingpartner/developerconsole
  3. If you make changes to an application client, be sure to self-authorize and generate a new refresh token. To do this, go to the Developer Consoler, click the dropdown arrow next to Edit App, and then click Authorize.
rugved1991 commented 2 years ago

Hi @tspicer,

The Brand Analytics role is currently in closed beta for Public Developers. The role is openly available to Sellers, Vendors, and Brands (Private Developers) that wish to access the data for their own use. We expect to also open the role to Public Developers by end of this quarter. Please watch for future announcements.

Rugved Solutions Architect, SP API

rainonthemoon commented 2 years ago

@rugved1991 , how do you access this API for private purposes? We are a brand aggregator owning a few brands with access to Brand analytics. Would like to know about seller central access and not vendor central.

jlevers commented 2 years ago

@rugved1991 could you give us any sense when the Brand Analytics role will be made available for public developers?

amz-tools commented 2 years ago

Hi @rugved1991,

according to the new announcement from 23rd March the Brand Analytics Role should now be available to all developers:

This report requires the Brand Analytics Selling Partner API role which is now available to all sellers.

However, we just checked Developer Central and it seems its still not available. Do you have any update on that?

tspicer commented 2 years ago

@amz-tools , it should be present in the developer, not the app, profile. This caused me some initial confusion since roles are in both places.

amz-tools commented 2 years ago

Thanks for helping out @tspicer, found it.

moltar commented 2 years ago

So can someone confirm if this will work with the Vendor Central reports, or is this only for Seller Central?

timmyscj commented 2 years ago

It turns out, which isn’t documented anywhere, you need to register and create a completely separate application in the Vendor Central account. And you can only authorize your own VC account.

I haven't had any luck getting the new reports mentioned in the March release announcement working for Vendor Central Reports. The previous reports work fine.

saras-daton commented 2 years ago

Anyone had any luck as a 3rd party developer access seller central business reports? Our apps has been approved for "Brand Analytics" role, yet we are getting authorisation errors when we are trying to call SC Business Reports Api

orpeleg8 commented 2 years ago

I've check the box "Brand Analytic" in my developer profile seller central, but getting unauthorized - "Access to the resource is forbidden". Anyone had any luck yet?

RMagician commented 2 years ago

We've just received the Brand Analytics developer role, now applied for the app level brand analytics role (yes there are two roles!).

So if you're getting unauthorized access after getting the developer level role, don't forget to then request the app-level role.

KR2025 commented 2 years ago

We have the same issue of "access to the resource is forbidden", while we have brand analytics role activated at:

  1. Developer profile (found here: https://sellercentral.amazon.co.uk/developer/register)
  2. App profile (found here: https://sellercentral.amazon.co.uk/sellingpartner/developerconsole/application?appId=XXX - your appid will be here) - found in menu at partner networks > develop apps)

You need to do these in sequence. While this fixed some reports, brand analytics continues to not be available. Would appreciate any additional feedback.

Question: is there a difference between SP API only and SP API and MWS? We have SP API setup for app only - but perhaps you should do both.

vipul-neon commented 2 years ago

Hi,

It is very unclear on why Amazon is rejecting Brand Analytics API access to us. We have applied via public developer profile and also submitted app for listing

sreejithlillydoo2 commented 1 year ago

Hi All,

I would need to access the brand analytics api and pull the data to redshift table. The first step of creating the access token has done, now I am facing challenge to find the exact API end point to send a GET request to access the brand analytics data. Is somebody already aware about the URL then please help me on this, or anything other steps is required before send the GET request, I believe a GET request directly to the end point with the bearer access token can pull the json data. Please correct me and help if my understanding is wrong.

Thanks.

RMagician commented 1 year ago

We just lost access to these reports, had been using them without issue.

SellingApiForbiddenException: [{'code': 'Unauthorized', 'message': 'Access to the resource is forbidden', 'details': ''}]

If anyone is suffering the same and finds a solution please share !

sreejithlillydoo2 commented 1 year ago

I also want to know the issue, to which end point you are making the request.

AppDev2020-admin commented 1 year ago

We've just received the Brand Analytics developer role, now applied for the app level brand analytics role (yes there are two roles!).

So if you're getting unauthorized access after getting the developer level role, don't forget to then request the app-level role.

@RMagician What did you do to get access to the Brand Analytics Role? We have been requesting for more than 2 weeks now and keep getting rejected. The latest rejection message was: 'Your update should include a website URL that provides details about the services your application offers to Amazon Sellers. The website should display information about function details, and other features of your app. ' We tried adding bits and pieces of information on our website but they are never satisfied. Any tips for us?

AppDev2020-admin commented 1 year ago

Anyone had any luck as a 3rd party developer access seller central business reports? Our apps has been approved for "Brand Analytics" role, yet we are getting authorisation errors when we are trying to call SC Business Reports Api

Hi @saras-daton . Can you share your process to get 'Brand Analytics Role' access?

Blochergroup commented 11 months ago

Is there any update on this?

I have enabled the Role in the Developer Profile as well as the App profile but can't retrive GET_BRAND_ANALYTICS_SEARCH_TERMS_REPORT

I get following Error:

"errors": [ { "code": "Unauthorized", "message": "Access to the resource is forbidden", "details": "" } ]

sreejithlillydoo2 commented 11 months ago

I also have the same issue , still follow up with amazon support , they always forward me some documents link which is not unclear and have no solution .

sreejithlillydoo2 commented 11 months ago

Could anybody post a video or document which have the steps to retrieve the sp api data at least through postman tool.

Blochergroup commented 11 months ago

@sreejithlillydoo2 got it working by taking the following steps.

  1. Add the role to your developer profile
  2. Add the role to your app
  3. Generate a new refresh token after your app changes got approved

my request looks like this: POST https://sellingpartnerapi-eu.amazon.com/reports/2021-06-30/reports {"reportType": "GET_BRAND_ANALYTICS_SEARCH_TERMS_REPORT", "reportOptions": {"reportPeriod": "WEEK"}, "dataStartTime": "2023-10-12T00:00:00.000Z", "dataEndTime": "2023-10-18T23:59:59.000Z", "marketplaceIds": ["A1PA6795UKMFR9"]}

sreejithlillydoo2 commented 11 months ago

@Blochergroup amz1

amz2

I uploaded two images . Could you please verify ,if it is similar to the setting you have .

Blochergroup commented 11 months ago

@sreejithlillydoo2 yes, I have the same settings.

Did you also generate a new refresh token? Are you able to retrive other reports like all merchant listings?

sreejithlillydoo2 commented 11 months ago

@Blochergroup , Thanks for your response. I could not query any of the end points other than generation access token with https://api.amazon.com/auth/o2/token . This I can successfully generated. Could you may be forward the market listing url , so that I would also have a try with that. What will happen if we enable the below option in the App registration window "Yes, I will delegate access to PII to another developer's application." Thank you .

Blochergroup commented 11 months ago

@sreejithlillydoo2 take a look if you have set everything up right by taking a look at this video: https://www.youtube.com/watch?v=gp5kTI8I3pU

You can use this repo to make a sample request: https://github.com/jakobowsky/new-sp-api/

landoncope commented 5 months ago

Getting the Brand Analytics role has been a very frustrating experience. No matter what we do, we get this same rejection:

Thank you for updating your Amazon Selling Partner API (SP-API) Developer Profile.

We have completed our assessment and have determined that you do not meet criteria for Brand Analytics role access on SP-API. To protect Amazon Customers, we require Developers to have an online business website with publicly available, descriptive information about the analytical products and services provided for Amazon Selling Partners. Services and product must be consistent with section 4.4 and 4.5 of our Acceptable Use Policy.

No changes have been made to your SP-API access at this time.

We've modified our website a dozen times. I even stood up a separate website, with completely different content, and got the same rejection. I've contacted every Amazon support rep/channel I could find, and they have not been helpful.

Any advice?

vikingcodes commented 3 months ago

We have multiple seller and we showing Brand Analytics Data, But some seller don't have brand analytics data due to they don't have any brand on amazon. So, we need hide Brand Analytics tab on our app. Its possible to check that seller have brand on amazon or is seller registred for brands on amaozn ?

vollie commented 4 days ago

Hi @saras-daton, @RMagician, @Blochergroup, @sreejithlillydoo2, @vikingcodes; would any of you be willing to share any insights and/or the Organisation website used that got you an approval on the Brand Analytics role?🙏

Like @landoncope above, we too keep getting rejected the role based on this point despite modifying the site and would welcome any additional information on getting approved.