@zernio/node 0.2.753 → 0.2.755
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 +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +11 -0
- package/src/generated/types.gen.ts +14 -14
package/dist/index.d.mts
CHANGED
|
@@ -8245,19 +8245,19 @@ type TargetingSpec = {
|
|
|
8245
8245
|
name?: string;
|
|
8246
8246
|
}>;
|
|
8247
8247
|
/**
|
|
8248
|
-
* LinkedIn B2B only. Industry URN id fragments.
|
|
8248
|
+
* LinkedIn B2B only. Industry URN id fragments, or the full urn:li:industry:* URN from /v1/ads/targeting/search?dimension=industry.
|
|
8249
8249
|
*/
|
|
8250
8250
|
industries?: Array<(string)>;
|
|
8251
8251
|
/**
|
|
8252
|
-
* LinkedIn B2B only.
|
|
8252
|
+
* LinkedIn B2B only. Single-letter size codes (A to I), or the full urn:li:staffCountRange:* URN from /v1/ads/targeting/search?dimension=companySize.
|
|
8253
8253
|
*/
|
|
8254
8254
|
companySizes?: Array<(string)>;
|
|
8255
8255
|
/**
|
|
8256
|
-
* LinkedIn B2B only.
|
|
8256
|
+
* LinkedIn B2B only. Seniority URN id fragments, or the full urn:li:seniority:* URN from /v1/ads/targeting/search?dimension=seniority.
|
|
8257
8257
|
*/
|
|
8258
8258
|
seniorities?: Array<(string)>;
|
|
8259
8259
|
/**
|
|
8260
|
-
* LinkedIn B2B only.
|
|
8260
|
+
* LinkedIn B2B only. Function URN id fragments, or the full urn:li:function:* URN from /v1/ads/targeting/search?dimension=jobFunction.
|
|
8261
8261
|
*/
|
|
8262
8262
|
jobFunctions?: Array<(string)>;
|
|
8263
8263
|
/**
|
|
@@ -32983,7 +32983,7 @@ type GetAdSetDetailsData = {
|
|
|
32983
32983
|
*/
|
|
32984
32984
|
accountId: string;
|
|
32985
32985
|
/**
|
|
32986
|
-
* Comma-separated Graph field override
|
|
32986
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
32987
32987
|
*/
|
|
32988
32988
|
fields?: string;
|
|
32989
32989
|
};
|
|
@@ -34772,7 +34772,7 @@ type ListAdStudiesData = {
|
|
|
34772
34772
|
*/
|
|
34773
34773
|
after?: string;
|
|
34774
34774
|
/**
|
|
34775
|
-
* Comma-separated Graph field override
|
|
34775
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
34776
34776
|
*/
|
|
34777
34777
|
fields?: string;
|
|
34778
34778
|
/**
|
|
@@ -35090,7 +35090,7 @@ type ListAdCreativesData = {
|
|
|
35090
35090
|
*/
|
|
35091
35091
|
after?: string;
|
|
35092
35092
|
/**
|
|
35093
|
-
* Comma-separated Graph field override
|
|
35093
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
35094
35094
|
*/
|
|
35095
35095
|
fields?: string;
|
|
35096
35096
|
/**
|
|
@@ -35193,7 +35193,7 @@ type GetAdCreativeData = {
|
|
|
35193
35193
|
*/
|
|
35194
35194
|
accountId: string;
|
|
35195
35195
|
/**
|
|
35196
|
-
* Comma-separated Graph field override
|
|
35196
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
35197
35197
|
*/
|
|
35198
35198
|
fields?: string;
|
|
35199
35199
|
};
|
|
@@ -38148,7 +38148,7 @@ type ListAdImagesData = {
|
|
|
38148
38148
|
*/
|
|
38149
38149
|
after?: string;
|
|
38150
38150
|
/**
|
|
38151
|
-
* Comma-separated Graph field override
|
|
38151
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
38152
38152
|
*/
|
|
38153
38153
|
fields?: string;
|
|
38154
38154
|
/**
|
|
@@ -38227,7 +38227,7 @@ type ListAdVideosData = {
|
|
|
38227
38227
|
*/
|
|
38228
38228
|
after?: string;
|
|
38229
38229
|
/**
|
|
38230
|
-
* Comma-separated Graph field override
|
|
38230
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
38231
38231
|
*/
|
|
38232
38232
|
fields?: string;
|
|
38233
38233
|
/**
|
|
@@ -38310,9 +38310,9 @@ type SearchAdTargetingData = {
|
|
|
38310
38310
|
*/
|
|
38311
38311
|
countryCode?: string;
|
|
38312
38312
|
/**
|
|
38313
|
-
* What to search. `geo` resolves locations (scope further with `geoType`), `interest`/`behavior` resolve audience entities, `income` resolves income-tier options, `language` resolves Google's targetable language_constant table (Google only), `workPosition`/`workEmployer`/`workIndustry` resolve Meta work demographics. Defaults to `interest` for backward compatibility with the deprecated /v1/ads/interests alias.
|
|
38313
|
+
* What to search. `geo` resolves locations (scope further with `geoType`), `interest`/`behavior` resolve audience entities, `income` resolves income-tier options, `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.
|
|
38314
38314
|
*/
|
|
38315
|
-
dimension?: 'geo' | 'interest' | 'behavior' | 'income' | 'language' | 'workPosition' | 'workEmployer' | 'workIndustry';
|
|
38315
|
+
dimension?: 'geo' | 'interest' | 'behavior' | 'income' | 'language' | 'workPosition' | 'workEmployer' | 'workIndustry' | 'industry' | 'jobFunction' | 'seniority' | 'companySize';
|
|
38316
38316
|
/**
|
|
38317
38317
|
* Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`.
|
|
38318
38318
|
*/
|
|
@@ -38338,7 +38338,7 @@ type SearchAdTargetingResponse = ({
|
|
|
38338
38338
|
*/
|
|
38339
38339
|
name: string;
|
|
38340
38340
|
/**
|
|
38341
|
-
* What the result is (e.g. city, region, country, zip, metro, location, interest, behavior, income).
|
|
38341
|
+
* What the result is (e.g. city, region, country, zip, metro, location, interest, behavior, income, industry, jobFunction, seniority, companySize).
|
|
38342
38342
|
*/
|
|
38343
38343
|
type: string;
|
|
38344
38344
|
/**
|
|
@@ -38377,7 +38377,7 @@ type SearchAdLibraryData = {
|
|
|
38377
38377
|
*/
|
|
38378
38378
|
countries?: string;
|
|
38379
38379
|
/**
|
|
38380
|
-
* Meta only.
|
|
38380
|
+
* Meta only. Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
38381
38381
|
*/
|
|
38382
38382
|
fields?: string;
|
|
38383
38383
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -8245,19 +8245,19 @@ type TargetingSpec = {
|
|
|
8245
8245
|
name?: string;
|
|
8246
8246
|
}>;
|
|
8247
8247
|
/**
|
|
8248
|
-
* LinkedIn B2B only. Industry URN id fragments.
|
|
8248
|
+
* LinkedIn B2B only. Industry URN id fragments, or the full urn:li:industry:* URN from /v1/ads/targeting/search?dimension=industry.
|
|
8249
8249
|
*/
|
|
8250
8250
|
industries?: Array<(string)>;
|
|
8251
8251
|
/**
|
|
8252
|
-
* LinkedIn B2B only.
|
|
8252
|
+
* LinkedIn B2B only. Single-letter size codes (A to I), or the full urn:li:staffCountRange:* URN from /v1/ads/targeting/search?dimension=companySize.
|
|
8253
8253
|
*/
|
|
8254
8254
|
companySizes?: Array<(string)>;
|
|
8255
8255
|
/**
|
|
8256
|
-
* LinkedIn B2B only.
|
|
8256
|
+
* LinkedIn B2B only. Seniority URN id fragments, or the full urn:li:seniority:* URN from /v1/ads/targeting/search?dimension=seniority.
|
|
8257
8257
|
*/
|
|
8258
8258
|
seniorities?: Array<(string)>;
|
|
8259
8259
|
/**
|
|
8260
|
-
* LinkedIn B2B only.
|
|
8260
|
+
* LinkedIn B2B only. Function URN id fragments, or the full urn:li:function:* URN from /v1/ads/targeting/search?dimension=jobFunction.
|
|
8261
8261
|
*/
|
|
8262
8262
|
jobFunctions?: Array<(string)>;
|
|
8263
8263
|
/**
|
|
@@ -32983,7 +32983,7 @@ type GetAdSetDetailsData = {
|
|
|
32983
32983
|
*/
|
|
32984
32984
|
accountId: string;
|
|
32985
32985
|
/**
|
|
32986
|
-
* Comma-separated Graph field override
|
|
32986
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
32987
32987
|
*/
|
|
32988
32988
|
fields?: string;
|
|
32989
32989
|
};
|
|
@@ -34772,7 +34772,7 @@ type ListAdStudiesData = {
|
|
|
34772
34772
|
*/
|
|
34773
34773
|
after?: string;
|
|
34774
34774
|
/**
|
|
34775
|
-
* Comma-separated Graph field override
|
|
34775
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
34776
34776
|
*/
|
|
34777
34777
|
fields?: string;
|
|
34778
34778
|
/**
|
|
@@ -35090,7 +35090,7 @@ type ListAdCreativesData = {
|
|
|
35090
35090
|
*/
|
|
35091
35091
|
after?: string;
|
|
35092
35092
|
/**
|
|
35093
|
-
* Comma-separated Graph field override
|
|
35093
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
35094
35094
|
*/
|
|
35095
35095
|
fields?: string;
|
|
35096
35096
|
/**
|
|
@@ -35193,7 +35193,7 @@ type GetAdCreativeData = {
|
|
|
35193
35193
|
*/
|
|
35194
35194
|
accountId: string;
|
|
35195
35195
|
/**
|
|
35196
|
-
* Comma-separated Graph field override
|
|
35196
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
35197
35197
|
*/
|
|
35198
35198
|
fields?: string;
|
|
35199
35199
|
};
|
|
@@ -38148,7 +38148,7 @@ type ListAdImagesData = {
|
|
|
38148
38148
|
*/
|
|
38149
38149
|
after?: string;
|
|
38150
38150
|
/**
|
|
38151
|
-
* Comma-separated Graph field override
|
|
38151
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
38152
38152
|
*/
|
|
38153
38153
|
fields?: string;
|
|
38154
38154
|
/**
|
|
@@ -38227,7 +38227,7 @@ type ListAdVideosData = {
|
|
|
38227
38227
|
*/
|
|
38228
38228
|
after?: string;
|
|
38229
38229
|
/**
|
|
38230
|
-
* Comma-separated Graph field override
|
|
38230
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
38231
38231
|
*/
|
|
38232
38232
|
fields?: string;
|
|
38233
38233
|
/**
|
|
@@ -38310,9 +38310,9 @@ type SearchAdTargetingData = {
|
|
|
38310
38310
|
*/
|
|
38311
38311
|
countryCode?: string;
|
|
38312
38312
|
/**
|
|
38313
|
-
* What to search. `geo` resolves locations (scope further with `geoType`), `interest`/`behavior` resolve audience entities, `income` resolves income-tier options, `language` resolves Google's targetable language_constant table (Google only), `workPosition`/`workEmployer`/`workIndustry` resolve Meta work demographics. Defaults to `interest` for backward compatibility with the deprecated /v1/ads/interests alias.
|
|
38313
|
+
* What to search. `geo` resolves locations (scope further with `geoType`), `interest`/`behavior` resolve audience entities, `income` resolves income-tier options, `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.
|
|
38314
38314
|
*/
|
|
38315
|
-
dimension?: 'geo' | 'interest' | 'behavior' | 'income' | 'language' | 'workPosition' | 'workEmployer' | 'workIndustry';
|
|
38315
|
+
dimension?: 'geo' | 'interest' | 'behavior' | 'income' | 'language' | 'workPosition' | 'workEmployer' | 'workIndustry' | 'industry' | 'jobFunction' | 'seniority' | 'companySize';
|
|
38316
38316
|
/**
|
|
38317
38317
|
* Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`.
|
|
38318
38318
|
*/
|
|
@@ -38338,7 +38338,7 @@ type SearchAdTargetingResponse = ({
|
|
|
38338
38338
|
*/
|
|
38339
38339
|
name: string;
|
|
38340
38340
|
/**
|
|
38341
|
-
* What the result is (e.g. city, region, country, zip, metro, location, interest, behavior, income).
|
|
38341
|
+
* What the result is (e.g. city, region, country, zip, metro, location, interest, behavior, income, industry, jobFunction, seniority, companySize).
|
|
38342
38342
|
*/
|
|
38343
38343
|
type: string;
|
|
38344
38344
|
/**
|
|
@@ -38377,7 +38377,7 @@ type SearchAdLibraryData = {
|
|
|
38377
38377
|
*/
|
|
38378
38378
|
countries?: string;
|
|
38379
38379
|
/**
|
|
38380
|
-
* Meta only.
|
|
38380
|
+
* Meta only. Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
38381
38381
|
*/
|
|
38382
38382
|
fields?: string;
|
|
38383
38383
|
/**
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.755",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.755",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -10236,6 +10236,8 @@ export const searchAdInterests = <ThrowOnError extends boolean = false>(options:
|
|
|
10236
10236
|
* - `language`: Google-only
|
|
10237
10237
|
* - `workPosition`, `workEmployer`, `workIndustry`: the Meta-only work demographics, whose
|
|
10238
10238
|
* ids feed `TargetingSpec.workPositions`/`workEmployers`/`workIndustries`
|
|
10239
|
+
* - `industry`, `jobFunction`, `seniority`, `companySize`: the LinkedIn-only B2B facets, whose
|
|
10240
|
+
* URNs feed `TargetingSpec.industries`/`jobFunctions`/`seniorities`/`companySizes`
|
|
10239
10241
|
*
|
|
10240
10242
|
* Availability of each dimension varies by platform (e.g. behaviours are Meta/TikTok only).
|
|
10241
10243
|
* Work industries are a fixed ~30-entry Meta catalog with no server-side query,
|
|
@@ -10260,6 +10262,15 @@ export const searchAdInterests = <ThrowOnError extends boolean = false>(options:
|
|
|
10260
10262
|
* `urn:li:geo:*` URN usable as a `regions[].key` on `POST /v1/ads/create`,
|
|
10261
10263
|
* `POST /v1/ads/boost` and `POST /v1/ads/targeting/reach-estimate`.
|
|
10262
10264
|
*
|
|
10265
|
+
* LinkedIn B2B searches (`industry`, `jobFunction`, `seniority`, `companySize`) return the
|
|
10266
|
+
* full URN to pass straight back, so no URN id fragment has to be assembled by hand:
|
|
10267
|
+
* `urn:li:industry:4`, `urn:li:function:8`, `urn:li:seniority:6`,
|
|
10268
|
+
* `urn:li:staffCountRange:(51,200)`. Only `industry` is a server-side name search
|
|
10269
|
+
* (LinkedIn's typeahead finder). LinkedIn exposes no typeahead for job functions,
|
|
10270
|
+
* seniorities and company sizes, so Zernio fetches each whole table (26, 10 and 9 entries),
|
|
10271
|
+
* caches it, and does the matching, ranking and `limit` cutoff itself. Those three never
|
|
10272
|
+
* carry `audienceSize`, and `countryCode` and `geoType` are not applied to any of the four.
|
|
10273
|
+
*
|
|
10263
10274
|
* Google geo searches resolve against Google's geoTargetConstants and return
|
|
10264
10275
|
* every matching level in one list; `geoType` is not applied (Google's
|
|
10265
10276
|
* `target_type` is an open taxonomy that does not map one-to-one onto the
|
|
@@ -6938,19 +6938,19 @@ export type TargetingSpec = {
|
|
|
6938
6938
|
name?: string;
|
|
6939
6939
|
}>;
|
|
6940
6940
|
/**
|
|
6941
|
-
* LinkedIn B2B only. Industry URN id fragments.
|
|
6941
|
+
* LinkedIn B2B only. Industry URN id fragments, or the full urn:li:industry:* URN from /v1/ads/targeting/search?dimension=industry.
|
|
6942
6942
|
*/
|
|
6943
6943
|
industries?: Array<(string)>;
|
|
6944
6944
|
/**
|
|
6945
|
-
* LinkedIn B2B only.
|
|
6945
|
+
* LinkedIn B2B only. Single-letter size codes (A to I), or the full urn:li:staffCountRange:* URN from /v1/ads/targeting/search?dimension=companySize.
|
|
6946
6946
|
*/
|
|
6947
6947
|
companySizes?: Array<(string)>;
|
|
6948
6948
|
/**
|
|
6949
|
-
* LinkedIn B2B only.
|
|
6949
|
+
* LinkedIn B2B only. Seniority URN id fragments, or the full urn:li:seniority:* URN from /v1/ads/targeting/search?dimension=seniority.
|
|
6950
6950
|
*/
|
|
6951
6951
|
seniorities?: Array<(string)>;
|
|
6952
6952
|
/**
|
|
6953
|
-
* LinkedIn B2B only.
|
|
6953
|
+
* LinkedIn B2B only. Function URN id fragments, or the full urn:li:function:* URN from /v1/ads/targeting/search?dimension=jobFunction.
|
|
6954
6954
|
*/
|
|
6955
6955
|
jobFunctions?: Array<(string)>;
|
|
6956
6956
|
/**
|
|
@@ -33334,7 +33334,7 @@ export type GetAdSetDetailsData = {
|
|
|
33334
33334
|
*/
|
|
33335
33335
|
accountId: string;
|
|
33336
33336
|
/**
|
|
33337
|
-
* Comma-separated Graph field override
|
|
33337
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
33338
33338
|
*/
|
|
33339
33339
|
fields?: string;
|
|
33340
33340
|
};
|
|
@@ -35243,7 +35243,7 @@ export type ListAdStudiesData = {
|
|
|
35243
35243
|
*/
|
|
35244
35244
|
after?: string;
|
|
35245
35245
|
/**
|
|
35246
|
-
* Comma-separated Graph field override
|
|
35246
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
35247
35247
|
*/
|
|
35248
35248
|
fields?: string;
|
|
35249
35249
|
/**
|
|
@@ -35585,7 +35585,7 @@ export type ListAdCreativesData = {
|
|
|
35585
35585
|
*/
|
|
35586
35586
|
after?: string;
|
|
35587
35587
|
/**
|
|
35588
|
-
* Comma-separated Graph field override
|
|
35588
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
35589
35589
|
*/
|
|
35590
35590
|
fields?: string;
|
|
35591
35591
|
/**
|
|
@@ -35694,7 +35694,7 @@ export type GetAdCreativeData = {
|
|
|
35694
35694
|
*/
|
|
35695
35695
|
accountId: string;
|
|
35696
35696
|
/**
|
|
35697
|
-
* Comma-separated Graph field override
|
|
35697
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
35698
35698
|
*/
|
|
35699
35699
|
fields?: string;
|
|
35700
35700
|
};
|
|
@@ -38784,7 +38784,7 @@ export type ListAdImagesData = {
|
|
|
38784
38784
|
*/
|
|
38785
38785
|
after?: string;
|
|
38786
38786
|
/**
|
|
38787
|
-
* Comma-separated Graph field override
|
|
38787
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
38788
38788
|
*/
|
|
38789
38789
|
fields?: string;
|
|
38790
38790
|
/**
|
|
@@ -38869,7 +38869,7 @@ export type ListAdVideosData = {
|
|
|
38869
38869
|
*/
|
|
38870
38870
|
after?: string;
|
|
38871
38871
|
/**
|
|
38872
|
-
* Comma-separated Graph field override
|
|
38872
|
+
* Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
38873
38873
|
*/
|
|
38874
38874
|
fields?: string;
|
|
38875
38875
|
/**
|
|
@@ -38961,9 +38961,9 @@ export type SearchAdTargetingData = {
|
|
|
38961
38961
|
*/
|
|
38962
38962
|
countryCode?: string;
|
|
38963
38963
|
/**
|
|
38964
|
-
* What to search. `geo` resolves locations (scope further with `geoType`), `interest`/`behavior` resolve audience entities, `income` resolves income-tier options, `language` resolves Google's targetable language_constant table (Google only), `workPosition`/`workEmployer`/`workIndustry` resolve Meta work demographics. Defaults to `interest` for backward compatibility with the deprecated /v1/ads/interests alias.
|
|
38964
|
+
* What to search. `geo` resolves locations (scope further with `geoType`), `interest`/`behavior` resolve audience entities, `income` resolves income-tier options, `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.
|
|
38965
38965
|
*/
|
|
38966
|
-
dimension?: 'geo' | 'interest' | 'behavior' | 'income' | 'language' | 'workPosition' | 'workEmployer' | 'workIndustry';
|
|
38966
|
+
dimension?: 'geo' | 'interest' | 'behavior' | 'income' | 'language' | 'workPosition' | 'workEmployer' | 'workIndustry' | 'industry' | 'jobFunction' | 'seniority' | 'companySize';
|
|
38967
38967
|
/**
|
|
38968
38968
|
* Only used when `dimension=geo`. The kind of location to resolve. `all` searches every type in one relevance-ranked call. Defaults to `city`.
|
|
38969
38969
|
*/
|
|
@@ -38990,7 +38990,7 @@ export type SearchAdTargetingResponse = ({
|
|
|
38990
38990
|
*/
|
|
38991
38991
|
name: string;
|
|
38992
38992
|
/**
|
|
38993
|
-
* What the result is (e.g. city, region, country, zip, metro, location, interest, behavior, income).
|
|
38993
|
+
* What the result is (e.g. city, region, country, zip, metro, location, interest, behavior, income, industry, jobFunction, seniority, companySize).
|
|
38994
38994
|
*/
|
|
38995
38995
|
type: string;
|
|
38996
38996
|
/**
|
|
@@ -39031,7 +39031,7 @@ export type SearchAdLibraryData = {
|
|
|
39031
39031
|
*/
|
|
39032
39032
|
countries?: string;
|
|
39033
39033
|
/**
|
|
39034
|
-
* Meta only.
|
|
39034
|
+
* Meta only. Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a .limit() modifier the expansion runs at the Meta default page size and the tail is dropped silently.
|
|
39035
39035
|
*/
|
|
39036
39036
|
fields?: string;
|
|
39037
39037
|
/**
|