The AdRoll API offers a suite of tools to enhance advertising efforts with targeted ad campaigns and advanced analytics. Harnessing this API within Pipedream allows you to automate interactions with AdRoll, such as synchronizing audiences, updating campaigns, and managing advertisements based on triggers from other services. By integrating AdRoll API with Pipedream, you create dynamic workflows that respond in real-time to your business data, ensuring your marketing efforts are both efficient and scalable.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
adroll: {
type: "app",
app: "adroll",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://services.adroll.com/api/v1/user/get`,
headers: {
Authorization: `Bearer ${this.adroll.$auth.oauth_access_token}`,
},
params: {
apikey: `${this.adroll.$auth.oauth_access_token}`,
},
})
},
})
Ad Audience Sync Workflow Automatically sync email lists from CRMs like HubSpot to AdRoll to keep your ad targeting sharp and current. When a new contact is added to a specific list in HubSpot, a Pipedream workflow gets triggered, which then updates your AdRoll audience segment, ensuring your ads reach the right users.
E-commerce Retargeting Trigger Create a workflow that triggers retargeting campaigns based on customer behavior from e-commerce platforms like Shopify. For example, when a customer abandons their cart, Pipedream detects this event from Shopify and sends the data to AdRoll, initiating a retargeting ad sequence designed to bring the customer back to complete the purchase.
Ad Performance Slack Alerts Set up a Pipedream workflow that monitors your AdRoll campaign performance metrics and sends periodic reports or alerts to a Slack channel. This workflow can be configured to send daily summaries or immediate alerts if the performance dips below certain thresholds, keeping the marketing team informed and agile in their response.
Replace the email list from a CRM audience in AdRoll. See docs here
AdRoll uses OAuth authentication. When you connect your AdRoll account, Pipedream will open a popup window where you can sign into AdRoll and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any AdRoll API.
Pipedream requests the following authorization scopes when you connect your account:
all
GET
https://services.adroll.com/auth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
content-type: application/x-www-form-urlencoded
accept: application/json
POST
https://services.adroll.com/auth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://services.adroll.com/auth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}