Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions components/google_ads/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ The component accepts a standard Google Ads API request object with the followin

```javascript
const googleAdsReq = {
method: "get|post|put|delete", // HTTP method
url: "/v16/...", // Google Ads API endpoint path
method: "get|post|put|delete", // HTTP method
url: "/v16/...", // Google Ads API endpoint path
headers: {
"Authorization": `Bearer ${this.googleAds.$auth.oauth_access_token}`
Authorization: `Bearer ${this.googleAds.$auth.oauth_access_token}`,
},
data: {} // Optional request body for POST/PUT requests
}
data: {}, // Optional request body for POST/PUT requests
};
```

To make different API calls while using the proxy:
Expand All @@ -50,12 +50,12 @@ const googleAdsReq = {
method: "post",
url: "/v16/customers/1234567890/googleAds:search",
headers: {
"Authorization": `Bearer ${this.googleAds.$auth.oauth_access_token}`
Authorization: `Bearer ${this.googleAds.$auth.oauth_access_token}`,
},
data: {
query: "SELECT campaign.id, campaign.name FROM campaign"
}
}
query: "SELECT campaign.id, campaign.name FROM campaign",
},
};
```

The proxy endpoint will remain the same: `https://eolid4dq1k0t9hi.m.pipedream.net`
The proxy endpoint will remain the same: `https://googleads.m.pipedream.net`
2 changes: 1 addition & 1 deletion components/google_ads/google_ads.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default {
},
methods: {
_baseUrl() {
return "https://eolid4dq1k0t9hi.m.pipedream.net";
return "https://googleads.m.pipedream.net";
},
_headers(accountId) {
return {
Expand Down
12 changes: 4 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading