-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confirming there is an issue with "query" #688
Comments
@guillim can you please show me what your request looks like? |
Yep, it looks something like this : import { HttpClient,
OperationProvider,
SponsoredBrandsReportOperation,
} from '@scaleleap/amazon-advertising-api-sdk'
const params = {
recordType: 'keywords',
segment: 'query',
reportDate: '20210126',
metrics: ['campaignName', 'currency','portfolioName','targetingText','keywordText','matchType','impressions','clicks','cost', 'attributedSales14d','unitsSold14d','attributedConversions14d','attributedSales1d','adGroupName']
}
const httpClient = await new HttpClient(myendpoint, auth)
const operation = new OperationProvider(httpClient)
.create(SponsoredBrandsReportOperation)
const result = await operation.requestReport(params) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
While trying to get the "query" term into my reports using your npm package, I have some issue. I notices you already spotted it here :
amazon-advertising-api-sdk/src/operations/reports/metrics/sponsored-brands/sponsored-brands-campaign-report-metrics.ts
Line 168 in f519825
But basically, any kind of Sponsored brand report will not allow the query to be in the report for some unknown reason.
Even trying the API example from official doc https://advertising.amazon.com/API/docs/en-us/reference/sponsored-brands/2/reports
will not give the as it should be
instead we have this :
The text was updated successfully, but these errors were encountered: