Reach customers wherever they are. Show up at the right time and place across the vast Google Ads ecosystem.
Emit new event when a new campaign is created. See the documentation
Emit new event for new leads on a Lead Form. See the documentation
Adds a contact to a specific customer list in Google Ads. Lists typically update in 6 to 12 hours after operation. See the documentation
Create a new customer list in Google Ads. See the documentation
Generates a report from your Google Ads data. See the documentation
Send an event from to Google Ads to track offline conversions. See the documentation
The Google Ads API lets you programmatically manage your Google Ads data and
campaigns. You can use the API to automate common tasks, such as:
You can also use the API to get information about your campaigns, such as:
The Google Ads API is a powerful tool that lets you manage your Google Ads data
and campaigns programmatically. With the API, you can automate common tasks,
such as creating and managing campaigns, adding and removing keywords, and
adjusting bids. You can also use the API to get information about your
campaigns, such as campaign stats, keyword stats, and ad performance.
The Pipedream components interact with Google Ads API through Pipedream's proxy service, which handles authentication and developer token requirements.
The components accept a standard Google Ads API request object with the following structure:
const googleAdsReq = {
method: "get|post|put|delete", // HTTP method
url: "/v16/...", // Google Ads API endpoint path
headers: {
"Authorization": `Bearer ${this.googleAds.$auth.oauth_access_token}`
},
data: {} // Optional request body for POST/PUT requests
}
To make different API calls while using the proxy:
url
path to match your desired Google Ads API endpointmethod
to match the required HTTP methoddata
fieldExample for a custom query:
const googleAdsReq = {
method: "post",
url: "/v16/customers/1234567890/googleAds:search",
headers: {
"Authorization": `Bearer ${this.googleAds.$auth.oauth_access_token}`
},
data: {
query: "SELECT campaign.id, campaign.name FROM campaign"
}
}
The proxy endpoint will remain the same: https://eolid4dq1k0t9hi.m.pipedream.net
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
googleAds: { type: "app", app: "google_ads" }
},
async run({ $ }) {
const googleAdsReq = {
method: "get",
url: "/v16/customers:listAccessibleCustomers",
headers: {
"Authorization": `Bearer ${this.googleAds.$auth.oauth_access_token}`,
// "login-customer-id": this.googleAds.$auth.login_customer_id // optional for this endpoint
}
}
// proxy google ads request
return await axios($, {
url: "https://eolid4dq1k0t9hi.m.pipedream.net",
data: googleAdsReq,
})
}
})
The SWAPI - Star Wars API is a treasure trove of structured data from the Star Wars universe. It's a go-to resource for fetching information about planets, spaceships, vehicles, people, films, and species from the iconic franchise. Using Pipedream, you can harness this data to create automations and workflows that trigger based on specific criteria from SWAPI. For instance, you could set up a workflow that notifies you when new data is added, enrich customer profiles with their favorite Star Wars characters, or even use it for trivia games by pulling random facts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
swapi: {
type: "app",
app: "swapi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://swapi.dev/api/films/1/`,
})
},
})