@getlatedev/node 0.2.938 → 0.2.939
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/index.d.mts +321 -12
- package/dist/index.d.ts +321 -12
- package/dist/index.js +55 -1
- package/dist/index.mjs +55 -1
- package/package.json +1 -1
- package/src/client.ts +24 -0
- package/src/generated/sdk.gen.ts +67 -1
- package/src/generated/types.gen.ts +332 -11
|
@@ -4682,6 +4682,40 @@ export type GeoRestriction = {
|
|
|
4682
4682
|
countries: Array<(string)>;
|
|
4683
4683
|
};
|
|
4684
4684
|
|
|
4685
|
+
/**
|
|
4686
|
+
* Link one asset to the asset group. Send exactly one of asset (an existing asset), text, imageUrl or youtubeVideoId (new content, created in the same request).
|
|
4687
|
+
*/
|
|
4688
|
+
export type GoogleAssetGroupAssetLink = {
|
|
4689
|
+
/**
|
|
4690
|
+
* Google AssetFieldType, such as HEADLINE, LONG_HEADLINE, DESCRIPTION, BUSINESS_NAME, MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, LOGO, LANDSCAPE_LOGO or YOUTUBE_VIDEO.
|
|
4691
|
+
*/
|
|
4692
|
+
fieldType: string;
|
|
4693
|
+
/**
|
|
4694
|
+
* Existing asset id or resource name customers/{customerId}/assets/{assetId}. Must belong to the campaign's ad account.
|
|
4695
|
+
*/
|
|
4696
|
+
asset?: string;
|
|
4697
|
+
/**
|
|
4698
|
+
* Text assets link as HEADLINE, LONG_HEADLINE, DESCRIPTION or BUSINESS_NAME.
|
|
4699
|
+
*/
|
|
4700
|
+
text?: string;
|
|
4701
|
+
/**
|
|
4702
|
+
* Public http(s) image. Links as an image role or LOGO / LANDSCAPE_LOGO.
|
|
4703
|
+
*/
|
|
4704
|
+
imageUrl?: string;
|
|
4705
|
+
/**
|
|
4706
|
+
* Links as YOUTUBE_VIDEO.
|
|
4707
|
+
*/
|
|
4708
|
+
youtubeVideoId?: string;
|
|
4709
|
+
};
|
|
4710
|
+
|
|
4711
|
+
export type GoogleAssetGroupAssetUnlink = {
|
|
4712
|
+
fieldType: string;
|
|
4713
|
+
/**
|
|
4714
|
+
* Asset id or resource name, as returned in the asset group's assets.
|
|
4715
|
+
*/
|
|
4716
|
+
asset: string;
|
|
4717
|
+
};
|
|
4718
|
+
|
|
4685
4719
|
/**
|
|
4686
4720
|
* Supply fields for exactly one asset type per update. finalUrls may accompany sitelinkAsset. Shared asset edits affect every attachment using the asset.
|
|
4687
4721
|
*/
|
|
@@ -4863,6 +4897,88 @@ export type GoogleBusinessReview = {
|
|
|
4863
4897
|
*/
|
|
4864
4898
|
export type starRating = 'ONE' | 'TWO' | 'THREE' | 'FOUR' | 'FIVE';
|
|
4865
4899
|
|
|
4900
|
+
/**
|
|
4901
|
+
* Exactly one key. Omit the value (for example { productBrand: {} }) for the everything-else node of that level.
|
|
4902
|
+
*/
|
|
4903
|
+
export type GoogleListingGroupDimension = {
|
|
4904
|
+
productBrand?: {
|
|
4905
|
+
value?: string;
|
|
4906
|
+
};
|
|
4907
|
+
productCategory?: {
|
|
4908
|
+
/**
|
|
4909
|
+
* Google product category id.
|
|
4910
|
+
*/
|
|
4911
|
+
categoryId?: string;
|
|
4912
|
+
level: 'LEVEL1' | 'LEVEL2' | 'LEVEL3' | 'LEVEL4' | 'LEVEL5';
|
|
4913
|
+
};
|
|
4914
|
+
productType?: {
|
|
4915
|
+
value?: string;
|
|
4916
|
+
level: 'LEVEL1' | 'LEVEL2' | 'LEVEL3' | 'LEVEL4' | 'LEVEL5';
|
|
4917
|
+
};
|
|
4918
|
+
productItemId?: {
|
|
4919
|
+
value?: string;
|
|
4920
|
+
};
|
|
4921
|
+
productCondition?: {
|
|
4922
|
+
condition?: 'NEW' | 'REFURBISHED' | 'USED';
|
|
4923
|
+
};
|
|
4924
|
+
productChannel?: {
|
|
4925
|
+
channel?: 'ONLINE' | 'LOCAL';
|
|
4926
|
+
};
|
|
4927
|
+
productCustomAttribute?: {
|
|
4928
|
+
value?: string;
|
|
4929
|
+
index: 'INDEX0' | 'INDEX1' | 'INDEX2' | 'INDEX3' | 'INDEX4';
|
|
4930
|
+
};
|
|
4931
|
+
};
|
|
4932
|
+
|
|
4933
|
+
export type level = 'LEVEL1' | 'LEVEL2' | 'LEVEL3' | 'LEVEL4' | 'LEVEL5';
|
|
4934
|
+
|
|
4935
|
+
export type condition = 'NEW' | 'REFURBISHED' | 'USED';
|
|
4936
|
+
|
|
4937
|
+
export type channel3 = 'ONLINE' | 'LOCAL';
|
|
4938
|
+
|
|
4939
|
+
export type index = 'INDEX0' | 'INDEX1' | 'INDEX2' | 'INDEX3' | 'INDEX4';
|
|
4940
|
+
|
|
4941
|
+
export type GoogleListingGroupFilterNode = {
|
|
4942
|
+
id: string;
|
|
4943
|
+
/**
|
|
4944
|
+
* customers/{customerId}/assetGroupListingGroupFilters/{assetGroupId}~{filterId}
|
|
4945
|
+
*/
|
|
4946
|
+
resourceName: string;
|
|
4947
|
+
/**
|
|
4948
|
+
* Null for the root node.
|
|
4949
|
+
*/
|
|
4950
|
+
parentResourceName: (string) | null;
|
|
4951
|
+
type: 'SUBDIVISION' | 'UNIT_INCLUDED' | 'UNIT_EXCLUDED';
|
|
4952
|
+
listingSource: string;
|
|
4953
|
+
/**
|
|
4954
|
+
* Google's case value for the node, such as { productBrand: { value: 'Acme' } }. A dimension with no value is the everything-else node. Null for the root.
|
|
4955
|
+
*/
|
|
4956
|
+
dimension: {
|
|
4957
|
+
[key: string]: unknown;
|
|
4958
|
+
} | null;
|
|
4959
|
+
};
|
|
4960
|
+
|
|
4961
|
+
export type type7 = 'SUBDIVISION' | 'UNIT_INCLUDED' | 'UNIT_EXCLUDED';
|
|
4962
|
+
|
|
4963
|
+
export type GoogleListingGroupNode = {
|
|
4964
|
+
dimension: GoogleListingGroupDimension;
|
|
4965
|
+
/**
|
|
4966
|
+
* Leaf only. true excludes these products.
|
|
4967
|
+
*/
|
|
4968
|
+
excluded?: boolean;
|
|
4969
|
+
/**
|
|
4970
|
+
* Makes the node a subdivision. Children share one dimension (and level or index) and include exactly one everything-else node.
|
|
4971
|
+
*/
|
|
4972
|
+
children?: Array<GoogleListingGroupNode>;
|
|
4973
|
+
};
|
|
4974
|
+
|
|
4975
|
+
/**
|
|
4976
|
+
* The root of a Performance Max retail listing-group tree (listing source SHOPPING). No children targets all products. Requires a campaign linked to Merchant Center.
|
|
4977
|
+
*/
|
|
4978
|
+
export type GoogleListingGroupTree = {
|
|
4979
|
+
children?: Array<GoogleListingGroupNode>;
|
|
4980
|
+
};
|
|
4981
|
+
|
|
4866
4982
|
/**
|
|
4867
4983
|
* Google only. Who a campaign's location targeting reaches (Google's
|
|
4868
4984
|
* `campaign.geo_target_type_setting.positive_geo_target_type`).
|
|
@@ -4876,14 +4992,33 @@ export type starRating = 'ONE' | 'TWO' | 'THREE' | 'FOUR' | 'FIVE';
|
|
|
4876
4992
|
export type GoogleLocationTargetingType = 'presence' | 'presence_or_interest';
|
|
4877
4993
|
|
|
4878
4994
|
export type GooglePmaxAssetGroup = {
|
|
4995
|
+
/**
|
|
4996
|
+
* Stable Google asset group id. Use it in the asset-group endpoints below.
|
|
4997
|
+
*/
|
|
4879
4998
|
id: string;
|
|
4999
|
+
/**
|
|
5000
|
+
* customers/{customerId}/assetGroups/{assetGroupId}
|
|
5001
|
+
*/
|
|
4880
5002
|
resourceName: string;
|
|
5003
|
+
campaignId: string;
|
|
4881
5004
|
name: string;
|
|
4882
5005
|
/**
|
|
4883
5006
|
* Asset-group status on Google. Campaign status independently controls delivery.
|
|
4884
5007
|
*/
|
|
4885
5008
|
status: string;
|
|
4886
5009
|
finalUrls: Array<(string)>;
|
|
5010
|
+
finalMobileUrls: Array<(string)>;
|
|
5011
|
+
path1: (string) | null;
|
|
5012
|
+
path2: (string) | null;
|
|
5013
|
+
/**
|
|
5014
|
+
* Google ad strength, such as POOR, AVERAGE, GOOD or EXCELLENT.
|
|
5015
|
+
*/
|
|
5016
|
+
adStrength: (string) | null;
|
|
5017
|
+
/**
|
|
5018
|
+
* Why the group is or is not serving, such as ELIGIBLE, PAUSED or NOT_ELIGIBLE.
|
|
5019
|
+
*/
|
|
5020
|
+
primaryStatus: (string) | null;
|
|
5021
|
+
primaryStatusReasons: Array<(string)>;
|
|
4887
5022
|
assets: Array<{
|
|
4888
5023
|
resourceName: string;
|
|
4889
5024
|
/**
|
|
@@ -4897,6 +5032,13 @@ export type GooglePmaxAssetGroup = {
|
|
|
4897
5032
|
}>;
|
|
4898
5033
|
};
|
|
4899
5034
|
|
|
5035
|
+
export type GooglePmaxAssetGroupDetail = GooglePmaxAssetGroup & {
|
|
5036
|
+
/**
|
|
5037
|
+
* The asset group's listing-group tree as flat nodes (retail campaigns). Empty when the group has none.
|
|
5038
|
+
*/
|
|
5039
|
+
listingGroupFilters: Array<GoogleListingGroupFilterNode>;
|
|
5040
|
+
};
|
|
5041
|
+
|
|
4900
5042
|
/**
|
|
4901
5043
|
* Google Performance Max creative assets. At least one description must be 60 characters or fewer. Texts within each list must be distinct.
|
|
4902
5044
|
*/
|
|
@@ -6261,7 +6403,7 @@ export type MediaItem = {
|
|
|
6261
6403
|
tiktokProcessed?: boolean;
|
|
6262
6404
|
};
|
|
6263
6405
|
|
|
6264
|
-
export type
|
|
6406
|
+
export type type8 = 'image' | 'video' | 'gif' | 'document';
|
|
6265
6407
|
|
|
6266
6408
|
export type MediaUploadResponse = {
|
|
6267
6409
|
files?: Array<UploadedFile>;
|
|
@@ -6388,7 +6530,7 @@ export type MetaCatalogProductInput = {
|
|
|
6388
6530
|
|
|
6389
6531
|
export type availability = 'in stock' | 'out of stock' | 'preorder' | 'available for order' | 'discontinued' | 'pending';
|
|
6390
6532
|
|
|
6391
|
-
export type
|
|
6533
|
+
export type condition2 = 'new' | 'refurbished' | 'used';
|
|
6392
6534
|
|
|
6393
6535
|
export type visibility = 'published' | 'staging';
|
|
6394
6536
|
|
|
@@ -7036,7 +7178,7 @@ export type PortfolioBidStrategy = {
|
|
|
7036
7178
|
targetRoas?: (number) | null;
|
|
7037
7179
|
};
|
|
7038
7180
|
|
|
7039
|
-
export type
|
|
7181
|
+
export type type9 = 'TARGET_CPA' | 'TARGET_ROAS' | 'MAXIMIZE_CONVERSIONS' | 'MAXIMIZE_CONVERSION_VALUE';
|
|
7040
7182
|
|
|
7041
7183
|
export type Post = {
|
|
7042
7184
|
_id?: string;
|
|
@@ -8576,7 +8718,7 @@ export type UploadedFile = {
|
|
|
8576
8718
|
mimeType?: string;
|
|
8577
8719
|
};
|
|
8578
8720
|
|
|
8579
|
-
export type
|
|
8721
|
+
export type type10 = 'image' | 'video' | 'document';
|
|
8580
8722
|
|
|
8581
8723
|
export type UploadTokenResponse = {
|
|
8582
8724
|
token?: string;
|
|
@@ -9086,7 +9228,7 @@ export type Verification = {
|
|
|
9086
9228
|
|
|
9087
9229
|
export type status17 = 'pending' | 'approved' | 'expired' | 'max_attempts_reached' | 'canceled' | 'delivery_failed';
|
|
9088
9230
|
|
|
9089
|
-
export type
|
|
9231
|
+
export type channel4 = 'sms';
|
|
9090
9232
|
|
|
9091
9233
|
/**
|
|
9092
9234
|
* Individual webhook configuration for receiving real-time notifications
|
|
@@ -9533,7 +9675,7 @@ export type event4 = 'ad.status_changed';
|
|
|
9533
9675
|
/**
|
|
9534
9676
|
* Hierarchy level the status applies to. Mirrors Meta's `level`. Creative-level events are not forwarded.
|
|
9535
9677
|
*/
|
|
9536
|
-
export type
|
|
9678
|
+
export type level2 = 'CAMPAIGN' | 'AD_SET' | 'AD';
|
|
9537
9679
|
|
|
9538
9680
|
/**
|
|
9539
9681
|
* Webhook payload for `analytics.synced`. Fired once per connected account each
|
|
@@ -11879,7 +12021,7 @@ export type WhatsAppTemplateButton = {
|
|
|
11879
12021
|
navigate_screen?: string;
|
|
11880
12022
|
};
|
|
11881
12023
|
|
|
11882
|
-
export type
|
|
12024
|
+
export type type11 = 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'copy_code' | 'flow' | 'mpm' | 'catalog';
|
|
11883
12025
|
|
|
11884
12026
|
/**
|
|
11885
12027
|
* Required when type is otp
|
|
@@ -11921,7 +12063,7 @@ export type WhatsAppTemplateLookupError = {
|
|
|
11921
12063
|
};
|
|
11922
12064
|
};
|
|
11923
12065
|
|
|
11924
|
-
export type
|
|
12066
|
+
export type type12 = 'platform_error';
|
|
11925
12067
|
|
|
11926
12068
|
export type code = 'platform_api_error';
|
|
11927
12069
|
|
|
@@ -12080,7 +12222,7 @@ export type WorkflowNode = {
|
|
|
12080
12222
|
* integrations (webhook, ai, handoff, start_call).
|
|
12081
12223
|
*
|
|
12082
12224
|
*/
|
|
12083
|
-
export type
|
|
12225
|
+
export type type13 = 'trigger' | 'send_message' | 'wait_for_reply' | 'condition' | 'set_variable' | 'delay' | 'webhook' | 'ai' | 'handoff' | 'start_call' | 'a_b_split' | 'set_field' | 'enroll_sequence' | 'add_tag' | 'remove_tag' | 'end';
|
|
12084
12226
|
|
|
12085
12227
|
/**
|
|
12086
12228
|
* A single X API operation with its per-call price and the Zernio platform methods that trigger it.
|
|
@@ -12216,7 +12358,7 @@ export type XArticleBlock = {
|
|
|
12216
12358
|
entity_ranges?: Array<XArticleEntityRange>;
|
|
12217
12359
|
};
|
|
12218
12360
|
|
|
12219
|
-
export type
|
|
12361
|
+
export type type14 = 'unstyled' | 'header-one' | 'header-two' | 'header-three' | 'unordered-list-item' | 'ordered-list-item' | 'blockquote' | 'atomic';
|
|
12220
12362
|
|
|
12221
12363
|
/**
|
|
12222
12364
|
* X's snake_case content-state shape. Standard DraftJS camelCase fields such as entityMap, inlineStyleRanges, and entityRanges are rejected.
|
|
@@ -12295,7 +12437,7 @@ export type XArticleEntity = {
|
|
|
12295
12437
|
|
|
12296
12438
|
export type mutability = 'immutable' | 'mutable' | 'segmented';
|
|
12297
12439
|
|
|
12298
|
-
export type
|
|
12440
|
+
export type type15 = 'divider' | 'latex';
|
|
12299
12441
|
|
|
12300
12442
|
/**
|
|
12301
12443
|
* The referenced entity must exist, and offset plus length must not exceed the containing block's text length.
|
|
@@ -41073,6 +41215,185 @@ export type ListGoogleAssetGroupsError = (ErrorResponse | {
|
|
|
41073
41215
|
error?: string;
|
|
41074
41216
|
} | unknown);
|
|
41075
41217
|
|
|
41218
|
+
export type CreateGoogleAssetGroupData = {
|
|
41219
|
+
body: {
|
|
41220
|
+
/**
|
|
41221
|
+
* Unique within the campaign.
|
|
41222
|
+
*/
|
|
41223
|
+
name: string;
|
|
41224
|
+
finalUrls: Array<(string)>;
|
|
41225
|
+
finalMobileUrls?: Array<(string)>;
|
|
41226
|
+
path1?: string;
|
|
41227
|
+
/**
|
|
41228
|
+
* Requires path1.
|
|
41229
|
+
*/
|
|
41230
|
+
path2?: string;
|
|
41231
|
+
status?: 'ENABLED' | 'PAUSED';
|
|
41232
|
+
assets?: Array<GoogleAssetGroupAssetLink>;
|
|
41233
|
+
listingGroupFilter?: GoogleListingGroupTree;
|
|
41234
|
+
validateOnly?: boolean;
|
|
41235
|
+
};
|
|
41236
|
+
path: {
|
|
41237
|
+
/**
|
|
41238
|
+
* Google Ads campaign id.
|
|
41239
|
+
*/
|
|
41240
|
+
campaignId: string;
|
|
41241
|
+
};
|
|
41242
|
+
};
|
|
41243
|
+
|
|
41244
|
+
export type CreateGoogleAssetGroupResponse = ({
|
|
41245
|
+
validateOnly?: boolean;
|
|
41246
|
+
message?: string;
|
|
41247
|
+
} | {
|
|
41248
|
+
assetGroup: {
|
|
41249
|
+
id: string;
|
|
41250
|
+
resourceName: string;
|
|
41251
|
+
campaignId: string;
|
|
41252
|
+
};
|
|
41253
|
+
});
|
|
41254
|
+
|
|
41255
|
+
export type CreateGoogleAssetGroupError = (ErrorResponse | {
|
|
41256
|
+
error?: string;
|
|
41257
|
+
} | unknown);
|
|
41258
|
+
|
|
41259
|
+
export type GetGoogleAssetGroupData = {
|
|
41260
|
+
path: {
|
|
41261
|
+
/**
|
|
41262
|
+
* Google asset group id.
|
|
41263
|
+
*/
|
|
41264
|
+
assetGroupId: string;
|
|
41265
|
+
/**
|
|
41266
|
+
* Google Ads campaign id.
|
|
41267
|
+
*/
|
|
41268
|
+
campaignId: string;
|
|
41269
|
+
};
|
|
41270
|
+
};
|
|
41271
|
+
|
|
41272
|
+
export type GetGoogleAssetGroupResponse = ({
|
|
41273
|
+
assetGroup: GooglePmaxAssetGroupDetail;
|
|
41274
|
+
cachedAt: (string) | null;
|
|
41275
|
+
stale: boolean;
|
|
41276
|
+
});
|
|
41277
|
+
|
|
41278
|
+
export type GetGoogleAssetGroupError = (ErrorResponse | {
|
|
41279
|
+
error?: string;
|
|
41280
|
+
} | unknown);
|
|
41281
|
+
|
|
41282
|
+
export type UpdateGoogleAssetGroupData = {
|
|
41283
|
+
body: {
|
|
41284
|
+
name?: string;
|
|
41285
|
+
status?: 'ENABLED' | 'PAUSED';
|
|
41286
|
+
finalUrls?: Array<(string)>;
|
|
41287
|
+
finalMobileUrls?: Array<(string)>;
|
|
41288
|
+
path1?: (string) | null;
|
|
41289
|
+
path2?: (string) | null;
|
|
41290
|
+
validateOnly?: boolean;
|
|
41291
|
+
};
|
|
41292
|
+
path: {
|
|
41293
|
+
/**
|
|
41294
|
+
* Google asset group id.
|
|
41295
|
+
*/
|
|
41296
|
+
assetGroupId: string;
|
|
41297
|
+
/**
|
|
41298
|
+
* Google Ads campaign id.
|
|
41299
|
+
*/
|
|
41300
|
+
campaignId: string;
|
|
41301
|
+
};
|
|
41302
|
+
};
|
|
41303
|
+
|
|
41304
|
+
export type UpdateGoogleAssetGroupResponse = ({
|
|
41305
|
+
assetGroupId?: string;
|
|
41306
|
+
updated?: Array<(string)>;
|
|
41307
|
+
validateOnly?: boolean;
|
|
41308
|
+
});
|
|
41309
|
+
|
|
41310
|
+
export type UpdateGoogleAssetGroupError = (ErrorResponse | {
|
|
41311
|
+
error?: string;
|
|
41312
|
+
} | unknown);
|
|
41313
|
+
|
|
41314
|
+
export type RemoveGoogleAssetGroupData = {
|
|
41315
|
+
path: {
|
|
41316
|
+
assetGroupId: string;
|
|
41317
|
+
campaignId: string;
|
|
41318
|
+
};
|
|
41319
|
+
query?: {
|
|
41320
|
+
validateOnly?: boolean;
|
|
41321
|
+
};
|
|
41322
|
+
};
|
|
41323
|
+
|
|
41324
|
+
export type RemoveGoogleAssetGroupResponse = ({
|
|
41325
|
+
assetGroupId?: string;
|
|
41326
|
+
removed?: boolean;
|
|
41327
|
+
validateOnly?: boolean;
|
|
41328
|
+
});
|
|
41329
|
+
|
|
41330
|
+
export type RemoveGoogleAssetGroupError = (ErrorResponse | {
|
|
41331
|
+
error?: string;
|
|
41332
|
+
} | unknown);
|
|
41333
|
+
|
|
41334
|
+
export type EditGoogleAssetGroupAssetsData = {
|
|
41335
|
+
body: {
|
|
41336
|
+
link?: Array<GoogleAssetGroupAssetLink>;
|
|
41337
|
+
unlink?: Array<GoogleAssetGroupAssetUnlink>;
|
|
41338
|
+
validateOnly?: boolean;
|
|
41339
|
+
};
|
|
41340
|
+
path: {
|
|
41341
|
+
/**
|
|
41342
|
+
* Google asset group id.
|
|
41343
|
+
*/
|
|
41344
|
+
assetGroupId: string;
|
|
41345
|
+
/**
|
|
41346
|
+
* Google Ads campaign id.
|
|
41347
|
+
*/
|
|
41348
|
+
campaignId: string;
|
|
41349
|
+
};
|
|
41350
|
+
};
|
|
41351
|
+
|
|
41352
|
+
export type EditGoogleAssetGroupAssetsResponse = ({
|
|
41353
|
+
assetGroupId?: string;
|
|
41354
|
+
linked?: number;
|
|
41355
|
+
unlinked?: number;
|
|
41356
|
+
validateOnly?: boolean;
|
|
41357
|
+
});
|
|
41358
|
+
|
|
41359
|
+
export type EditGoogleAssetGroupAssetsError = (ErrorResponse | {
|
|
41360
|
+
error?: string;
|
|
41361
|
+
} | unknown);
|
|
41362
|
+
|
|
41363
|
+
export type ReplaceGoogleListingGroupFiltersData = {
|
|
41364
|
+
body: {
|
|
41365
|
+
tree: GoogleListingGroupTree;
|
|
41366
|
+
validateOnly?: boolean;
|
|
41367
|
+
};
|
|
41368
|
+
path: {
|
|
41369
|
+
/**
|
|
41370
|
+
* Google asset group id.
|
|
41371
|
+
*/
|
|
41372
|
+
assetGroupId: string;
|
|
41373
|
+
/**
|
|
41374
|
+
* Google Ads campaign id.
|
|
41375
|
+
*/
|
|
41376
|
+
campaignId: string;
|
|
41377
|
+
};
|
|
41378
|
+
};
|
|
41379
|
+
|
|
41380
|
+
export type ReplaceGoogleListingGroupFiltersResponse = ({
|
|
41381
|
+
assetGroupId?: string;
|
|
41382
|
+
/**
|
|
41383
|
+
* Nodes removed from the previous tree.
|
|
41384
|
+
*/
|
|
41385
|
+
removed?: number;
|
|
41386
|
+
/**
|
|
41387
|
+
* Nodes in the new tree.
|
|
41388
|
+
*/
|
|
41389
|
+
created?: number;
|
|
41390
|
+
validateOnly?: boolean;
|
|
41391
|
+
});
|
|
41392
|
+
|
|
41393
|
+
export type ReplaceGoogleListingGroupFiltersError = (ErrorResponse | {
|
|
41394
|
+
error?: string;
|
|
41395
|
+
} | unknown);
|
|
41396
|
+
|
|
41076
41397
|
export type CreateStandaloneAdData = {
|
|
41077
41398
|
body: {
|
|
41078
41399
|
accountId: string;
|