Skip to content

Commit f9697f4

Browse files
Updating Google Ads proxy endpoint
1 parent fd5f05f commit f9697f4

File tree

3 files changed

+15
-19
lines changed

3 files changed

+15
-19
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/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 {

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)