对接亚马逊 ads api( Amazon Advertising API) 第三章:对接 Sponsored Products

目录

官方下载报告 demo

需求

对接 Sponsored Products 的 reports 报告

1. 获取 profileId

2. 请求 report

3. 获取 report

4. 获取 report 下载地址


官方下载报告 demo

How to generate and download a report (CURL)

需求

对接亚马逊广告报告:

对接 Sponsored Products 的 reports 报告

Amazon Advertising Advanced Tools Center

这个接口有三个必填的参数,分别是 clientId(已有), profileId(待解决), recordType(根据所需要请求的报告选择)

1. 获取 profileId

官网教程:Amazon Advertising Advanced Tools Center

接口:https://advertising-api.amazon.com/v2/profiles

========================= 2021-03-02 添加 ===========================

如果你返回的是一个空数组。下面是相应的解决办法。

http://Amazon Advertising API Support - Website

=======================================================================

2. 请求 report

/v2/sp/{recordType}/report

参数介绍:

NameDescription
campaignType

只在 recordType = asins 的报告中使用。

Enum: [ sponsoredProducts ]

segment

只在 recordType = asins 和  recordType = campaign 的报告中使用。

注意:11/14/2018之前创建的 campaign 需要请求 /v2/sp/keywords/report,11/14/2018及之后创建的 campaign 需要请求 /v2/sp/targets/report。

Enum: [ query, placement ]

DimensionDescription
queryThe optional dimension on which to segment a keyword report. This is also referred to as the search terms report. Only works for keywords reports.
placementThe optional dimension on which to segment a campaigns report. Placement refers to the location on a page where your ad appears. Only works for campaigns reports.
reportDate日期格式为:YYYYMMDD。时区由 profileId 所指定。
metrics不同的 recordType 使用不同的维度
注意:ASIN 报告只返回 target 或 keywords 其中一种维度报告,不会两者都返回。

3. 获取 report

/v2/reports/{reportId}

reportId 使用 请求报告返回的 reportId。

4. 获取 report 下载地址

Downloading reports

Sponsored Brands Report API 参考 Amazon Advertising Advanced Tools Center

1. 307 重定向

2. 报告是压缩文件

直接请求上面的 location 地址。

======================== 2021-03-18 添加 ================================

把 postman 默认的重定向关掉

File -> Settings -> general -> Automatically follow rediects

========================================================

在 response headers 里面有一个 Location。将这个Location 直接复制到浏览器即可下载到 .gz压缩文件的报告。

至此,亚马逊广告API 接口测试初步完成。后面就是用代码实现了。

  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 14
    评论
1. E-commerce 2. Online shopping 3. Digital marketing 4. Social media 5. Search engine optimization (SEO) 6. Pay-per-click (PPC) 7. Email marketing 8. Affiliate marketing 9. Content marketing 10. Influencer marketing 11. Customer relationship management (CRM) 12. User experience (UX) 13. User interface (UI) 14. Conversion rate 15. A/B testing 16. Analytics 17. Data mining 18. Big data 19. Cloud computing 20. Artificial intelligence (AI) 21. Machine learning 22. Chatbots 23. Virtual reality (VR) 24. Augmented reality (AR) 25. Internet of Things (IoT) 26. Blockchain 27. Cryptocurrency 28. Bitcoin 29. Ethereum 30. Smart contracts 31. Crowdfunding 32. Crowdsource 33. Open source 34. Software as a service (SaaS) 35. Platform as a service (PaaS) 36. Infrastructure as a service (IaaS) 37. Digital transformation 38. Agile methodology 39. Scrum 40. Kanban 41. Lean startup 42. Minimum viable product (MVP) 43. Growth hacking 44. Customer acquisition cost (CAC) 45. Lifetime value (LTV) 46. Churn rate 47. Customer retention 48. Net promoter score (NPS) 49. Sales funnel 50. Lead generation 51. Landing page 52. Call to action (CTA) 53. Exit intent pop-up 54. Retargeting 55. Remarketing 56. Personalization 57. Segmentation 58. Target audience 59. Branding 60. Brand awareness 61. Brand loyalty 62. Reputation management 63. Crisis management 64. Influencer 65. Micro-influencer 66. Social proof 67. Testimonial 68. Review 69. Referral 70. Viral marketing 71. Word of mouth 72. Guerrilla marketing 73. Native advertising 74. Sponsored content 75. Programmatic advertising 76. Display advertising 77. Retina display 78. Responsive design 79. Mobile optimization 80. App development 81. App store optimization (ASO) 82. Push notification 83. Geolocation 84. QR code 85. NFC technology 86. Wearable technology 87. Smart home 88. Smart speaker 89. Voice search 90. Digital assistant 91. Chatbot 92. Gamification 93. User-generated content (UGC) 94. Crowdsourcing 95. Social listening 96. Reputation score 97. Customer satisfaction score (CSAT) 98. Net promoter score (NPS) 99. Customer effort score (CES) 100. Customer lifetime value (CLV)

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 14
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值