@pipedream/google_ads 0.3.2 → 0.3.3
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 +65 -4
- package/actions/add-contact-to-list-by-email/add-contact-to-list-by-email.mjs +1 -1
- package/actions/common/props.mjs +1 -1
- package/actions/create-customer-list/common-constants.mjs +10 -10
- package/actions/create-customer-list/create-customer-list.mjs +3 -3
- package/actions/create-report/create-report.mjs +5 -5
- package/actions/send-offline-conversion/send-offline-conversion.mjs +4 -4
- package/google_ads.app.mjs +10 -10
- package/package.json +1 -1
- package/sources/new-campaign-created/new-campaign-created.mjs +3 -3
- package/sources/new-lead-form-entry/new-lead-form-entry.mjs +3 -3
package/README.md
CHANGED
|
@@ -19,16 +19,16 @@ such as creating and managing campaigns, adding and removing keywords, and
|
|
|
19
19
|
adjusting bids. You can also use the API to get information about your
|
|
20
20
|
campaigns, such as campaign stats, keyword stats, and ad performance.
|
|
21
21
|
|
|
22
|
-
## Customizing API requests
|
|
22
|
+
## Customizing API requests from within the Pipedream workflow builder
|
|
23
23
|
|
|
24
|
-
The Pipedream components interact with Google Ads API through
|
|
24
|
+
The Pipedream components interact with Google Ads API through an interal proxy service, which protects Pipedream's developer token.
|
|
25
25
|
|
|
26
26
|
The component accepts a standard Google Ads API request object with the following structure:
|
|
27
27
|
|
|
28
28
|
```javascript
|
|
29
29
|
const googleAdsReq = {
|
|
30
30
|
method: "get|post|put|delete", // HTTP method
|
|
31
|
-
url: "/
|
|
31
|
+
url: "/v21/...", // Google Ads API endpoint path
|
|
32
32
|
headers: {
|
|
33
33
|
Authorization: `Bearer ${this.googleAds.$auth.oauth_access_token}`,
|
|
34
34
|
},
|
|
@@ -58,4 +58,65 @@ const googleAdsReq = {
|
|
|
58
58
|
};
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
The proxy endpoint will remain the same: `https://googleads.m.pipedream.net
|
|
61
|
+
**The proxy endpoint will remain the same: `https://googleads.m.pipedream.net`**
|
|
62
|
+
|
|
63
|
+
## Using Google Ads with the Connect API Proxy
|
|
64
|
+
|
|
65
|
+
To interface with Google Ads via the [Connect API Proxy](https://pipedream.com/docs/connect/api-proxy), you need to nest the request like this:
|
|
66
|
+
|
|
67
|
+
**Important notes:**
|
|
68
|
+
|
|
69
|
+
- The upstream URL in this case is Pipedream's proxy service for Google Ads: `https://googleads.m.pipedream.net`
|
|
70
|
+
- Like in the above examples, you'll define the Google Ads URL with the `url` param in the `body`
|
|
71
|
+
- The `method` to the Connect Proxy should always be a `POST`, since it's actually targeting the Google Ads proxy (you can define the method for the Google Ads request in `options.body.method`)
|
|
72
|
+
|
|
73
|
+
### Using the Pipedream SDK
|
|
74
|
+
|
|
75
|
+
```javascript
|
|
76
|
+
const pd = createBackendClient({
|
|
77
|
+
apiHost: process.env.API_HOST,
|
|
78
|
+
credentials: {
|
|
79
|
+
clientId: process.env.CLIENT_ID,
|
|
80
|
+
clientSecret: process.env.CLIENT_SECRET,
|
|
81
|
+
},
|
|
82
|
+
environment: process.env.ENVIRONMENT,
|
|
83
|
+
projectId: process.env.PROJECT_ID,
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
const pdGoogleAdsUrl = "https://googleads.m.pipedream.net";
|
|
87
|
+
|
|
88
|
+
const resp = await pd.makeProxyRequest(
|
|
89
|
+
{
|
|
90
|
+
searchParams: {
|
|
91
|
+
external_user_id: process.env.EXTERNAL_USER_ID,
|
|
92
|
+
account_id: process.env.ACCOUNT_ID,
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
url: pdGoogleAdsUrl,
|
|
97
|
+
options: {
|
|
98
|
+
method: "POST",
|
|
99
|
+
body: {
|
|
100
|
+
url: "/v19/customers:listAccessibleCustomers",
|
|
101
|
+
method: "GET",
|
|
102
|
+
// data: {} // If you need to send a body with a POST request, define it here
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
}
|
|
106
|
+
);
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Using the Connect REST API
|
|
110
|
+
|
|
111
|
+
- Remember to use the Base64 encoded Pipedream endpoint for Google Ads: `https://googleads.m.pipedream.net`
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
curl -X POST "https://api.pipedream.com/v1/connect/{your_project_id}/proxy/{url_safe_base64_encoded_url}?external_user_id={external_user_id}&account_id={apn_xxxxxxx}" \
|
|
115
|
+
-H "Authorization: Bearer {access_token}" \
|
|
116
|
+
-H "x-pd-environment: {development | production}" \
|
|
117
|
+
-d '{
|
|
118
|
+
"url": "/v19/customers:listAccessibleCustomers",
|
|
119
|
+
"method": "GET",
|
|
120
|
+
# "data": {} # If you need to send a body with a POST request, define it here
|
|
121
|
+
}'
|
|
122
|
+
```
|
|
@@ -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.4",
|
|
11
11
|
type: "action",
|
|
12
12
|
props: {
|
|
13
13
|
...common.props,
|
package/actions/common/props.mjs
CHANGED
|
@@ -57,7 +57,7 @@ const USER_LIST_CRM_BASED_PROPS = {
|
|
|
57
57
|
type: "string",
|
|
58
58
|
label: "App ID",
|
|
59
59
|
description:
|
|
60
|
-
"A string that uniquely identifies a mobile application from which the data was collected. [See the documentation](https://developers.google.com/google-ads/api/
|
|
60
|
+
"A string that uniquely identifies a mobile application from which the data was collected. [See the documentation](https://developers.google.com/google-ads/api/reference/rpc/v21/CrmBasedUserListInfo) for more details.",
|
|
61
61
|
optional: true,
|
|
62
62
|
},
|
|
63
63
|
};
|
|
@@ -74,7 +74,7 @@ const USER_LIST_RULE_BASED_PROPS = {
|
|
|
74
74
|
type: "object",
|
|
75
75
|
label: "Flexible Rule Customer List",
|
|
76
76
|
description:
|
|
77
|
-
"Flexible rule representation of visitors with one or multiple actions. [See the documentation](https://developers.google.com/google-ads/api/
|
|
77
|
+
"Flexible rule representation of visitors with one or multiple actions. [See the documentation](https://developers.google.com/google-ads/api/reference/rpc/v21/FlexibleRuleUserListInfo) on how to build this object. Values will be parsed as JSON where applicable.",
|
|
78
78
|
optional: true,
|
|
79
79
|
},
|
|
80
80
|
};
|
|
@@ -84,7 +84,7 @@ const USER_LIST_LOGICAL_PROPS = {
|
|
|
84
84
|
type: "string[]",
|
|
85
85
|
label: "Rules",
|
|
86
86
|
description:
|
|
87
|
-
"Logical list rules that define this customer list. [See the documentation](https://developers.google.com/google-ads/api/
|
|
87
|
+
"Logical list rules that define this customer list. [See the documentation](https://developers.google.com/google-ads/api/reference/rpc/v21/UserListLogicalRuleInfo) on how to build each object. Values will be parsed as JSON where applicable.",
|
|
88
88
|
},
|
|
89
89
|
};
|
|
90
90
|
|
|
@@ -92,7 +92,7 @@ const USER_LIST_BASIC_PROPS = {
|
|
|
92
92
|
conversionActions: {
|
|
93
93
|
type: "string[]",
|
|
94
94
|
label: "Conversion action(s)",
|
|
95
|
-
description: "One or more [conversion actions](https://developers.google.com/google-ads/api/
|
|
95
|
+
description: "One or more [conversion actions](https://developers.google.com/google-ads/api/reference/rpc/v21/ConversionAction) to build the list with.",
|
|
96
96
|
optional: true,
|
|
97
97
|
options: async() => {
|
|
98
98
|
const {
|
|
@@ -115,7 +115,7 @@ const USER_LIST_BASIC_PROPS = {
|
|
|
115
115
|
remarketingActions: {
|
|
116
116
|
type: "string[]",
|
|
117
117
|
label: "Remarketing action(s)",
|
|
118
|
-
description: "One or more [remarketing actions](https://developers.google.com/google-ads/api/
|
|
118
|
+
description: "One or more [remarketing actions](https://developers.google.com/google-ads/api/reference/rpc/v21/RemarketingAction).",
|
|
119
119
|
optional: true,
|
|
120
120
|
options: async() => {
|
|
121
121
|
const {
|
|
@@ -198,21 +198,21 @@ export const USER_LIST_TYPE_OPTIONS = [
|
|
|
198
198
|
label: "CRM-based - a list of provided customers",
|
|
199
199
|
value: USER_LIST_TYPES.CRM_BASED,
|
|
200
200
|
docsLink:
|
|
201
|
-
"https://developers.google.com/google-ads/api/
|
|
201
|
+
"https://developers.google.com/google-ads/api/reference/rpc/v21/CrmBasedUserListInfo",
|
|
202
202
|
props: USER_LIST_CRM_BASED_PROPS,
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
label: "Rule-Based - a customer list generated by a rule",
|
|
206
206
|
value: USER_LIST_TYPES.RULE_BASED,
|
|
207
207
|
docsLink:
|
|
208
|
-
"https://developers.google.com/google-ads/api/
|
|
208
|
+
"https://developers.google.com/google-ads/api/reference/rpc/v21/RuleBasedUserListInfo",
|
|
209
209
|
props: USER_LIST_RULE_BASED_PROPS,
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
label: "Logical - a custom combination of customer lists",
|
|
213
213
|
value: USER_LIST_TYPES.LOGICAL,
|
|
214
214
|
docsLink:
|
|
215
|
-
"https://developers.google.com/google-ads/api/
|
|
215
|
+
"https://developers.google.com/google-ads/api/reference/rpc/v21/LogicalUserListInfo",
|
|
216
216
|
props: USER_LIST_LOGICAL_PROPS,
|
|
217
217
|
},
|
|
218
218
|
{
|
|
@@ -220,7 +220,7 @@ export const USER_LIST_TYPE_OPTIONS = [
|
|
|
220
220
|
"Basic - a customer list targeting as a collection of conversions or remarketing actions",
|
|
221
221
|
value: USER_LIST_TYPES.BASIC,
|
|
222
222
|
docsLink:
|
|
223
|
-
"https://developers.google.com/google-ads/api/
|
|
223
|
+
"https://developers.google.com/google-ads/api/reference/rpc/v21/BasicUserListInfo",
|
|
224
224
|
props: USER_LIST_BASIC_PROPS,
|
|
225
225
|
},
|
|
226
226
|
{
|
|
@@ -228,7 +228,7 @@ export const USER_LIST_TYPE_OPTIONS = [
|
|
|
228
228
|
"Lookalike - a list composed of customers similar to those of a configurable seed",
|
|
229
229
|
value: USER_LIST_TYPES.LOOKALIKE,
|
|
230
230
|
docsLink:
|
|
231
|
-
"https://developers.google.com/google-ads/api/
|
|
231
|
+
"https://developers.google.com/google-ads/api/reference/rpc/v21/LookalikeUserListInfo",
|
|
232
232
|
props: USER_LIST_LOOKALIKE_PROPS,
|
|
233
233
|
},
|
|
234
234
|
];
|
|
@@ -14,8 +14,8 @@ export default {
|
|
|
14
14
|
...common,
|
|
15
15
|
key: "google_ads-create-customer-list",
|
|
16
16
|
name: "Create Customer List",
|
|
17
|
-
description: "Create a new customer list in Google Ads. [See the documentation](https://developers.google.com/google-ads/api/
|
|
18
|
-
version: "0.0.
|
|
17
|
+
description: "Create a new customer list in Google Ads. [See the documentation](https://developers.google.com/google-ads/api/reference/rpc/v21/UserList)",
|
|
18
|
+
version: "0.0.5",
|
|
19
19
|
type: "action",
|
|
20
20
|
props: {
|
|
21
21
|
...common.props,
|
|
@@ -33,7 +33,7 @@ export default {
|
|
|
33
33
|
listType: {
|
|
34
34
|
type: "string",
|
|
35
35
|
label: "List Type",
|
|
36
|
-
description: "The [type of customer list](https://developers.google.com/google-ads/api/
|
|
36
|
+
description: "The [type of customer list](https://developers.google.com/google-ads/api/reference/rpc/v21/CrmBasedUserListInfo) to create.",
|
|
37
37
|
options: USER_LIST_TYPE_OPTIONS.map(({
|
|
38
38
|
label, value,
|
|
39
39
|
}) => ({
|
|
@@ -18,8 +18,8 @@ export default {
|
|
|
18
18
|
...common,
|
|
19
19
|
key: "google_ads-create-report",
|
|
20
20
|
name: "Create Report",
|
|
21
|
-
description: "Generates a report from your Google Ads data. [See the documentation](https://developers.google.com/google-ads/api/
|
|
22
|
-
version: "0.1.
|
|
21
|
+
description: "Generates a report from your Google Ads data. [See the documentation](https://developers.google.com/google-ads/api/reference/rpc/v21/GoogleAdsService/Search?transport=rest)",
|
|
22
|
+
version: "0.1.3",
|
|
23
23
|
type: "action",
|
|
24
24
|
props: {
|
|
25
25
|
...common.props,
|
|
@@ -43,7 +43,7 @@ export default {
|
|
|
43
43
|
docsAlert: {
|
|
44
44
|
type: "alert",
|
|
45
45
|
alertType: "info",
|
|
46
|
-
content: `[See the documentation](https://developers.google.com/google-ads/api/fields/
|
|
46
|
+
content: `[See the documentation](https://developers.google.com/google-ads/api/fields/v21/${value}) for more information on available fields, segments and metrics.`,
|
|
47
47
|
},
|
|
48
48
|
objectFilter: {
|
|
49
49
|
type: "string[]",
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
segments: {
|
|
107
107
|
type: "string[]",
|
|
108
108
|
label: "Segments",
|
|
109
|
-
description: "Select any segments you want to include in your report. See the documentation [here](https://developers.google.com/google-ads/api/
|
|
109
|
+
description: "Select any segments you want to include in your report. See the documentation [here](https://developers.google.com/google-ads/api/reference/rpc/v21/Segments)",
|
|
110
110
|
options: resource.segments,
|
|
111
111
|
default: [
|
|
112
112
|
"segments.date",
|
|
@@ -117,7 +117,7 @@ export default {
|
|
|
117
117
|
metrics: {
|
|
118
118
|
type: "string[]",
|
|
119
119
|
label: "Metrics",
|
|
120
|
-
description: "Select any metrics you want to include in your report. See the documentation [here](https://developers.google.com/google-ads/api/
|
|
120
|
+
description: "Select any metrics you want to include in your report. See the documentation [here](https://developers.google.com/google-ads/api/reference/rpc/v21/Metrics)",
|
|
121
121
|
options: resource.metrics,
|
|
122
122
|
optional: true,
|
|
123
123
|
reloadProps: true,
|
|
@@ -7,8 +7,8 @@ export default {
|
|
|
7
7
|
...common,
|
|
8
8
|
key: "google_ads-send-offline-conversion",
|
|
9
9
|
name: "Send Offline Conversion",
|
|
10
|
-
description: "Send an event
|
|
11
|
-
version: "0.0.
|
|
10
|
+
description: "Send an event to Google Ads to track offline conversions. [See the documentation](https://developers.google.com/google-ads/api/reference/rpc/v21/ConversionAction)",
|
|
11
|
+
version: "0.0.5",
|
|
12
12
|
type: "action",
|
|
13
13
|
props: {
|
|
14
14
|
...common.props,
|
|
@@ -20,10 +20,10 @@ export default {
|
|
|
20
20
|
type: {
|
|
21
21
|
type: "string",
|
|
22
22
|
label: "Type",
|
|
23
|
-
description: "[The type](https://developers.google.com/google-ads/api/
|
|
23
|
+
description: "[The type](https://developers.google.com/google-ads/api/reference/rpc/v21/ConversionActionTypeEnum.ConversionActionType) of the conversion action.",
|
|
24
24
|
options: CONVERSION_TYPE_OPTIONS,
|
|
25
25
|
},
|
|
26
|
-
additionalFields: getAdditionalFields("https://developers.google.com/google-ads/api/
|
|
26
|
+
additionalFields: getAdditionalFields("https://developers.google.com/google-ads/api/reference/rpc/v21/ConversionAction"),
|
|
27
27
|
},
|
|
28
28
|
async run({ $ }) {
|
|
29
29
|
const {
|
package/google_ads.app.mjs
CHANGED
|
@@ -34,7 +34,7 @@ export default {
|
|
|
34
34
|
accountId: {
|
|
35
35
|
type: "string",
|
|
36
36
|
label: "Use Google Ads As",
|
|
37
|
-
description: "Select an account from the list of [customers directly accessible by the authenticated user](https://developers.google.com/google-ads/api/
|
|
37
|
+
description: "Select an account from the list of [customers directly accessible by the authenticated user](https://developers.google.com/google-ads/api/reference/rpc/v21/CustomerService/ListAccessibleCustomers?transport=rest). This is usually a **Manager Account**, used as `login-customer-id`",
|
|
38
38
|
async options() {
|
|
39
39
|
const response = await this.listAccessibleCustomers();
|
|
40
40
|
return response?.map(((resourceName) => ({
|
|
@@ -46,7 +46,7 @@ export default {
|
|
|
46
46
|
customerClientId: {
|
|
47
47
|
type: "string",
|
|
48
48
|
label: "Managed Account",
|
|
49
|
-
description: "Select a [customer client](https://developers.google.com/google-ads/api/reference/rpc/
|
|
49
|
+
description: "Select a [customer client](https://developers.google.com/google-ads/api/reference/rpc/v21/CustomerClient) from the list of [customers linked to the selected account](https://developers.google.com/google-ads/api/docs/account-management/get-account-hierarchy).",
|
|
50
50
|
useQuery: true,
|
|
51
51
|
optional: true,
|
|
52
52
|
async options({
|
|
@@ -71,7 +71,7 @@ export default {
|
|
|
71
71
|
leadFormId: {
|
|
72
72
|
type: "string",
|
|
73
73
|
label: "Lead Form ID",
|
|
74
|
-
description: "Select a [Lead Form](https://developers.google.com/google-ads/api/
|
|
74
|
+
description: "Select a [Lead Form](https://developers.google.com/google-ads/api/reference/rpc/v21/LeadFormAsset) to watch for new entries.",
|
|
75
75
|
async options({
|
|
76
76
|
accountId, customerClientId,
|
|
77
77
|
}) {
|
|
@@ -121,7 +121,7 @@ export default {
|
|
|
121
121
|
}) {
|
|
122
122
|
console.log("Executing query: ", query);
|
|
123
123
|
const response = await this._makeRequest({
|
|
124
|
-
path: "/
|
|
124
|
+
path: "/v21/customers/{customerClientId}/googleAds:search",
|
|
125
125
|
method: "post",
|
|
126
126
|
data: {
|
|
127
127
|
query,
|
|
@@ -132,7 +132,7 @@ export default {
|
|
|
132
132
|
},
|
|
133
133
|
async listAccessibleCustomers() {
|
|
134
134
|
const response = await this._makeRequest({
|
|
135
|
-
path: "/
|
|
135
|
+
path: "/v21/customers:listAccessibleCustomers",
|
|
136
136
|
});
|
|
137
137
|
return response.resourceNames;
|
|
138
138
|
},
|
|
@@ -151,7 +151,7 @@ export default {
|
|
|
151
151
|
},
|
|
152
152
|
async createUserList(args) {
|
|
153
153
|
const response = await this._makeRequest({
|
|
154
|
-
path: "
|
|
154
|
+
path: "/v21/customers/{customerClientId}/userLists:mutate",
|
|
155
155
|
method: "post",
|
|
156
156
|
...args,
|
|
157
157
|
});
|
|
@@ -216,7 +216,7 @@ export default {
|
|
|
216
216
|
},
|
|
217
217
|
async createConversionAction(args) {
|
|
218
218
|
const response = await this._makeRequest({
|
|
219
|
-
path: "
|
|
219
|
+
path: "/v21/customers/{customerClientId}/conversionActions:mutate",
|
|
220
220
|
method: "post",
|
|
221
221
|
...args,
|
|
222
222
|
});
|
|
@@ -227,14 +227,14 @@ export default {
|
|
|
227
227
|
}) {
|
|
228
228
|
return this._makeRequest({
|
|
229
229
|
method: "POST",
|
|
230
|
-
path: `/
|
|
230
|
+
path: `/v21/${path}:addOperations`,
|
|
231
231
|
...opts,
|
|
232
232
|
});
|
|
233
233
|
},
|
|
234
234
|
async createOfflineUserDataJob(opts = {}) {
|
|
235
235
|
return this._makeRequest({
|
|
236
236
|
method: "POST",
|
|
237
|
-
path: "/
|
|
237
|
+
path: "/v21/customers/{customerClientId}/offlineUserDataJobs:create",
|
|
238
238
|
...opts,
|
|
239
239
|
});
|
|
240
240
|
},
|
|
@@ -243,7 +243,7 @@ export default {
|
|
|
243
243
|
}) {
|
|
244
244
|
return this._makeRequest({
|
|
245
245
|
method: "POST",
|
|
246
|
-
path: `/
|
|
246
|
+
path: `/v21/${path}:run`,
|
|
247
247
|
...args,
|
|
248
248
|
});
|
|
249
249
|
},
|
package/package.json
CHANGED
|
@@ -6,8 +6,8 @@ export default {
|
|
|
6
6
|
...common,
|
|
7
7
|
key: "google_ads-new-campaign-created",
|
|
8
8
|
name: "New Campaign Created",
|
|
9
|
-
description: "Emit new event when a new campaign is created. [See the documentation](https://developers.google.com/google-ads/api/
|
|
10
|
-
version: "0.0.
|
|
9
|
+
description: "Emit new event when a new campaign is created. [See the documentation](https://developers.google.com/google-ads/api/reference/rpc/v21/GoogleAdsService/Search?transport=rest)",
|
|
10
|
+
version: "0.0.5",
|
|
11
11
|
type: "source",
|
|
12
12
|
dedupe: "unique",
|
|
13
13
|
sampleEmit,
|
|
@@ -19,7 +19,7 @@ export default {
|
|
|
19
19
|
fields: {
|
|
20
20
|
type: "string[]",
|
|
21
21
|
label: "Extra Fields",
|
|
22
|
-
description: "Additional [campaign fields](https://developers.google.com/google-ads/api/fields/
|
|
22
|
+
description: "Additional [campaign fields](https://developers.google.com/google-ads/api/fields/v21/campaign) to emit in the event",
|
|
23
23
|
options: campaign.fields,
|
|
24
24
|
optional: true,
|
|
25
25
|
default: [
|
|
@@ -7,8 +7,8 @@ export default {
|
|
|
7
7
|
...common,
|
|
8
8
|
key: "google_ads-new-lead-form-entry",
|
|
9
9
|
name: "New Lead Form Entry",
|
|
10
|
-
description: "Emit new event for new leads on a Lead Form. [See the documentation](https://developers.google.com/google-ads/api/
|
|
11
|
-
version: "0.0.
|
|
10
|
+
description: "Emit new event for new leads on a Lead Form. [See the documentation](https://developers.google.com/google-ads/api/reference/rpc/v21/GoogleAdsService/Search?transport=rest)",
|
|
11
|
+
version: "0.0.5",
|
|
12
12
|
type: "source",
|
|
13
13
|
dedupe: "unique",
|
|
14
14
|
sampleEmit,
|
|
@@ -29,7 +29,7 @@ export default {
|
|
|
29
29
|
docsAlert: {
|
|
30
30
|
type: "alert",
|
|
31
31
|
alertType: "info",
|
|
32
|
-
content: "If needed, see Google's documentation on [submission fields](https://developers.google.com/google-ads/api/reference/rpc/
|
|
32
|
+
content: "If needed, see Google's documentation on [submission fields](https://developers.google.com/google-ads/api/reference/rpc/v21/LeadFormSubmissionField) and [custom submission fields](https://developers.google.com/google-ads/api/reference/rpc/v21/CustomLeadFormSubmissionField).",
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
methods: {
|