Ad solutions to help you find, attract, and engage millions of Amazon customers at every stage of their journey
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Amazon Advertising API allows developers to programmatically access Amazon
advertising data and metrics. With the API, developers can build tools and
applications that enable advertisers to manage their Amazon advertising
campaigns more effectively.
Some examples of what you can build with the Amazon Advertising API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
amazon_advertising: {
type: "app",
app: "amazon_advertising",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.amazon.com/user/profile`,
headers: {
Authorization: `Bearer ${this.amazon_advertising.$auth.oauth_access_token}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})