@coloop-ai/openai-ads-sdk 0.1.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/LICENSE +21 -0
- package/README.md +177 -0
- package/dist/index.cjs +1000 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +258 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +258 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +996 -0
- package/dist/index.mjs.map +1 -0
- package/dist/raw.cjs +160 -0
- package/dist/raw.cjs.map +1 -0
- package/dist/raw.d.cts +723 -0
- package/dist/raw.d.cts.map +1 -0
- package/dist/raw.d.mts +723 -0
- package/dist/raw.d.mts.map +1 -0
- package/dist/raw.mjs +65 -0
- package/dist/raw.mjs.map +1 -0
- package/dist/sdk.gen-BZw2JSrr.mjs +1392 -0
- package/dist/sdk.gen-BZw2JSrr.mjs.map +1 -0
- package/dist/sdk.gen-DZPUCME9.cjs +1955 -0
- package/dist/sdk.gen-DZPUCME9.cjs.map +1 -0
- package/dist/types.gen-C0tFuU7P.d.cts +3181 -0
- package/dist/types.gen-C0tFuU7P.d.cts.map +1 -0
- package/dist/types.gen-C0tFuU7P.d.mts +3181 -0
- package/dist/types.gen-C0tFuU7P.d.mts.map +1 -0
- package/package.json +88 -0
- package/schemas/advertiser-rest.openapi.json +7359 -0
|
@@ -0,0 +1,3181 @@
|
|
|
1
|
+
//#region src/generated/types.gen.d.ts
|
|
2
|
+
type ClientOptions = {
|
|
3
|
+
baseUrl: 'https://api.ads.openai.com/v1' | (string & {});
|
|
4
|
+
};
|
|
5
|
+
type CampaignListIncludeParam = 'serving_issues';
|
|
6
|
+
type ListOrderParam = 'asc' | 'desc';
|
|
7
|
+
type BudgetBody = {
|
|
8
|
+
lifetime_spend_limit_micros?: number;
|
|
9
|
+
daily_spend_limit_micros?: number;
|
|
10
|
+
};
|
|
11
|
+
type TargetingGeoLocationBody = {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
country_code: string;
|
|
16
|
+
region_code: string | null;
|
|
17
|
+
};
|
|
18
|
+
type TargetingGeoLocationsBody = {
|
|
19
|
+
countries?: Array<string>;
|
|
20
|
+
include?: Array<TargetingGeoLocationBody>;
|
|
21
|
+
};
|
|
22
|
+
type TargetingCustomAudiencesBody = {
|
|
23
|
+
ids: Array<string>;
|
|
24
|
+
};
|
|
25
|
+
type CampaignPlatformParam = 'ios_app' | 'android_app' | 'web';
|
|
26
|
+
type TargetingPlatformsBody = {
|
|
27
|
+
included?: Array<CampaignPlatformParam>;
|
|
28
|
+
};
|
|
29
|
+
type TargetingBody = {
|
|
30
|
+
locations?: TargetingGeoLocationsBody;
|
|
31
|
+
excluded_locations?: TargetingGeoLocationsBody;
|
|
32
|
+
custom_audiences?: TargetingCustomAudiencesBody;
|
|
33
|
+
excluded_custom_audiences?: TargetingCustomAudiencesBody;
|
|
34
|
+
platforms?: TargetingPlatformsBody;
|
|
35
|
+
};
|
|
36
|
+
type LandingPageConfigurationBody = {
|
|
37
|
+
query_string_template: string | null;
|
|
38
|
+
};
|
|
39
|
+
type CampaignServingIssueCode = 'ad_account_suspended' | 'ad_account_brand_review_missing_favicon' | 'ad_account_brand_review_escalated_review' | 'ad_account_brand_review_rejected' | 'ad_account_brand_review_in_progress' | 'ad_account_payment_method_missing_or_unauthorized' | 'ad_account_threshold_payment_failed' | 'ad_account_persona_verification_not_approved' | 'ad_account_persona_verification_step_up_required' | 'campaign_not_active' | 'campaign_not_started' | 'campaign_ended' | 'campaign_has_no_ad_groups' | 'campaign_has_no_serving_ready_ad_groups' | 'ad_group_not_active' | 'ad_group_has_no_ads' | 'campaign_budget_exhausted' | 'ad_account_budget_exhausted' | 'review_not_approved' | 'landing_page_crawl_issue' | 'ad_in_review' | 'partial_serving_review_not_approved' | 'partial_serving_landing_page_crawl_issue' | 'partial_serving_ad_in_review';
|
|
40
|
+
type CampaignServingIssueBody = {
|
|
41
|
+
code: CampaignServingIssueCode;
|
|
42
|
+
};
|
|
43
|
+
type CampaignItemBody = {
|
|
44
|
+
id: string;
|
|
45
|
+
created_at: number;
|
|
46
|
+
updated_at: number;
|
|
47
|
+
name: string;
|
|
48
|
+
description: string | null;
|
|
49
|
+
status: string;
|
|
50
|
+
mode?: string | null;
|
|
51
|
+
product_feed_id: string | null;
|
|
52
|
+
business_agent_id?: string | null;
|
|
53
|
+
start_time: number | null;
|
|
54
|
+
end_time: number | null;
|
|
55
|
+
budget: BudgetBody;
|
|
56
|
+
bidding_type: string;
|
|
57
|
+
objective?: string;
|
|
58
|
+
billing_event_type?: string;
|
|
59
|
+
conversion_event_setting_ids?: Array<string>;
|
|
60
|
+
targeting?: TargetingBody;
|
|
61
|
+
landing_page_configuration?: LandingPageConfigurationBody | null;
|
|
62
|
+
serving_issues?: Array<CampaignServingIssueBody>;
|
|
63
|
+
};
|
|
64
|
+
type CampaignsResource = {
|
|
65
|
+
object: string;
|
|
66
|
+
data: Array<CampaignItemBody>;
|
|
67
|
+
first_id: string | null;
|
|
68
|
+
last_id: string | null;
|
|
69
|
+
has_more: boolean;
|
|
70
|
+
};
|
|
71
|
+
type ActivePausedStatusParam = 'active' | 'paused';
|
|
72
|
+
type BudgetParams = {
|
|
73
|
+
lifetime_spend_limit_micros?: number;
|
|
74
|
+
daily_spend_limit_micros?: number;
|
|
75
|
+
};
|
|
76
|
+
type CampaignBiddingTypeParam = 'impressions' | 'clicks' | 'conversions';
|
|
77
|
+
type CampaignObjectiveParam = 'reach' | 'clicks' | 'conversions';
|
|
78
|
+
type CampaignBillingEventTypeParam = 'impression' | 'click';
|
|
79
|
+
type CampaignModeParam = 'product_feed' | 'business_agent';
|
|
80
|
+
type TargetingGeoLocationParams = {
|
|
81
|
+
id: string;
|
|
82
|
+
name?: string;
|
|
83
|
+
type?: string;
|
|
84
|
+
country_code?: string;
|
|
85
|
+
region_code?: string;
|
|
86
|
+
};
|
|
87
|
+
type TargetingGeoLocationsParams = {
|
|
88
|
+
countries?: Array<string>;
|
|
89
|
+
include?: Array<TargetingGeoLocationParams>;
|
|
90
|
+
};
|
|
91
|
+
type TargetingCustomAudiencesParams = {
|
|
92
|
+
ids?: Array<string>;
|
|
93
|
+
};
|
|
94
|
+
type TargetingPlatformsParams = {
|
|
95
|
+
included?: Array<CampaignPlatformParam>;
|
|
96
|
+
};
|
|
97
|
+
type TargetingParams = {
|
|
98
|
+
locations?: TargetingGeoLocationsParams;
|
|
99
|
+
excluded_locations?: TargetingGeoLocationsParams;
|
|
100
|
+
custom_audiences?: TargetingCustomAudiencesParams;
|
|
101
|
+
excluded_custom_audiences?: TargetingCustomAudiencesParams;
|
|
102
|
+
platforms?: TargetingPlatformsParams | null;
|
|
103
|
+
};
|
|
104
|
+
type LandingPageConfigurationParams = {
|
|
105
|
+
query_string_template?: string;
|
|
106
|
+
};
|
|
107
|
+
type CreateCampaignBody = {
|
|
108
|
+
name: string;
|
|
109
|
+
description?: string;
|
|
110
|
+
start_time?: number;
|
|
111
|
+
end_time?: number;
|
|
112
|
+
status: ActivePausedStatusParam;
|
|
113
|
+
budget: BudgetParams;
|
|
114
|
+
bidding_type?: CampaignBiddingTypeParam;
|
|
115
|
+
objective?: CampaignObjectiveParam;
|
|
116
|
+
billing_event_type?: CampaignBillingEventTypeParam;
|
|
117
|
+
mode?: CampaignModeParam;
|
|
118
|
+
product_feed_id?: string;
|
|
119
|
+
business_agent_id?: string;
|
|
120
|
+
targeting?: TargetingParams | null;
|
|
121
|
+
landing_page_configuration?: LandingPageConfigurationParams;
|
|
122
|
+
conversion_event_setting_ids?: Array<string>;
|
|
123
|
+
};
|
|
124
|
+
type CampaignGetItemIncludeParam = 'serving_issues';
|
|
125
|
+
type ActivePausedArchivedStatusParam = 'active' | 'paused' | 'archived';
|
|
126
|
+
type UpdateCampaignBody = {
|
|
127
|
+
name?: string;
|
|
128
|
+
description?: string | null;
|
|
129
|
+
start_time?: number | null;
|
|
130
|
+
end_time?: number | null;
|
|
131
|
+
status?: ActivePausedArchivedStatusParam;
|
|
132
|
+
budget?: BudgetParams;
|
|
133
|
+
targeting?: TargetingParams | null;
|
|
134
|
+
landing_page_configuration?: LandingPageConfigurationParams | null;
|
|
135
|
+
conversion_event_setting_ids?: Array<string>;
|
|
136
|
+
};
|
|
137
|
+
type CustomAudienceIntendedUseParam = 'inclusion' | 'exclusion' | 'bid_multiplier';
|
|
138
|
+
type CustomAudienceMatchedCountGranularityParam = 'granular';
|
|
139
|
+
type CustomAudienceItemBody = {
|
|
140
|
+
id: string;
|
|
141
|
+
created_at: number;
|
|
142
|
+
updated_at: number;
|
|
143
|
+
name: string;
|
|
144
|
+
description: string | null;
|
|
145
|
+
status: string;
|
|
146
|
+
hash_spec_version: string;
|
|
147
|
+
uploaded_identifier_count_range: string;
|
|
148
|
+
matched_identifier_count_range: string;
|
|
149
|
+
matched_user_count_range: string;
|
|
150
|
+
invalid_identifier_count_range: string;
|
|
151
|
+
membership_revision?: number;
|
|
152
|
+
};
|
|
153
|
+
type CustomAudiencesResource = {
|
|
154
|
+
object: string;
|
|
155
|
+
data: Array<CustomAudienceItemBody>;
|
|
156
|
+
first_id: string | null;
|
|
157
|
+
last_id: string | null;
|
|
158
|
+
has_more: boolean;
|
|
159
|
+
policy_revision?: string;
|
|
160
|
+
};
|
|
161
|
+
type CustomAudienceIdentifierTypeParam = 'email' | 'phone' | 'email_sha256' | 'phone_number_sha256' | 'gaid';
|
|
162
|
+
type CustomAudienceIdentifierResolutionParam = 'auto';
|
|
163
|
+
type CreateCustomAudienceBody = {
|
|
164
|
+
name: string;
|
|
165
|
+
description?: string;
|
|
166
|
+
/**
|
|
167
|
+
* Uploaded file ID. Omit all file fields to create an empty audience when small audiences are enabled for the account.
|
|
168
|
+
*/
|
|
169
|
+
file_id?: string;
|
|
170
|
+
identifier_type?: CustomAudienceIdentifierTypeParam;
|
|
171
|
+
identifier_resolution?: CustomAudienceIdentifierResolutionParam;
|
|
172
|
+
filename?: string;
|
|
173
|
+
mimetype?: string;
|
|
174
|
+
file_size?: number;
|
|
175
|
+
};
|
|
176
|
+
type CustomAudienceInlineIdentifierParams = {
|
|
177
|
+
identifier_type: CustomAudienceIdentifierTypeParam;
|
|
178
|
+
identifier: string;
|
|
179
|
+
};
|
|
180
|
+
type CustomAudienceMembershipMutationBody = {
|
|
181
|
+
file_id?: string;
|
|
182
|
+
identifiers?: Array<CustomAudienceInlineIdentifierParams>;
|
|
183
|
+
identifier_type?: CustomAudienceIdentifierTypeParam;
|
|
184
|
+
identifier_resolution?: CustomAudienceIdentifierResolutionParam;
|
|
185
|
+
expected_revision?: number;
|
|
186
|
+
};
|
|
187
|
+
type CustomAudienceMembershipOperationBody = {
|
|
188
|
+
operation_id: string;
|
|
189
|
+
custom_audience_id: string;
|
|
190
|
+
operation: string;
|
|
191
|
+
status: string;
|
|
192
|
+
};
|
|
193
|
+
type ReplaceCustomAudienceMembersBody = {
|
|
194
|
+
file_id: string;
|
|
195
|
+
expected_revision: number;
|
|
196
|
+
filename?: string;
|
|
197
|
+
mimetype?: string;
|
|
198
|
+
file_size?: number;
|
|
199
|
+
identifier_type?: CustomAudienceIdentifierTypeParam;
|
|
200
|
+
identifier_resolution?: CustomAudienceIdentifierResolutionParam;
|
|
201
|
+
};
|
|
202
|
+
type MergeCustomAudiencesBody = {
|
|
203
|
+
name: string;
|
|
204
|
+
custom_audience_ids: Array<string>;
|
|
205
|
+
};
|
|
206
|
+
type BusinessAgentCatalogToolBody = {
|
|
207
|
+
id: string;
|
|
208
|
+
type: string;
|
|
209
|
+
name: string;
|
|
210
|
+
description: string | null;
|
|
211
|
+
logo_url: string | null;
|
|
212
|
+
};
|
|
213
|
+
type ListBusinessAgentToolsResource = {
|
|
214
|
+
object: string;
|
|
215
|
+
data: Array<BusinessAgentCatalogToolBody>;
|
|
216
|
+
};
|
|
217
|
+
type BusinessAgentLeadFormSelectionBody = {
|
|
218
|
+
lead_form_id: string;
|
|
219
|
+
lead_form_revision_id: string;
|
|
220
|
+
};
|
|
221
|
+
type BusinessAgentListItemBody = {
|
|
222
|
+
id: string;
|
|
223
|
+
name: string;
|
|
224
|
+
status: string;
|
|
225
|
+
description: string | null;
|
|
226
|
+
privacy_policy_url?: string | null;
|
|
227
|
+
instructions: string;
|
|
228
|
+
conversation_starters: Array<string>;
|
|
229
|
+
tools: Array<string>;
|
|
230
|
+
product_feed_ids: Array<string>;
|
|
231
|
+
lead_form_id?: string;
|
|
232
|
+
lead_form?: BusinessAgentLeadFormSelectionBody;
|
|
233
|
+
created_at: number | null;
|
|
234
|
+
updated_at: number | null;
|
|
235
|
+
published_at: number | null;
|
|
236
|
+
disabled_at: number | null;
|
|
237
|
+
has_pending_changes: boolean;
|
|
238
|
+
};
|
|
239
|
+
type ListBusinessAgentsResource = {
|
|
240
|
+
object: string;
|
|
241
|
+
data: Array<BusinessAgentListItemBody>;
|
|
242
|
+
};
|
|
243
|
+
type BusinessAgentLeadFormSelectionBodyParam = {
|
|
244
|
+
lead_form_id: string;
|
|
245
|
+
lead_form_revision_id: string;
|
|
246
|
+
};
|
|
247
|
+
type CreateBusinessAgentBody = {
|
|
248
|
+
description?: string;
|
|
249
|
+
privacy_policy_url?: string | null;
|
|
250
|
+
instructions: string;
|
|
251
|
+
conversation_starters?: Array<string>;
|
|
252
|
+
product_feed_ids?: Array<string>;
|
|
253
|
+
connector_ids?: Array<string>;
|
|
254
|
+
tools?: Array<string>;
|
|
255
|
+
lead_form?: BusinessAgentLeadFormSelectionBodyParam | null;
|
|
256
|
+
name: string;
|
|
257
|
+
};
|
|
258
|
+
type PublicLeadFormOptionBody = {
|
|
259
|
+
id: string;
|
|
260
|
+
label: string;
|
|
261
|
+
};
|
|
262
|
+
type PublicLeadFormFieldBody = {
|
|
263
|
+
field_id: string;
|
|
264
|
+
field_type: string;
|
|
265
|
+
label: string;
|
|
266
|
+
required: boolean;
|
|
267
|
+
options?: Array<PublicLeadFormOptionBody>;
|
|
268
|
+
};
|
|
269
|
+
type LeadFormListItemBody = {
|
|
270
|
+
id: string;
|
|
271
|
+
name: string;
|
|
272
|
+
status: string;
|
|
273
|
+
privacy_policy_url: string | null;
|
|
274
|
+
fields: Array<PublicLeadFormFieldBody>;
|
|
275
|
+
draft_revision_id: string;
|
|
276
|
+
published_revision_id: string | null;
|
|
277
|
+
has_unpublished_changes: boolean;
|
|
278
|
+
created_at: number;
|
|
279
|
+
updated_at: number;
|
|
280
|
+
published_at: number | null;
|
|
281
|
+
archived_at: number | null;
|
|
282
|
+
};
|
|
283
|
+
type ListLeadFormsResource = {
|
|
284
|
+
object: string;
|
|
285
|
+
data: Array<LeadFormListItemBody>;
|
|
286
|
+
};
|
|
287
|
+
type PublicLeadFormFieldTypeParam = 'text' | 'choice';
|
|
288
|
+
type CreateLeadFormOptionBodyParam = {
|
|
289
|
+
id: string;
|
|
290
|
+
label: string;
|
|
291
|
+
};
|
|
292
|
+
type CreateLeadFormFieldBodyParam = {
|
|
293
|
+
field_id?: string;
|
|
294
|
+
field_type: PublicLeadFormFieldTypeParam;
|
|
295
|
+
label: string;
|
|
296
|
+
required: boolean;
|
|
297
|
+
options?: Array<CreateLeadFormOptionBodyParam>;
|
|
298
|
+
};
|
|
299
|
+
type CreateLeadFormBody = {
|
|
300
|
+
name: string;
|
|
301
|
+
privacy_policy_url?: string;
|
|
302
|
+
fields: Array<CreateLeadFormFieldBodyParam>;
|
|
303
|
+
};
|
|
304
|
+
type UpdateLeadFormBody = {
|
|
305
|
+
name: string;
|
|
306
|
+
privacy_policy_url?: string;
|
|
307
|
+
fields: Array<CreateLeadFormFieldBodyParam>;
|
|
308
|
+
expected_draft_revision_id: string;
|
|
309
|
+
};
|
|
310
|
+
type PublishLeadFormBody = {
|
|
311
|
+
expected_draft_revision_id: string;
|
|
312
|
+
};
|
|
313
|
+
type CreateTestLeadSubmissionBody = {
|
|
314
|
+
expected_published_revision_id: string;
|
|
315
|
+
};
|
|
316
|
+
type TestLeadSubmissionResource = {
|
|
317
|
+
object: string;
|
|
318
|
+
synthetic: boolean;
|
|
319
|
+
delivery_status: string;
|
|
320
|
+
webhook_delivery_id?: string | null;
|
|
321
|
+
subscription_id: string;
|
|
322
|
+
form_id: string;
|
|
323
|
+
form_revision_id: string;
|
|
324
|
+
event: unknown;
|
|
325
|
+
};
|
|
326
|
+
type UpdateBusinessAgentBody = {
|
|
327
|
+
description?: string;
|
|
328
|
+
privacy_policy_url?: string | null;
|
|
329
|
+
instructions: string;
|
|
330
|
+
conversation_starters?: Array<string>;
|
|
331
|
+
product_feed_ids?: Array<string>;
|
|
332
|
+
connector_ids?: Array<string>;
|
|
333
|
+
tools?: Array<string>;
|
|
334
|
+
lead_form?: BusinessAgentLeadFormSelectionBodyParam | null;
|
|
335
|
+
name: string;
|
|
336
|
+
};
|
|
337
|
+
type BusinessAgentPreviewMessageRoleParam = 'user' | 'assistant';
|
|
338
|
+
type PublicBusinessAgentPreviewMessageBodyParam = {
|
|
339
|
+
role: BusinessAgentPreviewMessageRoleParam;
|
|
340
|
+
content: string;
|
|
341
|
+
};
|
|
342
|
+
type PreviewBusinessAgentBody = {
|
|
343
|
+
messages: Array<PublicBusinessAgentPreviewMessageBodyParam>;
|
|
344
|
+
};
|
|
345
|
+
type BusinessAgentPreviewMessageBody = {
|
|
346
|
+
role: string;
|
|
347
|
+
content: string;
|
|
348
|
+
};
|
|
349
|
+
type BusinessAgentPreviewResource = {
|
|
350
|
+
message: BusinessAgentPreviewMessageBody;
|
|
351
|
+
};
|
|
352
|
+
type CreateApiKeyBody = {
|
|
353
|
+
key_name?: string;
|
|
354
|
+
};
|
|
355
|
+
type CreateApiKeyResource = {
|
|
356
|
+
api_organization_id: string;
|
|
357
|
+
service_account_id: string;
|
|
358
|
+
api_key: string;
|
|
359
|
+
};
|
|
360
|
+
type UpdateAdAccountBody = {
|
|
361
|
+
name?: string;
|
|
362
|
+
url?: string;
|
|
363
|
+
favicon_file_id?: string;
|
|
364
|
+
};
|
|
365
|
+
type ReviewStatus = 'in_review' | 'rejected' | 'approved';
|
|
366
|
+
type ReviewReasonCode = string | 'crawl_failed' | 'crawler_bot_blocked' | 'crawler_captcha' | 'crawler_login_required' | 'crawler_400' | 'crawler_401' | 'crawler_403' | 'crawler_404' | 'crawler_408' | 'crawler_410' | 'crawler_429' | 'crawler_500' | 'crawler_502' | 'crawler_503' | 'crawler_504' | 'robots_txt' | 'unsupported_content_type' | 'landing_page_image_processing_failed' | 'landing_page_unusable' | 'missing_favicon';
|
|
367
|
+
type ReviewBody = {
|
|
368
|
+
status: ReviewStatus;
|
|
369
|
+
reason?: ReviewReasonCode;
|
|
370
|
+
screenshot_url?: string;
|
|
371
|
+
};
|
|
372
|
+
type AccountIntegrityReviewDetailsBody = {
|
|
373
|
+
decision?: string;
|
|
374
|
+
reason?: string;
|
|
375
|
+
status_updated_at?: string;
|
|
376
|
+
};
|
|
377
|
+
type AccountIntegrityReviewBody = {
|
|
378
|
+
review: ReviewBody;
|
|
379
|
+
details?: AccountIntegrityReviewDetailsBody;
|
|
380
|
+
};
|
|
381
|
+
type AdAccountResource = {
|
|
382
|
+
id: string;
|
|
383
|
+
name: string;
|
|
384
|
+
url: string;
|
|
385
|
+
preview_url: string | null;
|
|
386
|
+
status?: string;
|
|
387
|
+
timezone: string;
|
|
388
|
+
currency_code: string;
|
|
389
|
+
negative_keywords?: Array<string>;
|
|
390
|
+
review: ReviewBody;
|
|
391
|
+
account_integrity_review?: AccountIntegrityReviewBody;
|
|
392
|
+
};
|
|
393
|
+
type UpdateAdAccountNegativeKeywordsBody = {
|
|
394
|
+
negative_keywords: Array<string>;
|
|
395
|
+
};
|
|
396
|
+
type AdAccountsResource = {
|
|
397
|
+
object: string;
|
|
398
|
+
data: Array<AdAccountResource>;
|
|
399
|
+
first_id?: string | null;
|
|
400
|
+
last_id?: string | null;
|
|
401
|
+
has_more?: boolean;
|
|
402
|
+
};
|
|
403
|
+
type CreateAdAccountCreationSessionBody = {
|
|
404
|
+
return_uri: string;
|
|
405
|
+
state: string;
|
|
406
|
+
};
|
|
407
|
+
type AdAccountCreationSessionResource = {
|
|
408
|
+
url: string;
|
|
409
|
+
expires_in: number;
|
|
410
|
+
};
|
|
411
|
+
type AdsOAuthMeResource = {
|
|
412
|
+
id: string;
|
|
413
|
+
display_name?: string | null;
|
|
414
|
+
};
|
|
415
|
+
type AdAccountSpendLimitWindowBody = {
|
|
416
|
+
window_id: string;
|
|
417
|
+
start_date: string;
|
|
418
|
+
end_date: string;
|
|
419
|
+
amount_micros: number;
|
|
420
|
+
name: string | null;
|
|
421
|
+
io_id: string | null;
|
|
422
|
+
status: string;
|
|
423
|
+
can_edit: boolean;
|
|
424
|
+
can_edit_start_date: boolean;
|
|
425
|
+
can_delete: boolean;
|
|
426
|
+
spent_micros?: number;
|
|
427
|
+
};
|
|
428
|
+
type AdAccountSpendLimitWindowsListResource = {
|
|
429
|
+
object: string;
|
|
430
|
+
data: Array<AdAccountSpendLimitWindowBody>;
|
|
431
|
+
};
|
|
432
|
+
type CreateAdAccountSpendLimitWindowBody = {
|
|
433
|
+
start_date: string;
|
|
434
|
+
end_date: string;
|
|
435
|
+
amount_micros: number;
|
|
436
|
+
name?: string;
|
|
437
|
+
io_id?: string;
|
|
438
|
+
};
|
|
439
|
+
type UpdateAdAccountSpendLimitWindowBody = {
|
|
440
|
+
start_date?: string;
|
|
441
|
+
end_date?: string;
|
|
442
|
+
amount_micros?: number;
|
|
443
|
+
name?: string | null;
|
|
444
|
+
io_id?: string | null;
|
|
445
|
+
};
|
|
446
|
+
type DeleteAdAccountSpendLimitWindowResource = {
|
|
447
|
+
window_id: string;
|
|
448
|
+
object: string;
|
|
449
|
+
deleted: boolean;
|
|
450
|
+
};
|
|
451
|
+
type InsightItemBody = {
|
|
452
|
+
id: string;
|
|
453
|
+
start_time: number;
|
|
454
|
+
end_time: number;
|
|
455
|
+
readable_time?: string;
|
|
456
|
+
timezone?: string;
|
|
457
|
+
impressions?: number;
|
|
458
|
+
clicks?: number;
|
|
459
|
+
spend?: number;
|
|
460
|
+
/**
|
|
461
|
+
* @deprecated
|
|
462
|
+
*/
|
|
463
|
+
attributed_sales_amount?: number | null;
|
|
464
|
+
/**
|
|
465
|
+
* Deprecated. Number of attributed `order_created` and `subscription_created` events, including events without a reportable value. This field has no replacement. Scheduled for removal on August 17, 2026.
|
|
466
|
+
*
|
|
467
|
+
* @deprecated
|
|
468
|
+
*/
|
|
469
|
+
attributed_sales_count?: number;
|
|
470
|
+
/**
|
|
471
|
+
* Deprecated. ISO 4217 currency code for `attributed_sales_amount`. This is the ad account currency and is returned even when `attributed_sales_amount` is null. Use `order_created_attributed_sales_currency` instead. Scheduled for removal on August 17, 2026.
|
|
472
|
+
*
|
|
473
|
+
* @deprecated
|
|
474
|
+
*/
|
|
475
|
+
attributed_sales_currency?: string;
|
|
476
|
+
/**
|
|
477
|
+
* @deprecated
|
|
478
|
+
*/
|
|
479
|
+
roas?: number | null;
|
|
480
|
+
order_created_attributed_sales?: number | null;
|
|
481
|
+
/**
|
|
482
|
+
* ISO 4217 currency code for `order_created_attributed_sales`. This is the ad account currency and is returned even when `order_created_attributed_sales` is null.
|
|
483
|
+
*/
|
|
484
|
+
order_created_attributed_sales_currency?: string;
|
|
485
|
+
order_created_roas?: number | null;
|
|
486
|
+
cpa?: number | null;
|
|
487
|
+
post_click_cvr?: number | null;
|
|
488
|
+
ctr?: number;
|
|
489
|
+
cpc?: number;
|
|
490
|
+
cpm?: number;
|
|
491
|
+
ad_account_impressions?: number;
|
|
492
|
+
ad_account_clicks?: number;
|
|
493
|
+
ad_account_spend?: number;
|
|
494
|
+
ad_account_ctr?: number;
|
|
495
|
+
ad_account_cpc?: number;
|
|
496
|
+
ad_account_cpm?: number;
|
|
497
|
+
campaign_impressions?: number;
|
|
498
|
+
campaign_clicks?: number;
|
|
499
|
+
campaign_spend?: number;
|
|
500
|
+
campaign_ctr?: number;
|
|
501
|
+
campaign_cpc?: number;
|
|
502
|
+
campaign_cpm?: number;
|
|
503
|
+
ad_group_impressions?: number;
|
|
504
|
+
ad_group_clicks?: number;
|
|
505
|
+
ad_group_spend?: number;
|
|
506
|
+
ad_group_ctr?: number;
|
|
507
|
+
ad_group_cpc?: number;
|
|
508
|
+
ad_group_cpm?: number;
|
|
509
|
+
ad_impressions?: number;
|
|
510
|
+
ad_clicks?: number;
|
|
511
|
+
ad_spend?: number;
|
|
512
|
+
ad_ctr?: number;
|
|
513
|
+
ad_cpc?: number;
|
|
514
|
+
ad_cpm?: number;
|
|
515
|
+
product_impressions?: number;
|
|
516
|
+
product_clicks?: number;
|
|
517
|
+
/**
|
|
518
|
+
* Number of carousel product-card impression actions observed for this product. This is not a billable ad impression. Returned only when explicitly requested and available for the requested range.
|
|
519
|
+
*/
|
|
520
|
+
carousel_product_card_impressions?: number;
|
|
521
|
+
/**
|
|
522
|
+
* Number of carousel product-card click actions observed for this product. This is distinct from the ad click metric. Returned only when explicitly requested and available for the requested range.
|
|
523
|
+
*/
|
|
524
|
+
carousel_product_card_clicks?: number;
|
|
525
|
+
product_spend?: number;
|
|
526
|
+
product_ctr?: number;
|
|
527
|
+
product_cpc?: number;
|
|
528
|
+
product_cpm?: number;
|
|
529
|
+
country_impressions?: number;
|
|
530
|
+
country_clicks?: number;
|
|
531
|
+
country_spend?: number;
|
|
532
|
+
country_ctr?: number;
|
|
533
|
+
country_cpc?: number;
|
|
534
|
+
country_cpm?: number;
|
|
535
|
+
device_impressions?: number;
|
|
536
|
+
device_clicks?: number;
|
|
537
|
+
device_spend?: number;
|
|
538
|
+
device_ctr?: number;
|
|
539
|
+
device_cpc?: number;
|
|
540
|
+
device_cpm?: number;
|
|
541
|
+
platform_impressions?: number;
|
|
542
|
+
platform_clicks?: number;
|
|
543
|
+
platform_spend?: number;
|
|
544
|
+
platform_ctr?: number;
|
|
545
|
+
platform_cpc?: number;
|
|
546
|
+
platform_cpm?: number;
|
|
547
|
+
conversions?: number;
|
|
548
|
+
data_status?: string;
|
|
549
|
+
ad_account_id?: string | null;
|
|
550
|
+
ad_account_name?: string | null;
|
|
551
|
+
ad_account_url?: string | null;
|
|
552
|
+
ad_account_budget_lifetime?: number | null;
|
|
553
|
+
ad_account_budget_daily?: number | null;
|
|
554
|
+
campaign_id?: string | null;
|
|
555
|
+
ad_group_id?: string | null;
|
|
556
|
+
ad_id?: string | null;
|
|
557
|
+
campaign_name?: string | null;
|
|
558
|
+
campaign_description?: string | null;
|
|
559
|
+
campaign_status?: string | null;
|
|
560
|
+
campaign_start_time?: string | null;
|
|
561
|
+
campaign_end_time?: string | null;
|
|
562
|
+
campaign_budget_lifetime?: number | null;
|
|
563
|
+
campaign_budget_daily?: number | null;
|
|
564
|
+
ad_group_name?: string | null;
|
|
565
|
+
ad_group_description?: string | null;
|
|
566
|
+
ad_group_status?: string | null;
|
|
567
|
+
ad_title?: string | null;
|
|
568
|
+
ad_name?: string | null;
|
|
569
|
+
ad_copy?: string | null;
|
|
570
|
+
ad_link?: string | null;
|
|
571
|
+
ad_status?: string | null;
|
|
572
|
+
ad_review_status?: string | null;
|
|
573
|
+
product_feed_id?: string;
|
|
574
|
+
item_id?: string;
|
|
575
|
+
product_title?: string;
|
|
576
|
+
product_description?: string;
|
|
577
|
+
product_body?: string;
|
|
578
|
+
product_target_url?: string;
|
|
579
|
+
product_image_url?: string;
|
|
580
|
+
product_brand?: string;
|
|
581
|
+
product_seller_name?: string;
|
|
582
|
+
product_price?: string;
|
|
583
|
+
product_availability?: string;
|
|
584
|
+
device_type?: string | null;
|
|
585
|
+
country_name?: string | null;
|
|
586
|
+
platform?: string | null;
|
|
587
|
+
};
|
|
588
|
+
type InsightsResource = {
|
|
589
|
+
object: string;
|
|
590
|
+
data: Array<InsightItemBody>;
|
|
591
|
+
count: number;
|
|
592
|
+
first_id: string | null;
|
|
593
|
+
last_id: string | null;
|
|
594
|
+
has_more: boolean;
|
|
595
|
+
};
|
|
596
|
+
type GeoLookupEntry = {
|
|
597
|
+
id: string;
|
|
598
|
+
name: string;
|
|
599
|
+
canonical_name: string;
|
|
600
|
+
region_code: string | null;
|
|
601
|
+
type: string;
|
|
602
|
+
country_code: string;
|
|
603
|
+
parent_id: string | null;
|
|
604
|
+
parent_country: string | null;
|
|
605
|
+
};
|
|
606
|
+
type GeoLookupSearchResource = {
|
|
607
|
+
query: string;
|
|
608
|
+
count: number;
|
|
609
|
+
results: Array<GeoLookupEntry>;
|
|
610
|
+
};
|
|
611
|
+
type LeadSyncSubscriptionListItemBody = {
|
|
612
|
+
subscription_id: string;
|
|
613
|
+
object: string;
|
|
614
|
+
status: string;
|
|
615
|
+
};
|
|
616
|
+
type LeadSyncSubscriptionsResource = {
|
|
617
|
+
object: string;
|
|
618
|
+
data: Array<LeadSyncSubscriptionListItemBody>;
|
|
619
|
+
first_id: string | null;
|
|
620
|
+
last_id: string | null;
|
|
621
|
+
has_more: boolean;
|
|
622
|
+
};
|
|
623
|
+
type CreateLeadSyncSubscriptionBody = {
|
|
624
|
+
ad_account_id: string;
|
|
625
|
+
destination_url: string;
|
|
626
|
+
signing_secret?: string;
|
|
627
|
+
};
|
|
628
|
+
type CreatedLeadSyncSubscriptionResource = {
|
|
629
|
+
subscription_id: string;
|
|
630
|
+
object: string;
|
|
631
|
+
status: string;
|
|
632
|
+
signing_secret: string;
|
|
633
|
+
};
|
|
634
|
+
type LeadSyncSubscriptionResource = {
|
|
635
|
+
subscription_id: string;
|
|
636
|
+
object: string;
|
|
637
|
+
status: string;
|
|
638
|
+
};
|
|
639
|
+
type DeletedLeadSyncSubscriptionResource = {
|
|
640
|
+
subscription_id: string;
|
|
641
|
+
object: string;
|
|
642
|
+
status: string;
|
|
643
|
+
deleted: boolean;
|
|
644
|
+
};
|
|
645
|
+
type CreateConversionApiKeyBody = {
|
|
646
|
+
name: string;
|
|
647
|
+
};
|
|
648
|
+
type ConversionApiKeyResource = {
|
|
649
|
+
name: string;
|
|
650
|
+
api_key: string;
|
|
651
|
+
};
|
|
652
|
+
type ConversionEventSettingSourceBody = {
|
|
653
|
+
id: string;
|
|
654
|
+
name: string | null;
|
|
655
|
+
};
|
|
656
|
+
type ConversionEventSettingCampaignBody = {
|
|
657
|
+
id: string;
|
|
658
|
+
name: string;
|
|
659
|
+
};
|
|
660
|
+
type ConversionEventSettingItemResource = {
|
|
661
|
+
id: string;
|
|
662
|
+
name: string;
|
|
663
|
+
event_type: string;
|
|
664
|
+
custom_event_name: string | null;
|
|
665
|
+
attribution_window_days: number;
|
|
666
|
+
ad_account_id: string;
|
|
667
|
+
source_ids: Array<string>;
|
|
668
|
+
sources: Array<ConversionEventSettingSourceBody>;
|
|
669
|
+
campaigns: Array<ConversionEventSettingCampaignBody>;
|
|
670
|
+
archived: boolean;
|
|
671
|
+
version: number;
|
|
672
|
+
};
|
|
673
|
+
type ListConversionEventSettingsResource = {
|
|
674
|
+
object: string;
|
|
675
|
+
data: Array<ConversionEventSettingItemResource>;
|
|
676
|
+
first_id: string | null;
|
|
677
|
+
last_id: string | null;
|
|
678
|
+
has_more: boolean;
|
|
679
|
+
};
|
|
680
|
+
type CreateConversionEventSettingBody = {
|
|
681
|
+
name: string;
|
|
682
|
+
event_type: string;
|
|
683
|
+
custom_event_name?: string;
|
|
684
|
+
attribution_window_days: number;
|
|
685
|
+
source_ids: Array<string>;
|
|
686
|
+
};
|
|
687
|
+
type ClientDataSourceItemResource = {
|
|
688
|
+
id: string;
|
|
689
|
+
name: string;
|
|
690
|
+
client_type: string;
|
|
691
|
+
pixel_id: string;
|
|
692
|
+
};
|
|
693
|
+
type ListClientDataSourceItemsResource = {
|
|
694
|
+
object: string;
|
|
695
|
+
data: Array<ClientDataSourceItemResource>;
|
|
696
|
+
first_id: string | null;
|
|
697
|
+
last_id: string | null;
|
|
698
|
+
has_more: boolean;
|
|
699
|
+
};
|
|
700
|
+
type ClientDataSourceTypeParam = 'web';
|
|
701
|
+
type CreateConversionSourceBody = {
|
|
702
|
+
name: string;
|
|
703
|
+
client_type: ClientDataSourceTypeParam;
|
|
704
|
+
};
|
|
705
|
+
type ConversionEventBody = {
|
|
706
|
+
data_source_id: string;
|
|
707
|
+
event_type: string;
|
|
708
|
+
custom_event_name: string | null;
|
|
709
|
+
action_source: string | null;
|
|
710
|
+
/**
|
|
711
|
+
* Advertiser event time as Unix epoch milliseconds.
|
|
712
|
+
*/
|
|
713
|
+
event_timestamp_ms: number;
|
|
714
|
+
/**
|
|
715
|
+
* Wadi receive time as Unix epoch milliseconds.
|
|
716
|
+
*/
|
|
717
|
+
received_at_ms: number;
|
|
718
|
+
api_channel: string;
|
|
719
|
+
event_data_json: string;
|
|
720
|
+
};
|
|
721
|
+
type ConversionEventsResource = {
|
|
722
|
+
object: string;
|
|
723
|
+
data: Array<ConversionEventBody>;
|
|
724
|
+
};
|
|
725
|
+
type ConversionTimeGranularityParam = 'none' | 'daily';
|
|
726
|
+
type ConversionBreakdownParam = 'device' | 'country';
|
|
727
|
+
type PostConversionInsightsBody = {
|
|
728
|
+
aggregation_level: string;
|
|
729
|
+
time_granularity?: ConversionTimeGranularityParam;
|
|
730
|
+
breakdown?: ConversionBreakdownParam;
|
|
731
|
+
time_ranges: Array<string>;
|
|
732
|
+
entity_ids?: Array<string>;
|
|
733
|
+
group_by_entity?: boolean;
|
|
734
|
+
include_zero_rows?: boolean;
|
|
735
|
+
};
|
|
736
|
+
type ConversionSummaryRowBody = {
|
|
737
|
+
entity_id: string;
|
|
738
|
+
date?: string;
|
|
739
|
+
device?: string;
|
|
740
|
+
country?: string;
|
|
741
|
+
conversions: number;
|
|
742
|
+
click_through_conversions?: number;
|
|
743
|
+
view_through_conversions?: number;
|
|
744
|
+
};
|
|
745
|
+
type ConversionSummaryRowsResource = {
|
|
746
|
+
object: string;
|
|
747
|
+
data: Array<ConversionSummaryRowBody>;
|
|
748
|
+
count: number;
|
|
749
|
+
};
|
|
750
|
+
type AdGroupsListIncludeParam = 'serving_issues';
|
|
751
|
+
type ProductSetFilterBody = {
|
|
752
|
+
field: string;
|
|
753
|
+
operator: string;
|
|
754
|
+
values: Array<string>;
|
|
755
|
+
};
|
|
756
|
+
type ProductSetBody = {
|
|
757
|
+
product_feed_id: string;
|
|
758
|
+
filters: Array<ProductSetFilterBody>;
|
|
759
|
+
};
|
|
760
|
+
type BiddingStrategyTypeBody = 'fixed_bid' | 'automated_bid' | 'maximize_clicks' | 'maximize_conversions';
|
|
761
|
+
type CustomAudienceBidMultiplierBody = {
|
|
762
|
+
custom_audience_id: string;
|
|
763
|
+
bid_multiplier_micros: number;
|
|
764
|
+
};
|
|
765
|
+
type BiddingConfigBody = {
|
|
766
|
+
billing_event_type: string;
|
|
767
|
+
strategy?: BiddingStrategyTypeBody;
|
|
768
|
+
max_bid_micros?: number;
|
|
769
|
+
custom_audience_bid_multipliers?: Array<CustomAudienceBidMultiplierBody>;
|
|
770
|
+
};
|
|
771
|
+
type AdGroupServingIssueCode = 'ad_account_suspended' | 'ad_account_brand_review_missing_favicon' | 'ad_account_brand_review_escalated_review' | 'ad_account_brand_review_rejected' | 'ad_account_brand_review_in_progress' | 'ad_account_payment_method_missing_or_unauthorized' | 'ad_account_threshold_payment_failed' | 'ad_account_persona_verification_not_approved' | 'ad_account_persona_verification_step_up_required' | 'campaign_not_active' | 'campaign_not_started' | 'campaign_ended' | 'ad_group_not_active' | 'ad_group_has_no_ads' | 'ad_group_has_no_serving_ready_ads' | 'campaign_budget_exhausted' | 'ad_account_budget_exhausted' | 'review_not_approved' | 'landing_page_crawl_issue' | 'ad_in_review' | 'partial_serving_review_not_approved' | 'partial_serving_landing_page_crawl_issue' | 'partial_serving_ad_in_review';
|
|
772
|
+
type AdGroupServingIssueBody = {
|
|
773
|
+
code: AdGroupServingIssueCode;
|
|
774
|
+
};
|
|
775
|
+
type AdGroupItemBody = {
|
|
776
|
+
id: string;
|
|
777
|
+
created_at: number;
|
|
778
|
+
updated_at: number;
|
|
779
|
+
name: string;
|
|
780
|
+
description: string | null;
|
|
781
|
+
context_hints: Array<string>;
|
|
782
|
+
product_set?: ProductSetBody | null;
|
|
783
|
+
status: string;
|
|
784
|
+
bidding_config: BiddingConfigBody;
|
|
785
|
+
landing_page_configuration?: LandingPageConfigurationBody | null;
|
|
786
|
+
serving_issues?: Array<AdGroupServingIssueBody>;
|
|
787
|
+
};
|
|
788
|
+
type AdGroupsResource = {
|
|
789
|
+
object: string;
|
|
790
|
+
data: Array<AdGroupItemBody>;
|
|
791
|
+
first_id: string | null;
|
|
792
|
+
last_id: string | null;
|
|
793
|
+
has_more: boolean;
|
|
794
|
+
};
|
|
795
|
+
type BillingEventTypeParam = 'impression' | 'click';
|
|
796
|
+
type BiddingStrategyTypeParam = 'fixed_bid' | 'maximize_clicks' | 'maximize_conversions';
|
|
797
|
+
type CustomAudienceBidMultiplierParams = {
|
|
798
|
+
custom_audience_id: string;
|
|
799
|
+
bid_multiplier_micros: number;
|
|
800
|
+
};
|
|
801
|
+
type BiddingConfigParams = {
|
|
802
|
+
billing_event_type: BillingEventTypeParam;
|
|
803
|
+
strategy?: BiddingStrategyTypeParam;
|
|
804
|
+
max_bid_micros?: number;
|
|
805
|
+
custom_audience_bid_multipliers?: Array<CustomAudienceBidMultiplierParams>;
|
|
806
|
+
};
|
|
807
|
+
type ProductSetFilterOperatorParam = 'in' | 'not_in' | 'gt' | 'gte' | 'lt' | 'lte' | 'contains' | 'not_contains' | 'starts_with';
|
|
808
|
+
type ProductSetFilterParams = {
|
|
809
|
+
field: string;
|
|
810
|
+
operator: ProductSetFilterOperatorParam;
|
|
811
|
+
values: Array<string>;
|
|
812
|
+
};
|
|
813
|
+
type ProductSetParams = {
|
|
814
|
+
product_feed_id: string;
|
|
815
|
+
filters?: Array<ProductSetFilterParams>;
|
|
816
|
+
};
|
|
817
|
+
type CreateAdGroupBody = {
|
|
818
|
+
campaign_id: string;
|
|
819
|
+
name: string;
|
|
820
|
+
description?: string;
|
|
821
|
+
context_hints?: Array<string>;
|
|
822
|
+
status: ActivePausedStatusParam;
|
|
823
|
+
bidding_config: BiddingConfigParams;
|
|
824
|
+
product_set?: ProductSetParams | null;
|
|
825
|
+
landing_page_configuration?: LandingPageConfigurationParams;
|
|
826
|
+
};
|
|
827
|
+
type AdGroupItemIncludeParam = 'serving_issues';
|
|
828
|
+
type UpdateAdGroupBody = {
|
|
829
|
+
name?: string;
|
|
830
|
+
description?: string | null;
|
|
831
|
+
context_hints?: Array<string>;
|
|
832
|
+
status?: ActivePausedArchivedStatusParam;
|
|
833
|
+
bidding_config?: BiddingConfigParams;
|
|
834
|
+
product_set?: ProductSetParams | null;
|
|
835
|
+
landing_page_configuration?: LandingPageConfigurationParams | null;
|
|
836
|
+
};
|
|
837
|
+
type AdsListIncludeParam = 'serving_issues';
|
|
838
|
+
type AdSpecType = 'chat_card' | 'product_ad_template';
|
|
839
|
+
type AdImageCropBody = {
|
|
840
|
+
/**
|
|
841
|
+
* Horizontal offset as a fraction of the EXIF-oriented source image (0-1).
|
|
842
|
+
*/
|
|
843
|
+
x: number;
|
|
844
|
+
/**
|
|
845
|
+
* Vertical offset as a fraction of the EXIF-oriented source image (0-1).
|
|
846
|
+
*/
|
|
847
|
+
y: number;
|
|
848
|
+
/**
|
|
849
|
+
* Crop width as a fraction of the EXIF-oriented source image (0-1).
|
|
850
|
+
*/
|
|
851
|
+
width: number;
|
|
852
|
+
/**
|
|
853
|
+
* Crop height as a fraction of the EXIF-oriented source image (0-1).
|
|
854
|
+
*/
|
|
855
|
+
height: number;
|
|
856
|
+
};
|
|
857
|
+
type ConversationalBottomOtmSpecBody = {
|
|
858
|
+
type: AdSpecType;
|
|
859
|
+
title: string;
|
|
860
|
+
body: string;
|
|
861
|
+
price?: string;
|
|
862
|
+
file_id?: string;
|
|
863
|
+
image_url?: string | null;
|
|
864
|
+
/**
|
|
865
|
+
* Normalized square crop for a chat_card creative, when present.
|
|
866
|
+
*/
|
|
867
|
+
image_crop?: AdImageCropBody;
|
|
868
|
+
target_url: string | null;
|
|
869
|
+
};
|
|
870
|
+
type AppealStatus = 'requested' | 'approved' | 'rejected' | 'superseded' | 'failed';
|
|
871
|
+
type AdAppealBody = {
|
|
872
|
+
status: AppealStatus;
|
|
873
|
+
requested_at: number;
|
|
874
|
+
resolved_at: number | null;
|
|
875
|
+
};
|
|
876
|
+
type AdServingIssueCode = 'ad_account_suspended' | 'ad_account_brand_review_missing_favicon' | 'ad_account_brand_review_escalated_review' | 'ad_account_brand_review_rejected' | 'ad_account_brand_review_in_progress' | 'ad_account_payment_method_missing_or_unauthorized' | 'ad_account_threshold_payment_failed' | 'ad_account_persona_verification_not_approved' | 'ad_account_persona_verification_step_up_required' | 'campaign_not_active' | 'campaign_not_started' | 'campaign_ended' | 'ad_group_not_active' | 'campaign_budget_exhausted' | 'ad_account_budget_exhausted' | 'ad_not_active' | 'review_not_approved' | 'landing_page_crawl_issue' | 'ad_in_review' | 'ad_over_18_only' | 'policy_country_targeting_blocked' | 'policy_country_targeting_limited' | 'title_missing' | 'advertiser_name_missing' | 'image_or_favicon_missing' | 'target_url_invalid' | 'reserved_query_params_present' | 'product_feed_id_missing';
|
|
877
|
+
type AdServingIssueBody = {
|
|
878
|
+
code: AdServingIssueCode;
|
|
879
|
+
};
|
|
880
|
+
type AdItemBody = {
|
|
881
|
+
id: string;
|
|
882
|
+
name: string;
|
|
883
|
+
created_at: number;
|
|
884
|
+
updated_at: number;
|
|
885
|
+
creative: ConversationalBottomOtmSpecBody;
|
|
886
|
+
status: string;
|
|
887
|
+
review_status: ReviewStatus;
|
|
888
|
+
landing_page_configuration?: LandingPageConfigurationBody | null;
|
|
889
|
+
appeal?: AdAppealBody | null;
|
|
890
|
+
review: ReviewBody;
|
|
891
|
+
serving_issues?: Array<AdServingIssueBody>;
|
|
892
|
+
};
|
|
893
|
+
type AdsResource = {
|
|
894
|
+
object: string;
|
|
895
|
+
data: Array<AdItemBody>;
|
|
896
|
+
first_id: string | null;
|
|
897
|
+
last_id: string | null;
|
|
898
|
+
has_more: boolean;
|
|
899
|
+
};
|
|
900
|
+
type AdCreativeTypeParam = 'chat_card' | 'product_ad_template';
|
|
901
|
+
/**
|
|
902
|
+
* Optional normalized square crop for chat_card creatives. Requires file_id and is not supported for product_ad_template creatives.
|
|
903
|
+
*/
|
|
904
|
+
type AdImageCropParams = {
|
|
905
|
+
/**
|
|
906
|
+
* Horizontal offset as a fraction of the EXIF-oriented source image (0-1).
|
|
907
|
+
*/
|
|
908
|
+
x: number;
|
|
909
|
+
/**
|
|
910
|
+
* Vertical offset as a fraction of the EXIF-oriented source image (0-1).
|
|
911
|
+
*/
|
|
912
|
+
y: number;
|
|
913
|
+
/**
|
|
914
|
+
* Crop width as a fraction of the EXIF-oriented source image (0-1).
|
|
915
|
+
*/
|
|
916
|
+
width: number;
|
|
917
|
+
/**
|
|
918
|
+
* Crop height as a fraction of the EXIF-oriented source image (0-1).
|
|
919
|
+
*/
|
|
920
|
+
height: number;
|
|
921
|
+
};
|
|
922
|
+
type CreateAdCreativeParams = {
|
|
923
|
+
type: AdCreativeTypeParam;
|
|
924
|
+
title: string;
|
|
925
|
+
body: string;
|
|
926
|
+
price?: string;
|
|
927
|
+
target_url?: string;
|
|
928
|
+
file_id?: string;
|
|
929
|
+
/**
|
|
930
|
+
* Optional normalized square crop for chat_card creatives. Requires file_id and is not supported for product_ad_template creatives.
|
|
931
|
+
*/
|
|
932
|
+
image_crop?: AdImageCropParams;
|
|
933
|
+
};
|
|
934
|
+
type CreateAdBody = {
|
|
935
|
+
ad_group_id: string;
|
|
936
|
+
name: string;
|
|
937
|
+
creative: CreateAdCreativeParams;
|
|
938
|
+
status: ActivePausedStatusParam;
|
|
939
|
+
landing_page_configuration?: LandingPageConfigurationParams;
|
|
940
|
+
};
|
|
941
|
+
type AdItemIncludeParam = 'serving_issues';
|
|
942
|
+
type UpdateAdCreativeParams = {
|
|
943
|
+
type: AdCreativeTypeParam;
|
|
944
|
+
title: string;
|
|
945
|
+
body: string;
|
|
946
|
+
price?: string;
|
|
947
|
+
target_url?: string;
|
|
948
|
+
file_id?: string;
|
|
949
|
+
/**
|
|
950
|
+
* Optional normalized square crop for chat_card creatives. Requires file_id and is not supported for product_ad_template creatives.
|
|
951
|
+
*/
|
|
952
|
+
image_crop?: AdImageCropParams;
|
|
953
|
+
};
|
|
954
|
+
type UpdateAdBody = {
|
|
955
|
+
name?: string;
|
|
956
|
+
creative?: UpdateAdCreativeParams;
|
|
957
|
+
status?: ActivePausedArchivedStatusParam;
|
|
958
|
+
landing_page_configuration?: LandingPageConfigurationParams | null;
|
|
959
|
+
};
|
|
960
|
+
type AdPreviewItemBody = {
|
|
961
|
+
body: string;
|
|
962
|
+
};
|
|
963
|
+
type AdPreviewResource = {
|
|
964
|
+
data: Array<AdPreviewItemBody>;
|
|
965
|
+
};
|
|
966
|
+
type UploadBlobPurposeParam = 'custom_audience';
|
|
967
|
+
type UploadBlobBody = {
|
|
968
|
+
file: Blob | File;
|
|
969
|
+
/**
|
|
970
|
+
* The upload's intended use. This field is required unless the authenticated ad account is enrolled in the custom-audience compatibility rollout. For enrolled accounts, an omitted value defaults to `custom_audience`.
|
|
971
|
+
*/
|
|
972
|
+
purpose?: UploadBlobPurposeParam;
|
|
973
|
+
};
|
|
974
|
+
type UploadBlobResource = {
|
|
975
|
+
file_id: string;
|
|
976
|
+
};
|
|
977
|
+
type UploadImagePurposeParam = 'account_favicon';
|
|
978
|
+
type UploadImageBody = {
|
|
979
|
+
image_url?: string;
|
|
980
|
+
file?: Blob | File;
|
|
981
|
+
purpose?: UploadImagePurposeParam;
|
|
982
|
+
};
|
|
983
|
+
type UploadImageResource = {
|
|
984
|
+
file_id: string;
|
|
985
|
+
};
|
|
986
|
+
type ArchivedProductFeedResource = {
|
|
987
|
+
feed_id: string;
|
|
988
|
+
archived_at: string;
|
|
989
|
+
};
|
|
990
|
+
type ProductFeedsListIncludeParam = 'product_count';
|
|
991
|
+
type ListProductFeedBody = {
|
|
992
|
+
name: string;
|
|
993
|
+
feed_id: string;
|
|
994
|
+
countries: Array<string>;
|
|
995
|
+
currencies: Array<string>;
|
|
996
|
+
created_at: string;
|
|
997
|
+
updated_at: string;
|
|
998
|
+
product_count?: number;
|
|
999
|
+
campaign_count?: number;
|
|
1000
|
+
hosted_url_configured?: boolean;
|
|
1001
|
+
sftp_configured?: boolean;
|
|
1002
|
+
};
|
|
1003
|
+
type ListProductFeedsResource = {
|
|
1004
|
+
object: string;
|
|
1005
|
+
data: Array<ListProductFeedBody>;
|
|
1006
|
+
first_id: string | null;
|
|
1007
|
+
last_id: string | null;
|
|
1008
|
+
has_more: boolean;
|
|
1009
|
+
};
|
|
1010
|
+
type CreateProductFeedBody = {
|
|
1011
|
+
name: string;
|
|
1012
|
+
countries?: Array<string>;
|
|
1013
|
+
};
|
|
1014
|
+
type ProductFeedResource = {
|
|
1015
|
+
name: string;
|
|
1016
|
+
feed_id: string;
|
|
1017
|
+
countries: Array<string>;
|
|
1018
|
+
currencies: Array<string>;
|
|
1019
|
+
created_at: string;
|
|
1020
|
+
updated_at: string;
|
|
1021
|
+
};
|
|
1022
|
+
type ProductFeedUploadStatusResource = 'scanning' | 'received' | 'processing' | 'completed' | 'completed_with_errors' | 'skipped' | 'failed';
|
|
1023
|
+
type ProductFeedUploadDiagnosticCodeResource = 'missing_required_column' | 'invalid_value' | 'unsupported_file_type' | 'invalid_sftp_directory_layout';
|
|
1024
|
+
type ProductFeedUploadDiagnosticSeverityResource = 'warning' | 'error';
|
|
1025
|
+
type ProductFeedUploadDiagnosticBody = {
|
|
1026
|
+
code: ProductFeedUploadDiagnosticCodeResource;
|
|
1027
|
+
severity: ProductFeedUploadDiagnosticSeverityResource;
|
|
1028
|
+
field: string | null;
|
|
1029
|
+
rows_affected: number | null;
|
|
1030
|
+
};
|
|
1031
|
+
type ProductFeedUploadBody = {
|
|
1032
|
+
feed_id: string;
|
|
1033
|
+
upload_id: string;
|
|
1034
|
+
status: ProductFeedUploadStatusResource;
|
|
1035
|
+
uploaded_at: string;
|
|
1036
|
+
completed_at: string | null;
|
|
1037
|
+
rows_accepted: number | null;
|
|
1038
|
+
rows_rejected: number | null;
|
|
1039
|
+
rows_ads_eligible?: number | null;
|
|
1040
|
+
diagnostics: Array<ProductFeedUploadDiagnosticBody>;
|
|
1041
|
+
};
|
|
1042
|
+
type ListProductFeedUploadsResource = {
|
|
1043
|
+
uploads: Array<ProductFeedUploadBody>;
|
|
1044
|
+
latest_uploads: Array<ProductFeedUploadBody>;
|
|
1045
|
+
truncated: boolean;
|
|
1046
|
+
first_id?: string | null;
|
|
1047
|
+
last_id?: string | null;
|
|
1048
|
+
has_more?: boolean;
|
|
1049
|
+
};
|
|
1050
|
+
type QueryProductFeedProductsBody = {
|
|
1051
|
+
filters?: Array<ProductSetFilterParams>;
|
|
1052
|
+
limit?: number;
|
|
1053
|
+
after?: string;
|
|
1054
|
+
};
|
|
1055
|
+
type ProductFeedProductBody = {
|
|
1056
|
+
product_id: string;
|
|
1057
|
+
item_id: string | null;
|
|
1058
|
+
offer_id: string | null;
|
|
1059
|
+
brand: string | null;
|
|
1060
|
+
title: string | null;
|
|
1061
|
+
body: string | null;
|
|
1062
|
+
target_url: string | null;
|
|
1063
|
+
image_url: string | null;
|
|
1064
|
+
price: string | null;
|
|
1065
|
+
filter_values: {
|
|
1066
|
+
[key: string]: unknown;
|
|
1067
|
+
};
|
|
1068
|
+
};
|
|
1069
|
+
type QueryProductFeedProductsResource = {
|
|
1070
|
+
object: string;
|
|
1071
|
+
data: Array<ProductFeedProductBody>;
|
|
1072
|
+
total_count: number;
|
|
1073
|
+
matched_count: number;
|
|
1074
|
+
first_id: string | null;
|
|
1075
|
+
last_id: string | null;
|
|
1076
|
+
has_more: boolean;
|
|
1077
|
+
};
|
|
1078
|
+
type ProductFeedDeltaPriceBodyParam = {
|
|
1079
|
+
amount: number;
|
|
1080
|
+
currency: string;
|
|
1081
|
+
};
|
|
1082
|
+
type ProductFeedDeltaAvailabilityBodyParam = {
|
|
1083
|
+
available?: boolean;
|
|
1084
|
+
status?: string;
|
|
1085
|
+
};
|
|
1086
|
+
type ProductFeedDeltaVariantBodyParam = {
|
|
1087
|
+
id: string;
|
|
1088
|
+
title?: string;
|
|
1089
|
+
price?: ProductFeedDeltaPriceBodyParam;
|
|
1090
|
+
availability?: ProductFeedDeltaAvailabilityBodyParam;
|
|
1091
|
+
};
|
|
1092
|
+
type ProductFeedDeltaProductBodyParam = {
|
|
1093
|
+
id: string;
|
|
1094
|
+
variants: Array<ProductFeedDeltaVariantBodyParam>;
|
|
1095
|
+
};
|
|
1096
|
+
type PatchProductFeedProductsBody = {
|
|
1097
|
+
products: Array<ProductFeedDeltaProductBodyParam>;
|
|
1098
|
+
};
|
|
1099
|
+
type ProductFeedDeltaResource = {
|
|
1100
|
+
id: string;
|
|
1101
|
+
accepted: boolean;
|
|
1102
|
+
};
|
|
1103
|
+
type ProductFeedSftpAuthenticationMethodResource = 'password' | 'ssh_key';
|
|
1104
|
+
type ProductFeedSftpAccessResource = {
|
|
1105
|
+
enabled: boolean;
|
|
1106
|
+
connection_uri: string;
|
|
1107
|
+
authentication_method: ProductFeedSftpAuthenticationMethodResource | null;
|
|
1108
|
+
};
|
|
1109
|
+
type ProductFeedSftpAuthenticationMethodParam = 'password' | 'ssh_key';
|
|
1110
|
+
type PostProductFeedSftpAccessBody = {
|
|
1111
|
+
authentication_method: ProductFeedSftpAuthenticationMethodParam;
|
|
1112
|
+
ssh_public_key?: string;
|
|
1113
|
+
};
|
|
1114
|
+
type ProductFeedSftpAccessCredentialsResource = {
|
|
1115
|
+
enabled: boolean;
|
|
1116
|
+
connection_uri: string;
|
|
1117
|
+
authentication_method: ProductFeedSftpAuthenticationMethodResource;
|
|
1118
|
+
password?: string;
|
|
1119
|
+
};
|
|
1120
|
+
type PartnerDataTypeParam = 'identity_graph';
|
|
1121
|
+
type CreatePartnerDataUploadBody = {
|
|
1122
|
+
data_type: PartnerDataTypeParam;
|
|
1123
|
+
snapshot_date: string;
|
|
1124
|
+
file_name: string;
|
|
1125
|
+
file_size_bytes: number;
|
|
1126
|
+
sha256: string;
|
|
1127
|
+
};
|
|
1128
|
+
type CreatePartnerDataUploadResource = {
|
|
1129
|
+
upload_id: string;
|
|
1130
|
+
data_type: string;
|
|
1131
|
+
snapshot_date: string;
|
|
1132
|
+
file_name: string;
|
|
1133
|
+
file_size_bytes: number;
|
|
1134
|
+
sha256: string;
|
|
1135
|
+
status: string;
|
|
1136
|
+
created_at: string;
|
|
1137
|
+
completed_at: string | null;
|
|
1138
|
+
upload_url: string;
|
|
1139
|
+
upload_url_expires_at: string;
|
|
1140
|
+
upload_method: string;
|
|
1141
|
+
upload_headers: {
|
|
1142
|
+
[key: string]: string;
|
|
1143
|
+
};
|
|
1144
|
+
};
|
|
1145
|
+
type PartnerDataUploadResource = {
|
|
1146
|
+
upload_id: string;
|
|
1147
|
+
data_type: string;
|
|
1148
|
+
snapshot_date: string;
|
|
1149
|
+
file_name: string;
|
|
1150
|
+
file_size_bytes: number;
|
|
1151
|
+
sha256: string;
|
|
1152
|
+
status: string;
|
|
1153
|
+
created_at: string;
|
|
1154
|
+
completed_at: string | null;
|
|
1155
|
+
};
|
|
1156
|
+
/**
|
|
1157
|
+
* LeadSyncWebhookScalarResponse
|
|
1158
|
+
*/
|
|
1159
|
+
type LeadSyncWebhookScalarResponse = {
|
|
1160
|
+
/**
|
|
1161
|
+
* Field Id
|
|
1162
|
+
*/
|
|
1163
|
+
field_id: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* Field Type
|
|
1166
|
+
*/
|
|
1167
|
+
field_type: 'name' | 'email' | 'phone' | 'free_form';
|
|
1168
|
+
/**
|
|
1169
|
+
* Label
|
|
1170
|
+
*/
|
|
1171
|
+
label: string;
|
|
1172
|
+
/**
|
|
1173
|
+
* Value
|
|
1174
|
+
*/
|
|
1175
|
+
value: string;
|
|
1176
|
+
[key: string]: unknown;
|
|
1177
|
+
};
|
|
1178
|
+
/**
|
|
1179
|
+
* LeadSyncWebhookOption
|
|
1180
|
+
*/
|
|
1181
|
+
type LeadSyncWebhookOption = {
|
|
1182
|
+
/**
|
|
1183
|
+
* Id
|
|
1184
|
+
*/
|
|
1185
|
+
id: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* Label
|
|
1188
|
+
*/
|
|
1189
|
+
label: string;
|
|
1190
|
+
[key: string]: unknown;
|
|
1191
|
+
};
|
|
1192
|
+
/**
|
|
1193
|
+
* LeadSyncWebhookMultipleChoiceResponse
|
|
1194
|
+
*/
|
|
1195
|
+
type LeadSyncWebhookMultipleChoiceResponse = {
|
|
1196
|
+
/**
|
|
1197
|
+
* Field Id
|
|
1198
|
+
*/
|
|
1199
|
+
field_id: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* Field Type
|
|
1202
|
+
*/
|
|
1203
|
+
field_type: 'multiple_choice';
|
|
1204
|
+
/**
|
|
1205
|
+
* Label
|
|
1206
|
+
*/
|
|
1207
|
+
label: string;
|
|
1208
|
+
option: LeadSyncWebhookOption;
|
|
1209
|
+
[key: string]: unknown;
|
|
1210
|
+
};
|
|
1211
|
+
/**
|
|
1212
|
+
* LeadSyncWebhookData
|
|
1213
|
+
*/
|
|
1214
|
+
type LeadSyncWebhookData = ({
|
|
1215
|
+
ad_id?: null;
|
|
1216
|
+
ad_group_id?: null;
|
|
1217
|
+
campaign_id?: null;
|
|
1218
|
+
ad_account_id?: null;
|
|
1219
|
+
} | {
|
|
1220
|
+
ad_id?: string;
|
|
1221
|
+
ad_group_id?: string;
|
|
1222
|
+
campaign_id?: string;
|
|
1223
|
+
ad_account_id?: string;
|
|
1224
|
+
}) & unknown & {
|
|
1225
|
+
/**
|
|
1226
|
+
* Lead Id
|
|
1227
|
+
*/
|
|
1228
|
+
lead_id: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* Submitted At
|
|
1231
|
+
*/
|
|
1232
|
+
submitted_at: string;
|
|
1233
|
+
/**
|
|
1234
|
+
* Form Id
|
|
1235
|
+
*/
|
|
1236
|
+
form_id: string;
|
|
1237
|
+
/**
|
|
1238
|
+
* Form Revision Id
|
|
1239
|
+
*/
|
|
1240
|
+
form_revision_id: string;
|
|
1241
|
+
/**
|
|
1242
|
+
* Responses
|
|
1243
|
+
*/
|
|
1244
|
+
responses: Array<LeadSyncWebhookScalarResponse | LeadSyncWebhookMultipleChoiceResponse>;
|
|
1245
|
+
/**
|
|
1246
|
+
* Ad Id
|
|
1247
|
+
*/
|
|
1248
|
+
ad_id: string | null;
|
|
1249
|
+
/**
|
|
1250
|
+
* Ad Group Id
|
|
1251
|
+
*/
|
|
1252
|
+
ad_group_id: string | null;
|
|
1253
|
+
/**
|
|
1254
|
+
* Campaign Id
|
|
1255
|
+
*/
|
|
1256
|
+
campaign_id: string | null;
|
|
1257
|
+
/**
|
|
1258
|
+
* Ad Account Id
|
|
1259
|
+
*/
|
|
1260
|
+
ad_account_id: string | null;
|
|
1261
|
+
[key: string]: unknown;
|
|
1262
|
+
};
|
|
1263
|
+
/**
|
|
1264
|
+
* LeadSyncWebhookEvent
|
|
1265
|
+
*/
|
|
1266
|
+
type LeadSyncWebhookEvent = unknown & {
|
|
1267
|
+
/**
|
|
1268
|
+
* Id
|
|
1269
|
+
*/
|
|
1270
|
+
id: string;
|
|
1271
|
+
/**
|
|
1272
|
+
* Object
|
|
1273
|
+
*/
|
|
1274
|
+
object: 'event';
|
|
1275
|
+
/**
|
|
1276
|
+
* Created At
|
|
1277
|
+
*/
|
|
1278
|
+
created_at: number;
|
|
1279
|
+
/**
|
|
1280
|
+
* Subscription Id
|
|
1281
|
+
*/
|
|
1282
|
+
subscription_id: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* Type
|
|
1285
|
+
*/
|
|
1286
|
+
type: 'lead_form.response.created';
|
|
1287
|
+
/**
|
|
1288
|
+
* Synthetic
|
|
1289
|
+
*/
|
|
1290
|
+
synthetic?: true | null;
|
|
1291
|
+
data: LeadSyncWebhookData;
|
|
1292
|
+
[key: string]: unknown;
|
|
1293
|
+
};
|
|
1294
|
+
type ListCampaignsMethodData = {
|
|
1295
|
+
body?: never;
|
|
1296
|
+
headers?: {
|
|
1297
|
+
/**
|
|
1298
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1299
|
+
*/
|
|
1300
|
+
'OpenAI-Ad-Account'?: string;
|
|
1301
|
+
};
|
|
1302
|
+
path?: never;
|
|
1303
|
+
query?: {
|
|
1304
|
+
include?: Array<CampaignListIncludeParam>;
|
|
1305
|
+
name?: string;
|
|
1306
|
+
limit?: number;
|
|
1307
|
+
after?: string;
|
|
1308
|
+
before?: string;
|
|
1309
|
+
order?: ListOrderParam;
|
|
1310
|
+
};
|
|
1311
|
+
url: '/campaigns';
|
|
1312
|
+
};
|
|
1313
|
+
type ListCampaignsMethodResponses = {
|
|
1314
|
+
/**
|
|
1315
|
+
* Success
|
|
1316
|
+
*/
|
|
1317
|
+
200: CampaignsResource;
|
|
1318
|
+
};
|
|
1319
|
+
type ListCampaignsMethodResponse = ListCampaignsMethodResponses[keyof ListCampaignsMethodResponses];
|
|
1320
|
+
type CreateCampaignMethodData = {
|
|
1321
|
+
body?: CreateCampaignBody;
|
|
1322
|
+
headers?: {
|
|
1323
|
+
/**
|
|
1324
|
+
* Unique key for retrying this create request. If a matching prior create is visible, the existing object is returned instead of creating a duplicate. Must contain at least one non-whitespace character and be at most 255 characters.
|
|
1325
|
+
*/
|
|
1326
|
+
'Idempotency-Key'?: string;
|
|
1327
|
+
/**
|
|
1328
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1329
|
+
*/
|
|
1330
|
+
'OpenAI-Ad-Account'?: string;
|
|
1331
|
+
};
|
|
1332
|
+
path?: never;
|
|
1333
|
+
query?: never;
|
|
1334
|
+
url: '/campaigns';
|
|
1335
|
+
};
|
|
1336
|
+
type CreateCampaignMethodResponses = {
|
|
1337
|
+
/**
|
|
1338
|
+
* Success
|
|
1339
|
+
*/
|
|
1340
|
+
200: CampaignItemBody;
|
|
1341
|
+
};
|
|
1342
|
+
type CreateCampaignMethodResponse = CreateCampaignMethodResponses[keyof CreateCampaignMethodResponses];
|
|
1343
|
+
type GetCampaignMethodData = {
|
|
1344
|
+
body?: never;
|
|
1345
|
+
headers?: {
|
|
1346
|
+
/**
|
|
1347
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1348
|
+
*/
|
|
1349
|
+
'OpenAI-Ad-Account'?: string;
|
|
1350
|
+
};
|
|
1351
|
+
path: {
|
|
1352
|
+
campaign_id: string;
|
|
1353
|
+
};
|
|
1354
|
+
query?: {
|
|
1355
|
+
include?: Array<CampaignGetItemIncludeParam>;
|
|
1356
|
+
};
|
|
1357
|
+
url: '/campaigns/{campaign_id}';
|
|
1358
|
+
};
|
|
1359
|
+
type GetCampaignMethodResponses = {
|
|
1360
|
+
/**
|
|
1361
|
+
* Success
|
|
1362
|
+
*/
|
|
1363
|
+
200: CampaignItemBody;
|
|
1364
|
+
};
|
|
1365
|
+
type GetCampaignMethodResponse = GetCampaignMethodResponses[keyof GetCampaignMethodResponses];
|
|
1366
|
+
type UpdateCampaignMethodData = {
|
|
1367
|
+
body?: UpdateCampaignBody;
|
|
1368
|
+
headers?: {
|
|
1369
|
+
/**
|
|
1370
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1371
|
+
*/
|
|
1372
|
+
'OpenAI-Ad-Account'?: string;
|
|
1373
|
+
};
|
|
1374
|
+
path: {
|
|
1375
|
+
campaign_id: string;
|
|
1376
|
+
};
|
|
1377
|
+
query?: never;
|
|
1378
|
+
url: '/campaigns/{campaign_id}';
|
|
1379
|
+
};
|
|
1380
|
+
type UpdateCampaignMethodResponses = {
|
|
1381
|
+
/**
|
|
1382
|
+
* Success
|
|
1383
|
+
*/
|
|
1384
|
+
200: CampaignItemBody;
|
|
1385
|
+
};
|
|
1386
|
+
type UpdateCampaignMethodResponse = UpdateCampaignMethodResponses[keyof UpdateCampaignMethodResponses];
|
|
1387
|
+
type ActivateCampaignMethodData = {
|
|
1388
|
+
body?: never;
|
|
1389
|
+
headers?: {
|
|
1390
|
+
/**
|
|
1391
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1392
|
+
*/
|
|
1393
|
+
'OpenAI-Ad-Account'?: string;
|
|
1394
|
+
};
|
|
1395
|
+
path: {
|
|
1396
|
+
campaign_id: string;
|
|
1397
|
+
};
|
|
1398
|
+
query?: never;
|
|
1399
|
+
url: '/campaigns/{campaign_id}/activate';
|
|
1400
|
+
};
|
|
1401
|
+
type ActivateCampaignMethodResponses = {
|
|
1402
|
+
/**
|
|
1403
|
+
* Success
|
|
1404
|
+
*/
|
|
1405
|
+
200: CampaignItemBody;
|
|
1406
|
+
};
|
|
1407
|
+
type ActivateCampaignMethodResponse = ActivateCampaignMethodResponses[keyof ActivateCampaignMethodResponses];
|
|
1408
|
+
type PauseCampaignMethodData = {
|
|
1409
|
+
body?: never;
|
|
1410
|
+
headers?: {
|
|
1411
|
+
/**
|
|
1412
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1413
|
+
*/
|
|
1414
|
+
'OpenAI-Ad-Account'?: string;
|
|
1415
|
+
};
|
|
1416
|
+
path: {
|
|
1417
|
+
campaign_id: string;
|
|
1418
|
+
};
|
|
1419
|
+
query?: never;
|
|
1420
|
+
url: '/campaigns/{campaign_id}/pause';
|
|
1421
|
+
};
|
|
1422
|
+
type PauseCampaignMethodResponses = {
|
|
1423
|
+
/**
|
|
1424
|
+
* Success
|
|
1425
|
+
*/
|
|
1426
|
+
200: CampaignItemBody;
|
|
1427
|
+
};
|
|
1428
|
+
type PauseCampaignMethodResponse = PauseCampaignMethodResponses[keyof PauseCampaignMethodResponses];
|
|
1429
|
+
type ArchiveCampaignMethodData = {
|
|
1430
|
+
body?: never;
|
|
1431
|
+
headers?: {
|
|
1432
|
+
/**
|
|
1433
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1434
|
+
*/
|
|
1435
|
+
'OpenAI-Ad-Account'?: string;
|
|
1436
|
+
};
|
|
1437
|
+
path: {
|
|
1438
|
+
campaign_id: string;
|
|
1439
|
+
};
|
|
1440
|
+
query?: never;
|
|
1441
|
+
url: '/campaigns/{campaign_id}/archive';
|
|
1442
|
+
};
|
|
1443
|
+
type ArchiveCampaignMethodResponses = {
|
|
1444
|
+
/**
|
|
1445
|
+
* Success
|
|
1446
|
+
*/
|
|
1447
|
+
200: CampaignItemBody;
|
|
1448
|
+
};
|
|
1449
|
+
type ArchiveCampaignMethodResponse = ArchiveCampaignMethodResponses[keyof ArchiveCampaignMethodResponses];
|
|
1450
|
+
type ListCustomAudiencesMethodData = {
|
|
1451
|
+
body?: never;
|
|
1452
|
+
headers?: {
|
|
1453
|
+
/**
|
|
1454
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1455
|
+
*/
|
|
1456
|
+
'OpenAI-Ad-Account'?: string;
|
|
1457
|
+
};
|
|
1458
|
+
path?: never;
|
|
1459
|
+
query?: {
|
|
1460
|
+
intended_use?: CustomAudienceIntendedUseParam;
|
|
1461
|
+
custom_audience_ids?: Array<string>;
|
|
1462
|
+
policy_revision?: string;
|
|
1463
|
+
matched_count_granularity?: CustomAudienceMatchedCountGranularityParam;
|
|
1464
|
+
limit?: number;
|
|
1465
|
+
after?: string;
|
|
1466
|
+
before?: string;
|
|
1467
|
+
order?: ListOrderParam;
|
|
1468
|
+
};
|
|
1469
|
+
url: '/custom_audiences';
|
|
1470
|
+
};
|
|
1471
|
+
type ListCustomAudiencesMethodResponses = {
|
|
1472
|
+
/**
|
|
1473
|
+
* Success
|
|
1474
|
+
*/
|
|
1475
|
+
200: CustomAudiencesResource;
|
|
1476
|
+
};
|
|
1477
|
+
type ListCustomAudiencesMethodResponse = ListCustomAudiencesMethodResponses[keyof ListCustomAudiencesMethodResponses];
|
|
1478
|
+
type CreateCustomAudienceMethodData = {
|
|
1479
|
+
body?: CreateCustomAudienceBody;
|
|
1480
|
+
headers?: {
|
|
1481
|
+
/**
|
|
1482
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1483
|
+
*/
|
|
1484
|
+
'OpenAI-Ad-Account'?: string;
|
|
1485
|
+
};
|
|
1486
|
+
path?: never;
|
|
1487
|
+
query?: never;
|
|
1488
|
+
url: '/custom_audiences';
|
|
1489
|
+
};
|
|
1490
|
+
type CreateCustomAudienceMethodResponses = {
|
|
1491
|
+
/**
|
|
1492
|
+
* Success
|
|
1493
|
+
*/
|
|
1494
|
+
200: CustomAudienceItemBody;
|
|
1495
|
+
};
|
|
1496
|
+
type CreateCustomAudienceMethodResponse = CreateCustomAudienceMethodResponses[keyof CreateCustomAudienceMethodResponses];
|
|
1497
|
+
type GetCustomAudienceMethodData = {
|
|
1498
|
+
body?: never;
|
|
1499
|
+
headers?: {
|
|
1500
|
+
/**
|
|
1501
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1502
|
+
*/
|
|
1503
|
+
'OpenAI-Ad-Account'?: string;
|
|
1504
|
+
};
|
|
1505
|
+
path: {
|
|
1506
|
+
custom_audience_id: string;
|
|
1507
|
+
};
|
|
1508
|
+
query?: {
|
|
1509
|
+
matched_count_granularity?: CustomAudienceMatchedCountGranularityParam;
|
|
1510
|
+
};
|
|
1511
|
+
url: '/custom_audiences/{custom_audience_id}';
|
|
1512
|
+
};
|
|
1513
|
+
type GetCustomAudienceMethodResponses = {
|
|
1514
|
+
/**
|
|
1515
|
+
* Success
|
|
1516
|
+
*/
|
|
1517
|
+
200: CustomAudienceItemBody;
|
|
1518
|
+
};
|
|
1519
|
+
type GetCustomAudienceMethodResponse = GetCustomAudienceMethodResponses[keyof GetCustomAudienceMethodResponses];
|
|
1520
|
+
type ArchiveCustomAudienceMethodData = {
|
|
1521
|
+
body?: never;
|
|
1522
|
+
headers?: {
|
|
1523
|
+
/**
|
|
1524
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1525
|
+
*/
|
|
1526
|
+
'OpenAI-Ad-Account'?: string;
|
|
1527
|
+
};
|
|
1528
|
+
path: {
|
|
1529
|
+
custom_audience_id: string;
|
|
1530
|
+
};
|
|
1531
|
+
query?: never;
|
|
1532
|
+
url: '/custom_audiences/{custom_audience_id}/archive';
|
|
1533
|
+
};
|
|
1534
|
+
type ArchiveCustomAudienceMethodResponses = {
|
|
1535
|
+
/**
|
|
1536
|
+
* Success
|
|
1537
|
+
*/
|
|
1538
|
+
200: CustomAudienceItemBody;
|
|
1539
|
+
};
|
|
1540
|
+
type ArchiveCustomAudienceMethodResponse = ArchiveCustomAudienceMethodResponses[keyof ArchiveCustomAudienceMethodResponses];
|
|
1541
|
+
type AddCustomAudienceMembersMethodData = {
|
|
1542
|
+
body?: CustomAudienceMembershipMutationBody;
|
|
1543
|
+
headers: {
|
|
1544
|
+
/**
|
|
1545
|
+
* Unique key for retrying this create request. If a matching prior create is visible, the existing object is returned instead of creating a duplicate. Must contain at least one non-whitespace character and be at most 255 characters.
|
|
1546
|
+
*/
|
|
1547
|
+
'Idempotency-Key': string;
|
|
1548
|
+
/**
|
|
1549
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1550
|
+
*/
|
|
1551
|
+
'OpenAI-Ad-Account'?: string;
|
|
1552
|
+
};
|
|
1553
|
+
path: {
|
|
1554
|
+
custom_audience_id: string;
|
|
1555
|
+
};
|
|
1556
|
+
query?: never;
|
|
1557
|
+
url: '/custom_audiences/{custom_audience_id}/add';
|
|
1558
|
+
};
|
|
1559
|
+
type AddCustomAudienceMembersMethodResponses = {
|
|
1560
|
+
/**
|
|
1561
|
+
* Success
|
|
1562
|
+
*/
|
|
1563
|
+
200: CustomAudienceMembershipOperationBody;
|
|
1564
|
+
};
|
|
1565
|
+
type AddCustomAudienceMembersMethodResponse = AddCustomAudienceMembersMethodResponses[keyof AddCustomAudienceMembersMethodResponses];
|
|
1566
|
+
type RemoveCustomAudienceMembersMethodData = {
|
|
1567
|
+
body?: CustomAudienceMembershipMutationBody;
|
|
1568
|
+
headers: {
|
|
1569
|
+
/**
|
|
1570
|
+
* Unique key for retrying this create request. If a matching prior create is visible, the existing object is returned instead of creating a duplicate. Must contain at least one non-whitespace character and be at most 255 characters.
|
|
1571
|
+
*/
|
|
1572
|
+
'Idempotency-Key': string;
|
|
1573
|
+
/**
|
|
1574
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1575
|
+
*/
|
|
1576
|
+
'OpenAI-Ad-Account'?: string;
|
|
1577
|
+
};
|
|
1578
|
+
path: {
|
|
1579
|
+
custom_audience_id: string;
|
|
1580
|
+
};
|
|
1581
|
+
query?: never;
|
|
1582
|
+
url: '/custom_audiences/{custom_audience_id}/remove';
|
|
1583
|
+
};
|
|
1584
|
+
type RemoveCustomAudienceMembersMethodResponses = {
|
|
1585
|
+
/**
|
|
1586
|
+
* Success
|
|
1587
|
+
*/
|
|
1588
|
+
200: CustomAudienceMembershipOperationBody;
|
|
1589
|
+
};
|
|
1590
|
+
type RemoveCustomAudienceMembersMethodResponse = RemoveCustomAudienceMembersMethodResponses[keyof RemoveCustomAudienceMembersMethodResponses];
|
|
1591
|
+
type ReplaceCustomAudienceMembersMethodData = {
|
|
1592
|
+
body?: ReplaceCustomAudienceMembersBody;
|
|
1593
|
+
headers: {
|
|
1594
|
+
/**
|
|
1595
|
+
* Unique key for retrying this create request. If a matching prior create is visible, the existing object is returned instead of creating a duplicate. Must contain at least one non-whitespace character and be at most 255 characters.
|
|
1596
|
+
*/
|
|
1597
|
+
'Idempotency-Key': string;
|
|
1598
|
+
/**
|
|
1599
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1600
|
+
*/
|
|
1601
|
+
'OpenAI-Ad-Account'?: string;
|
|
1602
|
+
};
|
|
1603
|
+
path: {
|
|
1604
|
+
custom_audience_id: string;
|
|
1605
|
+
};
|
|
1606
|
+
query?: never;
|
|
1607
|
+
url: '/custom_audiences/{custom_audience_id}/replace';
|
|
1608
|
+
};
|
|
1609
|
+
type ReplaceCustomAudienceMembersMethodResponses = {
|
|
1610
|
+
/**
|
|
1611
|
+
* Success
|
|
1612
|
+
*/
|
|
1613
|
+
200: CustomAudienceMembershipOperationBody;
|
|
1614
|
+
};
|
|
1615
|
+
type ReplaceCustomAudienceMembersMethodResponse = ReplaceCustomAudienceMembersMethodResponses[keyof ReplaceCustomAudienceMembersMethodResponses];
|
|
1616
|
+
type MergeCustomAudiencesMethodData = {
|
|
1617
|
+
body?: MergeCustomAudiencesBody;
|
|
1618
|
+
headers: {
|
|
1619
|
+
/**
|
|
1620
|
+
* Unique key for retrying this create request. If a matching prior create is visible, the existing object is returned instead of creating a duplicate. Must contain at least one non-whitespace character and be at most 255 characters.
|
|
1621
|
+
*/
|
|
1622
|
+
'Idempotency-Key': string;
|
|
1623
|
+
/**
|
|
1624
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1625
|
+
*/
|
|
1626
|
+
'OpenAI-Ad-Account'?: string;
|
|
1627
|
+
};
|
|
1628
|
+
path?: never;
|
|
1629
|
+
query?: never;
|
|
1630
|
+
url: '/custom_audiences/merge';
|
|
1631
|
+
};
|
|
1632
|
+
type MergeCustomAudiencesMethodResponses = {
|
|
1633
|
+
/**
|
|
1634
|
+
* Success
|
|
1635
|
+
*/
|
|
1636
|
+
200: CustomAudienceMembershipOperationBody;
|
|
1637
|
+
};
|
|
1638
|
+
type MergeCustomAudiencesMethodResponse = MergeCustomAudiencesMethodResponses[keyof MergeCustomAudiencesMethodResponses];
|
|
1639
|
+
type GetCustomAudienceOperationMethodData = {
|
|
1640
|
+
body?: never;
|
|
1641
|
+
headers?: {
|
|
1642
|
+
/**
|
|
1643
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1644
|
+
*/
|
|
1645
|
+
'OpenAI-Ad-Account'?: string;
|
|
1646
|
+
};
|
|
1647
|
+
path: {
|
|
1648
|
+
custom_audience_id: string;
|
|
1649
|
+
operation_id: string;
|
|
1650
|
+
};
|
|
1651
|
+
query?: never;
|
|
1652
|
+
url: '/custom_audiences/{custom_audience_id}/operations/{operation_id}';
|
|
1653
|
+
};
|
|
1654
|
+
type GetCustomAudienceOperationMethodResponses = {
|
|
1655
|
+
/**
|
|
1656
|
+
* Success
|
|
1657
|
+
*/
|
|
1658
|
+
200: CustomAudienceMembershipOperationBody;
|
|
1659
|
+
};
|
|
1660
|
+
type GetCustomAudienceOperationMethodResponse = GetCustomAudienceOperationMethodResponses[keyof GetCustomAudienceOperationMethodResponses];
|
|
1661
|
+
type ListBusinessAgentToolsMethodData = {
|
|
1662
|
+
body?: never;
|
|
1663
|
+
path?: never;
|
|
1664
|
+
query?: never;
|
|
1665
|
+
url: '/business_agent_tools';
|
|
1666
|
+
};
|
|
1667
|
+
type ListBusinessAgentToolsMethodResponses = {
|
|
1668
|
+
/**
|
|
1669
|
+
* Success
|
|
1670
|
+
*/
|
|
1671
|
+
200: ListBusinessAgentToolsResource;
|
|
1672
|
+
};
|
|
1673
|
+
type ListBusinessAgentToolsMethodResponse = ListBusinessAgentToolsMethodResponses[keyof ListBusinessAgentToolsMethodResponses];
|
|
1674
|
+
type ListBusinessAgentsMethodData = {
|
|
1675
|
+
body?: never;
|
|
1676
|
+
headers?: {
|
|
1677
|
+
/**
|
|
1678
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1679
|
+
*/
|
|
1680
|
+
'OpenAI-Ad-Account'?: string;
|
|
1681
|
+
};
|
|
1682
|
+
path?: never;
|
|
1683
|
+
query?: never;
|
|
1684
|
+
url: '/business_agents';
|
|
1685
|
+
};
|
|
1686
|
+
type ListBusinessAgentsMethodResponses = {
|
|
1687
|
+
/**
|
|
1688
|
+
* Success
|
|
1689
|
+
*/
|
|
1690
|
+
200: ListBusinessAgentsResource;
|
|
1691
|
+
};
|
|
1692
|
+
type ListBusinessAgentsMethodResponse = ListBusinessAgentsMethodResponses[keyof ListBusinessAgentsMethodResponses];
|
|
1693
|
+
type CreateBusinessAgentMethodData = {
|
|
1694
|
+
body?: CreateBusinessAgentBody;
|
|
1695
|
+
headers?: {
|
|
1696
|
+
/**
|
|
1697
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1698
|
+
*/
|
|
1699
|
+
'OpenAI-Ad-Account'?: string;
|
|
1700
|
+
};
|
|
1701
|
+
path?: never;
|
|
1702
|
+
query?: never;
|
|
1703
|
+
url: '/business_agents';
|
|
1704
|
+
};
|
|
1705
|
+
type CreateBusinessAgentMethodResponses = {
|
|
1706
|
+
/**
|
|
1707
|
+
* Success
|
|
1708
|
+
*/
|
|
1709
|
+
200: BusinessAgentListItemBody;
|
|
1710
|
+
};
|
|
1711
|
+
type CreateBusinessAgentMethodResponse = CreateBusinessAgentMethodResponses[keyof CreateBusinessAgentMethodResponses];
|
|
1712
|
+
type ListLeadFormsMethodData = {
|
|
1713
|
+
body?: never;
|
|
1714
|
+
headers?: {
|
|
1715
|
+
/**
|
|
1716
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1717
|
+
*/
|
|
1718
|
+
'OpenAI-Ad-Account'?: string;
|
|
1719
|
+
};
|
|
1720
|
+
path?: never;
|
|
1721
|
+
query?: never;
|
|
1722
|
+
url: '/lead_forms';
|
|
1723
|
+
};
|
|
1724
|
+
type ListLeadFormsMethodResponses = {
|
|
1725
|
+
/**
|
|
1726
|
+
* Success
|
|
1727
|
+
*/
|
|
1728
|
+
200: ListLeadFormsResource;
|
|
1729
|
+
};
|
|
1730
|
+
type ListLeadFormsMethodResponse = ListLeadFormsMethodResponses[keyof ListLeadFormsMethodResponses];
|
|
1731
|
+
type CreateLeadFormMethodData = {
|
|
1732
|
+
body?: CreateLeadFormBody;
|
|
1733
|
+
headers?: {
|
|
1734
|
+
/**
|
|
1735
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1736
|
+
*/
|
|
1737
|
+
'OpenAI-Ad-Account'?: string;
|
|
1738
|
+
};
|
|
1739
|
+
path?: never;
|
|
1740
|
+
query?: never;
|
|
1741
|
+
url: '/lead_forms';
|
|
1742
|
+
};
|
|
1743
|
+
type CreateLeadFormMethodResponses = {
|
|
1744
|
+
/**
|
|
1745
|
+
* Success
|
|
1746
|
+
*/
|
|
1747
|
+
200: LeadFormListItemBody;
|
|
1748
|
+
};
|
|
1749
|
+
type CreateLeadFormMethodResponse = CreateLeadFormMethodResponses[keyof CreateLeadFormMethodResponses];
|
|
1750
|
+
type GetLeadFormMethodData = {
|
|
1751
|
+
body?: never;
|
|
1752
|
+
headers?: {
|
|
1753
|
+
/**
|
|
1754
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1755
|
+
*/
|
|
1756
|
+
'OpenAI-Ad-Account'?: string;
|
|
1757
|
+
};
|
|
1758
|
+
path: {
|
|
1759
|
+
lead_form_id: string;
|
|
1760
|
+
};
|
|
1761
|
+
query?: {
|
|
1762
|
+
rev_id?: string;
|
|
1763
|
+
};
|
|
1764
|
+
url: '/lead_forms/{lead_form_id}';
|
|
1765
|
+
};
|
|
1766
|
+
type GetLeadFormMethodResponses = {
|
|
1767
|
+
/**
|
|
1768
|
+
* Success
|
|
1769
|
+
*/
|
|
1770
|
+
200: LeadFormListItemBody;
|
|
1771
|
+
};
|
|
1772
|
+
type GetLeadFormMethodResponse = GetLeadFormMethodResponses[keyof GetLeadFormMethodResponses];
|
|
1773
|
+
type UpdateLeadFormMethodData = {
|
|
1774
|
+
body?: UpdateLeadFormBody;
|
|
1775
|
+
headers?: {
|
|
1776
|
+
/**
|
|
1777
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1778
|
+
*/
|
|
1779
|
+
'OpenAI-Ad-Account'?: string;
|
|
1780
|
+
};
|
|
1781
|
+
path: {
|
|
1782
|
+
lead_form_id: string;
|
|
1783
|
+
};
|
|
1784
|
+
query?: never;
|
|
1785
|
+
url: '/lead_forms/{lead_form_id}';
|
|
1786
|
+
};
|
|
1787
|
+
type UpdateLeadFormMethodResponses = {
|
|
1788
|
+
/**
|
|
1789
|
+
* Success
|
|
1790
|
+
*/
|
|
1791
|
+
200: LeadFormListItemBody;
|
|
1792
|
+
};
|
|
1793
|
+
type UpdateLeadFormMethodResponse = UpdateLeadFormMethodResponses[keyof UpdateLeadFormMethodResponses];
|
|
1794
|
+
type PublishLeadFormMethodData = {
|
|
1795
|
+
body?: PublishLeadFormBody;
|
|
1796
|
+
headers?: {
|
|
1797
|
+
/**
|
|
1798
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1799
|
+
*/
|
|
1800
|
+
'OpenAI-Ad-Account'?: string;
|
|
1801
|
+
};
|
|
1802
|
+
path: {
|
|
1803
|
+
lead_form_id: string;
|
|
1804
|
+
};
|
|
1805
|
+
query?: never;
|
|
1806
|
+
url: '/lead_forms/{lead_form_id}/publish';
|
|
1807
|
+
};
|
|
1808
|
+
type PublishLeadFormMethodResponses = {
|
|
1809
|
+
/**
|
|
1810
|
+
* Success
|
|
1811
|
+
*/
|
|
1812
|
+
200: LeadFormListItemBody;
|
|
1813
|
+
};
|
|
1814
|
+
type PublishLeadFormMethodResponse = PublishLeadFormMethodResponses[keyof PublishLeadFormMethodResponses];
|
|
1815
|
+
type ArchiveLeadFormMethodData = {
|
|
1816
|
+
body?: never;
|
|
1817
|
+
headers?: {
|
|
1818
|
+
/**
|
|
1819
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1820
|
+
*/
|
|
1821
|
+
'OpenAI-Ad-Account'?: string;
|
|
1822
|
+
};
|
|
1823
|
+
path: {
|
|
1824
|
+
lead_form_id: string;
|
|
1825
|
+
};
|
|
1826
|
+
query?: never;
|
|
1827
|
+
url: '/lead_forms/{lead_form_id}/archive';
|
|
1828
|
+
};
|
|
1829
|
+
type ArchiveLeadFormMethodResponses = {
|
|
1830
|
+
/**
|
|
1831
|
+
* Success
|
|
1832
|
+
*/
|
|
1833
|
+
200: LeadFormListItemBody;
|
|
1834
|
+
};
|
|
1835
|
+
type ArchiveLeadFormMethodResponse = ArchiveLeadFormMethodResponses[keyof ArchiveLeadFormMethodResponses];
|
|
1836
|
+
type CreateTestLeadSubmissionMethodData = {
|
|
1837
|
+
body?: CreateTestLeadSubmissionBody;
|
|
1838
|
+
headers: {
|
|
1839
|
+
/**
|
|
1840
|
+
* Unique key for retrying this create request. If a matching prior create is visible, the existing object is returned instead of creating a duplicate. Must contain at least one non-whitespace character and be at most 255 characters.
|
|
1841
|
+
*/
|
|
1842
|
+
'Idempotency-Key': string;
|
|
1843
|
+
/**
|
|
1844
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1845
|
+
*/
|
|
1846
|
+
'OpenAI-Ad-Account'?: string;
|
|
1847
|
+
};
|
|
1848
|
+
path: {
|
|
1849
|
+
lead_form_id: string;
|
|
1850
|
+
};
|
|
1851
|
+
query?: never;
|
|
1852
|
+
url: '/lead_forms/{lead_form_id}/test_submissions';
|
|
1853
|
+
};
|
|
1854
|
+
type CreateTestLeadSubmissionMethodResponses = {
|
|
1855
|
+
/**
|
|
1856
|
+
* Success
|
|
1857
|
+
*/
|
|
1858
|
+
200: TestLeadSubmissionResource;
|
|
1859
|
+
};
|
|
1860
|
+
type CreateTestLeadSubmissionMethodResponse = CreateTestLeadSubmissionMethodResponses[keyof CreateTestLeadSubmissionMethodResponses];
|
|
1861
|
+
type GetBusinessAgentMethodData = {
|
|
1862
|
+
body?: never;
|
|
1863
|
+
headers?: {
|
|
1864
|
+
/**
|
|
1865
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1866
|
+
*/
|
|
1867
|
+
'OpenAI-Ad-Account'?: string;
|
|
1868
|
+
};
|
|
1869
|
+
path: {
|
|
1870
|
+
business_agent_id: string;
|
|
1871
|
+
};
|
|
1872
|
+
query?: never;
|
|
1873
|
+
url: '/business_agents/{business_agent_id}';
|
|
1874
|
+
};
|
|
1875
|
+
type GetBusinessAgentMethodResponses = {
|
|
1876
|
+
/**
|
|
1877
|
+
* Success
|
|
1878
|
+
*/
|
|
1879
|
+
200: BusinessAgentListItemBody;
|
|
1880
|
+
};
|
|
1881
|
+
type GetBusinessAgentMethodResponse = GetBusinessAgentMethodResponses[keyof GetBusinessAgentMethodResponses];
|
|
1882
|
+
type UpdateBusinessAgentMethodData = {
|
|
1883
|
+
body?: UpdateBusinessAgentBody;
|
|
1884
|
+
headers?: {
|
|
1885
|
+
/**
|
|
1886
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1887
|
+
*/
|
|
1888
|
+
'OpenAI-Ad-Account'?: string;
|
|
1889
|
+
};
|
|
1890
|
+
path: {
|
|
1891
|
+
business_agent_id: string;
|
|
1892
|
+
};
|
|
1893
|
+
query?: never;
|
|
1894
|
+
url: '/business_agents/{business_agent_id}';
|
|
1895
|
+
};
|
|
1896
|
+
type UpdateBusinessAgentMethodResponses = {
|
|
1897
|
+
/**
|
|
1898
|
+
* Success
|
|
1899
|
+
*/
|
|
1900
|
+
200: BusinessAgentListItemBody;
|
|
1901
|
+
};
|
|
1902
|
+
type UpdateBusinessAgentMethodResponse = UpdateBusinessAgentMethodResponses[keyof UpdateBusinessAgentMethodResponses];
|
|
1903
|
+
type PreviewBusinessAgentMethodData = {
|
|
1904
|
+
body?: PreviewBusinessAgentBody;
|
|
1905
|
+
headers?: {
|
|
1906
|
+
/**
|
|
1907
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1908
|
+
*/
|
|
1909
|
+
'OpenAI-Ad-Account'?: string;
|
|
1910
|
+
};
|
|
1911
|
+
path: {
|
|
1912
|
+
business_agent_id: string;
|
|
1913
|
+
};
|
|
1914
|
+
query?: never;
|
|
1915
|
+
url: '/business_agents/{business_agent_id}/preview';
|
|
1916
|
+
};
|
|
1917
|
+
type PreviewBusinessAgentMethodResponses = {
|
|
1918
|
+
/**
|
|
1919
|
+
* Success
|
|
1920
|
+
*/
|
|
1921
|
+
200: BusinessAgentPreviewResource;
|
|
1922
|
+
};
|
|
1923
|
+
type PreviewBusinessAgentMethodResponse = PreviewBusinessAgentMethodResponses[keyof PreviewBusinessAgentMethodResponses];
|
|
1924
|
+
type PublishBusinessAgentMethodData = {
|
|
1925
|
+
body?: never;
|
|
1926
|
+
headers?: {
|
|
1927
|
+
/**
|
|
1928
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1929
|
+
*/
|
|
1930
|
+
'OpenAI-Ad-Account'?: string;
|
|
1931
|
+
};
|
|
1932
|
+
path: {
|
|
1933
|
+
business_agent_id: string;
|
|
1934
|
+
};
|
|
1935
|
+
query?: never;
|
|
1936
|
+
url: '/business_agents/{business_agent_id}/publish';
|
|
1937
|
+
};
|
|
1938
|
+
type PublishBusinessAgentMethodResponses = {
|
|
1939
|
+
/**
|
|
1940
|
+
* Success
|
|
1941
|
+
*/
|
|
1942
|
+
200: BusinessAgentListItemBody;
|
|
1943
|
+
};
|
|
1944
|
+
type PublishBusinessAgentMethodResponse = PublishBusinessAgentMethodResponses[keyof PublishBusinessAgentMethodResponses];
|
|
1945
|
+
type CreateApiKeyMethodData = {
|
|
1946
|
+
body?: CreateApiKeyBody;
|
|
1947
|
+
path?: never;
|
|
1948
|
+
query?: never;
|
|
1949
|
+
url: '/api_keys';
|
|
1950
|
+
};
|
|
1951
|
+
type CreateApiKeyMethodResponses = {
|
|
1952
|
+
/**
|
|
1953
|
+
* Success
|
|
1954
|
+
*/
|
|
1955
|
+
200: CreateApiKeyResource;
|
|
1956
|
+
};
|
|
1957
|
+
type CreateApiKeyMethodResponse = CreateApiKeyMethodResponses[keyof CreateApiKeyMethodResponses];
|
|
1958
|
+
type UpdateAdAccountMethodData = {
|
|
1959
|
+
body?: UpdateAdAccountBody;
|
|
1960
|
+
headers?: {
|
|
1961
|
+
/**
|
|
1962
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1963
|
+
*/
|
|
1964
|
+
'OpenAI-Ad-Account'?: string;
|
|
1965
|
+
};
|
|
1966
|
+
path?: never;
|
|
1967
|
+
query?: never;
|
|
1968
|
+
url: '/ad_account/brand';
|
|
1969
|
+
};
|
|
1970
|
+
type UpdateAdAccountMethodResponses = {
|
|
1971
|
+
/**
|
|
1972
|
+
* Success
|
|
1973
|
+
*/
|
|
1974
|
+
200: AdAccountResource;
|
|
1975
|
+
};
|
|
1976
|
+
type UpdateAdAccountMethodResponse = UpdateAdAccountMethodResponses[keyof UpdateAdAccountMethodResponses];
|
|
1977
|
+
type UpdateAdAccountNegativeKeywordsMethodData = {
|
|
1978
|
+
body?: UpdateAdAccountNegativeKeywordsBody;
|
|
1979
|
+
headers?: {
|
|
1980
|
+
/**
|
|
1981
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
1982
|
+
*/
|
|
1983
|
+
'OpenAI-Ad-Account'?: string;
|
|
1984
|
+
};
|
|
1985
|
+
path?: never;
|
|
1986
|
+
query?: never;
|
|
1987
|
+
url: '/ad_account/negative_keywords';
|
|
1988
|
+
};
|
|
1989
|
+
type UpdateAdAccountNegativeKeywordsMethodResponses = {
|
|
1990
|
+
/**
|
|
1991
|
+
* Success
|
|
1992
|
+
*/
|
|
1993
|
+
200: AdAccountResource;
|
|
1994
|
+
};
|
|
1995
|
+
type UpdateAdAccountNegativeKeywordsMethodResponse = UpdateAdAccountNegativeKeywordsMethodResponses[keyof UpdateAdAccountNegativeKeywordsMethodResponses];
|
|
1996
|
+
type ActivateAdAccountMethodData = {
|
|
1997
|
+
body?: never;
|
|
1998
|
+
headers?: {
|
|
1999
|
+
/**
|
|
2000
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2001
|
+
*/
|
|
2002
|
+
'OpenAI-Ad-Account'?: string;
|
|
2003
|
+
};
|
|
2004
|
+
path?: never;
|
|
2005
|
+
query?: never;
|
|
2006
|
+
url: '/ad_account/activate';
|
|
2007
|
+
};
|
|
2008
|
+
type ActivateAdAccountMethodResponses = {
|
|
2009
|
+
/**
|
|
2010
|
+
* Success
|
|
2011
|
+
*/
|
|
2012
|
+
200: AdAccountResource;
|
|
2013
|
+
};
|
|
2014
|
+
type ActivateAdAccountMethodResponse = ActivateAdAccountMethodResponses[keyof ActivateAdAccountMethodResponses];
|
|
2015
|
+
type PauseAdAccountMethodData = {
|
|
2016
|
+
body?: never;
|
|
2017
|
+
headers?: {
|
|
2018
|
+
/**
|
|
2019
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2020
|
+
*/
|
|
2021
|
+
'OpenAI-Ad-Account'?: string;
|
|
2022
|
+
};
|
|
2023
|
+
path?: never;
|
|
2024
|
+
query?: never;
|
|
2025
|
+
url: '/ad_account/pause';
|
|
2026
|
+
};
|
|
2027
|
+
type PauseAdAccountMethodResponses = {
|
|
2028
|
+
/**
|
|
2029
|
+
* Success
|
|
2030
|
+
*/
|
|
2031
|
+
200: AdAccountResource;
|
|
2032
|
+
};
|
|
2033
|
+
type PauseAdAccountMethodResponse = PauseAdAccountMethodResponses[keyof PauseAdAccountMethodResponses];
|
|
2034
|
+
type ListAdAccountsMethodData = {
|
|
2035
|
+
body?: never;
|
|
2036
|
+
path?: never;
|
|
2037
|
+
query?: {
|
|
2038
|
+
limit?: number;
|
|
2039
|
+
after?: string;
|
|
2040
|
+
before?: string;
|
|
2041
|
+
};
|
|
2042
|
+
url: '/ad_accounts';
|
|
2043
|
+
};
|
|
2044
|
+
type ListAdAccountsMethodResponses = {
|
|
2045
|
+
/**
|
|
2046
|
+
* Success
|
|
2047
|
+
*/
|
|
2048
|
+
200: AdAccountsResource;
|
|
2049
|
+
};
|
|
2050
|
+
type ListAdAccountsMethodResponse = ListAdAccountsMethodResponses[keyof ListAdAccountsMethodResponses];
|
|
2051
|
+
type CreateAdAccountCreationSessionMethodData = {
|
|
2052
|
+
body: CreateAdAccountCreationSessionBody;
|
|
2053
|
+
headers: {
|
|
2054
|
+
/**
|
|
2055
|
+
* Unique key for retrying this create request. If a matching prior create is visible, the existing object is returned instead of creating a duplicate. Reusing a key with a different request body is rejected. Must contain at least one non-whitespace character and be at most 255 characters.
|
|
2056
|
+
*/
|
|
2057
|
+
'Idempotency-Key': string;
|
|
2058
|
+
};
|
|
2059
|
+
path?: never;
|
|
2060
|
+
query?: never;
|
|
2061
|
+
url: '/ad_account_creation_sessions';
|
|
2062
|
+
};
|
|
2063
|
+
type CreateAdAccountCreationSessionMethodResponses = {
|
|
2064
|
+
/**
|
|
2065
|
+
* Success
|
|
2066
|
+
*/
|
|
2067
|
+
200: AdAccountCreationSessionResource;
|
|
2068
|
+
};
|
|
2069
|
+
type CreateAdAccountCreationSessionMethodResponse = CreateAdAccountCreationSessionMethodResponses[keyof CreateAdAccountCreationSessionMethodResponses];
|
|
2070
|
+
type GetAdsOAuthMeMethodData = {
|
|
2071
|
+
body?: never;
|
|
2072
|
+
path?: never;
|
|
2073
|
+
query?: never;
|
|
2074
|
+
url: '/me';
|
|
2075
|
+
};
|
|
2076
|
+
type GetAdsOAuthMeMethodResponses = {
|
|
2077
|
+
/**
|
|
2078
|
+
* Success
|
|
2079
|
+
*/
|
|
2080
|
+
200: AdsOAuthMeResource;
|
|
2081
|
+
};
|
|
2082
|
+
type GetAdsOAuthMeMethodResponse = GetAdsOAuthMeMethodResponses[keyof GetAdsOAuthMeMethodResponses];
|
|
2083
|
+
type GetAdAccountMethodData = {
|
|
2084
|
+
body?: never;
|
|
2085
|
+
headers?: {
|
|
2086
|
+
/**
|
|
2087
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2088
|
+
*/
|
|
2089
|
+
'OpenAI-Ad-Account'?: string;
|
|
2090
|
+
};
|
|
2091
|
+
path?: never;
|
|
2092
|
+
query?: never;
|
|
2093
|
+
url: '/ad_account';
|
|
2094
|
+
};
|
|
2095
|
+
type GetAdAccountMethodResponses = {
|
|
2096
|
+
/**
|
|
2097
|
+
* Success
|
|
2098
|
+
*/
|
|
2099
|
+
200: AdAccountResource;
|
|
2100
|
+
};
|
|
2101
|
+
type GetAdAccountMethodResponse = GetAdAccountMethodResponses[keyof GetAdAccountMethodResponses];
|
|
2102
|
+
type GetAdAccountSpendLimitWindowsMethodData = {
|
|
2103
|
+
body?: never;
|
|
2104
|
+
headers?: {
|
|
2105
|
+
/**
|
|
2106
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2107
|
+
*/
|
|
2108
|
+
'OpenAI-Ad-Account'?: string;
|
|
2109
|
+
};
|
|
2110
|
+
path?: never;
|
|
2111
|
+
query?: never;
|
|
2112
|
+
url: '/ad_account/spend_limit_windows';
|
|
2113
|
+
};
|
|
2114
|
+
type GetAdAccountSpendLimitWindowsMethodResponses = {
|
|
2115
|
+
/**
|
|
2116
|
+
* Success
|
|
2117
|
+
*/
|
|
2118
|
+
200: AdAccountSpendLimitWindowsListResource;
|
|
2119
|
+
};
|
|
2120
|
+
type GetAdAccountSpendLimitWindowsMethodResponse = GetAdAccountSpendLimitWindowsMethodResponses[keyof GetAdAccountSpendLimitWindowsMethodResponses];
|
|
2121
|
+
type CreateAdAccountSpendLimitWindowMethodData = {
|
|
2122
|
+
body?: CreateAdAccountSpendLimitWindowBody;
|
|
2123
|
+
headers?: {
|
|
2124
|
+
/**
|
|
2125
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2126
|
+
*/
|
|
2127
|
+
'OpenAI-Ad-Account'?: string;
|
|
2128
|
+
};
|
|
2129
|
+
path?: never;
|
|
2130
|
+
query?: never;
|
|
2131
|
+
url: '/ad_account/spend_limit_windows';
|
|
2132
|
+
};
|
|
2133
|
+
type CreateAdAccountSpendLimitWindowMethodResponses = {
|
|
2134
|
+
/**
|
|
2135
|
+
* Success
|
|
2136
|
+
*/
|
|
2137
|
+
200: AdAccountSpendLimitWindowBody;
|
|
2138
|
+
};
|
|
2139
|
+
type CreateAdAccountSpendLimitWindowMethodResponse = CreateAdAccountSpendLimitWindowMethodResponses[keyof CreateAdAccountSpendLimitWindowMethodResponses];
|
|
2140
|
+
type UpdateAdAccountSpendLimitWindowMethodData = {
|
|
2141
|
+
body?: UpdateAdAccountSpendLimitWindowBody;
|
|
2142
|
+
headers?: {
|
|
2143
|
+
/**
|
|
2144
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2145
|
+
*/
|
|
2146
|
+
'OpenAI-Ad-Account'?: string;
|
|
2147
|
+
};
|
|
2148
|
+
path: {
|
|
2149
|
+
window_id: string;
|
|
2150
|
+
};
|
|
2151
|
+
query?: never;
|
|
2152
|
+
url: '/ad_account/spend_limit_windows/{window_id}';
|
|
2153
|
+
};
|
|
2154
|
+
type UpdateAdAccountSpendLimitWindowMethodResponses = {
|
|
2155
|
+
/**
|
|
2156
|
+
* Success
|
|
2157
|
+
*/
|
|
2158
|
+
200: AdAccountSpendLimitWindowBody;
|
|
2159
|
+
};
|
|
2160
|
+
type UpdateAdAccountSpendLimitWindowMethodResponse = UpdateAdAccountSpendLimitWindowMethodResponses[keyof UpdateAdAccountSpendLimitWindowMethodResponses];
|
|
2161
|
+
type DeleteAdAccountSpendLimitWindowMethodData = {
|
|
2162
|
+
body?: never;
|
|
2163
|
+
headers?: {
|
|
2164
|
+
/**
|
|
2165
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2166
|
+
*/
|
|
2167
|
+
'OpenAI-Ad-Account'?: string;
|
|
2168
|
+
};
|
|
2169
|
+
path: {
|
|
2170
|
+
window_id: string;
|
|
2171
|
+
};
|
|
2172
|
+
query?: never;
|
|
2173
|
+
url: '/ad_account/spend_limit_windows/{window_id}/delete';
|
|
2174
|
+
};
|
|
2175
|
+
type DeleteAdAccountSpendLimitWindowMethodResponses = {
|
|
2176
|
+
/**
|
|
2177
|
+
* Success
|
|
2178
|
+
*/
|
|
2179
|
+
200: DeleteAdAccountSpendLimitWindowResource;
|
|
2180
|
+
};
|
|
2181
|
+
type DeleteAdAccountSpendLimitWindowMethodResponse = DeleteAdAccountSpendLimitWindowMethodResponses[keyof DeleteAdAccountSpendLimitWindowMethodResponses];
|
|
2182
|
+
type GetAdAccountInsightsMethodData = {
|
|
2183
|
+
body?: never;
|
|
2184
|
+
headers?: {
|
|
2185
|
+
/**
|
|
2186
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2187
|
+
*/
|
|
2188
|
+
'OpenAI-Ad-Account'?: string;
|
|
2189
|
+
};
|
|
2190
|
+
path?: never;
|
|
2191
|
+
query?: {
|
|
2192
|
+
time_granularity?: string;
|
|
2193
|
+
aggregation_level?: string;
|
|
2194
|
+
limit?: number;
|
|
2195
|
+
before?: string;
|
|
2196
|
+
after?: string;
|
|
2197
|
+
time_ranges?: Array<string>;
|
|
2198
|
+
filters?: Array<string>;
|
|
2199
|
+
fields?: Array<string>;
|
|
2200
|
+
sort?: Array<string>;
|
|
2201
|
+
segments?: Array<string>;
|
|
2202
|
+
override_segment_group_order?: Array<string>;
|
|
2203
|
+
includes?: Array<string>;
|
|
2204
|
+
};
|
|
2205
|
+
url: '/ad_account/insights';
|
|
2206
|
+
};
|
|
2207
|
+
type GetAdAccountInsightsMethodResponses = {
|
|
2208
|
+
/**
|
|
2209
|
+
* Success
|
|
2210
|
+
*/
|
|
2211
|
+
200: InsightsResource;
|
|
2212
|
+
};
|
|
2213
|
+
type GetAdAccountInsightsMethodResponse = GetAdAccountInsightsMethodResponses[keyof GetAdAccountInsightsMethodResponses];
|
|
2214
|
+
type GetCampaignInsightsMethodData = {
|
|
2215
|
+
body?: never;
|
|
2216
|
+
headers?: {
|
|
2217
|
+
/**
|
|
2218
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2219
|
+
*/
|
|
2220
|
+
'OpenAI-Ad-Account'?: string;
|
|
2221
|
+
};
|
|
2222
|
+
path: {
|
|
2223
|
+
campaign_id: string;
|
|
2224
|
+
};
|
|
2225
|
+
query?: {
|
|
2226
|
+
time_granularity?: string;
|
|
2227
|
+
aggregation_level?: string;
|
|
2228
|
+
limit?: number;
|
|
2229
|
+
before?: string;
|
|
2230
|
+
after?: string;
|
|
2231
|
+
time_ranges?: Array<string>;
|
|
2232
|
+
filters?: Array<string>;
|
|
2233
|
+
fields?: Array<string>;
|
|
2234
|
+
sort?: Array<string>;
|
|
2235
|
+
segments?: Array<string>;
|
|
2236
|
+
override_segment_group_order?: Array<string>;
|
|
2237
|
+
includes?: Array<string>;
|
|
2238
|
+
};
|
|
2239
|
+
url: '/campaigns/{campaign_id}/insights';
|
|
2240
|
+
};
|
|
2241
|
+
type GetCampaignInsightsMethodResponses = {
|
|
2242
|
+
/**
|
|
2243
|
+
* Success
|
|
2244
|
+
*/
|
|
2245
|
+
200: InsightsResource;
|
|
2246
|
+
};
|
|
2247
|
+
type GetCampaignInsightsMethodResponse = GetCampaignInsightsMethodResponses[keyof GetCampaignInsightsMethodResponses];
|
|
2248
|
+
type GetAdGroupInsightsMethodData = {
|
|
2249
|
+
body?: never;
|
|
2250
|
+
headers?: {
|
|
2251
|
+
/**
|
|
2252
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2253
|
+
*/
|
|
2254
|
+
'OpenAI-Ad-Account'?: string;
|
|
2255
|
+
};
|
|
2256
|
+
path: {
|
|
2257
|
+
ad_group_id: string;
|
|
2258
|
+
};
|
|
2259
|
+
query?: {
|
|
2260
|
+
time_granularity?: string;
|
|
2261
|
+
aggregation_level?: string;
|
|
2262
|
+
limit?: number;
|
|
2263
|
+
before?: string;
|
|
2264
|
+
after?: string;
|
|
2265
|
+
time_ranges?: Array<string>;
|
|
2266
|
+
filters?: Array<string>;
|
|
2267
|
+
fields?: Array<string>;
|
|
2268
|
+
sort?: Array<string>;
|
|
2269
|
+
segments?: Array<string>;
|
|
2270
|
+
override_segment_group_order?: Array<string>;
|
|
2271
|
+
includes?: Array<string>;
|
|
2272
|
+
};
|
|
2273
|
+
url: '/ad_groups/{ad_group_id}/insights';
|
|
2274
|
+
};
|
|
2275
|
+
type GetAdGroupInsightsMethodResponses = {
|
|
2276
|
+
/**
|
|
2277
|
+
* Success
|
|
2278
|
+
*/
|
|
2279
|
+
200: InsightsResource;
|
|
2280
|
+
};
|
|
2281
|
+
type GetAdGroupInsightsMethodResponse = GetAdGroupInsightsMethodResponses[keyof GetAdGroupInsightsMethodResponses];
|
|
2282
|
+
type GetAdInsightsMethodData = {
|
|
2283
|
+
body?: never;
|
|
2284
|
+
headers?: {
|
|
2285
|
+
/**
|
|
2286
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2287
|
+
*/
|
|
2288
|
+
'OpenAI-Ad-Account'?: string;
|
|
2289
|
+
};
|
|
2290
|
+
path: {
|
|
2291
|
+
ad_id: string;
|
|
2292
|
+
};
|
|
2293
|
+
query?: {
|
|
2294
|
+
time_granularity?: string;
|
|
2295
|
+
aggregation_level?: string;
|
|
2296
|
+
limit?: number;
|
|
2297
|
+
before?: string;
|
|
2298
|
+
after?: string;
|
|
2299
|
+
time_ranges?: Array<string>;
|
|
2300
|
+
filters?: Array<string>;
|
|
2301
|
+
fields?: Array<string>;
|
|
2302
|
+
sort?: Array<string>;
|
|
2303
|
+
segments?: Array<string>;
|
|
2304
|
+
override_segment_group_order?: Array<string>;
|
|
2305
|
+
includes?: Array<string>;
|
|
2306
|
+
};
|
|
2307
|
+
url: '/ads/{ad_id}/insights';
|
|
2308
|
+
};
|
|
2309
|
+
type GetAdInsightsMethodResponses = {
|
|
2310
|
+
/**
|
|
2311
|
+
* Success
|
|
2312
|
+
*/
|
|
2313
|
+
200: InsightsResource;
|
|
2314
|
+
};
|
|
2315
|
+
type GetAdInsightsMethodResponse = GetAdInsightsMethodResponses[keyof GetAdInsightsMethodResponses];
|
|
2316
|
+
type GetGeoLookupMethodData = {
|
|
2317
|
+
body?: never;
|
|
2318
|
+
headers?: {
|
|
2319
|
+
/**
|
|
2320
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2321
|
+
*/
|
|
2322
|
+
'OpenAI-Ad-Account'?: string;
|
|
2323
|
+
};
|
|
2324
|
+
path?: never;
|
|
2325
|
+
query: {
|
|
2326
|
+
q: string;
|
|
2327
|
+
limit?: number;
|
|
2328
|
+
};
|
|
2329
|
+
url: '/geo_lookup/search';
|
|
2330
|
+
};
|
|
2331
|
+
type GetGeoLookupMethodResponses = {
|
|
2332
|
+
/**
|
|
2333
|
+
* Success
|
|
2334
|
+
*/
|
|
2335
|
+
200: GeoLookupSearchResource;
|
|
2336
|
+
};
|
|
2337
|
+
type GetGeoLookupMethodResponse = GetGeoLookupMethodResponses[keyof GetGeoLookupMethodResponses];
|
|
2338
|
+
type ListLeadSyncSubscriptionsMethodData = {
|
|
2339
|
+
body?: never;
|
|
2340
|
+
headers?: {
|
|
2341
|
+
/**
|
|
2342
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2343
|
+
*/
|
|
2344
|
+
'OpenAI-Ad-Account'?: string;
|
|
2345
|
+
};
|
|
2346
|
+
path?: never;
|
|
2347
|
+
query: {
|
|
2348
|
+
ad_account_id: string;
|
|
2349
|
+
};
|
|
2350
|
+
url: '/lead_sync_subscriptions';
|
|
2351
|
+
};
|
|
2352
|
+
type ListLeadSyncSubscriptionsMethodResponses = {
|
|
2353
|
+
/**
|
|
2354
|
+
* Success
|
|
2355
|
+
*/
|
|
2356
|
+
200: LeadSyncSubscriptionsResource;
|
|
2357
|
+
};
|
|
2358
|
+
type ListLeadSyncSubscriptionsMethodResponse = ListLeadSyncSubscriptionsMethodResponses[keyof ListLeadSyncSubscriptionsMethodResponses];
|
|
2359
|
+
type CreateLeadSyncSubscriptionMethodData = {
|
|
2360
|
+
body?: CreateLeadSyncSubscriptionBody;
|
|
2361
|
+
headers: {
|
|
2362
|
+
/**
|
|
2363
|
+
* Unique key for retrying this create request. If a matching prior create is visible, the existing object is returned instead of creating a duplicate. Reusing a key with a different request body is rejected. Must contain at least one non-whitespace character and be at most 255 characters.
|
|
2364
|
+
*/
|
|
2365
|
+
'Idempotency-Key': string;
|
|
2366
|
+
/**
|
|
2367
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2368
|
+
*/
|
|
2369
|
+
'OpenAI-Ad-Account'?: string;
|
|
2370
|
+
};
|
|
2371
|
+
path?: never;
|
|
2372
|
+
query?: never;
|
|
2373
|
+
url: '/lead_sync_subscriptions';
|
|
2374
|
+
};
|
|
2375
|
+
type CreateLeadSyncSubscriptionMethodResponses = {
|
|
2376
|
+
/**
|
|
2377
|
+
* Success
|
|
2378
|
+
*/
|
|
2379
|
+
200: CreatedLeadSyncSubscriptionResource;
|
|
2380
|
+
};
|
|
2381
|
+
type CreateLeadSyncSubscriptionMethodResponse = CreateLeadSyncSubscriptionMethodResponses[keyof CreateLeadSyncSubscriptionMethodResponses];
|
|
2382
|
+
type DeleteLeadSyncSubscriptionMethodData = {
|
|
2383
|
+
body?: never;
|
|
2384
|
+
headers?: {
|
|
2385
|
+
/**
|
|
2386
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2387
|
+
*/
|
|
2388
|
+
'OpenAI-Ad-Account'?: string;
|
|
2389
|
+
};
|
|
2390
|
+
path: {
|
|
2391
|
+
subscription_id: string;
|
|
2392
|
+
};
|
|
2393
|
+
query?: never;
|
|
2394
|
+
url: '/lead_sync_subscriptions/{subscription_id}';
|
|
2395
|
+
};
|
|
2396
|
+
type DeleteLeadSyncSubscriptionMethodResponses = {
|
|
2397
|
+
/**
|
|
2398
|
+
* Success
|
|
2399
|
+
*/
|
|
2400
|
+
200: DeletedLeadSyncSubscriptionResource;
|
|
2401
|
+
};
|
|
2402
|
+
type DeleteLeadSyncSubscriptionMethodResponse = DeleteLeadSyncSubscriptionMethodResponses[keyof DeleteLeadSyncSubscriptionMethodResponses];
|
|
2403
|
+
type GetLeadSyncSubscriptionMethodData = {
|
|
2404
|
+
body?: never;
|
|
2405
|
+
headers?: {
|
|
2406
|
+
/**
|
|
2407
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2408
|
+
*/
|
|
2409
|
+
'OpenAI-Ad-Account'?: string;
|
|
2410
|
+
};
|
|
2411
|
+
path: {
|
|
2412
|
+
subscription_id: string;
|
|
2413
|
+
};
|
|
2414
|
+
query?: never;
|
|
2415
|
+
url: '/lead_sync_subscriptions/{subscription_id}';
|
|
2416
|
+
};
|
|
2417
|
+
type GetLeadSyncSubscriptionMethodResponses = {
|
|
2418
|
+
/**
|
|
2419
|
+
* Success
|
|
2420
|
+
*/
|
|
2421
|
+
200: LeadSyncSubscriptionResource;
|
|
2422
|
+
};
|
|
2423
|
+
type GetLeadSyncSubscriptionMethodResponse = GetLeadSyncSubscriptionMethodResponses[keyof GetLeadSyncSubscriptionMethodResponses];
|
|
2424
|
+
type CreateConversionApiKeyMethodData = {
|
|
2425
|
+
body?: CreateConversionApiKeyBody;
|
|
2426
|
+
path?: never;
|
|
2427
|
+
query?: never;
|
|
2428
|
+
url: '/conversions/api_keys';
|
|
2429
|
+
};
|
|
2430
|
+
type CreateConversionApiKeyMethodResponses = {
|
|
2431
|
+
/**
|
|
2432
|
+
* Success
|
|
2433
|
+
*/
|
|
2434
|
+
200: ConversionApiKeyResource;
|
|
2435
|
+
};
|
|
2436
|
+
type CreateConversionApiKeyMethodResponse = CreateConversionApiKeyMethodResponses[keyof CreateConversionApiKeyMethodResponses];
|
|
2437
|
+
type ListConversionEventSettingsMethodData = {
|
|
2438
|
+
body?: never;
|
|
2439
|
+
headers?: {
|
|
2440
|
+
/**
|
|
2441
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2442
|
+
*/
|
|
2443
|
+
'OpenAI-Ad-Account'?: string;
|
|
2444
|
+
};
|
|
2445
|
+
path?: never;
|
|
2446
|
+
query?: {
|
|
2447
|
+
limit?: number;
|
|
2448
|
+
after?: string;
|
|
2449
|
+
before?: string;
|
|
2450
|
+
order?: ListOrderParam;
|
|
2451
|
+
};
|
|
2452
|
+
url: '/conversions/event_settings';
|
|
2453
|
+
};
|
|
2454
|
+
type ListConversionEventSettingsMethodResponses = {
|
|
2455
|
+
/**
|
|
2456
|
+
* Success
|
|
2457
|
+
*/
|
|
2458
|
+
200: ListConversionEventSettingsResource;
|
|
2459
|
+
};
|
|
2460
|
+
type ListConversionEventSettingsMethodResponse = ListConversionEventSettingsMethodResponses[keyof ListConversionEventSettingsMethodResponses];
|
|
2461
|
+
type CreateConversionEventSettingMethodData = {
|
|
2462
|
+
body?: CreateConversionEventSettingBody;
|
|
2463
|
+
headers?: {
|
|
2464
|
+
/**
|
|
2465
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2466
|
+
*/
|
|
2467
|
+
'OpenAI-Ad-Account'?: string;
|
|
2468
|
+
};
|
|
2469
|
+
path?: never;
|
|
2470
|
+
query?: never;
|
|
2471
|
+
url: '/conversions/event_settings';
|
|
2472
|
+
};
|
|
2473
|
+
type CreateConversionEventSettingMethodResponses = {
|
|
2474
|
+
/**
|
|
2475
|
+
* Success
|
|
2476
|
+
*/
|
|
2477
|
+
200: ConversionEventSettingItemResource;
|
|
2478
|
+
};
|
|
2479
|
+
type CreateConversionEventSettingMethodResponse = CreateConversionEventSettingMethodResponses[keyof CreateConversionEventSettingMethodResponses];
|
|
2480
|
+
type ListConversionSourcesMethodData = {
|
|
2481
|
+
body?: never;
|
|
2482
|
+
headers?: {
|
|
2483
|
+
/**
|
|
2484
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2485
|
+
*/
|
|
2486
|
+
'OpenAI-Ad-Account'?: string;
|
|
2487
|
+
};
|
|
2488
|
+
path?: never;
|
|
2489
|
+
query?: {
|
|
2490
|
+
limit?: number;
|
|
2491
|
+
after?: string;
|
|
2492
|
+
before?: string;
|
|
2493
|
+
order?: ListOrderParam;
|
|
2494
|
+
};
|
|
2495
|
+
url: '/conversions/pixels';
|
|
2496
|
+
};
|
|
2497
|
+
type ListConversionSourcesMethodResponses = {
|
|
2498
|
+
/**
|
|
2499
|
+
* Success
|
|
2500
|
+
*/
|
|
2501
|
+
200: ListClientDataSourceItemsResource;
|
|
2502
|
+
};
|
|
2503
|
+
type ListConversionSourcesMethodResponse = ListConversionSourcesMethodResponses[keyof ListConversionSourcesMethodResponses];
|
|
2504
|
+
type CreateConversionSourceMethodData = {
|
|
2505
|
+
body?: CreateConversionSourceBody;
|
|
2506
|
+
headers?: {
|
|
2507
|
+
/**
|
|
2508
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2509
|
+
*/
|
|
2510
|
+
'OpenAI-Ad-Account'?: string;
|
|
2511
|
+
};
|
|
2512
|
+
path?: never;
|
|
2513
|
+
query?: never;
|
|
2514
|
+
url: '/conversions/pixels';
|
|
2515
|
+
};
|
|
2516
|
+
type CreateConversionSourceMethodResponses = {
|
|
2517
|
+
/**
|
|
2518
|
+
* Success
|
|
2519
|
+
*/
|
|
2520
|
+
200: ClientDataSourceItemResource;
|
|
2521
|
+
};
|
|
2522
|
+
type CreateConversionSourceMethodResponse = CreateConversionSourceMethodResponses[keyof CreateConversionSourceMethodResponses];
|
|
2523
|
+
type ListConversionEventsMethodData = {
|
|
2524
|
+
body?: never;
|
|
2525
|
+
path?: never;
|
|
2526
|
+
query: {
|
|
2527
|
+
/**
|
|
2528
|
+
* Pixel ID to query within the acting ad account.
|
|
2529
|
+
*/
|
|
2530
|
+
pid: string;
|
|
2531
|
+
/**
|
|
2532
|
+
* Maximum conversion events to return.
|
|
2533
|
+
*/
|
|
2534
|
+
limit?: number;
|
|
2535
|
+
};
|
|
2536
|
+
url: '/conversions/events';
|
|
2537
|
+
};
|
|
2538
|
+
type ListConversionEventsMethodResponses = {
|
|
2539
|
+
/**
|
|
2540
|
+
* Success
|
|
2541
|
+
*/
|
|
2542
|
+
200: ConversionEventsResource;
|
|
2543
|
+
};
|
|
2544
|
+
type ListConversionEventsMethodResponse = ListConversionEventsMethodResponses[keyof ListConversionEventsMethodResponses];
|
|
2545
|
+
type PostConversionInsightsMethodData = {
|
|
2546
|
+
body?: PostConversionInsightsBody;
|
|
2547
|
+
headers?: {
|
|
2548
|
+
/**
|
|
2549
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2550
|
+
*/
|
|
2551
|
+
'OpenAI-Ad-Account'?: string;
|
|
2552
|
+
};
|
|
2553
|
+
path?: never;
|
|
2554
|
+
query?: never;
|
|
2555
|
+
url: '/conversions/insights';
|
|
2556
|
+
};
|
|
2557
|
+
type PostConversionInsightsMethodResponses = {
|
|
2558
|
+
/**
|
|
2559
|
+
* Success
|
|
2560
|
+
*/
|
|
2561
|
+
200: ConversionSummaryRowsResource;
|
|
2562
|
+
};
|
|
2563
|
+
type PostConversionInsightsMethodResponse = PostConversionInsightsMethodResponses[keyof PostConversionInsightsMethodResponses];
|
|
2564
|
+
type ListAdGroupsMethodData = {
|
|
2565
|
+
body?: never;
|
|
2566
|
+
headers?: {
|
|
2567
|
+
/**
|
|
2568
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2569
|
+
*/
|
|
2570
|
+
'OpenAI-Ad-Account'?: string;
|
|
2571
|
+
};
|
|
2572
|
+
path?: never;
|
|
2573
|
+
query?: {
|
|
2574
|
+
include?: Array<AdGroupsListIncludeParam>;
|
|
2575
|
+
campaign_id?: string;
|
|
2576
|
+
name?: string;
|
|
2577
|
+
limit?: number;
|
|
2578
|
+
after?: string;
|
|
2579
|
+
before?: string;
|
|
2580
|
+
order?: ListOrderParam;
|
|
2581
|
+
};
|
|
2582
|
+
url: '/ad_groups';
|
|
2583
|
+
};
|
|
2584
|
+
type ListAdGroupsMethodResponses = {
|
|
2585
|
+
/**
|
|
2586
|
+
* Success
|
|
2587
|
+
*/
|
|
2588
|
+
200: AdGroupsResource;
|
|
2589
|
+
};
|
|
2590
|
+
type ListAdGroupsMethodResponse = ListAdGroupsMethodResponses[keyof ListAdGroupsMethodResponses];
|
|
2591
|
+
type CreateAdGroupMethodData = {
|
|
2592
|
+
body?: CreateAdGroupBody;
|
|
2593
|
+
headers?: {
|
|
2594
|
+
/**
|
|
2595
|
+
* Unique key for retrying this create request. If a matching prior create is visible, the existing object is returned instead of creating a duplicate. Must contain at least one non-whitespace character and be at most 255 characters.
|
|
2596
|
+
*/
|
|
2597
|
+
'Idempotency-Key'?: string;
|
|
2598
|
+
/**
|
|
2599
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2600
|
+
*/
|
|
2601
|
+
'OpenAI-Ad-Account'?: string;
|
|
2602
|
+
};
|
|
2603
|
+
path?: never;
|
|
2604
|
+
query?: never;
|
|
2605
|
+
url: '/ad_groups';
|
|
2606
|
+
};
|
|
2607
|
+
type CreateAdGroupMethodResponses = {
|
|
2608
|
+
/**
|
|
2609
|
+
* Success
|
|
2610
|
+
*/
|
|
2611
|
+
200: AdGroupItemBody;
|
|
2612
|
+
};
|
|
2613
|
+
type CreateAdGroupMethodResponse = CreateAdGroupMethodResponses[keyof CreateAdGroupMethodResponses];
|
|
2614
|
+
type GetAdGroupMethodData = {
|
|
2615
|
+
body?: never;
|
|
2616
|
+
headers?: {
|
|
2617
|
+
/**
|
|
2618
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2619
|
+
*/
|
|
2620
|
+
'OpenAI-Ad-Account'?: string;
|
|
2621
|
+
};
|
|
2622
|
+
path: {
|
|
2623
|
+
ad_group_id: string;
|
|
2624
|
+
};
|
|
2625
|
+
query?: {
|
|
2626
|
+
include?: Array<AdGroupItemIncludeParam>;
|
|
2627
|
+
};
|
|
2628
|
+
url: '/ad_groups/{ad_group_id}';
|
|
2629
|
+
};
|
|
2630
|
+
type GetAdGroupMethodResponses = {
|
|
2631
|
+
/**
|
|
2632
|
+
* Success
|
|
2633
|
+
*/
|
|
2634
|
+
200: AdGroupItemBody;
|
|
2635
|
+
};
|
|
2636
|
+
type GetAdGroupMethodResponse = GetAdGroupMethodResponses[keyof GetAdGroupMethodResponses];
|
|
2637
|
+
type UpdateAdGroupMethodData = {
|
|
2638
|
+
body?: UpdateAdGroupBody;
|
|
2639
|
+
headers?: {
|
|
2640
|
+
/**
|
|
2641
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2642
|
+
*/
|
|
2643
|
+
'OpenAI-Ad-Account'?: string;
|
|
2644
|
+
};
|
|
2645
|
+
path: {
|
|
2646
|
+
ad_group_id: string;
|
|
2647
|
+
};
|
|
2648
|
+
query?: never;
|
|
2649
|
+
url: '/ad_groups/{ad_group_id}';
|
|
2650
|
+
};
|
|
2651
|
+
type UpdateAdGroupMethodResponses = {
|
|
2652
|
+
/**
|
|
2653
|
+
* Success
|
|
2654
|
+
*/
|
|
2655
|
+
200: AdGroupItemBody;
|
|
2656
|
+
};
|
|
2657
|
+
type UpdateAdGroupMethodResponse = UpdateAdGroupMethodResponses[keyof UpdateAdGroupMethodResponses];
|
|
2658
|
+
type ActivateAdGroupMethodData = {
|
|
2659
|
+
body?: never;
|
|
2660
|
+
headers?: {
|
|
2661
|
+
/**
|
|
2662
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2663
|
+
*/
|
|
2664
|
+
'OpenAI-Ad-Account'?: string;
|
|
2665
|
+
};
|
|
2666
|
+
path: {
|
|
2667
|
+
ad_group_id: string;
|
|
2668
|
+
};
|
|
2669
|
+
query?: never;
|
|
2670
|
+
url: '/ad_groups/{ad_group_id}/activate';
|
|
2671
|
+
};
|
|
2672
|
+
type ActivateAdGroupMethodResponses = {
|
|
2673
|
+
/**
|
|
2674
|
+
* Success
|
|
2675
|
+
*/
|
|
2676
|
+
200: AdGroupItemBody;
|
|
2677
|
+
};
|
|
2678
|
+
type ActivateAdGroupMethodResponse = ActivateAdGroupMethodResponses[keyof ActivateAdGroupMethodResponses];
|
|
2679
|
+
type PauseAdGroupMethodData = {
|
|
2680
|
+
body?: never;
|
|
2681
|
+
headers?: {
|
|
2682
|
+
/**
|
|
2683
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2684
|
+
*/
|
|
2685
|
+
'OpenAI-Ad-Account'?: string;
|
|
2686
|
+
};
|
|
2687
|
+
path: {
|
|
2688
|
+
ad_group_id: string;
|
|
2689
|
+
};
|
|
2690
|
+
query?: never;
|
|
2691
|
+
url: '/ad_groups/{ad_group_id}/pause';
|
|
2692
|
+
};
|
|
2693
|
+
type PauseAdGroupMethodResponses = {
|
|
2694
|
+
/**
|
|
2695
|
+
* Success
|
|
2696
|
+
*/
|
|
2697
|
+
200: AdGroupItemBody;
|
|
2698
|
+
};
|
|
2699
|
+
type PauseAdGroupMethodResponse = PauseAdGroupMethodResponses[keyof PauseAdGroupMethodResponses];
|
|
2700
|
+
type ArchiveAdGroupMethodData = {
|
|
2701
|
+
body?: never;
|
|
2702
|
+
headers?: {
|
|
2703
|
+
/**
|
|
2704
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2705
|
+
*/
|
|
2706
|
+
'OpenAI-Ad-Account'?: string;
|
|
2707
|
+
};
|
|
2708
|
+
path: {
|
|
2709
|
+
ad_group_id: string;
|
|
2710
|
+
};
|
|
2711
|
+
query?: never;
|
|
2712
|
+
url: '/ad_groups/{ad_group_id}/archive';
|
|
2713
|
+
};
|
|
2714
|
+
type ArchiveAdGroupMethodResponses = {
|
|
2715
|
+
/**
|
|
2716
|
+
* Success
|
|
2717
|
+
*/
|
|
2718
|
+
200: AdGroupItemBody;
|
|
2719
|
+
};
|
|
2720
|
+
type ArchiveAdGroupMethodResponse = ArchiveAdGroupMethodResponses[keyof ArchiveAdGroupMethodResponses];
|
|
2721
|
+
type ListAdsMethodData = {
|
|
2722
|
+
body?: never;
|
|
2723
|
+
headers?: {
|
|
2724
|
+
/**
|
|
2725
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2726
|
+
*/
|
|
2727
|
+
'OpenAI-Ad-Account'?: string;
|
|
2728
|
+
};
|
|
2729
|
+
path?: never;
|
|
2730
|
+
query?: {
|
|
2731
|
+
include?: Array<AdsListIncludeParam>;
|
|
2732
|
+
ad_group_id?: string;
|
|
2733
|
+
name?: string;
|
|
2734
|
+
limit?: number;
|
|
2735
|
+
after?: string;
|
|
2736
|
+
before?: string;
|
|
2737
|
+
order?: ListOrderParam;
|
|
2738
|
+
};
|
|
2739
|
+
url: '/ads';
|
|
2740
|
+
};
|
|
2741
|
+
type ListAdsMethodResponses = {
|
|
2742
|
+
/**
|
|
2743
|
+
* Success
|
|
2744
|
+
*/
|
|
2745
|
+
200: AdsResource;
|
|
2746
|
+
};
|
|
2747
|
+
type ListAdsMethodResponse = ListAdsMethodResponses[keyof ListAdsMethodResponses];
|
|
2748
|
+
type CreateAdMethodData = {
|
|
2749
|
+
body?: CreateAdBody;
|
|
2750
|
+
headers?: {
|
|
2751
|
+
/**
|
|
2752
|
+
* Unique key for retrying this create request. If a matching prior create is visible, the existing object is returned instead of creating a duplicate. Must contain at least one non-whitespace character and be at most 255 characters.
|
|
2753
|
+
*/
|
|
2754
|
+
'Idempotency-Key'?: string;
|
|
2755
|
+
/**
|
|
2756
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2757
|
+
*/
|
|
2758
|
+
'OpenAI-Ad-Account'?: string;
|
|
2759
|
+
};
|
|
2760
|
+
path?: never;
|
|
2761
|
+
query?: never;
|
|
2762
|
+
url: '/ads';
|
|
2763
|
+
};
|
|
2764
|
+
type CreateAdMethodResponses = {
|
|
2765
|
+
/**
|
|
2766
|
+
* Success
|
|
2767
|
+
*/
|
|
2768
|
+
200: AdItemBody;
|
|
2769
|
+
};
|
|
2770
|
+
type CreateAdMethodResponse = CreateAdMethodResponses[keyof CreateAdMethodResponses];
|
|
2771
|
+
type GetAdMethodData = {
|
|
2772
|
+
body?: never;
|
|
2773
|
+
headers?: {
|
|
2774
|
+
/**
|
|
2775
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2776
|
+
*/
|
|
2777
|
+
'OpenAI-Ad-Account'?: string;
|
|
2778
|
+
};
|
|
2779
|
+
path: {
|
|
2780
|
+
ad_id: string;
|
|
2781
|
+
};
|
|
2782
|
+
query?: {
|
|
2783
|
+
include?: Array<AdItemIncludeParam>;
|
|
2784
|
+
};
|
|
2785
|
+
url: '/ads/{ad_id}';
|
|
2786
|
+
};
|
|
2787
|
+
type GetAdMethodResponses = {
|
|
2788
|
+
/**
|
|
2789
|
+
* Success
|
|
2790
|
+
*/
|
|
2791
|
+
200: AdItemBody;
|
|
2792
|
+
};
|
|
2793
|
+
type GetAdMethodResponse = GetAdMethodResponses[keyof GetAdMethodResponses];
|
|
2794
|
+
type UpdateAdMethodData = {
|
|
2795
|
+
body?: UpdateAdBody;
|
|
2796
|
+
headers?: {
|
|
2797
|
+
/**
|
|
2798
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2799
|
+
*/
|
|
2800
|
+
'OpenAI-Ad-Account'?: string;
|
|
2801
|
+
};
|
|
2802
|
+
path: {
|
|
2803
|
+
ad_id: string;
|
|
2804
|
+
};
|
|
2805
|
+
query?: never;
|
|
2806
|
+
url: '/ads/{ad_id}';
|
|
2807
|
+
};
|
|
2808
|
+
type UpdateAdMethodResponses = {
|
|
2809
|
+
/**
|
|
2810
|
+
* Success
|
|
2811
|
+
*/
|
|
2812
|
+
200: AdItemBody;
|
|
2813
|
+
};
|
|
2814
|
+
type UpdateAdMethodResponse = UpdateAdMethodResponses[keyof UpdateAdMethodResponses];
|
|
2815
|
+
type CreateAdPreviewMethodData = {
|
|
2816
|
+
body?: never;
|
|
2817
|
+
headers?: {
|
|
2818
|
+
/**
|
|
2819
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2820
|
+
*/
|
|
2821
|
+
'OpenAI-Ad-Account'?: string;
|
|
2822
|
+
};
|
|
2823
|
+
path: {
|
|
2824
|
+
ad_id: string;
|
|
2825
|
+
};
|
|
2826
|
+
query?: never;
|
|
2827
|
+
url: '/ads/{ad_id}/preview';
|
|
2828
|
+
};
|
|
2829
|
+
type CreateAdPreviewMethodResponses = {
|
|
2830
|
+
/**
|
|
2831
|
+
* Success
|
|
2832
|
+
*/
|
|
2833
|
+
200: AdPreviewResource;
|
|
2834
|
+
};
|
|
2835
|
+
type CreateAdPreviewMethodResponse = CreateAdPreviewMethodResponses[keyof CreateAdPreviewMethodResponses];
|
|
2836
|
+
type ActivateAdMethodData = {
|
|
2837
|
+
body?: never;
|
|
2838
|
+
headers?: {
|
|
2839
|
+
/**
|
|
2840
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2841
|
+
*/
|
|
2842
|
+
'OpenAI-Ad-Account'?: string;
|
|
2843
|
+
};
|
|
2844
|
+
path: {
|
|
2845
|
+
ad_id: string;
|
|
2846
|
+
};
|
|
2847
|
+
query?: never;
|
|
2848
|
+
url: '/ads/{ad_id}/activate';
|
|
2849
|
+
};
|
|
2850
|
+
type ActivateAdMethodResponses = {
|
|
2851
|
+
/**
|
|
2852
|
+
* Success
|
|
2853
|
+
*/
|
|
2854
|
+
200: AdItemBody;
|
|
2855
|
+
};
|
|
2856
|
+
type ActivateAdMethodResponse = ActivateAdMethodResponses[keyof ActivateAdMethodResponses];
|
|
2857
|
+
type PauseAdMethodData = {
|
|
2858
|
+
body?: never;
|
|
2859
|
+
headers?: {
|
|
2860
|
+
/**
|
|
2861
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2862
|
+
*/
|
|
2863
|
+
'OpenAI-Ad-Account'?: string;
|
|
2864
|
+
};
|
|
2865
|
+
path: {
|
|
2866
|
+
ad_id: string;
|
|
2867
|
+
};
|
|
2868
|
+
query?: never;
|
|
2869
|
+
url: '/ads/{ad_id}/pause';
|
|
2870
|
+
};
|
|
2871
|
+
type PauseAdMethodResponses = {
|
|
2872
|
+
/**
|
|
2873
|
+
* Success
|
|
2874
|
+
*/
|
|
2875
|
+
200: AdItemBody;
|
|
2876
|
+
};
|
|
2877
|
+
type PauseAdMethodResponse = PauseAdMethodResponses[keyof PauseAdMethodResponses];
|
|
2878
|
+
type ArchiveAdMethodData = {
|
|
2879
|
+
body?: never;
|
|
2880
|
+
headers?: {
|
|
2881
|
+
/**
|
|
2882
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2883
|
+
*/
|
|
2884
|
+
'OpenAI-Ad-Account'?: string;
|
|
2885
|
+
};
|
|
2886
|
+
path: {
|
|
2887
|
+
ad_id: string;
|
|
2888
|
+
};
|
|
2889
|
+
query?: never;
|
|
2890
|
+
url: '/ads/{ad_id}/archive';
|
|
2891
|
+
};
|
|
2892
|
+
type ArchiveAdMethodResponses = {
|
|
2893
|
+
/**
|
|
2894
|
+
* Success
|
|
2895
|
+
*/
|
|
2896
|
+
200: AdItemBody;
|
|
2897
|
+
};
|
|
2898
|
+
type ArchiveAdMethodResponse = ArchiveAdMethodResponses[keyof ArchiveAdMethodResponses];
|
|
2899
|
+
type UploadBlobMethodData = {
|
|
2900
|
+
body?: UploadBlobBody;
|
|
2901
|
+
headers?: {
|
|
2902
|
+
/**
|
|
2903
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2904
|
+
*/
|
|
2905
|
+
'OpenAI-Ad-Account'?: string;
|
|
2906
|
+
};
|
|
2907
|
+
path?: never;
|
|
2908
|
+
query?: never;
|
|
2909
|
+
url: '/uploads';
|
|
2910
|
+
};
|
|
2911
|
+
type UploadBlobMethodResponses = {
|
|
2912
|
+
/**
|
|
2913
|
+
* Success
|
|
2914
|
+
*/
|
|
2915
|
+
200: UploadBlobResource;
|
|
2916
|
+
};
|
|
2917
|
+
type UploadBlobMethodResponse = UploadBlobMethodResponses[keyof UploadBlobMethodResponses];
|
|
2918
|
+
type UploadImageMethodData = {
|
|
2919
|
+
body?: UploadImageBody;
|
|
2920
|
+
headers?: {
|
|
2921
|
+
/**
|
|
2922
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2923
|
+
*/
|
|
2924
|
+
'OpenAI-Ad-Account'?: string;
|
|
2925
|
+
};
|
|
2926
|
+
path?: never;
|
|
2927
|
+
query?: never;
|
|
2928
|
+
url: '/upload';
|
|
2929
|
+
};
|
|
2930
|
+
type UploadImageMethodResponses = {
|
|
2931
|
+
/**
|
|
2932
|
+
* Success
|
|
2933
|
+
*/
|
|
2934
|
+
200: UploadImageResource;
|
|
2935
|
+
};
|
|
2936
|
+
type UploadImageMethodResponse = UploadImageMethodResponses[keyof UploadImageMethodResponses];
|
|
2937
|
+
type ArchiveProductFeedMethodData = {
|
|
2938
|
+
body?: never;
|
|
2939
|
+
headers?: {
|
|
2940
|
+
/**
|
|
2941
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2942
|
+
*/
|
|
2943
|
+
'OpenAI-Ad-Account'?: string;
|
|
2944
|
+
};
|
|
2945
|
+
path: {
|
|
2946
|
+
feed_id: string;
|
|
2947
|
+
};
|
|
2948
|
+
query?: never;
|
|
2949
|
+
url: '/feeds/{feed_id}/archive';
|
|
2950
|
+
};
|
|
2951
|
+
type ArchiveProductFeedMethodResponses = {
|
|
2952
|
+
/**
|
|
2953
|
+
* Success
|
|
2954
|
+
*/
|
|
2955
|
+
200: ArchivedProductFeedResource;
|
|
2956
|
+
};
|
|
2957
|
+
type ArchiveProductFeedMethodResponse = ArchiveProductFeedMethodResponses[keyof ArchiveProductFeedMethodResponses];
|
|
2958
|
+
type ListProductFeedsMethodData = {
|
|
2959
|
+
body?: never;
|
|
2960
|
+
headers?: {
|
|
2961
|
+
/**
|
|
2962
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2963
|
+
*/
|
|
2964
|
+
'OpenAI-Ad-Account'?: string;
|
|
2965
|
+
};
|
|
2966
|
+
path?: never;
|
|
2967
|
+
query?: {
|
|
2968
|
+
include?: Array<ProductFeedsListIncludeParam>;
|
|
2969
|
+
limit?: number;
|
|
2970
|
+
after?: string;
|
|
2971
|
+
before?: string;
|
|
2972
|
+
};
|
|
2973
|
+
url: '/feeds';
|
|
2974
|
+
};
|
|
2975
|
+
type ListProductFeedsMethodResponses = {
|
|
2976
|
+
/**
|
|
2977
|
+
* Success
|
|
2978
|
+
*/
|
|
2979
|
+
200: ListProductFeedsResource;
|
|
2980
|
+
};
|
|
2981
|
+
type ListProductFeedsMethodResponse = ListProductFeedsMethodResponses[keyof ListProductFeedsMethodResponses];
|
|
2982
|
+
type CreateProductFeedMethodData = {
|
|
2983
|
+
body?: CreateProductFeedBody;
|
|
2984
|
+
headers?: {
|
|
2985
|
+
/**
|
|
2986
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
2987
|
+
*/
|
|
2988
|
+
'OpenAI-Ad-Account'?: string;
|
|
2989
|
+
};
|
|
2990
|
+
path?: never;
|
|
2991
|
+
query?: never;
|
|
2992
|
+
url: '/feeds';
|
|
2993
|
+
};
|
|
2994
|
+
type CreateProductFeedMethodResponses = {
|
|
2995
|
+
/**
|
|
2996
|
+
* Success
|
|
2997
|
+
*/
|
|
2998
|
+
200: ProductFeedResource;
|
|
2999
|
+
};
|
|
3000
|
+
type CreateProductFeedMethodResponse = CreateProductFeedMethodResponses[keyof CreateProductFeedMethodResponses];
|
|
3001
|
+
type ListProductFeedUploadsMethodData = {
|
|
3002
|
+
body?: never;
|
|
3003
|
+
headers?: {
|
|
3004
|
+
/**
|
|
3005
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
3006
|
+
*/
|
|
3007
|
+
'OpenAI-Ad-Account'?: string;
|
|
3008
|
+
};
|
|
3009
|
+
path?: never;
|
|
3010
|
+
query?: {
|
|
3011
|
+
paginate?: boolean;
|
|
3012
|
+
limit?: number;
|
|
3013
|
+
after?: string;
|
|
3014
|
+
before?: string;
|
|
3015
|
+
};
|
|
3016
|
+
url: '/feeds/uploads';
|
|
3017
|
+
};
|
|
3018
|
+
type ListProductFeedUploadsMethodResponses = {
|
|
3019
|
+
/**
|
|
3020
|
+
* Success
|
|
3021
|
+
*/
|
|
3022
|
+
200: ListProductFeedUploadsResource;
|
|
3023
|
+
};
|
|
3024
|
+
type ListProductFeedUploadsMethodResponse = ListProductFeedUploadsMethodResponses[keyof ListProductFeedUploadsMethodResponses];
|
|
3025
|
+
type QueryProductFeedProductsMethodData = {
|
|
3026
|
+
body?: QueryProductFeedProductsBody;
|
|
3027
|
+
headers?: {
|
|
3028
|
+
/**
|
|
3029
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
3030
|
+
*/
|
|
3031
|
+
'OpenAI-Ad-Account'?: string;
|
|
3032
|
+
};
|
|
3033
|
+
path: {
|
|
3034
|
+
feed_id: string;
|
|
3035
|
+
};
|
|
3036
|
+
query?: never;
|
|
3037
|
+
url: '/feeds/{feed_id}/products/query';
|
|
3038
|
+
};
|
|
3039
|
+
type QueryProductFeedProductsMethodResponses = {
|
|
3040
|
+
/**
|
|
3041
|
+
* Success
|
|
3042
|
+
*/
|
|
3043
|
+
200: QueryProductFeedProductsResource;
|
|
3044
|
+
};
|
|
3045
|
+
type QueryProductFeedProductsMethodResponse = QueryProductFeedProductsMethodResponses[keyof QueryProductFeedProductsMethodResponses];
|
|
3046
|
+
type PatchProductFeedProductsMethodData = {
|
|
3047
|
+
body?: PatchProductFeedProductsBody;
|
|
3048
|
+
headers?: {
|
|
3049
|
+
/**
|
|
3050
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
3051
|
+
*/
|
|
3052
|
+
'OpenAI-Ad-Account'?: string;
|
|
3053
|
+
};
|
|
3054
|
+
path: {
|
|
3055
|
+
feed_id: string;
|
|
3056
|
+
};
|
|
3057
|
+
query?: never;
|
|
3058
|
+
url: '/feeds/{feed_id}/products';
|
|
3059
|
+
};
|
|
3060
|
+
type PatchProductFeedProductsMethodResponses = {
|
|
3061
|
+
/**
|
|
3062
|
+
* Success
|
|
3063
|
+
*/
|
|
3064
|
+
200: ProductFeedDeltaResource;
|
|
3065
|
+
};
|
|
3066
|
+
type PatchProductFeedProductsMethodResponse = PatchProductFeedProductsMethodResponses[keyof PatchProductFeedProductsMethodResponses];
|
|
3067
|
+
type GetProductFeedSftpAccessMethodData = {
|
|
3068
|
+
body?: never;
|
|
3069
|
+
headers?: {
|
|
3070
|
+
/**
|
|
3071
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
3072
|
+
*/
|
|
3073
|
+
'OpenAI-Ad-Account'?: string;
|
|
3074
|
+
};
|
|
3075
|
+
path: {
|
|
3076
|
+
feed_id: string;
|
|
3077
|
+
};
|
|
3078
|
+
query?: never;
|
|
3079
|
+
url: '/feeds/{feed_id}/sftp_access';
|
|
3080
|
+
};
|
|
3081
|
+
type GetProductFeedSftpAccessMethodResponses = {
|
|
3082
|
+
/**
|
|
3083
|
+
* Success
|
|
3084
|
+
*/
|
|
3085
|
+
200: ProductFeedSftpAccessResource;
|
|
3086
|
+
};
|
|
3087
|
+
type GetProductFeedSftpAccessMethodResponse = GetProductFeedSftpAccessMethodResponses[keyof GetProductFeedSftpAccessMethodResponses];
|
|
3088
|
+
type PostProductFeedSftpAccessMethodData = {
|
|
3089
|
+
body?: PostProductFeedSftpAccessBody;
|
|
3090
|
+
headers?: {
|
|
3091
|
+
/**
|
|
3092
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
3093
|
+
*/
|
|
3094
|
+
'OpenAI-Ad-Account'?: string;
|
|
3095
|
+
};
|
|
3096
|
+
path: {
|
|
3097
|
+
feed_id: string;
|
|
3098
|
+
};
|
|
3099
|
+
query?: never;
|
|
3100
|
+
url: '/feeds/{feed_id}/sftp_access';
|
|
3101
|
+
};
|
|
3102
|
+
type PostProductFeedSftpAccessMethodResponses = {
|
|
3103
|
+
/**
|
|
3104
|
+
* Success
|
|
3105
|
+
*/
|
|
3106
|
+
200: ProductFeedSftpAccessCredentialsResource;
|
|
3107
|
+
};
|
|
3108
|
+
type PostProductFeedSftpAccessMethodResponse = PostProductFeedSftpAccessMethodResponses[keyof PostProductFeedSftpAccessMethodResponses];
|
|
3109
|
+
type PostProductFeedSftpAccessActivateMethodData = {
|
|
3110
|
+
body?: never;
|
|
3111
|
+
headers?: {
|
|
3112
|
+
/**
|
|
3113
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
3114
|
+
*/
|
|
3115
|
+
'OpenAI-Ad-Account'?: string;
|
|
3116
|
+
};
|
|
3117
|
+
path: {
|
|
3118
|
+
feed_id: string;
|
|
3119
|
+
};
|
|
3120
|
+
query?: never;
|
|
3121
|
+
url: '/feeds/{feed_id}/sftp_access/activate';
|
|
3122
|
+
};
|
|
3123
|
+
type PostProductFeedSftpAccessActivateMethodResponses = {
|
|
3124
|
+
/**
|
|
3125
|
+
* Success
|
|
3126
|
+
*/
|
|
3127
|
+
200: ProductFeedSftpAccessResource;
|
|
3128
|
+
};
|
|
3129
|
+
type PostProductFeedSftpAccessActivateMethodResponse = PostProductFeedSftpAccessActivateMethodResponses[keyof PostProductFeedSftpAccessActivateMethodResponses];
|
|
3130
|
+
type PostProductFeedSftpAccessPauseMethodData = {
|
|
3131
|
+
body?: never;
|
|
3132
|
+
headers?: {
|
|
3133
|
+
/**
|
|
3134
|
+
* Ad account ID selected for this request. Required for OAuth access tokens and shared API keys. Optional for advertiser API keys; when provided, it must match the account authorized for the key.
|
|
3135
|
+
*/
|
|
3136
|
+
'OpenAI-Ad-Account'?: string;
|
|
3137
|
+
};
|
|
3138
|
+
path: {
|
|
3139
|
+
feed_id: string;
|
|
3140
|
+
};
|
|
3141
|
+
query?: never;
|
|
3142
|
+
url: '/feeds/{feed_id}/sftp_access/pause';
|
|
3143
|
+
};
|
|
3144
|
+
type PostProductFeedSftpAccessPauseMethodResponses = {
|
|
3145
|
+
/**
|
|
3146
|
+
* Success
|
|
3147
|
+
*/
|
|
3148
|
+
200: ProductFeedSftpAccessResource;
|
|
3149
|
+
};
|
|
3150
|
+
type PostProductFeedSftpAccessPauseMethodResponse = PostProductFeedSftpAccessPauseMethodResponses[keyof PostProductFeedSftpAccessPauseMethodResponses];
|
|
3151
|
+
type CreatePartnerDataUploadMethodData = {
|
|
3152
|
+
body?: CreatePartnerDataUploadBody;
|
|
3153
|
+
path?: never;
|
|
3154
|
+
query?: never;
|
|
3155
|
+
url: '/partner_data/uploads';
|
|
3156
|
+
};
|
|
3157
|
+
type CreatePartnerDataUploadMethodResponses = {
|
|
3158
|
+
/**
|
|
3159
|
+
* Success
|
|
3160
|
+
*/
|
|
3161
|
+
200: CreatePartnerDataUploadResource;
|
|
3162
|
+
};
|
|
3163
|
+
type CreatePartnerDataUploadMethodResponse = CreatePartnerDataUploadMethodResponses[keyof CreatePartnerDataUploadMethodResponses];
|
|
3164
|
+
type GetPartnerDataUploadMethodData = {
|
|
3165
|
+
body?: never;
|
|
3166
|
+
path: {
|
|
3167
|
+
upload_id: string;
|
|
3168
|
+
};
|
|
3169
|
+
query?: never;
|
|
3170
|
+
url: '/partner_data/uploads/{upload_id}';
|
|
3171
|
+
};
|
|
3172
|
+
type GetPartnerDataUploadMethodResponses = {
|
|
3173
|
+
/**
|
|
3174
|
+
* Success
|
|
3175
|
+
*/
|
|
3176
|
+
200: PartnerDataUploadResource;
|
|
3177
|
+
};
|
|
3178
|
+
type GetPartnerDataUploadMethodResponse = GetPartnerDataUploadMethodResponses[keyof GetPartnerDataUploadMethodResponses];
|
|
3179
|
+
//#endregion
|
|
3180
|
+
export { ArchiveCampaignMethodResponse as $, PatchProductFeedProductsMethodData as $a, ListAdGroupsMethodResponse as $i, CreateLeadSyncSubscriptionMethodResponse as $n, ProductSetParams as $o, GetAdInsightsMethodResponses as $r, UpdateAdGroupMethodResponse as $s, CreateAdAccountCreationSessionMethodResponses as $t, AdImageCropBody as A, ListLeadFormsMethodResponse as Aa, GetPartnerDataUploadMethodData as Ai, CreateConversionApiKeyMethodData as An, PreviewBusinessAgentMethodResponse as Ao, DeleteLeadSyncSubscriptionMethodData as Ar, TargetingGeoLocationParams as As, CampaignModeParam as At, AddCustomAudienceMembersMethodResponse as B, ListProductFeedUploadsMethodResponses as Ba, LeadFormListItemBody as Bi, CreateConversionSourceMethodResponses as Bn, ProductFeedSftpAccessResource as Bo, GetAdAccountMethodResponse as Br, UpdateAdAccountMethodResponses as Bs, ConversionApiKeyResource as Bt, AdCreativeTypeParam as C, ListConversionSourcesMethodData as Ca, UploadImageMethodData as Cc, GetGeoLookupMethodResponses as Ci, CreateBusinessAgentMethodResponse as Cn, PostProductFeedSftpAccessMethodResponse as Co, CustomAudienceMembershipMutationBody as Cr, ReviewBody as Cs, BusinessAgentPreviewMessageRoleParam as Ct, AdGroupServingIssueCode as D, ListCustomAudiencesMethodResponse as Da, UploadImageResource as Dc, GetLeadSyncSubscriptionMethodData as Di, CreateCampaignMethodResponse as Dn, PostProductFeedSftpAccessPauseMethodResponses as Do, DeleteAdAccountSpendLimitWindowMethodResponse as Dr, TargetingCustomAudiencesBody as Ds, CampaignGetItemIncludeParam as Dt, AdGroupServingIssueBody as E, ListCustomAudiencesMethodData as Ea, UploadImagePurposeParam as Ec, GetLeadFormMethodResponses as Ei, CreateCampaignMethodData as En, PostProductFeedSftpAccessPauseMethodResponse as Eo, DeleteAdAccountSpendLimitWindowMethodData as Er, TargetingBody as Es, CampaignBillingEventTypeParam as Et, AdPreviewResource as F, ListLeadSyncSubscriptionsMethodResponses as Fa, GetProductFeedSftpAccessMethodResponses as Fi, CreateConversionEventSettingMethodResponse as Fn, ProductFeedDeltaResource as Fo, GeoLookupSearchResource as Fr, TargetingPlatformsParams as Fs, CampaignsResource as Ft, AppealStatus as G, ListProductFeedsResource as Ga, LeadSyncWebhookEvent as Gi, CreateLeadFormBody as Gn, ProductFeedUploadDiagnosticCodeResource as Go, GetAdGroupInsightsMethodData as Gr, UpdateAdAccountSpendLimitWindowBody as Gs, ConversionEventSettingSourceBody as Gt, AdsListIncludeParam as H, ListProductFeedsMethodData as Ha, LeadSyncSubscriptionResource as Hi, CreateCustomAudienceMethodData as Hn, ProductFeedSftpAuthenticationMethodResource as Ho, GetAdAccountSpendLimitWindowsMethodData as Hr, UpdateAdAccountNegativeKeywordsMethodData as Hs, ConversionEventBody as Ht, AdServingIssueBody as I, ListOrderParam as Ia, InsightItemBody as Ii, CreateConversionEventSettingMethodResponses as In, ProductFeedDeltaVariantBodyParam as Io, GetAdAccountInsightsMethodData as Ir, TestLeadSubmissionResource as Is, ClientDataSourceItemResource as It, ArchiveAdGroupMethodResponses as J, MergeCustomAudiencesMethodResponse as Ja, LeadSyncWebhookScalarResponse as Ji, CreateLeadFormMethodResponse as Jn, ProductFeedsListIncludeParam as Jo, GetAdGroupMethodData as Jr, UpdateAdAccountSpendLimitWindowMethodResponses as Js, ConversionSummaryRowsResource as Jt, ArchiveAdGroupMethodData as K, MergeCustomAudiencesBody as Ka, LeadSyncWebhookMultipleChoiceResponse as Ki, CreateLeadFormFieldBodyParam as Kn, ProductFeedUploadDiagnosticSeverityResource as Ko, GetAdGroupInsightsMethodResponse as Kr, UpdateAdAccountSpendLimitWindowMethodData as Ks, ConversionEventsResource as Kt, AdServingIssueCode as L, ListProductFeedBody as La, InsightsResource as Li, CreateConversionSourceBody as Ln, ProductFeedProductBody as Lo, GetAdAccountInsightsMethodResponse as Lr, UpdateAdAccountBody as Ls, ClientDataSourceTypeParam as Lt, AdItemBody as M, ListLeadFormsResource as Ma, GetPartnerDataUploadMethodResponses as Mi, CreateConversionApiKeyMethodResponses as Mn, ProductFeedDeltaAvailabilityBodyParam as Mo, DeleteLeadSyncSubscriptionMethodResponses as Mr, TargetingGeoLocationsParams as Ms, CampaignPlatformParam as Mt, AdItemIncludeParam as N, ListLeadSyncSubscriptionsMethodData as Na, GetProductFeedSftpAccessMethodData as Ni, CreateConversionEventSettingBody as Nn, ProductFeedDeltaPriceBodyParam as No, DeletedLeadSyncSubscriptionResource as Nr, TargetingParams as Ns, CampaignServingIssueBody as Nt, AdGroupsListIncludeParam as O, ListCustomAudiencesMethodResponses as Oa, GetLeadSyncSubscriptionMethodResponse as Oi, CreateCampaignMethodResponses as On, PreviewBusinessAgentBody as Oo, DeleteAdAccountSpendLimitWindowMethodResponses as Or, TargetingCustomAudiencesParams as Os, CampaignItemBody as Ot, AdPreviewItemBody as P, ListLeadSyncSubscriptionsMethodResponse as Pa, GetProductFeedSftpAccessMethodResponse as Pi, CreateConversionEventSettingMethodData as Pn, ProductFeedDeltaProductBodyParam as Po, GeoLookupEntry as Pr, TargetingPlatformsBody as Ps, CampaignServingIssueCode as Pt, ArchiveCampaignMethodData as Q, PatchProductFeedProductsBody as Qa, ListAdGroupsMethodData as Qi, CreateLeadSyncSubscriptionMethodData as Qn, ProductSetFilterParams as Qo, GetAdInsightsMethodResponse as Qr, UpdateAdGroupMethodData as Qs, CreateAdAccountCreationSessionMethodResponse as Qt, AdSpecType as R, ListProductFeedUploadsMethodData as Ra, LandingPageConfigurationBody as Ri, CreateConversionSourceMethodData as Rn, ProductFeedResource as Ro, GetAdAccountInsightsMethodResponses as Rr, UpdateAdAccountMethodData as Rs, ClientOptions as Rt, AdAppealBody as S, ListConversionEventsMethodResponses as Sa, UploadImageBody as Sc, GetGeoLookupMethodResponse as Si, CreateBusinessAgentMethodData as Sn, PostProductFeedSftpAccessMethodData as So, CustomAudienceMatchedCountGranularityParam as Sr, ReplaceCustomAudienceMembersMethodResponses as Ss, BusinessAgentPreviewMessageBody as St, AdGroupItemIncludeParam as T, ListConversionSourcesMethodResponses as Ta, UploadImageMethodResponses as Tc, GetLeadFormMethodResponse as Ti, CreateCampaignBody as Tn, PostProductFeedSftpAccessPauseMethodData as To, CustomAudiencesResource as Tr, ReviewStatus as Ts, CampaignBiddingTypeParam as Tt, AdsOAuthMeResource as U, ListProductFeedsMethodResponse as Ua, LeadSyncSubscriptionsResource as Ui, CreateCustomAudienceMethodResponse as Un, ProductFeedUploadBody as Uo, GetAdAccountSpendLimitWindowsMethodResponse as Ur, UpdateAdAccountNegativeKeywordsMethodResponse as Us, ConversionEventSettingCampaignBody as Ut, AddCustomAudienceMembersMethodResponses as V, ListProductFeedUploadsResource as Va, LeadSyncSubscriptionListItemBody as Vi, CreateCustomAudienceBody as Vn, ProductFeedSftpAuthenticationMethodParam as Vo, GetAdAccountMethodResponses as Vr, UpdateAdAccountNegativeKeywordsBody as Vs, ConversionBreakdownParam as Vt, AdsResource as W, ListProductFeedsMethodResponses as Wa, LeadSyncWebhookData as Wi, CreateCustomAudienceMethodResponses as Wn, ProductFeedUploadDiagnosticBody as Wo, GetAdAccountSpendLimitWindowsMethodResponses as Wr, UpdateAdAccountNegativeKeywordsMethodResponses as Ws, ConversionEventSettingItemResource as Wt, ArchiveAdMethodResponse as X, PartnerDataTypeParam as Xa, ListAdAccountsMethodResponse as Xi, CreateLeadFormOptionBodyParam as Xn, ProductSetFilterBody as Xo, GetAdGroupMethodResponses as Xr, UpdateAdCreativeParams as Xs, CreateAdAccountCreationSessionBody as Xt, ArchiveAdMethodData as Y, MergeCustomAudiencesMethodResponses as Ya, ListAdAccountsMethodData as Yi, CreateLeadFormMethodResponses as Yn, ProductSetBody as Yo, GetAdGroupMethodResponse as Yr, UpdateAdBody as Ys, ConversionTimeGranularityParam as Yt, ArchiveAdMethodResponses as Z, PartnerDataUploadResource as Za, ListAdAccountsMethodResponses as Zi, CreateLeadSyncSubscriptionBody as Zn, ProductSetFilterOperatorParam as Zo, GetAdInsightsMethodData as Zr, UpdateAdGroupBody as Zs, CreateAdAccountCreationSessionMethodData as Zt, AdAccountCreationSessionResource as _, ListConversionEventSettingsMethodResponse as _a, UploadBlobMethodData as _c, GetCustomAudienceMethodResponses as _i, CreateApiKeyMethodData as _n, PostConversionInsightsMethodResponses as _o, CustomAudienceIdentifierResolutionParam as _r, RemoveCustomAudienceMembersMethodResponse as _s, BudgetParams as _t, ActivateAdAccountMethodResponses as a, ListBusinessAgentToolsMethodResponse as aa, UpdateBusinessAgentMethodData as ac, GetAdsOAuthMeMethodResponses as ai, CreateAdCreativeParams as an, PauseAdGroupMethodData as ao, CreatePartnerDataUploadResource as ar, PublishBusinessAgentMethodResponse as as, ArchiveLeadFormMethodResponse as at, AdAccountSpendLimitWindowsListResource as b, ListConversionEventsMethodData as ba, UploadBlobPurposeParam as bc, GetCustomAudienceOperationMethodResponses as bi, CreateApiKeyResource as bn, PostProductFeedSftpAccessActivateMethodResponses as bo, CustomAudienceIntendedUseParam as br, ReplaceCustomAudienceMembersMethodData as bs, BusinessAgentLeadFormSelectionBodyParam as bt, ActivateAdGroupMethodResponses as c, ListBusinessAgentsMethodData as ca, UpdateCampaignBody as cc, GetBusinessAgentMethodResponses as ci, CreateAdGroupMethodResponse as cn, PauseAdMethodData as co, CreateProductFeedMethodResponse as cr, PublishLeadFormMethodData as cs, ArchiveProductFeedMethodResponse as ct, ActivateAdMethodResponses as d, ListBusinessAgentsResource as da, UpdateCampaignMethodResponses as dc, GetCampaignInsightsMethodResponses as di, CreateAdMethodResponse as dn, PauseCampaignMethodData as do, CreateTestLeadSubmissionMethodData as dr, QueryProductFeedProductsBody as ds, BiddingConfigBody as dt, ListAdGroupsMethodResponses as ea, UpdateAdGroupMethodResponses as ec, GetAdMethodData as ei, CreateAdAccountSpendLimitWindowBody as en, PatchProductFeedProductsMethodResponse as eo, CreateLeadSyncSubscriptionMethodResponses as er, PublicBusinessAgentPreviewMessageBodyParam as es, ArchiveCampaignMethodResponses as et, ActivateCampaignMethodData as f, ListCampaignsMethodData as fa, UpdateLeadFormBody as fc, GetCampaignMethodData as fi, CreateAdMethodResponses as fn, PauseCampaignMethodResponse as fo, CreateTestLeadSubmissionMethodResponse as fr, QueryProductFeedProductsMethodData as fs, BiddingConfigParams as ft, ActivePausedStatusParam as g, ListConversionEventSettingsMethodData as ga, UploadBlobBody as gc, GetCustomAudienceMethodResponse as gi, CreateApiKeyBody as gn, PostConversionInsightsMethodResponse as go, CustomAudienceBidMultiplierParams as gr, RemoveCustomAudienceMembersMethodData as gs, BudgetBody as gt, ActivePausedArchivedStatusParam as h, ListClientDataSourceItemsResource as ha, UpdateLeadFormMethodResponses as hc, GetCustomAudienceMethodData as hi, CreateAdPreviewMethodResponses as hn, PostConversionInsightsMethodData as ho, CustomAudienceBidMultiplierBody as hr, QueryProductFeedProductsResource as hs, BillingEventTypeParam as ht, ActivateAdAccountMethodResponse as i, ListBusinessAgentToolsMethodData as ia, UpdateBusinessAgentBody as ic, GetAdsOAuthMeMethodResponse as ii, CreateAdBody as in, PauseAdAccountMethodResponses as io, CreatePartnerDataUploadMethodResponses as ir, PublishBusinessAgentMethodData as is, ArchiveLeadFormMethodData as it, AdImageCropParams as j, ListLeadFormsMethodResponses as ja, GetPartnerDataUploadMethodResponse as ji, CreateConversionApiKeyMethodResponse as jn, PreviewBusinessAgentMethodResponses as jo, DeleteLeadSyncSubscriptionMethodResponse as jr, TargetingGeoLocationsBody as js, CampaignObjectiveParam as jt, AdGroupsResource as k, ListLeadFormsMethodData as ka, GetLeadSyncSubscriptionMethodResponses as ki, CreateConversionApiKeyBody as kn, PreviewBusinessAgentMethodData as ko, DeleteAdAccountSpendLimitWindowResource as kr, TargetingGeoLocationBody as ks, CampaignListIncludeParam as kt, ActivateAdMethodData as l, ListBusinessAgentsMethodResponse as la, UpdateCampaignMethodData as lc, GetCampaignInsightsMethodData as li, CreateAdGroupMethodResponses as ln, PauseAdMethodResponse as lo, CreateProductFeedMethodResponses as lr, PublishLeadFormMethodResponse as ls, ArchiveProductFeedMethodResponses as lt, ActivateCampaignMethodResponses as m, ListCampaignsMethodResponses as ma, UpdateLeadFormMethodResponse as mc, GetCampaignMethodResponses as mi, CreateAdPreviewMethodResponse as mn, PostConversionInsightsBody as mo, CreatedLeadSyncSubscriptionResource as mr, QueryProductFeedProductsMethodResponses as ms, BiddingStrategyTypeParam as mt, AccountIntegrityReviewDetailsBody as n, ListAdsMethodResponse as na, UpdateAdMethodResponse as nc, GetAdMethodResponses as ni, CreateAdAccountSpendLimitWindowMethodResponse as nn, PauseAdAccountMethodData as no, CreatePartnerDataUploadMethodData as nr, PublicLeadFormFieldTypeParam as ns, ArchiveCustomAudienceMethodResponse as nt, ActivateAdGroupMethodData as o, ListBusinessAgentToolsMethodResponses as oa, UpdateBusinessAgentMethodResponse as oc, GetBusinessAgentMethodData as oi, CreateAdGroupBody as on, PauseAdGroupMethodResponse as oo, CreateProductFeedBody as or, PublishBusinessAgentMethodResponses as os, ArchiveLeadFormMethodResponses as ot, ActivateCampaignMethodResponse as p, ListCampaignsMethodResponse as pa, UpdateLeadFormMethodData as pc, GetCampaignMethodResponse as pi, CreateAdPreviewMethodData as pn, PauseCampaignMethodResponses as po, CreateTestLeadSubmissionMethodResponses as pr, QueryProductFeedProductsMethodResponse as ps, BiddingStrategyTypeBody as pt, ArchiveAdGroupMethodResponse as q, MergeCustomAudiencesMethodData as qa, LeadSyncWebhookOption as qi, CreateLeadFormMethodData as qn, ProductFeedUploadStatusResource as qo, GetAdGroupInsightsMethodResponses as qr, UpdateAdAccountSpendLimitWindowMethodResponse as qs, ConversionSummaryRowBody as qt, ActivateAdAccountMethodData as r, ListAdsMethodResponses as ra, UpdateAdMethodResponses as rc, GetAdsOAuthMeMethodData as ri, CreateAdAccountSpendLimitWindowMethodResponses as rn, PauseAdAccountMethodResponse as ro, CreatePartnerDataUploadMethodResponse as rr, PublicLeadFormOptionBody as rs, ArchiveCustomAudienceMethodResponses as rt, ActivateAdGroupMethodResponse as s, ListBusinessAgentToolsResource as sa, UpdateBusinessAgentMethodResponses as sc, GetBusinessAgentMethodResponse as si, CreateAdGroupMethodData as sn, PauseAdGroupMethodResponses as so, CreateProductFeedMethodData as sr, PublishLeadFormBody as ss, ArchiveProductFeedMethodData as st, AccountIntegrityReviewBody as t, ListAdsMethodData as ta, UpdateAdMethodData as tc, GetAdMethodResponse as ti, CreateAdAccountSpendLimitWindowMethodData as tn, PatchProductFeedProductsMethodResponses as to, CreatePartnerDataUploadBody as tr, PublicLeadFormFieldBody as ts, ArchiveCustomAudienceMethodData as tt, ActivateAdMethodResponse as u, ListBusinessAgentsMethodResponses as ua, UpdateCampaignMethodResponse as uc, GetCampaignInsightsMethodResponse as ui, CreateAdMethodData as un, PauseAdMethodResponses as uo, CreateTestLeadSubmissionBody as ur, PublishLeadFormMethodResponses as us, ArchivedProductFeedResource as ut, AdAccountResource as v, ListConversionEventSettingsMethodResponses as va, UploadBlobMethodResponse as vc, GetCustomAudienceOperationMethodData as vi, CreateApiKeyMethodResponse as vn, PostProductFeedSftpAccessActivateMethodData as vo, CustomAudienceIdentifierTypeParam as vr, RemoveCustomAudienceMembersMethodResponses as vs, BusinessAgentCatalogToolBody as vt, AdGroupItemBody as w, ListConversionSourcesMethodResponse as wa, UploadImageMethodResponse as wc, GetLeadFormMethodData as wi, CreateBusinessAgentMethodResponses as wn, PostProductFeedSftpAccessMethodResponses as wo, CustomAudienceMembershipOperationBody as wr, ReviewReasonCode as ws, BusinessAgentPreviewResource as wt, AdAccountsResource as x, ListConversionEventsMethodResponse as xa, UploadBlobResource as xc, GetGeoLookupMethodData as xi, CreateBusinessAgentBody as xn, PostProductFeedSftpAccessBody as xo, CustomAudienceItemBody as xr, ReplaceCustomAudienceMembersMethodResponse as xs, BusinessAgentListItemBody as xt, AdAccountSpendLimitWindowBody as y, ListConversionEventSettingsResource as ya, UploadBlobMethodResponses as yc, GetCustomAudienceOperationMethodResponse as yi, CreateApiKeyMethodResponses as yn, PostProductFeedSftpAccessActivateMethodResponse as yo, CustomAudienceInlineIdentifierParams as yr, ReplaceCustomAudienceMembersBody as ys, BusinessAgentLeadFormSelectionBody as yt, AddCustomAudienceMembersMethodData as z, ListProductFeedUploadsMethodResponse as za, LandingPageConfigurationParams as zi, CreateConversionSourceMethodResponse as zn, ProductFeedSftpAccessCredentialsResource as zo, GetAdAccountMethodData as zr, UpdateAdAccountMethodResponse as zs, ConversationalBottomOtmSpecBody as zt };
|
|
3181
|
+
//# sourceMappingURL=types.gen-C0tFuU7P.d.mts.map
|