@getlatedev/node 0.2.1224 → 0.2.1226

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/dist/index.d.mts CHANGED
@@ -8635,7 +8635,7 @@ type GoogleDemandGenInput = {
8635
8635
  };
8636
8636
  }>;
8637
8637
  /**
8638
- * Channel controls on the ad group. Only the listed channels serve; omit to serve on all of them.
8638
+ * Channel controls on the new ad group. Only the listed channels serve; Google Maps, which this list cannot select, is turned off. Omit to send no channel controls, so Google applies its default for a new ad group: all Demand Gen channels, Google Maps included.
8639
8639
  */
8640
8640
  channels?: Array<('youtube_in_stream' | 'youtube_in_feed' | 'youtube_shorts' | 'discover' | 'gmail' | 'display')>;
8641
8641
  audience?: GoogleDemandGenAudience;
@@ -8686,7 +8686,7 @@ type GoogleDemandGenUpdate = {
8686
8686
  */
8687
8687
  youtubeVideoIds?: Array<(string)>;
8688
8688
  /**
8689
- * Replaces the ad group's channel controls; only the listed channels serve.
8689
+ * Replaces the ad group's channel controls. Only the listed channels serve; Google Maps, which this list cannot select, is turned off. Omit to leave the ad group's channel controls unchanged.
8690
8690
  */
8691
8691
  channels?: Array<('youtube_in_stream' | 'youtube_in_feed' | 'youtube_shorts' | 'discover' | 'gmail' | 'display')>;
8692
8692
  audience?: GoogleDemandGenAudience;
@@ -12966,6 +12966,10 @@ type TargetingSpec = {
12966
12966
  * LinkedIn B2B only. Function URN id fragments, or the full urn:li:function:* URN from /v1/ads/targeting/search?dimension=jobFunction.
12967
12967
  */
12968
12968
  jobFunctions?: Array<(string)>;
12969
+ /**
12970
+ * LinkedIn B2B only. Member skills (e.g. Python, Recruiting): skill URN id fragments, or the full urn:li:skill:* URN from /v1/ads/targeting/search?dimension=skill. Values are ORed; the facet is ANDed with the other facets. On an ad set update an empty list removes the skills.
12971
+ */
12972
+ skills?: Array<(string)>;
12969
12973
  /**
12970
12974
  * Platform audience IDs to include, as returned by GET /v1/ads/audiences (Meta custom audience ids, TikTok audience ids, Pinterest customer list ids, LinkedIn segment ids (the platformAudienceId from GET /v1/ads/audiences; Zernio resolves it to the targetable LinkedIn ad segment, an unknown id returns 400), Google user list ids, X custom audience ids). On Reddit, the ids of custom audiences built in Reddit Ads Manager (GET /v1/ads/audiences does not list Reddit audiences). Not supported on OpenAI (400).
12971
12975
  */
@@ -49702,9 +49706,9 @@ type SearchAdTargetingData = {
49702
49706
  */
49703
49707
  countryCode?: string;
49704
49708
  /**
49705
- * What to search. `geo` resolves locations (scope further with `geoType`), `interest`/`behavior` resolve audience entities (`behavior` on Meta, TikTok and LinkedIn), `interestSuggestion` suggests interests related to the names in `q` (Meta only), `interestKeyword`/`hashtag` resolve TikTok additional interests and hashtags (TikTok only), `income` resolves the normalized income tiers, `language` resolves Google's targetable language_constant table (Google only), `workPosition`/`workEmployer`/`workIndustry` resolve Meta work demographics, `industry`/`jobFunction`/`seniority`/`companySize` resolve LinkedIn B2B facets (LinkedIn only). Defaults to `interest` for backward compatibility with the deprecated /v1/ads/interests alias.
49709
+ * What to search. `geo` resolves locations (scope further with `geoType`), `interest`/`behavior` resolve audience entities (`behavior` on Meta, TikTok and LinkedIn), `interestSuggestion` suggests interests related to the names in `q` (Meta only), `interestKeyword`/`hashtag` resolve TikTok additional interests and hashtags (TikTok only), `income` resolves the normalized income tiers, `language` resolves Google's targetable language_constant table (Google only), `workPosition`/`workEmployer`/`workIndustry` resolve Meta work demographics, `industry`/`jobFunction`/`seniority`/`companySize`/`skill` resolve LinkedIn B2B facets (LinkedIn only). Defaults to `interest` for backward compatibility with the deprecated /v1/ads/interests alias.
49706
49710
  */
49707
- dimension?: 'geo' | 'interest' | 'interestSuggestion' | 'interestKeyword' | 'behavior' | 'hashtag' | 'income' | 'language' | 'workPosition' | 'workEmployer' | 'workIndustry' | 'industry' | 'jobFunction' | 'seniority' | 'companySize' | 'community' | 'conversationKeyword';
49711
+ dimension?: 'geo' | 'interest' | 'interestSuggestion' | 'interestKeyword' | 'behavior' | 'hashtag' | 'income' | 'language' | 'workPosition' | 'workEmployer' | 'workIndustry' | 'industry' | 'jobFunction' | 'seniority' | 'companySize' | 'skill' | 'community' | 'conversationKeyword';
49708
49712
  /**
49709
49713
  * Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`.
49710
49714
  */
@@ -49730,7 +49734,7 @@ type SearchAdTargetingResponse = ({
49730
49734
  */
49731
49735
  name: string;
49732
49736
  /**
49733
- * What the result is. Equals the requested dimension (interest, interestSuggestion, interestKeyword, behavior, hashtag, income, language, workPosition, workEmployer, workIndustry, industry, jobFunction, seniority, companySize, community, conversationKeyword), or the location level for geo (country, region, city, zip, metro, ...).
49737
+ * What the result is. Equals the requested dimension (interest, interestSuggestion, interestKeyword, behavior, hashtag, income, language, workPosition, workEmployer, workIndustry, industry, jobFunction, seniority, companySize, skill, community, conversationKeyword), or the location level for geo (country, region, city, zip, metro, ...).
49734
49738
  */
49735
49739
  type: string;
49736
49740
  /**
package/dist/index.d.ts CHANGED
@@ -8635,7 +8635,7 @@ type GoogleDemandGenInput = {
8635
8635
  };
8636
8636
  }>;
8637
8637
  /**
8638
- * Channel controls on the ad group. Only the listed channels serve; omit to serve on all of them.
8638
+ * Channel controls on the new ad group. Only the listed channels serve; Google Maps, which this list cannot select, is turned off. Omit to send no channel controls, so Google applies its default for a new ad group: all Demand Gen channels, Google Maps included.
8639
8639
  */
8640
8640
  channels?: Array<('youtube_in_stream' | 'youtube_in_feed' | 'youtube_shorts' | 'discover' | 'gmail' | 'display')>;
8641
8641
  audience?: GoogleDemandGenAudience;
@@ -8686,7 +8686,7 @@ type GoogleDemandGenUpdate = {
8686
8686
  */
8687
8687
  youtubeVideoIds?: Array<(string)>;
8688
8688
  /**
8689
- * Replaces the ad group's channel controls; only the listed channels serve.
8689
+ * Replaces the ad group's channel controls. Only the listed channels serve; Google Maps, which this list cannot select, is turned off. Omit to leave the ad group's channel controls unchanged.
8690
8690
  */
8691
8691
  channels?: Array<('youtube_in_stream' | 'youtube_in_feed' | 'youtube_shorts' | 'discover' | 'gmail' | 'display')>;
8692
8692
  audience?: GoogleDemandGenAudience;
@@ -12966,6 +12966,10 @@ type TargetingSpec = {
12966
12966
  * LinkedIn B2B only. Function URN id fragments, or the full urn:li:function:* URN from /v1/ads/targeting/search?dimension=jobFunction.
12967
12967
  */
12968
12968
  jobFunctions?: Array<(string)>;
12969
+ /**
12970
+ * LinkedIn B2B only. Member skills (e.g. Python, Recruiting): skill URN id fragments, or the full urn:li:skill:* URN from /v1/ads/targeting/search?dimension=skill. Values are ORed; the facet is ANDed with the other facets. On an ad set update an empty list removes the skills.
12971
+ */
12972
+ skills?: Array<(string)>;
12969
12973
  /**
12970
12974
  * Platform audience IDs to include, as returned by GET /v1/ads/audiences (Meta custom audience ids, TikTok audience ids, Pinterest customer list ids, LinkedIn segment ids (the platformAudienceId from GET /v1/ads/audiences; Zernio resolves it to the targetable LinkedIn ad segment, an unknown id returns 400), Google user list ids, X custom audience ids). On Reddit, the ids of custom audiences built in Reddit Ads Manager (GET /v1/ads/audiences does not list Reddit audiences). Not supported on OpenAI (400).
12971
12975
  */
@@ -49702,9 +49706,9 @@ type SearchAdTargetingData = {
49702
49706
  */
49703
49707
  countryCode?: string;
49704
49708
  /**
49705
- * What to search. `geo` resolves locations (scope further with `geoType`), `interest`/`behavior` resolve audience entities (`behavior` on Meta, TikTok and LinkedIn), `interestSuggestion` suggests interests related to the names in `q` (Meta only), `interestKeyword`/`hashtag` resolve TikTok additional interests and hashtags (TikTok only), `income` resolves the normalized income tiers, `language` resolves Google's targetable language_constant table (Google only), `workPosition`/`workEmployer`/`workIndustry` resolve Meta work demographics, `industry`/`jobFunction`/`seniority`/`companySize` resolve LinkedIn B2B facets (LinkedIn only). Defaults to `interest` for backward compatibility with the deprecated /v1/ads/interests alias.
49709
+ * What to search. `geo` resolves locations (scope further with `geoType`), `interest`/`behavior` resolve audience entities (`behavior` on Meta, TikTok and LinkedIn), `interestSuggestion` suggests interests related to the names in `q` (Meta only), `interestKeyword`/`hashtag` resolve TikTok additional interests and hashtags (TikTok only), `income` resolves the normalized income tiers, `language` resolves Google's targetable language_constant table (Google only), `workPosition`/`workEmployer`/`workIndustry` resolve Meta work demographics, `industry`/`jobFunction`/`seniority`/`companySize`/`skill` resolve LinkedIn B2B facets (LinkedIn only). Defaults to `interest` for backward compatibility with the deprecated /v1/ads/interests alias.
49706
49710
  */
49707
- dimension?: 'geo' | 'interest' | 'interestSuggestion' | 'interestKeyword' | 'behavior' | 'hashtag' | 'income' | 'language' | 'workPosition' | 'workEmployer' | 'workIndustry' | 'industry' | 'jobFunction' | 'seniority' | 'companySize' | 'community' | 'conversationKeyword';
49711
+ dimension?: 'geo' | 'interest' | 'interestSuggestion' | 'interestKeyword' | 'behavior' | 'hashtag' | 'income' | 'language' | 'workPosition' | 'workEmployer' | 'workIndustry' | 'industry' | 'jobFunction' | 'seniority' | 'companySize' | 'skill' | 'community' | 'conversationKeyword';
49708
49712
  /**
49709
49713
  * Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`.
49710
49714
  */
@@ -49730,7 +49734,7 @@ type SearchAdTargetingResponse = ({
49730
49734
  */
49731
49735
  name: string;
49732
49736
  /**
49733
- * What the result is. Equals the requested dimension (interest, interestSuggestion, interestKeyword, behavior, hashtag, income, language, workPosition, workEmployer, workIndustry, industry, jobFunction, seniority, companySize, community, conversationKeyword), or the location level for geo (country, region, city, zip, metro, ...).
49737
+ * What the result is. Equals the requested dimension (interest, interestSuggestion, interestKeyword, behavior, hashtag, income, language, workPosition, workEmployer, workIndustry, industry, jobFunction, seniority, companySize, skill, community, conversationKeyword), or the location level for geo (country, region, city, zip, metro, ...).
49734
49738
  */
49735
49739
  type: string;
49736
49740
  /**
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.1224",
39
+ version: "0.2.1226",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.1224",
8
+ version: "0.2.1226",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1224",
3
+ "version": "0.2.1226",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -13228,8 +13228,8 @@ export const searchAdInterests = <ThrowOnError extends boolean = false>(options:
13228
13228
  * - `language`: Google-only
13229
13229
  * - `workPosition`, `workEmployer`, `workIndustry`: the Meta-only work demographics, whose
13230
13230
  * ids feed `TargetingSpec.workPositions`/`workEmployers`/`workIndustries`
13231
- * - `industry`, `jobFunction`, `seniority`, `companySize`: the LinkedIn-only B2B facets, whose
13232
- * URNs feed `TargetingSpec.industries`/`jobFunctions`/`seniorities`/`companySizes`
13231
+ * - `industry`, `jobFunction`, `seniority`, `companySize`, `skill`: the LinkedIn-only B2B facets, whose
13232
+ * URNs feed `TargetingSpec.industries`/`jobFunctions`/`seniorities`/`companySizes`/`skills`
13233
13233
  * - `community`: Reddit only. Subreddits matching `q`; the id is the subreddit name for
13234
13234
  * `TargetingSpec.communities` / `excludedCommunities`, `platformId` Reddit's own id and
13235
13235
  * `audienceSize` its subscriber count when Reddit reports it
@@ -13275,10 +13275,10 @@ export const searchAdInterests = <ThrowOnError extends boolean = false>(options:
13275
13275
  * `POST /v1/ads/targeting/reach-estimate` (LinkedIn puts countries and
13276
13276
  * regions in the same `locations` facet, so both target the same way).
13277
13277
  *
13278
- * LinkedIn B2B searches (`industry`, `jobFunction`, `seniority`, `companySize`) return the
13278
+ * LinkedIn B2B searches (`industry`, `jobFunction`, `seniority`, `companySize`, `skill`) return the
13279
13279
  * full URN to pass straight back, so no URN id fragment has to be assembled by hand:
13280
13280
  * `urn:li:industry:4`, `urn:li:function:8`, `urn:li:seniority:6`,
13281
- * `urn:li:staffCountRange:(51,200)`. Only `industry` is a server-side name search
13281
+ * `urn:li:staffCountRange:(51,200)`, `urn:li:skill:1346`. Only `industry` and `skill` are server-side name searches
13282
13282
  * (LinkedIn's typeahead finder). LinkedIn exposes no typeahead for job functions,
13283
13283
  * seniorities and company sizes, so Zernio fetches each whole table (26, 10 and 9 entries),
13284
13284
  * caches it, and does the matching, ranking and `limit` cutoff itself. Those three never
@@ -6890,7 +6890,7 @@ export type GoogleDemandGenInput = {
6890
6890
  };
6891
6891
  }>;
6892
6892
  /**
6893
- * Channel controls on the ad group. Only the listed channels serve; omit to serve on all of them.
6893
+ * Channel controls on the new ad group. Only the listed channels serve; Google Maps, which this list cannot select, is turned off. Omit to send no channel controls, so Google applies its default for a new ad group: all Demand Gen channels, Google Maps included.
6894
6894
  */
6895
6895
  channels?: Array<('youtube_in_stream' | 'youtube_in_feed' | 'youtube_shorts' | 'discover' | 'gmail' | 'display')>;
6896
6896
  audience?: GoogleDemandGenAudience;
@@ -6942,7 +6942,7 @@ export type GoogleDemandGenUpdate = {
6942
6942
  */
6943
6943
  youtubeVideoIds?: Array<(string)>;
6944
6944
  /**
6945
- * Replaces the ad group's channel controls; only the listed channels serve.
6945
+ * Replaces the ad group's channel controls. Only the listed channels serve; Google Maps, which this list cannot select, is turned off. Omit to leave the ad group's channel controls unchanged.
6946
6946
  */
6947
6947
  channels?: Array<('youtube_in_stream' | 'youtube_in_feed' | 'youtube_shorts' | 'discover' | 'gmail' | 'display')>;
6948
6948
  audience?: GoogleDemandGenAudience;
@@ -11437,6 +11437,10 @@ export type TargetingSpec = {
11437
11437
  * LinkedIn B2B only. Function URN id fragments, or the full urn:li:function:* URN from /v1/ads/targeting/search?dimension=jobFunction.
11438
11438
  */
11439
11439
  jobFunctions?: Array<(string)>;
11440
+ /**
11441
+ * LinkedIn B2B only. Member skills (e.g. Python, Recruiting): skill URN id fragments, or the full urn:li:skill:* URN from /v1/ads/targeting/search?dimension=skill. Values are ORed; the facet is ANDed with the other facets. On an ad set update an empty list removes the skills.
11442
+ */
11443
+ skills?: Array<(string)>;
11440
11444
  /**
11441
11445
  * Platform audience IDs to include, as returned by GET /v1/ads/audiences (Meta custom audience ids, TikTok audience ids, Pinterest customer list ids, LinkedIn segment ids (the platformAudienceId from GET /v1/ads/audiences; Zernio resolves it to the targetable LinkedIn ad segment, an unknown id returns 400), Google user list ids, X custom audience ids). On Reddit, the ids of custom audiences built in Reddit Ads Manager (GET /v1/ads/audiences does not list Reddit audiences). Not supported on OpenAI (400).
11442
11446
  */
@@ -50576,9 +50580,9 @@ export type SearchAdTargetingData = {
50576
50580
  */
50577
50581
  countryCode?: string;
50578
50582
  /**
50579
- * What to search. `geo` resolves locations (scope further with `geoType`), `interest`/`behavior` resolve audience entities (`behavior` on Meta, TikTok and LinkedIn), `interestSuggestion` suggests interests related to the names in `q` (Meta only), `interestKeyword`/`hashtag` resolve TikTok additional interests and hashtags (TikTok only), `income` resolves the normalized income tiers, `language` resolves Google's targetable language_constant table (Google only), `workPosition`/`workEmployer`/`workIndustry` resolve Meta work demographics, `industry`/`jobFunction`/`seniority`/`companySize` resolve LinkedIn B2B facets (LinkedIn only). Defaults to `interest` for backward compatibility with the deprecated /v1/ads/interests alias.
50583
+ * What to search. `geo` resolves locations (scope further with `geoType`), `interest`/`behavior` resolve audience entities (`behavior` on Meta, TikTok and LinkedIn), `interestSuggestion` suggests interests related to the names in `q` (Meta only), `interestKeyword`/`hashtag` resolve TikTok additional interests and hashtags (TikTok only), `income` resolves the normalized income tiers, `language` resolves Google's targetable language_constant table (Google only), `workPosition`/`workEmployer`/`workIndustry` resolve Meta work demographics, `industry`/`jobFunction`/`seniority`/`companySize`/`skill` resolve LinkedIn B2B facets (LinkedIn only). Defaults to `interest` for backward compatibility with the deprecated /v1/ads/interests alias.
50580
50584
  */
50581
- dimension?: 'geo' | 'interest' | 'interestSuggestion' | 'interestKeyword' | 'behavior' | 'hashtag' | 'income' | 'language' | 'workPosition' | 'workEmployer' | 'workIndustry' | 'industry' | 'jobFunction' | 'seniority' | 'companySize' | 'community' | 'conversationKeyword';
50585
+ dimension?: 'geo' | 'interest' | 'interestSuggestion' | 'interestKeyword' | 'behavior' | 'hashtag' | 'income' | 'language' | 'workPosition' | 'workEmployer' | 'workIndustry' | 'industry' | 'jobFunction' | 'seniority' | 'companySize' | 'skill' | 'community' | 'conversationKeyword';
50582
50586
  /**
50583
50587
  * Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`.
50584
50588
  */
@@ -50605,7 +50609,7 @@ export type SearchAdTargetingResponse = ({
50605
50609
  */
50606
50610
  name: string;
50607
50611
  /**
50608
- * What the result is. Equals the requested dimension (interest, interestSuggestion, interestKeyword, behavior, hashtag, income, language, workPosition, workEmployer, workIndustry, industry, jobFunction, seniority, companySize, community, conversationKeyword), or the location level for geo (country, region, city, zip, metro, ...).
50612
+ * What the result is. Equals the requested dimension (interest, interestSuggestion, interestKeyword, behavior, hashtag, income, language, workPosition, workEmployer, workIndustry, industry, jobFunction, seniority, companySize, skill, community, conversationKeyword), or the location level for geo (country, region, city, zip, metro, ...).
50609
50613
  */
50610
50614
  type: string;
50611
50615
  /**