import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
adyntel: {
type: "app",
app: "adyntel",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.adyntel.$auth.api_key}`,
"email": `${this.adyntel.$auth.username}`,
"company_domain": `pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://api.adyntel.com/google`,
data,
})
},
})
Retrieve all Google ads for a given company domain. See the documentation
Adyntel uses API keys for authentication. When you connect your Adyntel account, Pipedream securely stores the keys so you can easily authenticate to Adyntel APIs in both code and no-code steps.