@pipedream/google_ads 0.3.2 → 0.4.0

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 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 with the Pipedream proxy
22
+ ## Customizing API requests from within the Pipedream workflow builder
23
23
 
24
- The Pipedream components interact with Google Ads API through Pipedream's proxy service, which handles authentication and developer token requirements.
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: "/v16/...", // Google Ads API endpoint path
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,12 @@ 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.3",
10
+ version: "0.1.6",
11
+ annotations: {
12
+ destructiveHint: true,
13
+ openWorldHint: true,
14
+ readOnlyHint: false,
15
+ },
11
16
  type: "action",
12
17
  props: {
13
18
  ...common.props,
@@ -1,5 +1,5 @@
1
1
  const DEFAULT_DOCS =
2
- "https://developers.google.com/google-ads/api/rest/reference/rest/v18/UserList";
2
+ "https://developers.google.com/google-ads/api/reference/rpc/v21/UserList";
3
3
 
4
4
  export const getAdditionalFields = (docsLink = DEFAULT_DOCS) => ({
5
5
  type: "object",
@@ -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/rest/reference/rest/v18/UserList#CrmBasedUserListInfo) for more details.",
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/rest/reference/rest/v18/UserList#FlexibleRuleUserListInfo) on how to build this object. Values will be parsed as JSON where applicable.",
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/rest/reference/rest/v18/UserList#UserListLogicalRuleInfo) on how to build each object. Values will be parsed as JSON where applicable.",
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/rest/reference/rest/v18/ConversionAction) to build the list with.",
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/rest/reference/rest/v18/RemarketingAction).",
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/rest/reference/rest/v18/UserList#CrmBasedUserListInfo",
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/rest/reference/rest/v18/UserList#RuleBasedUserListInfo",
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/rest/reference/rest/v18/UserList#LogicalUserListInfo",
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/rest/reference/rest/v18/UserList#BasicUserListInfo",
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/rest/reference/rest/v18/UserList#LookalikeUserListInfo",
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,13 @@ 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/rest/reference/rest/v18/UserList)",
18
- version: "0.0.4",
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.7",
19
+ annotations: {
20
+ destructiveHint: false,
21
+ openWorldHint: true,
22
+ readOnlyHint: false,
23
+ },
19
24
  type: "action",
