@spyglasshq/sdk 0.1.13 → 0.1.15
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +1 -1
- package/dist/cjs/Client.js +1 -1
- package/dist/cjs/api/client/requests/SearchBrandsRequest.d.ts +155 -0
- package/dist/cjs/api/client/requests/SearchBrandsRequest.js +153 -0
- package/dist/cjs/api/resources/account/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/account/client/Client.js +4 -4
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +1 -1
- package/dist/esm/Client.mjs +1 -1
- package/dist/esm/api/client/requests/SearchBrandsRequest.d.mts +155 -0
- package/dist/esm/api/client/requests/SearchBrandsRequest.mjs +153 -0
- package/dist/esm/api/resources/account/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/account/client/Client.mjs +4 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +5 -5
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@spyglasshq/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "0.1.
|
|
47
|
-
"User-Agent": "@spyglasshq/sdk/0.1.
|
|
46
|
+
"X-Fern-SDK-Version": "0.1.15",
|
|
47
|
+
"User-Agent": "@spyglasshq/sdk/0.1.15",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -168,7 +168,7 @@ export declare class Spyglass {
|
|
|
168
168
|
* `query` is required.
|
|
169
169
|
*
|
|
170
170
|
* Limited to 120 requests per minute per user.
|
|
171
|
-
* Costs $0.
|
|
171
|
+
* Costs $0.0010 per creative returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
172
172
|
* The call bills a minimum of one row even when nothing matches. In that
|
|
173
173
|
* case `count` is 0 but you are charged for one row.
|
|
174
174
|
*
|
package/dist/cjs/Client.js
CHANGED
|
@@ -376,7 +376,7 @@ class Spyglass {
|
|
|
376
376
|
* `query` is required.
|
|
377
377
|
*
|
|
378
378
|
* Limited to 120 requests per minute per user.
|
|
379
|
-
* Costs $0.
|
|
379
|
+
* Costs $0.0010 per creative returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
380
380
|
* The call bills a minimum of one row even when nothing matches. In that
|
|
381
381
|
* case `count` is 0 but you are charged for one row.
|
|
382
382
|
*
|
|
@@ -18,6 +18,7 @@ export interface SearchBrandsRequest {
|
|
|
18
18
|
offset?: number;
|
|
19
19
|
limit?: number;
|
|
20
20
|
taxonomy?: string[];
|
|
21
|
+
language?: SearchBrandsRequest.Language;
|
|
21
22
|
}
|
|
22
23
|
export declare namespace SearchBrandsRequest {
|
|
23
24
|
type Ids = Ids.Item[];
|
|
@@ -36,4 +37,158 @@ export declare namespace SearchBrandsRequest {
|
|
|
36
37
|
readonly MostActiveAds: "MOST_ACTIVE_ADS";
|
|
37
38
|
};
|
|
38
39
|
type SortBy = (typeof SortBy)[keyof typeof SortBy];
|
|
40
|
+
const Language: {
|
|
41
|
+
readonly English: "English";
|
|
42
|
+
readonly Spanish: "Spanish";
|
|
43
|
+
readonly French: "French";
|
|
44
|
+
readonly German: "German";
|
|
45
|
+
readonly Italian: "Italian";
|
|
46
|
+
readonly Portuguese: "Portuguese";
|
|
47
|
+
readonly Russian: "Russian";
|
|
48
|
+
readonly Chinese: "Chinese";
|
|
49
|
+
readonly Cantonese: "Cantonese";
|
|
50
|
+
readonly Japanese: "Japanese";
|
|
51
|
+
readonly Korean: "Korean";
|
|
52
|
+
readonly Arabic: "Arabic";
|
|
53
|
+
readonly Hindi: "Hindi";
|
|
54
|
+
readonly Dutch: "Dutch";
|
|
55
|
+
readonly Polish: "Polish";
|
|
56
|
+
readonly Turkish: "Turkish";
|
|
57
|
+
readonly Vietnamese: "Vietnamese";
|
|
58
|
+
readonly Thai: "Thai";
|
|
59
|
+
readonly Burmese: "Burmese";
|
|
60
|
+
readonly Khmer: "Khmer";
|
|
61
|
+
readonly Lao: "Lao";
|
|
62
|
+
readonly Indonesian: "Indonesian";
|
|
63
|
+
readonly Hebrew: "Hebrew";
|
|
64
|
+
readonly Swedish: "Swedish";
|
|
65
|
+
readonly Norwegian: "Norwegian";
|
|
66
|
+
readonly Danish: "Danish";
|
|
67
|
+
readonly Finnish: "Finnish";
|
|
68
|
+
readonly Farsi: "Farsi";
|
|
69
|
+
readonly Fijian: "Fijian";
|
|
70
|
+
readonly Greek: "Greek";
|
|
71
|
+
readonly Czech: "Czech";
|
|
72
|
+
readonly Hungarian: "Hungarian";
|
|
73
|
+
readonly Romanian: "Romanian";
|
|
74
|
+
readonly Ukrainian: "Ukrainian";
|
|
75
|
+
readonly Malay: "Malay";
|
|
76
|
+
readonly Tagalog: "Tagalog";
|
|
77
|
+
readonly Filipino: "Filipino";
|
|
78
|
+
readonly Bengali: "Bengali";
|
|
79
|
+
readonly Serbian: "Serbian";
|
|
80
|
+
readonly Croatian: "Croatian";
|
|
81
|
+
readonly Bulgarian: "Bulgarian";
|
|
82
|
+
readonly Slovak: "Slovak";
|
|
83
|
+
readonly Slovenian: "Slovenian";
|
|
84
|
+
readonly Estonian: "Estonian";
|
|
85
|
+
readonly Latvian: "Latvian";
|
|
86
|
+
readonly Lithuanian: "Lithuanian";
|
|
87
|
+
readonly Persian: "Persian";
|
|
88
|
+
readonly Swahili: "Swahili";
|
|
89
|
+
readonly Amharic: "Amharic";
|
|
90
|
+
readonly Assamese: "Assamese";
|
|
91
|
+
readonly Urdu: "Urdu";
|
|
92
|
+
readonly Afrikaans: "Afrikaans";
|
|
93
|
+
readonly Basque: "Basque";
|
|
94
|
+
readonly Catalan: "Catalan";
|
|
95
|
+
readonly Icelandic: "Icelandic";
|
|
96
|
+
readonly Georgian: "Georgian";
|
|
97
|
+
readonly Albanian: "Albanian";
|
|
98
|
+
readonly Armenian: "Armenian";
|
|
99
|
+
readonly Azerbaijani: "Azerbaijani";
|
|
100
|
+
readonly Bosnian: "Bosnian";
|
|
101
|
+
readonly Galician: "Galician";
|
|
102
|
+
readonly Gujarati: "Gujarati";
|
|
103
|
+
readonly HaitianCreole: "Haitian Creole";
|
|
104
|
+
readonly Kannada: "Kannada";
|
|
105
|
+
readonly Kazakh: "Kazakh";
|
|
106
|
+
readonly Kyrgyz: "Kyrgyz";
|
|
107
|
+
readonly Latin: "Latin";
|
|
108
|
+
readonly Macedonian: "Macedonian";
|
|
109
|
+
readonly Malayalam: "Malayalam";
|
|
110
|
+
readonly Marathi: "Marathi";
|
|
111
|
+
readonly Mizo: "Mizo";
|
|
112
|
+
readonly Montenegrin: "Montenegrin";
|
|
113
|
+
readonly Nepali: "Nepali";
|
|
114
|
+
readonly Sinhala: "Sinhala";
|
|
115
|
+
readonly Tamil: "Tamil";
|
|
116
|
+
readonly Telugu: "Telugu";
|
|
117
|
+
readonly Tulu: "Tulu";
|
|
118
|
+
readonly Punjabi: "Punjabi";
|
|
119
|
+
readonly Welsh: "Welsh";
|
|
120
|
+
readonly Irish: "Irish";
|
|
121
|
+
readonly Maltese: "Maltese";
|
|
122
|
+
readonly Yoruba: "Yoruba";
|
|
123
|
+
readonly Zulu: "Zulu";
|
|
124
|
+
readonly Asl: "ASL";
|
|
125
|
+
readonly Asturian: "Asturian";
|
|
126
|
+
readonly Bambara: "Bambara";
|
|
127
|
+
readonly Belarusian: "Belarusian";
|
|
128
|
+
readonly Bhojpuri: "Bhojpuri";
|
|
129
|
+
readonly Bisaya: "Bisaya";
|
|
130
|
+
readonly Bodo: "Bodo";
|
|
131
|
+
readonly Cebuano: "Cebuano";
|
|
132
|
+
readonly Chechen: "Chechen";
|
|
133
|
+
readonly Cherokee: "Cherokee";
|
|
134
|
+
readonly Chichewa: "Chichewa";
|
|
135
|
+
readonly Coptic: "Coptic";
|
|
136
|
+
readonly Cornish: "Cornish";
|
|
137
|
+
readonly Dari: "Dari";
|
|
138
|
+
readonly Dhivehi: "Dhivehi";
|
|
139
|
+
readonly Esperanto: "Esperanto";
|
|
140
|
+
readonly Ewe: "Ewe";
|
|
141
|
+
readonly Faroese: "Faroese";
|
|
142
|
+
readonly Frisian: "Frisian";
|
|
143
|
+
readonly Guarani: "Guarani";
|
|
144
|
+
readonly Hausa: "Hausa";
|
|
145
|
+
readonly Hawaiian: "Hawaiian";
|
|
146
|
+
readonly Hiligaynon: "Hiligaynon";
|
|
147
|
+
readonly Hmong: "Hmong";
|
|
148
|
+
readonly Igbo: "Igbo";
|
|
149
|
+
readonly Ilocano: "Ilocano";
|
|
150
|
+
readonly JamaicanPatois: "Jamaican Patois";
|
|
151
|
+
readonly Javanese: "Javanese";
|
|
152
|
+
readonly Kashmiri: "Kashmiri";
|
|
153
|
+
readonly Kikuyu: "Kikuyu";
|
|
154
|
+
readonly Kinyarwanda: "Kinyarwanda";
|
|
155
|
+
readonly Konkani: "Konkani";
|
|
156
|
+
readonly Kurdish: "Kurdish";
|
|
157
|
+
readonly Lingala: "Lingala";
|
|
158
|
+
readonly Luxembourgish: "Luxembourgish";
|
|
159
|
+
readonly Luganda: "Luganda";
|
|
160
|
+
readonly Malagasy: "Malagasy";
|
|
161
|
+
readonly Manipuri: "Manipuri";
|
|
162
|
+
readonly Maori: "Maori";
|
|
163
|
+
readonly Mongolian: "Mongolian";
|
|
164
|
+
readonly NigerianPidgin: "Nigerian Pidgin";
|
|
165
|
+
readonly Nyanja: "Nyanja";
|
|
166
|
+
readonly Odia: "Odia";
|
|
167
|
+
readonly Oromo: "Oromo";
|
|
168
|
+
readonly Papiamento: "Papiamento";
|
|
169
|
+
readonly Pashto: "Pashto";
|
|
170
|
+
readonly Quechua: "Quechua";
|
|
171
|
+
readonly Samoan: "Samoan";
|
|
172
|
+
readonly Sanskrit: "Sanskrit";
|
|
173
|
+
readonly ScottishGaelic: "Scottish Gaelic";
|
|
174
|
+
readonly Sepedi: "Sepedi";
|
|
175
|
+
readonly Shona: "Shona";
|
|
176
|
+
readonly Sindhi: "Sindhi";
|
|
177
|
+
readonly Somali: "Somali";
|
|
178
|
+
readonly Sotho: "Sotho";
|
|
179
|
+
readonly Sundanese: "Sundanese";
|
|
180
|
+
readonly Tajik: "Tajik";
|
|
181
|
+
readonly Tamazight: "Tamazight";
|
|
182
|
+
readonly Tetum: "Tetum";
|
|
183
|
+
readonly Tibetan: "Tibetan";
|
|
184
|
+
readonly Tongan: "Tongan";
|
|
185
|
+
readonly Tsonga: "Tsonga";
|
|
186
|
+
readonly Tswana: "Tswana";
|
|
187
|
+
readonly Twi: "Twi";
|
|
188
|
+
readonly Uzbek: "Uzbek";
|
|
189
|
+
readonly Wolof: "Wolof";
|
|
190
|
+
readonly Xhosa: "Xhosa";
|
|
191
|
+
readonly Khasi: "Khasi";
|
|
192
|
+
};
|
|
193
|
+
type Language = (typeof Language)[keyof typeof Language];
|
|
39
194
|
}
|
|
@@ -12,4 +12,157 @@ var SearchBrandsRequest;
|
|
|
12
12
|
HighestEngagement: "HIGHEST_ENGAGEMENT",
|
|
13
13
|
MostActiveAds: "MOST_ACTIVE_ADS",
|
|
14
14
|
};
|
|
15
|
+
SearchBrandsRequest.Language = {
|
|
16
|
+
English: "English",
|
|
17
|
+
Spanish: "Spanish",
|
|
18
|
+
French: "French",
|
|
19
|
+
German: "German",
|
|
20
|
+
Italian: "Italian",
|
|
21
|
+
Portuguese: "Portuguese",
|
|
22
|
+
Russian: "Russian",
|
|
23
|
+
Chinese: "Chinese",
|
|
24
|
+
Cantonese: "Cantonese",
|
|
25
|
+
Japanese: "Japanese",
|
|
26
|
+
Korean: "Korean",
|
|
27
|
+
Arabic: "Arabic",
|
|
28
|
+
Hindi: "Hindi",
|
|
29
|
+
Dutch: "Dutch",
|
|
30
|
+
Polish: "Polish",
|
|
31
|
+
Turkish: "Turkish",
|
|
32
|
+
Vietnamese: "Vietnamese",
|
|
33
|
+
Thai: "Thai",
|
|
34
|
+
Burmese: "Burmese",
|
|
35
|
+
Khmer: "Khmer",
|
|
36
|
+
Lao: "Lao",
|
|
37
|
+
Indonesian: "Indonesian",
|
|
38
|
+
Hebrew: "Hebrew",
|
|
39
|
+
Swedish: "Swedish",
|
|
40
|
+
Norwegian: "Norwegian",
|
|
41
|
+
Danish: "Danish",
|
|
42
|
+
Finnish: "Finnish",
|
|
43
|
+
Farsi: "Farsi",
|
|
44
|
+
Fijian: "Fijian",
|
|
45
|
+
Greek: "Greek",
|
|
46
|
+
Czech: "Czech",
|
|
47
|
+
Hungarian: "Hungarian",
|
|
48
|
+
Romanian: "Romanian",
|
|
49
|
+
Ukrainian: "Ukrainian",
|
|
50
|
+
Malay: "Malay",
|
|
51
|
+
Tagalog: "Tagalog",
|
|
52
|
+
Filipino: "Filipino",
|
|
53
|
+
Bengali: "Bengali",
|
|
54
|
+
Serbian: "Serbian",
|
|
55
|
+
Croatian: "Croatian",
|
|
56
|
+
Bulgarian: "Bulgarian",
|
|
57
|
+
Slovak: "Slovak",
|
|
58
|
+
Slovenian: "Slovenian",
|
|
59
|
+
Estonian: "Estonian",
|
|
60
|
+
Latvian: "Latvian",
|
|
61
|
+
Lithuanian: "Lithuanian",
|
|
62
|
+
Persian: "Persian",
|
|
63
|
+
Swahili: "Swahili",
|
|
64
|
+
Amharic: "Amharic",
|
|
65
|
+
Assamese: "Assamese",
|
|
66
|
+
Urdu: "Urdu",
|
|
67
|
+
Afrikaans: "Afrikaans",
|
|
68
|
+
Basque: "Basque",
|
|
69
|
+
Catalan: "Catalan",
|
|
70
|
+
Icelandic: "Icelandic",
|
|
71
|
+
Georgian: "Georgian",
|
|
72
|
+
Albanian: "Albanian",
|
|
73
|
+
Armenian: "Armenian",
|
|
74
|
+
Azerbaijani: "Azerbaijani",
|
|
75
|
+
Bosnian: "Bosnian",
|
|
76
|
+
Galician: "Galician",
|
|
77
|
+
Gujarati: "Gujarati",
|
|
78
|
+
HaitianCreole: "Haitian Creole",
|
|
79
|
+
Kannada: "Kannada",
|
|
80
|
+
Kazakh: "Kazakh",
|
|
81
|
+
Kyrgyz: "Kyrgyz",
|
|
82
|
+
Latin: "Latin",
|
|
83
|
+
Macedonian: "Macedonian",
|
|
84
|
+
Malayalam: "Malayalam",
|
|
85
|
+
Marathi: "Marathi",
|
|
86
|
+
Mizo: "Mizo",
|
|
87
|
+
Montenegrin: "Montenegrin",
|
|
88
|
+
Nepali: "Nepali",
|
|
89
|
+
Sinhala: "Sinhala",
|
|
90
|
+
Tamil: "Tamil",
|
|
91
|
+
Telugu: "Telugu",
|
|
92
|
+
Tulu: "Tulu",
|
|
93
|
+
Punjabi: "Punjabi",
|
|
94
|
+
Welsh: "Welsh",
|
|
95
|
+
Irish: "Irish",
|
|
96
|
+
Maltese: "Maltese",
|
|
97
|
+
Yoruba: "Yoruba",
|
|
98
|
+
Zulu: "Zulu",
|
|
99
|
+
Asl: "ASL",
|
|
100
|
+
Asturian: "Asturian",
|
|
101
|
+
Bambara: "Bambara",
|
|
102
|
+
Belarusian: "Belarusian",
|
|
103
|
+
Bhojpuri: "Bhojpuri",
|
|
104
|
+
Bisaya: "Bisaya",
|
|
105
|
+
Bodo: "Bodo",
|
|
106
|
+
Cebuano: "Cebuano",
|
|
107
|
+
Chechen: "Chechen",
|
|
108
|
+
Cherokee: "Cherokee",
|
|
109
|
+
Chichewa: "Chichewa",
|
|
110
|
+
Coptic: "Coptic",
|
|
111
|
+
Cornish: "Cornish",
|
|
112
|
+
Dari: "Dari",
|
|
113
|
+
Dhivehi: "Dhivehi",
|
|
114
|
+
Esperanto: "Esperanto",
|
|
115
|
+
Ewe: "Ewe",
|
|
116
|
+
Faroese: "Faroese",
|
|
117
|
+
Frisian: "Frisian",
|
|
118
|
+
Guarani: "Guarani",
|
|
119
|
+
Hausa: "Hausa",
|
|
120
|
+
Hawaiian: "Hawaiian",
|
|
121
|
+
Hiligaynon: "Hiligaynon",
|
|
122
|
+
Hmong: "Hmong",
|
|
123
|
+
Igbo: "Igbo",
|
|
124
|
+
Ilocano: "Ilocano",
|
|
125
|
+
JamaicanPatois: "Jamaican Patois",
|
|
126
|
+
Javanese: "Javanese",
|
|
127
|
+
Kashmiri: "Kashmiri",
|
|
128
|
+
Kikuyu: "Kikuyu",
|
|
129
|
+
Kinyarwanda: "Kinyarwanda",
|
|
130
|
+
Konkani: "Konkani",
|
|
131
|
+
Kurdish: "Kurdish",
|
|
132
|
+
Lingala: "Lingala",
|
|
133
|
+
Luxembourgish: "Luxembourgish",
|
|
134
|
+
Luganda: "Luganda",
|
|
135
|
+
Malagasy: "Malagasy",
|
|
136
|
+
Manipuri: "Manipuri",
|
|
137
|
+
Maori: "Maori",
|
|
138
|
+
Mongolian: "Mongolian",
|
|
139
|
+
NigerianPidgin: "Nigerian Pidgin",
|
|
140
|
+
Nyanja: "Nyanja",
|
|
141
|
+
Odia: "Odia",
|
|
142
|
+
Oromo: "Oromo",
|
|
143
|
+
Papiamento: "Papiamento",
|
|
144
|
+
Pashto: "Pashto",
|
|
145
|
+
Quechua: "Quechua",
|
|
146
|
+
Samoan: "Samoan",
|
|
147
|
+
Sanskrit: "Sanskrit",
|
|
148
|
+
ScottishGaelic: "Scottish Gaelic",
|
|
149
|
+
Sepedi: "Sepedi",
|
|
150
|
+
Shona: "Shona",
|
|
151
|
+
Sindhi: "Sindhi",
|
|
152
|
+
Somali: "Somali",
|
|
153
|
+
Sotho: "Sotho",
|
|
154
|
+
Sundanese: "Sundanese",
|
|
155
|
+
Tajik: "Tajik",
|
|
156
|
+
Tamazight: "Tamazight",
|
|
157
|
+
Tetum: "Tetum",
|
|
158
|
+
Tibetan: "Tibetan",
|
|
159
|
+
Tongan: "Tongan",
|
|
160
|
+
Tsonga: "Tsonga",
|
|
161
|
+
Tswana: "Tswana",
|
|
162
|
+
Twi: "Twi",
|
|
163
|
+
Uzbek: "Uzbek",
|
|
164
|
+
Wolof: "Wolof",
|
|
165
|
+
Xhosa: "Xhosa",
|
|
166
|
+
Khasi: "Khasi",
|
|
167
|
+
};
|
|
15
168
|
})(SearchBrandsRequest || (exports.SearchBrandsRequest = SearchBrandsRequest = {}));
|
|
@@ -49,7 +49,7 @@ export declare class AccountClient {
|
|
|
49
49
|
* `totals` to creatives that started within the requested window.
|
|
50
50
|
*
|
|
51
51
|
* Limited to 120 requests per minute per user.
|
|
52
|
-
* Costs $0.
|
|
52
|
+
* Costs $0.0010 per cluster returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
53
53
|
*
|
|
54
54
|
* @param {spyglass.InsightsAccountRequest} request
|
|
55
55
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -79,7 +79,7 @@ export declare class AccountClient {
|
|
|
79
79
|
* start date. Omit both for all time.
|
|
80
80
|
*
|
|
81
81
|
* Limited to 120 requests per minute per user.
|
|
82
|
-
* Costs $0.
|
|
82
|
+
* Costs $0.0010 per campaign returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
83
83
|
*
|
|
84
84
|
* @param {spyglass.CampaignsAccountRequest} request
|
|
85
85
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -110,7 +110,7 @@ export declare class AccountClient {
|
|
|
110
110
|
* creator.
|
|
111
111
|
*
|
|
112
112
|
* Limited to 120 requests per minute per user.
|
|
113
|
-
* Costs $0.
|
|
113
|
+
* Costs $0.0010 per collab returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
114
114
|
*
|
|
115
115
|
* @param {spyglass.CollabsAccountRequest} request
|
|
116
116
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -138,7 +138,7 @@ export declare class AccountClient {
|
|
|
138
138
|
* how often they appear across its ads.
|
|
139
139
|
*
|
|
140
140
|
* Limited to 120 requests per minute per user.
|
|
141
|
-
* Costs $0.
|
|
141
|
+
* Costs $0.0010 per landing page returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
142
142
|
*
|
|
143
143
|
* @param {spyglass.LandingPagesAccountRequest} request
|
|
144
144
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -145,7 +145,7 @@ class AccountClient {
|
|
|
145
145
|
* `totals` to creatives that started within the requested window.
|
|
146
146
|
*
|
|
147
147
|
* Limited to 120 requests per minute per user.
|
|
148
|
-
* Costs $0.
|
|
148
|
+
* Costs $0.0010 per cluster returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
149
149
|
*
|
|
150
150
|
* @param {spyglass.InsightsAccountRequest} request
|
|
151
151
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -234,7 +234,7 @@ class AccountClient {
|
|
|
234
234
|
* start date. Omit both for all time.
|
|
235
235
|
*
|
|
236
236
|
* Limited to 120 requests per minute per user.
|
|
237
|
-
* Costs $0.
|
|
237
|
+
* Costs $0.0010 per campaign returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
238
238
|
*
|
|
239
239
|
* @param {spyglass.CampaignsAccountRequest} request
|
|
240
240
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -327,7 +327,7 @@ class AccountClient {
|
|
|
327
327
|
* creator.
|
|
328
328
|
*
|
|
329
329
|
* Limited to 120 requests per minute per user.
|
|
330
|
-
* Costs $0.
|
|
330
|
+
* Costs $0.0010 per collab returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
331
331
|
*
|
|
332
332
|
* @param {spyglass.CollabsAccountRequest} request
|
|
333
333
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -413,7 +413,7 @@ class AccountClient {
|
|
|
413
413
|
* how often they appear across its ads.
|
|
414
414
|
*
|
|
415
415
|
* Limited to 120 requests per minute per user.
|
|
416
|
-
* Costs $0.
|
|
416
|
+
* Costs $0.0010 per landing page returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
417
417
|
*
|
|
418
418
|
* @param {spyglass.LandingPagesAccountRequest} request
|
|
419
419
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.15";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@spyglasshq/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "0.1.
|
|
10
|
-
"User-Agent": "@spyglasshq/sdk/0.1.
|
|
9
|
+
"X-Fern-SDK-Version": "0.1.15",
|
|
10
|
+
"User-Agent": "@spyglasshq/sdk/0.1.15",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
package/dist/esm/Client.d.mts
CHANGED
|
@@ -168,7 +168,7 @@ export declare class Spyglass {
|
|
|
168
168
|
* `query` is required.
|
|
169
169
|
*
|
|
170
170
|
* Limited to 120 requests per minute per user.
|
|
171
|
-
* Costs $0.
|
|
171
|
+
* Costs $0.0010 per creative returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
172
172
|
* The call bills a minimum of one row even when nothing matches. In that
|
|
173
173
|
* case `count` is 0 but you are charged for one row.
|
|
174
174
|
*
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -340,7 +340,7 @@ export class Spyglass {
|
|
|
340
340
|
* `query` is required.
|
|
341
341
|
*
|
|
342
342
|
* Limited to 120 requests per minute per user.
|
|
343
|
-
* Costs $0.
|
|
343
|
+
* Costs $0.0010 per creative returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
344
344
|
* The call bills a minimum of one row even when nothing matches. In that
|
|
345
345
|
* case `count` is 0 but you are charged for one row.
|
|
346
346
|
*
|
|
@@ -18,6 +18,7 @@ export interface SearchBrandsRequest {
|
|
|
18
18
|
offset?: number;
|
|
19
19
|
limit?: number;
|
|
20
20
|
taxonomy?: string[];
|
|
21
|
+
language?: SearchBrandsRequest.Language;
|
|
21
22
|
}
|
|
22
23
|
export declare namespace SearchBrandsRequest {
|
|
23
24
|
type Ids = Ids.Item[];
|
|
@@ -36,4 +37,158 @@ export declare namespace SearchBrandsRequest {
|
|
|
36
37
|
readonly MostActiveAds: "MOST_ACTIVE_ADS";
|
|
37
38
|
};
|
|
38
39
|
type SortBy = (typeof SortBy)[keyof typeof SortBy];
|
|
40
|
+
const Language: {
|
|
41
|
+
readonly English: "English";
|
|
42
|
+
readonly Spanish: "Spanish";
|
|
43
|
+
readonly French: "French";
|
|
44
|
+
readonly German: "German";
|
|
45
|
+
readonly Italian: "Italian";
|
|
46
|
+
readonly Portuguese: "Portuguese";
|
|
47
|
+
readonly Russian: "Russian";
|
|
48
|
+
readonly Chinese: "Chinese";
|
|
49
|
+
readonly Cantonese: "Cantonese";
|
|
50
|
+
readonly Japanese: "Japanese";
|
|
51
|
+
readonly Korean: "Korean";
|
|
52
|
+
readonly Arabic: "Arabic";
|
|
53
|
+
readonly Hindi: "Hindi";
|
|
54
|
+
readonly Dutch: "Dutch";
|
|
55
|
+
readonly Polish: "Polish";
|
|
56
|
+
readonly Turkish: "Turkish";
|
|
57
|
+
readonly Vietnamese: "Vietnamese";
|
|
58
|
+
readonly Thai: "Thai";
|
|
59
|
+
readonly Burmese: "Burmese";
|
|
60
|
+
readonly Khmer: "Khmer";
|
|
61
|
+
readonly Lao: "Lao";
|
|
62
|
+
readonly Indonesian: "Indonesian";
|
|
63
|
+
readonly Hebrew: "Hebrew";
|
|
64
|
+
readonly Swedish: "Swedish";
|
|
65
|
+
readonly Norwegian: "Norwegian";
|
|
66
|
+
readonly Danish: "Danish";
|
|
67
|
+
readonly Finnish: "Finnish";
|
|
68
|
+
readonly Farsi: "Farsi";
|
|
69
|
+
readonly Fijian: "Fijian";
|
|
70
|
+
readonly Greek: "Greek";
|
|
71
|
+
readonly Czech: "Czech";
|
|
72
|
+
readonly Hungarian: "Hungarian";
|
|
73
|
+
readonly Romanian: "Romanian";
|
|
74
|
+
readonly Ukrainian: "Ukrainian";
|
|
75
|
+
readonly Malay: "Malay";
|
|
76
|
+
readonly Tagalog: "Tagalog";
|
|
77
|
+
readonly Filipino: "Filipino";
|
|
78
|
+
readonly Bengali: "Bengali";
|
|
79
|
+
readonly Serbian: "Serbian";
|
|
80
|
+
readonly Croatian: "Croatian";
|
|
81
|
+
readonly Bulgarian: "Bulgarian";
|
|
82
|
+
readonly Slovak: "Slovak";
|
|
83
|
+
readonly Slovenian: "Slovenian";
|
|
84
|
+
readonly Estonian: "Estonian";
|
|
85
|
+
readonly Latvian: "Latvian";
|
|
86
|
+
readonly Lithuanian: "Lithuanian";
|
|
87
|
+
readonly Persian: "Persian";
|
|
88
|
+
readonly Swahili: "Swahili";
|
|
89
|
+
readonly Amharic: "Amharic";
|
|
90
|
+
readonly Assamese: "Assamese";
|
|
91
|
+
readonly Urdu: "Urdu";
|
|
92
|
+
readonly Afrikaans: "Afrikaans";
|
|
93
|
+
readonly Basque: "Basque";
|
|
94
|
+
readonly Catalan: "Catalan";
|
|
95
|
+
readonly Icelandic: "Icelandic";
|
|
96
|
+
readonly Georgian: "Georgian";
|
|
97
|
+
readonly Albanian: "Albanian";
|
|
98
|
+
readonly Armenian: "Armenian";
|
|
99
|
+
readonly Azerbaijani: "Azerbaijani";
|
|
100
|
+
readonly Bosnian: "Bosnian";
|
|
101
|
+
readonly Galician: "Galician";
|
|
102
|
+
readonly Gujarati: "Gujarati";
|
|
103
|
+
readonly HaitianCreole: "Haitian Creole";
|
|
104
|
+
readonly Kannada: "Kannada";
|
|
105
|
+
readonly Kazakh: "Kazakh";
|
|
106
|
+
readonly Kyrgyz: "Kyrgyz";
|
|
107
|
+
readonly Latin: "Latin";
|
|
108
|
+
readonly Macedonian: "Macedonian";
|
|
109
|
+
readonly Malayalam: "Malayalam";
|
|
110
|
+
readonly Marathi: "Marathi";
|
|
111
|
+
readonly Mizo: "Mizo";
|
|
112
|
+
readonly Montenegrin: "Montenegrin";
|
|
113
|
+
readonly Nepali: "Nepali";
|
|
114
|
+
readonly Sinhala: "Sinhala";
|
|
115
|
+
readonly Tamil: "Tamil";
|
|
116
|
+
readonly Telugu: "Telugu";
|
|
117
|
+
readonly Tulu: "Tulu";
|
|
118
|
+
readonly Punjabi: "Punjabi";
|
|
119
|
+
readonly Welsh: "Welsh";
|
|
120
|
+
readonly Irish: "Irish";
|
|
121
|
+
readonly Maltese: "Maltese";
|
|
122
|
+
readonly Yoruba: "Yoruba";
|
|
123
|
+
readonly Zulu: "Zulu";
|
|
124
|
+
readonly Asl: "ASL";
|
|
125
|
+
readonly Asturian: "Asturian";
|
|
126
|
+
readonly Bambara: "Bambara";
|
|
127
|
+
readonly Belarusian: "Belarusian";
|
|
128
|
+
readonly Bhojpuri: "Bhojpuri";
|
|
129
|
+
readonly Bisaya: "Bisaya";
|
|
130
|
+
readonly Bodo: "Bodo";
|
|
131
|
+
readonly Cebuano: "Cebuano";
|
|
132
|
+
readonly Chechen: "Chechen";
|
|
133
|
+
readonly Cherokee: "Cherokee";
|
|
134
|
+
readonly Chichewa: "Chichewa";
|
|
135
|
+
readonly Coptic: "Coptic";
|
|
136
|
+
readonly Cornish: "Cornish";
|
|
137
|
+
readonly Dari: "Dari";
|
|
138
|
+
readonly Dhivehi: "Dhivehi";
|
|
139
|
+
readonly Esperanto: "Esperanto";
|
|
140
|
+
readonly Ewe: "Ewe";
|
|
141
|
+
readonly Faroese: "Faroese";
|
|
142
|
+
readonly Frisian: "Frisian";
|
|
143
|
+
readonly Guarani: "Guarani";
|
|
144
|
+
readonly Hausa: "Hausa";
|
|
145
|
+
readonly Hawaiian: "Hawaiian";
|
|
146
|
+
readonly Hiligaynon: "Hiligaynon";
|
|
147
|
+
readonly Hmong: "Hmong";
|
|
148
|
+
readonly Igbo: "Igbo";
|
|
149
|
+
readonly Ilocano: "Ilocano";
|
|
150
|
+
readonly JamaicanPatois: "Jamaican Patois";
|
|
151
|
+
readonly Javanese: "Javanese";
|
|
152
|
+
readonly Kashmiri: "Kashmiri";
|
|
153
|
+
readonly Kikuyu: "Kikuyu";
|
|
154
|
+
readonly Kinyarwanda: "Kinyarwanda";
|
|
155
|
+
readonly Konkani: "Konkani";
|
|
156
|
+
readonly Kurdish: "Kurdish";
|
|
157
|
+
readonly Lingala: "Lingala";
|
|
158
|
+
readonly Luxembourgish: "Luxembourgish";
|
|
159
|
+
readonly Luganda: "Luganda";
|
|
160
|
+
readonly Malagasy: "Malagasy";
|
|
161
|
+
readonly Manipuri: "Manipuri";
|
|
162
|
+
readonly Maori: "Maori";
|
|
163
|
+
readonly Mongolian: "Mongolian";
|
|
164
|
+
readonly NigerianPidgin: "Nigerian Pidgin";
|
|
165
|
+
readonly Nyanja: "Nyanja";
|
|
166
|
+
readonly Odia: "Odia";
|
|
167
|
+
readonly Oromo: "Oromo";
|
|
168
|
+
readonly Papiamento: "Papiamento";
|
|
169
|
+
readonly Pashto: "Pashto";
|
|
170
|
+
readonly Quechua: "Quechua";
|
|
171
|
+
readonly Samoan: "Samoan";
|
|
172
|
+
readonly Sanskrit: "Sanskrit";
|
|
173
|
+
readonly ScottishGaelic: "Scottish Gaelic";
|
|
174
|
+
readonly Sepedi: "Sepedi";
|
|
175
|
+
readonly Shona: "Shona";
|
|
176
|
+
readonly Sindhi: "Sindhi";
|
|
177
|
+
readonly Somali: "Somali";
|
|
178
|
+
readonly Sotho: "Sotho";
|
|
179
|
+
readonly Sundanese: "Sundanese";
|
|
180
|
+
readonly Tajik: "Tajik";
|
|
181
|
+
readonly Tamazight: "Tamazight";
|
|
182
|
+
readonly Tetum: "Tetum";
|
|
183
|
+
readonly Tibetan: "Tibetan";
|
|
184
|
+
readonly Tongan: "Tongan";
|
|
185
|
+
readonly Tsonga: "Tsonga";
|
|
186
|
+
readonly Tswana: "Tswana";
|
|
187
|
+
readonly Twi: "Twi";
|
|
188
|
+
readonly Uzbek: "Uzbek";
|
|
189
|
+
readonly Wolof: "Wolof";
|
|
190
|
+
readonly Xhosa: "Xhosa";
|
|
191
|
+
readonly Khasi: "Khasi";
|
|
192
|
+
};
|
|
193
|
+
type Language = (typeof Language)[keyof typeof Language];
|
|
39
194
|
}
|
|
@@ -9,4 +9,157 @@ export var SearchBrandsRequest;
|
|
|
9
9
|
HighestEngagement: "HIGHEST_ENGAGEMENT",
|
|
10
10
|
MostActiveAds: "MOST_ACTIVE_ADS",
|
|
11
11
|
};
|
|
12
|
+
SearchBrandsRequest.Language = {
|
|
13
|
+
English: "English",
|
|
14
|
+
Spanish: "Spanish",
|
|
15
|
+
French: "French",
|
|
16
|
+
German: "German",
|
|
17
|
+
Italian: "Italian",
|
|
18
|
+
Portuguese: "Portuguese",
|
|
19
|
+
Russian: "Russian",
|
|
20
|
+
Chinese: "Chinese",
|
|
21
|
+
Cantonese: "Cantonese",
|
|
22
|
+
Japanese: "Japanese",
|
|
23
|
+
Korean: "Korean",
|
|
24
|
+
Arabic: "Arabic",
|
|
25
|
+
Hindi: "Hindi",
|
|
26
|
+
Dutch: "Dutch",
|
|
27
|
+
Polish: "Polish",
|
|
28
|
+
Turkish: "Turkish",
|
|
29
|
+
Vietnamese: "Vietnamese",
|
|
30
|
+
Thai: "Thai",
|
|
31
|
+
Burmese: "Burmese",
|
|
32
|
+
Khmer: "Khmer",
|
|
33
|
+
Lao: "Lao",
|
|
34
|
+
Indonesian: "Indonesian",
|
|
35
|
+
Hebrew: "Hebrew",
|
|
36
|
+
Swedish: "Swedish",
|
|
37
|
+
Norwegian: "Norwegian",
|
|
38
|
+
Danish: "Danish",
|
|
39
|
+
Finnish: "Finnish",
|
|
40
|
+
Farsi: "Farsi",
|
|
41
|
+
Fijian: "Fijian",
|
|
42
|
+
Greek: "Greek",
|
|
43
|
+
Czech: "Czech",
|
|
44
|
+
Hungarian: "Hungarian",
|
|
45
|
+
Romanian: "Romanian",
|
|
46
|
+
Ukrainian: "Ukrainian",
|
|
47
|
+
Malay: "Malay",
|
|
48
|
+
Tagalog: "Tagalog",
|
|
49
|
+
Filipino: "Filipino",
|
|
50
|
+
Bengali: "Bengali",
|
|
51
|
+
Serbian: "Serbian",
|
|
52
|
+
Croatian: "Croatian",
|
|
53
|
+
Bulgarian: "Bulgarian",
|
|
54
|
+
Slovak: "Slovak",
|
|
55
|
+
Slovenian: "Slovenian",
|
|
56
|
+
Estonian: "Estonian",
|
|
57
|
+
Latvian: "Latvian",
|
|
58
|
+
Lithuanian: "Lithuanian",
|
|
59
|
+
Persian: "Persian",
|
|
60
|
+
Swahili: "Swahili",
|
|
61
|
+
Amharic: "Amharic",
|
|
62
|
+
Assamese: "Assamese",
|
|
63
|
+
Urdu: "Urdu",
|
|
64
|
+
Afrikaans: "Afrikaans",
|
|
65
|
+
Basque: "Basque",
|
|
66
|
+
Catalan: "Catalan",
|
|
67
|
+
Icelandic: "Icelandic",
|
|
68
|
+
Georgian: "Georgian",
|
|
69
|
+
Albanian: "Albanian",
|
|
70
|
+
Armenian: "Armenian",
|
|
71
|
+
Azerbaijani: "Azerbaijani",
|
|
72
|
+
Bosnian: "Bosnian",
|
|
73
|
+
Galician: "Galician",
|
|
74
|
+
Gujarati: "Gujarati",
|
|
75
|
+
HaitianCreole: "Haitian Creole",
|
|
76
|
+
Kannada: "Kannada",
|
|
77
|
+
Kazakh: "Kazakh",
|
|
78
|
+
Kyrgyz: "Kyrgyz",
|
|
79
|
+
Latin: "Latin",
|
|
80
|
+
Macedonian: "Macedonian",
|
|
81
|
+
Malayalam: "Malayalam",
|
|
82
|
+
Marathi: "Marathi",
|
|
83
|
+
Mizo: "Mizo",
|
|
84
|
+
Montenegrin: "Montenegrin",
|
|
85
|
+
Nepali: "Nepali",
|
|
86
|
+
Sinhala: "Sinhala",
|
|
87
|
+
Tamil: "Tamil",
|
|
88
|
+
Telugu: "Telugu",
|
|
89
|
+
Tulu: "Tulu",
|
|
90
|
+
Punjabi: "Punjabi",
|
|
91
|
+
Welsh: "Welsh",
|
|
92
|
+
Irish: "Irish",
|
|
93
|
+
Maltese: "Maltese",
|
|
94
|
+
Yoruba: "Yoruba",
|
|
95
|
+
Zulu: "Zulu",
|
|
96
|
+
Asl: "ASL",
|
|
97
|
+
Asturian: "Asturian",
|
|
98
|
+
Bambara: "Bambara",
|
|
99
|
+
Belarusian: "Belarusian",
|
|
100
|
+
Bhojpuri: "Bhojpuri",
|
|
101
|
+
Bisaya: "Bisaya",
|
|
102
|
+
Bodo: "Bodo",
|
|
103
|
+
Cebuano: "Cebuano",
|
|
104
|
+
Chechen: "Chechen",
|
|
105
|
+
Cherokee: "Cherokee",
|
|
106
|
+
Chichewa: "Chichewa",
|
|
107
|
+
Coptic: "Coptic",
|
|
108
|
+
Cornish: "Cornish",
|
|
109
|
+
Dari: "Dari",
|
|
110
|
+
Dhivehi: "Dhivehi",
|
|
111
|
+
Esperanto: "Esperanto",
|
|
112
|
+
Ewe: "Ewe",
|
|
113
|
+
Faroese: "Faroese",
|
|
114
|
+
Frisian: "Frisian",
|
|
115
|
+
Guarani: "Guarani",
|
|
116
|
+
Hausa: "Hausa",
|
|
117
|
+
Hawaiian: "Hawaiian",
|
|
118
|
+
Hiligaynon: "Hiligaynon",
|
|
119
|
+
Hmong: "Hmong",
|
|
120
|
+
Igbo: "Igbo",
|
|
121
|
+
Ilocano: "Ilocano",
|
|
122
|
+
JamaicanPatois: "Jamaican Patois",
|
|
123
|
+
Javanese: "Javanese",
|
|
124
|
+
Kashmiri: "Kashmiri",
|
|
125
|
+
Kikuyu: "Kikuyu",
|
|
126
|
+
Kinyarwanda: "Kinyarwanda",
|
|
127
|
+
Konkani: "Konkani",
|
|
128
|
+
Kurdish: "Kurdish",
|
|
129
|
+
Lingala: "Lingala",
|
|
130
|
+
Luxembourgish: "Luxembourgish",
|
|
131
|
+
Luganda: "Luganda",
|
|
132
|
+
Malagasy: "Malagasy",
|
|
133
|
+
Manipuri: "Manipuri",
|
|
134
|
+
Maori: "Maori",
|
|
135
|
+
Mongolian: "Mongolian",
|
|
136
|
+
NigerianPidgin: "Nigerian Pidgin",
|
|
137
|
+
Nyanja: "Nyanja",
|
|
138
|
+
Odia: "Odia",
|
|
139
|
+
Oromo: "Oromo",
|
|
140
|
+
Papiamento: "Papiamento",
|
|
141
|
+
Pashto: "Pashto",
|
|
142
|
+
Quechua: "Quechua",
|
|
143
|
+
Samoan: "Samoan",
|
|
144
|
+
Sanskrit: "Sanskrit",
|
|
145
|
+
ScottishGaelic: "Scottish Gaelic",
|
|
146
|
+
Sepedi: "Sepedi",
|
|
147
|
+
Shona: "Shona",
|
|
148
|
+
Sindhi: "Sindhi",
|
|
149
|
+
Somali: "Somali",
|
|
150
|
+
Sotho: "Sotho",
|
|
151
|
+
Sundanese: "Sundanese",
|
|
152
|
+
Tajik: "Tajik",
|
|
153
|
+
Tamazight: "Tamazight",
|
|
154
|
+
Tetum: "Tetum",
|
|
155
|
+
Tibetan: "Tibetan",
|
|
156
|
+
Tongan: "Tongan",
|
|
157
|
+
Tsonga: "Tsonga",
|
|
158
|
+
Tswana: "Tswana",
|
|
159
|
+
Twi: "Twi",
|
|
160
|
+
Uzbek: "Uzbek",
|
|
161
|
+
Wolof: "Wolof",
|
|
162
|
+
Xhosa: "Xhosa",
|
|
163
|
+
Khasi: "Khasi",
|
|
164
|
+
};
|
|
12
165
|
})(SearchBrandsRequest || (SearchBrandsRequest = {}));
|
|
@@ -49,7 +49,7 @@ export declare class AccountClient {
|
|
|
49
49
|
* `totals` to creatives that started within the requested window.
|
|
50
50
|
*
|
|
51
51
|
* Limited to 120 requests per minute per user.
|
|
52
|
-
* Costs $0.
|
|
52
|
+
* Costs $0.0010 per cluster returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
53
53
|
*
|
|
54
54
|
* @param {spyglass.InsightsAccountRequest} request
|
|
55
55
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -79,7 +79,7 @@ export declare class AccountClient {
|
|
|
79
79
|
* start date. Omit both for all time.
|
|
80
80
|
*
|
|
81
81
|
* Limited to 120 requests per minute per user.
|
|
82
|
-
* Costs $0.
|
|
82
|
+
* Costs $0.0010 per campaign returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
83
83
|
*
|
|
84
84
|
* @param {spyglass.CampaignsAccountRequest} request
|
|
85
85
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -110,7 +110,7 @@ export declare class AccountClient {
|
|
|
110
110
|
* creator.
|
|
111
111
|
*
|
|
112
112
|
* Limited to 120 requests per minute per user.
|
|
113
|
-
* Costs $0.
|
|
113
|
+
* Costs $0.0010 per collab returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
114
114
|
*
|
|
115
115
|
* @param {spyglass.CollabsAccountRequest} request
|
|
116
116
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -138,7 +138,7 @@ export declare class AccountClient {
|
|
|
138
138
|
* how often they appear across its ads.
|
|
139
139
|
*
|
|
140
140
|
* Limited to 120 requests per minute per user.
|
|
141
|
-
* Costs $0.
|
|
141
|
+
* Costs $0.0010 per landing page returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
142
142
|
*
|
|
143
143
|
* @param {spyglass.LandingPagesAccountRequest} request
|
|
144
144
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -109,7 +109,7 @@ export class AccountClient {
|
|
|
109
109
|
* `totals` to creatives that started within the requested window.
|
|
110
110
|
*
|
|
111
111
|
* Limited to 120 requests per minute per user.
|
|
112
|
-
* Costs $0.
|
|
112
|
+
* Costs $0.0010 per cluster returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
113
113
|
*
|
|
114
114
|
* @param {spyglass.InsightsAccountRequest} request
|
|
115
115
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -198,7 +198,7 @@ export class AccountClient {
|
|
|
198
198
|
* start date. Omit both for all time.
|
|
199
199
|
*
|
|
200
200
|
* Limited to 120 requests per minute per user.
|
|
201
|
-
* Costs $0.
|
|
201
|
+
* Costs $0.0010 per campaign returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
202
202
|
*
|
|
203
203
|
* @param {spyglass.CampaignsAccountRequest} request
|
|
204
204
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -291,7 +291,7 @@ export class AccountClient {
|
|
|
291
291
|
* creator.
|
|
292
292
|
*
|
|
293
293
|
* Limited to 120 requests per minute per user.
|
|
294
|
-
* Costs $0.
|
|
294
|
+
* Costs $0.0010 per collab returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
295
295
|
*
|
|
296
296
|
* @param {spyglass.CollabsAccountRequest} request
|
|
297
297
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -377,7 +377,7 @@ export class AccountClient {
|
|
|
377
377
|
* how often they appear across its ads.
|
|
378
378
|
*
|
|
379
379
|
* Limited to 120 requests per minute per user.
|
|
380
|
-
* Costs $0.
|
|
380
|
+
* Costs $0.0010 per landing page returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
381
381
|
*
|
|
382
382
|
* @param {spyglass.LandingPagesAccountRequest} request
|
|
383
383
|
* @param {AccountClient.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.15";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.1.
|
|
1
|
+
export const SDK_VERSION = "0.1.15";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -289,7 +289,7 @@ or omit it to search the whole corpus. Without `accountId`,
|
|
|
289
289
|
`query` is required.
|
|
290
290
|
|
|
291
291
|
Limited to 120 requests per minute per user.
|
|
292
|
-
Costs $0.
|
|
292
|
+
Costs $0.0010 per creative returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
293
293
|
The call bills a minimum of one row even when nothing matches. In that
|
|
294
294
|
case `count` is 0 but you are charged for one row.
|
|
295
295
|
</dd>
|
|
@@ -587,7 +587,7 @@ ranked totals, highest first.
|
|
|
587
587
|
`totals` to creatives that started within the requested window.
|
|
588
588
|
|
|
589
589
|
Limited to 120 requests per minute per user.
|
|
590
|
-
Costs $0.
|
|
590
|
+
Costs $0.0010 per cluster returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
591
591
|
</dd>
|
|
592
592
|
</dl>
|
|
593
593
|
</dd>
|
|
@@ -658,7 +658,7 @@ Return an account’s campaigns or offers, newest start date first.
|
|
|
658
658
|
start date. Omit both for all time.
|
|
659
659
|
|
|
660
660
|
Limited to 120 requests per minute per user.
|
|
661
|
-
Costs $0.
|
|
661
|
+
Costs $0.0010 per campaign returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
662
662
|
</dd>
|
|
663
663
|
</dl>
|
|
664
664
|
</dd>
|
|
@@ -730,7 +730,7 @@ mediaCount is how many of that account’s media items tag the
|
|
|
730
730
|
creator.
|
|
731
731
|
|
|
732
732
|
Limited to 120 requests per minute per user.
|
|
733
|
-
Costs $0.
|
|
733
|
+
Costs $0.0010 per collab returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
734
734
|
</dd>
|
|
735
735
|
</dl>
|
|
736
736
|
</dd>
|
|
@@ -799,7 +799,7 @@ Return the landing-page URLs an account sends ad traffic to, ranked by
|
|
|
799
799
|
how often they appear across its ads.
|
|
800
800
|
|
|
801
801
|
Limited to 120 requests per minute per user.
|
|
802
|
-
Costs $0.
|
|
802
|
+
Costs $0.0010 per landing page returned, charged against your plan's monthly credits. The count field is what you were charged for.
|
|
803
803
|
</dd>
|
|
804
804
|
</dl>
|
|
805
805
|
</dd>
|