with Logistia Route Planner and Amazon Advertising?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
logistia_route_planner: {
type: "app",
app: "logistia_route_planner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://integration.logistia.app/v1/order`,
headers: {
"L-API-KEY": `${this.logistia_route_planner.$auth.api_key}`,
},
params: {
orderNo: `test-order`,
},
})
},
})
The 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}`,
},
})
},
})