@pipedream/google_ads 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/actions/add-contact-to-list-by-email/add-contact-to-list-by-email.mjs +1 -1
- package/actions/create-customer-list/create-customer-list.mjs +1 -1
- package/actions/create-report/create-report.mjs +1 -1
- package/actions/send-offline-conversion/send-offline-conversion.mjs +1 -1
- package/google_ads.app.mjs +1 -1
- package/package.json +1 -1
- package/sources/new-campaign-created/new-campaign-created.mjs +1 -1
- package/sources/new-lead-form-entry/new-lead-form-entry.mjs +1 -1
package/README.md
CHANGED
|
@@ -27,13 +27,13 @@ The component accepts a standard Google Ads API request object with the followin
|
|
|
27
27
|
|
|
28
28
|
```javascript
|
|
29
29
|
const googleAdsReq = {
|
|
30
|
-
method: "get|post|put|delete",
|
|
31
|
-
url: "/v16/...",
|
|
30
|
+
method: "get|post|put|delete", // HTTP method
|
|
31
|
+
url: "/v16/...", // Google Ads API endpoint path
|
|
32
32
|
headers: {
|
|
33
|
-
|
|
33
|
+
Authorization: `Bearer ${this.googleAds.$auth.oauth_access_token}`,
|
|
34
34
|
},
|
|
35
|
-
data: {}
|
|
36
|
-
}
|
|
35
|
+
data: {}, // Optional request body for POST/PUT requests
|
|
36
|
+
};
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
To make different API calls while using the proxy:
|
|
@@ -50,12 +50,12 @@ const googleAdsReq = {
|
|
|
50
50
|
method: "post",
|
|
51
51
|
url: "/v16/customers/1234567890/googleAds:search",
|
|
52
52
|
headers: {
|
|
53
|
-
|
|
53
|
+
Authorization: `Bearer ${this.googleAds.$auth.oauth_access_token}`,
|
|
54
54
|
},
|
|
55
55
|
data: {
|
|
56
|
-
query: "SELECT campaign.id, campaign.name FROM campaign"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
56
|
+
query: "SELECT campaign.id, campaign.name FROM campaign",
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
The proxy endpoint will remain the same: `https://
|
|
61
|
+
The proxy endpoint will remain the same: `https://googleads.m.pipedream.net`
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
key: "google_ads-add-contact-to-list-by-email",
|
|
8
8
|
name: "Add Contact to Customer List by Email",
|
|
9
9
|
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.
|
|
10
|
+
version: "0.1.3",
|
|
11
11
|
type: "action",
|
|
12
12
|
props: {
|
|
13
13
|
...common.props,
|
|
@@ -15,7 +15,7 @@ export default {
|
|
|
15
15
|
key: "google_ads-create-customer-list",
|
|
16
16
|
name: "Create Customer List",
|
|
17
17
|
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.
|
|
18
|
+
version: "0.0.4",
|
|
19
19
|
type: "action",
|
|
20
20
|
props: {
|
|
21
21
|
...common.props,
|
|
@@ -19,7 +19,7 @@ export default {
|
|
|
19
19
|
key: "google_ads-create-report",
|
|
20
20
|
name: "Create Report",
|
|
21
21
|
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.
|
|
22
|
+
version: "0.1.2",
|
|
23
23
|
type: "action",
|
|
24
24
|
props: {
|
|
25
25
|
...common.props,
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
key: "google_ads-send-offline-conversion",
|
|
9
9
|
name: "Send Offline Conversion",
|
|
10
10
|
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.
|
|
11
|
+
version: "0.0.4",
|
|
12
12
|
type: "action",
|
|
13
13
|
props: {
|
|
14
14
|
...common.props,
|
package/google_ads.app.mjs
CHANGED
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
key: "google_ads-new-campaign-created",
|
|
8
8
|
name: "New Campaign Created",
|
|
9
9
|
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.
|
|
10
|
+
version: "0.0.4",
|
|
11
11
|
type: "source",
|
|
12
12
|
dedupe: "unique",
|
|
13
13
|
sampleEmit,
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
key: "google_ads-new-lead-form-entry",
|
|
9
9
|
name: "New Lead Form Entry",
|
|
10
10
|
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.
|
|
11
|
+
version: "0.0.4",
|
|
12
12
|
type: "source",
|
|
13
13
|
dedupe: "unique",
|
|
14
14
|
sampleEmit,
|