Ad solutions to help you find, attract, and engage millions of Amazon customers at every stage of their journey
Go to siteThe Amazon Advertising API provides programmatic access to advertising data such as campaign performance, keyword insights, and budget management for marketers and developers. Leveraging it with Pipedream, you can automate complex advertising tasks, sync campaign data with your database, and integrate with other marketing tools to enhance your advertising strategies.
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}`,
},
})
},
})
Campaign Performance Dashboard: Create a real-time dashboard by piping campaign performance data from Amazon Advertising into Google Sheets using Pipedream. Trigger a workflow that fetches the latest campaign metrics and appends them to a Google Sheet, allowing for easy monitoring and analysis.
Automated Ad Spend Adjustment: Set up a workflow that monitors your campaign performance metrics and automatically adjusts bids or pauses campaigns based on predefined criteria. For example, if the ACoS (Advertising Cost of Sale) surpasses a certain threshold, reduce the bid or pause the campaign to control spend and maintain profitability.
Cross-Platform Ad Performance Reporting: Generate comprehensive ad performance reports by aggregating data from Amazon Advertising and other platforms like Facebook Ads or Google Ads. Use Pipedream to orchestrate a workflow that collects data from multiple sources, consolidates it, and then pushes it to a BI tool like Tableau for in-depth cross-channel analysis.
Amazon Advertising uses OAuth authentication. When you connect your Amazon Advertising account, Pipedream will open a popup window where you can sign into Amazon Advertising and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Amazon Advertising API.
Pipedream requests the following authorization scopes when you connect your account:
profile
advertising::campaign_management
GET
https://www.amazon.com/ap/oa
?
client_id={{custom_fields.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://api.amazon.com/auth/o2/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://api.amazon.com/auth/o2/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}