20
25
  props: {
21
26
  ...common.props,
@@ -33,7 +38,7 @@ export default {
33
38
  listType: {
34
39
  type: "string",
35
40
  label: "List Type",
36
- description: "The [type of customer list](https://developers.google.com/google-ads/api/rest/reference/rest/v18/UserList#CrmBasedUserListInfo) to create.",
41
+ description: "The [type of customer list](https://developers.google.com/google-ads/api/reference/rpc/v21/CrmBasedUserListInfo) to create.",
37
42
  options: USER_LIST_TYPE_OPTIONS.map(({
38
43
  label, value,
39
44
  }) => ({
@@ -18,8 +18,13 @@ 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/fields/v18/overview)",
22
- version: "0.1.2",
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.5",
23
+ annotations: {
24
+ destructiveHint: false,
25
+ openWorldHint: true,
26
+ readOnlyHint: false,
27
+ },
23
28
  type: "action",
24
29
  props: {
25
30
  ...common.props,
@@ -43,7 +48,7 @@ export default {
43
48
  docsAlert: {
44
49
  type: "alert",
45
50
  alertType: "info",
46
- content: `[See the documentation](https://developers.google.com/google-ads/api/fields/v18/${value}) for more information on available fields, segments and metrics.`,
51
+ content: `[See the documentation](https://developers.google.com/google-ads/api/fields/v21/${value}) for more information on available fields, segments and metrics.`,
47
52
  },
48
53
  objectFilter: {
49
54
  type: "string[]",
@@ -106,7 +111,7 @@ export default {
106
111
  segments: {
107
112
  type: "string[]",
108
113
  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/fields/v18/segments)",
114
+ 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
115
  options: resource.segments,
111
116
  default: [
112
117
  "segments.date",
@@ -117,7 +122,7 @@ export default {
117
122
  metrics: {
118
123
  type: "string[]",
119
124
  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/fields/v18/metrics)",
125
+ 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
126
  options: resource.metrics,
122
127
  optional: true,
123
128
  reloadProps: true,
@@ -0,0 +1,55 @@
1
+ import googleAds from "../../google_ads.app.mjs";
2
+ import { getAdditionalFields } from "../common/props.mjs";
3
+ import {
4
+ parseObject, parseStringObject,
5
+ } from "../../common/utils.mjs";
6
+ const docLink = "https://developers.google.com/google-ads/api/reference/rpc/v22/KeywordPlanIdeaService/GenerateKeywordIdeas?transport=rest";
7
+
8
+ export default {
9
+ key: "google_ads-generate-keyword-ideas",
10
+ name: "Generate Keyword Ideas",
11
+ description: `Generate keyword ideas using the Google Ads API. [See the documentation](${docLink})`,
12
+ version: "0.0.1",
13
+ type: "action",
14
+ annotations: {
15
+ destructiveHint: false,
16
+ openWorldHint: true,
17
+ readOnlyHint: true,
18
+ },
19
+ props: {
20
+ googleAds,
21
+ accountId: {
22
+ propDefinition: [
23
+ googleAds,
24
+ "accountId",
25
+ ],
26
+ },
27
+ customerClientId: {
28
+ propDefinition: [
29
+ googleAds,
30
+ "customerClientId",
31
+ ({ accountId }) => ({
32
+ accountId,
33
+ }),
34
+ ],
35
+ optional: false,
36
+ },
37
+ additionalFields: {
38
+ ...getAdditionalFields(docLink),
39
+ optional: false,
40
+ },
41
+ },
42
+ async run({ $ }) {
43
+ const additionalFields = parseObject(parseStringObject(this.additionalFields));
44
+ const response = await this.googleAds.generateKeywordIdeas({
45
+ $,
46
+ accountId: this.accountId,
47
+ customerClientId: this.customerClientId,
48
+ data: {
49
+ ...additionalFields,
50
+ },
51
+ });
52
+ $.export("$summary", "Successfully generated keyword ideas.");
53
+ return response;
54
+ },
55
+ };
@@ -7,8 +7,13 @@ export default {
7
7
  ...common,
8
8
  key: "google_ads-send-offline-conversion",
9
9
  name: "Send Offline Conversion",
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.4",
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.7",
12
+ annotations: {
13
+ destructiveHint: false,
14
+ openWorldHint: true,
15
+ readOnlyHint: false,
16
+ },
12
17
  type: "action",
13
18
  props: {
14
19
  ...common.props,
@@ -20,10 +25,10 @@ export default {
20
25
  type: {
21
26
  type: "string",
22
27
  label: "Type",
23
- description: "[The type](https://developers.google.com/google-ads/api/rest/reference/rest/v18/ConversionAction#ConversionActionType) of the conversion action.",
28
+ description: "[The type](https://developers.google.com/google-ads/api/reference/rpc/v21/ConversionActionTypeEnum.ConversionActionType) of the conversion action.",
24
29
  options: CONVERSION_TYPE_OPTIONS,
25
30
  },
26
- additionalFields: getAdditionalFields("https://developers.google.com/google-ads/api/rest/reference/rest/v18/ConversionAction"),
31
+ additionalFields: getAdditionalFields("https://developers.google.com/google-ads/api/reference/rpc/v21/ConversionAction"),
27
32
  },
28
33
  async run({ $ }) {
29
34
  const {
@@ -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/rest/reference/rest/v18/customers/listAccessibleCustomers). This is usually a **Manager Account**, used as `login-customer-id`",
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/v18/CustomerClient) from the list of [customers linked to the selected account](https://developers.google.com/google-ads/api/docs/account-management/get-account-hierarchy).",
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/rest/reference/rest/v18/Asset#LeadFormAsset) to watch for new entries.",
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: "/v18/customers/{customerClientId}/googleAds:search",
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: "/v18/customers:listAccessibleCustomers",
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: "v18/customers/{customerClientId}/userLists:mutate",
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: "v18/customers/{customerClientId}/conversionActions:mutate",
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: `/v18/${path}:addOperations`,
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: "/v18/customers/{customerClientId}/offlineUserDataJobs:create",
237
+ path: "/v21/customers/{customerClientId}/offlineUserDataJobs:create",
238
238
  ...opts,
239
239
  });
240
240
  },
@@ -243,9 +243,16 @@ export default {
243
243
  }) {
244
244
  return this._makeRequest({
245
245
  method: "POST",
246
- path: `/v18/${path}:run`,
246
+ path: `/v21/${path}:run`,
247
247
  ...args,
248
248
  });
249
249
  },
250
+ async generateKeywordIdeas(opts = {}) {
251
+ return this._makeRequest({
252
+ method: "POST",
253
+ path: "/v22/customers/{customerClientId}:generateKeywordIdeas",
254
+ ...opts,
255
+ });
256
+ },
250
257
  },
251
258
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/google_ads",
3
- "version": "0.3.2",
3
+ "version": "0.4.0",
4
4
  "description": "Pipedream Google Ads Components",
5
5
  "main": "google_ads.app.mjs",
6
6
  "keywords": [
@@ -13,7 +13,6 @@
13
13
  "access": "public"
14
14
  },
15
15
  "dependencies": {
16
- "@pipedream/platform": "^3.0.3",
17
- "crypto": "^1.0.1"
16
+ "@pipedream/platform": "^3.1.1"
18
17
  }
19
18
  }
@@ -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/fields/v18/campaign)",
10
- version: "0.0.4",
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.6",
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/v18/campaign) to emit in the event",
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/fields/v18/lead_form_submission_data)",
11
- version: "0.0.4",
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.6",
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/v18/LeadFormSubmissionField) and [custom submission fields](https://developers.google.com/google-ads/api/reference/rpc/v18/CustomLeadFormSubmissionField).",
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: {