Skip to content

Commit 7fefaef

Browse files
Updating Google Ads proxy endpoint (#16545)
* Updating Google Ads proxy endpoint * Version bumps
1 parent fd5f05f commit 7fefaef

File tree

10 files changed

+22
-26
lines changed

10 files changed

+22
-26
lines changed

components/google_ads/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ The component accepts a standard Google Ads API request object with the followin
2727

2828
```javascript
2929
const googleAdsReq = {
30-
method: "get|post|put|delete", // HTTP method
31-
url: "/v16/...", // Google Ads API endpoint path
30+
method: "get|post|put|delete", // HTTP method
31+
url: "/v16/...", // Google Ads API endpoint path
3232
headers: {
33-
"Authorization": `Bearer ${this.googleAds.$auth.oauth_access_token}`
33+
Authorization: `Bearer ${this.googleAds.$auth.oauth_access_token}`,
3434
},
35-
data: {} // Optional request body for POST/PUT requests
36-
}
35+
data: {}, // Optional request body for POST/PUT requests
36+
};
3737
```
3838

3939
To make different API calls while using the proxy:
@@ -50,12 +50,12 @@ const googleAdsReq = {
5050
method: "post",
5151
url: "/v16/customers/1234567890/googleAds:search",
5252
headers: {
53-
"Authorization": `Bearer ${this.googleAds.$auth.oauth_access_token}`
53+
Authorization: `Bearer ${this.googleAds.$auth.oauth_access_token}`,
5454
},
5555
data: {
56-
query: "SELECT campaign.id, campaign.name FROM campaign"
57-
}
58-
}
56+
query: "SELECT campaign.id, campaign.name FROM campaign",
57+
},
58+
};
5959
```
6060

61-
The proxy endpoint will remain the same: `https://eolid4dq1k0t9hi.m.pipedream.net`
61+
The proxy endpoint will remain the same: `https://googleads.m.pipedream.net`

components/google_ads/actions/add-contact-to-list-by-email/add-contact-to-list-by-email.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
key: "google_ads-add-contact-to-list-by-email",
88
name: "Add Contact to Customer List by Email",
99
description: "Adds a contact to a specific customer list in Google Ads. Lists typically update in 6 to 12 hours after operation. [See the documentation](https://developers.google.com/google-ads/api/docs/remarketing/audience-segments/customer-match/get-started)",
10-
version: "0.1.2",
10+
version: "0.1.3",
1111
type: "action",
1212
props: {
1313
...common.props,

components/google_ads/actions/create-customer-list/create-customer-list.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default {
1515
key: "google_ads-create-customer-list",
1616
name: "Create Customer List",
1717
description: "Create a new customer list in Google Ads. [See the documentation](https://developers.google.com/google-ads/api/rest/reference/rest/v18/UserList)",
18-
version: "0.0.3",
18+
version: "0.0.4",
1919
type: "action",
2020
props: {
2121
...common.props,

components/google_ads/actions/create-report/create-report.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default {
1919
key: "google_ads-create-report",
2020
name: "Create Report",
2121
description: "Generates a report from your Google Ads data. [See the documentation](https://developers.google.com/google-ads/api/fields/v18/overview)",
22-
version: "0.1.1",
22+
version: "0.1.2",
2323
type: "action",
2424
props: {
2525
...common.props,

components/google_ads/actions/send-offline-conversion/send-offline-conversion.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
key: "google_ads-send-offline-conversion",
99
name: "Send Offline Conversion",
1010
description: "Send an event from to Google Ads to track offline conversions. [See the documentation](https://developers.google.com/google-ads/api/rest/reference/rest/v18/ConversionAction)",
11-
version: "0.0.3",
11+
version: "0.0.4",
1212
type: "action",
1313
props: {
1414
...common.props,

components/google_ads/google_ads.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export default {
9494
},
9595
methods: {
9696
_baseUrl() {
97-
return "https://eolid4dq1k0t9hi.m.pipedream.net";
97+
return "https://googleads.m.pipedream.net";
9898
},
9999
_headers(accountId) {
100100
return {

components/google_ads/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/google_ads",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "Pipedream Google Ads Components",
55
"main": "google_ads.app.mjs",
66
"keywords": [

components/google_ads/sources/new-campaign-created/new-campaign-created.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
key: "google_ads-new-campaign-created",
88
name: "New Campaign Created",
99
description: "Emit new event when a new campaign is created. [See the documentation](https://developers.google.com/google-ads/api/fields/v18/campaign)",
10-
version: "0.0.3",
10+
version: "0.0.4",
1111
type: "source",
1212
dedupe: "unique",
1313
sampleEmit,

components/google_ads/sources/new-lead-form-entry/new-lead-form-entry.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
key: "google_ads-new-lead-form-entry",
99
name: "New Lead Form Entry",
1010
description: "Emit new event for new leads on a Lead Form. [See the documentation](https://developers.google.com/google-ads/api/fields/v18/lead_form_submission_data)",
11-
version: "0.0.3",
11+
version: "0.0.4",
1212
type: "source",
1313
dedupe: "unique",
1414
sampleEmit,

pnpm-lock.yaml

Lines changed: 4 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)