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 :
|
* UnprocessableEntityError: Unrecognized metric: query |
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
[
{"keywordId":123, "query": "red iphone case", "impressions": 584920, "clicks": 2989},
{"keywordId":123, "query": "blue iphone 6s case", "impressions": 8348230, "clicks": 16483},
{"keywordId":456, "query": "chuck taylor all star", "impressions": 83910, "clicks": 2483},
{"keywordId":456, "query": "converse chuck taylor", "impressions": 2349190, "clicks": 1238},
{"keywordId":456, "query": "chuck taylor", "impressions": 291827, "clicks": 1289},
{"keywordId":789, "query": "rare earth magnets", "impressions": 99375092, "clicks": 912037},
{"keywordId":789, "query": "magnets", "impressions": 93894023, "clicks": 238482},
{"keywordId":789, "query": "strong magnets", "impressions": 292, "clicks": 1}
]
instead we have this :
[
{"keywordId":123, "impressions": 584920, "clicks": 2989},
{"keywordId":123, "impressions": 8348230, "clicks": 16483},
{"keywordId":456, "impressions": 83910, "clicks": 2483},
{"keywordId":456, "impressions": 2349190, "clicks": 1238},
{"keywordId":456, "impressions": 291827, "clicks": 1289},
{"keywordId":789, "impressions": 99375092, "clicks": 912037},
{"keywordId":789, "impressions": 93894023, "clicks": 238482},
{"keywordId":789, "impressions": 292, "clicks": 1}
]
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 :