ebay-api 8.2.0 → 8.3.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/README.md +2 -2
- package/dist/api/restful/sell/marketing/index.d.ts +184 -1
- package/dist/api/restful/sell/marketing/index.js +260 -0
- package/dist/ebay-api.min.mjs +1 -1
- package/dist/types/restfulTypes.d.ts +90 -0
- package/lib/api/restful/sell/marketing/index.d.ts +184 -1
- package/lib/api/restful/sell/marketing/index.js +260 -0
- package/lib/ebay-api.min.js +1 -1
- package/lib/types/restfulTypes.d.ts +90 -0
- package/package.json +1 -1
|
@@ -477,6 +477,96 @@ export type CreateAdRequest = {
|
|
|
477
477
|
export type BulkCreateAdRequest = {
|
|
478
478
|
requests: CreateAdRequest[];
|
|
479
479
|
};
|
|
480
|
+
export type AdStatus = 'ACTIVE' | 'PAUSED' | 'ARCHIVED';
|
|
481
|
+
export type UpdateAdStatusRequest = {
|
|
482
|
+
adId: string;
|
|
483
|
+
adStatus: AdStatus;
|
|
484
|
+
};
|
|
485
|
+
export type BulkUpdateAdStatusRequest = {
|
|
486
|
+
items: UpdateAdStatusRequest[];
|
|
487
|
+
};
|
|
488
|
+
export type UpdateAdStatusByListingIdRequest = {
|
|
489
|
+
adGroupId: string;
|
|
490
|
+
adStatus: AdStatus;
|
|
491
|
+
listingId: string;
|
|
492
|
+
};
|
|
493
|
+
export type BulkUpdateAdStatusByListingIdRequest = {
|
|
494
|
+
items: UpdateAdStatusByListingIdRequest[];
|
|
495
|
+
};
|
|
496
|
+
export type CreateAdGroupRequest = {
|
|
497
|
+
defaultBid: Amount;
|
|
498
|
+
name: string;
|
|
499
|
+
};
|
|
500
|
+
export type AdGroupStatus = 'ACTIVE' | 'PAUSED' | 'ARCHIVED';
|
|
501
|
+
export type UpdateAdGroupRequest = {
|
|
502
|
+
adGroupStatus: AdGroupStatus;
|
|
503
|
+
defaultBid: Amount;
|
|
504
|
+
name: string;
|
|
505
|
+
};
|
|
506
|
+
export type KeywordRequest = {
|
|
507
|
+
keywordText: string;
|
|
508
|
+
matchType: string;
|
|
509
|
+
};
|
|
510
|
+
export type TargetedBidRequest = {
|
|
511
|
+
keywords: KeywordRequest[];
|
|
512
|
+
};
|
|
513
|
+
export type TargetedKeywordRequest = {
|
|
514
|
+
additionalInfo: string[];
|
|
515
|
+
exclusions: string[];
|
|
516
|
+
listingIds: string[];
|
|
517
|
+
matchType: string;
|
|
518
|
+
};
|
|
519
|
+
export type DynamicAdRatePreference = {
|
|
520
|
+
adRateAdjustmentPercent: string;
|
|
521
|
+
adRateCapPercent: string;
|
|
522
|
+
};
|
|
523
|
+
export type UpdateAdrateStrategyRequest = {
|
|
524
|
+
adRateStrategy: string;
|
|
525
|
+
bidPercentage: string;
|
|
526
|
+
dynamicAdRatePreferences: DynamicAdRatePreference[];
|
|
527
|
+
};
|
|
528
|
+
export type BudgetRequest = {
|
|
529
|
+
amount: Amount;
|
|
530
|
+
};
|
|
531
|
+
export type UpdateCampaignBudgetRequest = {
|
|
532
|
+
daily: BudgetRequest;
|
|
533
|
+
};
|
|
534
|
+
export type CreateKeywordRequest = {
|
|
535
|
+
adGroupId: string;
|
|
536
|
+
bid: Amount;
|
|
537
|
+
keywordText: string;
|
|
538
|
+
matchType: string;
|
|
539
|
+
};
|
|
540
|
+
export type UpdateKeywordRequest = {
|
|
541
|
+
bid: Amount;
|
|
542
|
+
keywordStatus: string;
|
|
543
|
+
};
|
|
544
|
+
export type UpdateKeywordByKeywordIdRequest = {
|
|
545
|
+
bid: Amount;
|
|
546
|
+
keywordId: string;
|
|
547
|
+
keywordStatus: string;
|
|
548
|
+
};
|
|
549
|
+
export type BulkCreateKeywordRequest = {
|
|
550
|
+
requests: CreateKeywordRequest[];
|
|
551
|
+
};
|
|
552
|
+
export type BulkUpdateKeywordRequest = {
|
|
553
|
+
requests: UpdateKeywordByKeywordIdRequest[];
|
|
554
|
+
};
|
|
555
|
+
export type CreateNegativeKeywordRequest = {
|
|
556
|
+
adGroupId: string;
|
|
557
|
+
campaignId: string;
|
|
558
|
+
negativeKeywordMatchType: string;
|
|
559
|
+
negativeKeywordText: string;
|
|
560
|
+
};
|
|
561
|
+
export type BulkCreateNegativeKeywordRequest = {
|
|
562
|
+
requests: CreateNegativeKeywordRequest[];
|
|
563
|
+
};
|
|
564
|
+
export type BulkUpdateNegativeKeywordRequest = {
|
|
565
|
+
requests: CreateNegativeKeywordRequest[];
|
|
566
|
+
};
|
|
567
|
+
export type UpdateNegativeKeywordRequest = {
|
|
568
|
+
negativeKeywordStatus: string;
|
|
569
|
+
};
|
|
480
570
|
export type DeleteAdsByInventoryReferenceRequest = {
|
|
481
571
|
inventoryReferenceId: string;
|
|
482
572
|
inventoryReferenceType: string;
|