mcm-cli 1.5.0__py3-none-any.whl → 1.5.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {mcm_cli-1.5.0.dist-info → mcm_cli-1.5.1.dist-info}/METADATA +1 -1
- {mcm_cli-1.5.0.dist-info → mcm_cli-1.5.1.dist-info}/RECORD +9 -9
- mcmcli/__main__.py +1 -1
- mcmcli/data/campaign.py +57 -1
- {mcm_cli-1.5.0.dist-info → mcm_cli-1.5.1.dist-info}/LICENSE +0 -0
- {mcm_cli-1.5.0.dist-info → mcm_cli-1.5.1.dist-info}/NOTICE +0 -0
- {mcm_cli-1.5.0.dist-info → mcm_cli-1.5.1.dist-info}/WHEEL +0 -0
- {mcm_cli-1.5.0.dist-info → mcm_cli-1.5.1.dist-info}/entry_points.txt +0 -0
- {mcm_cli-1.5.0.dist-info → mcm_cli-1.5.1.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
mcmcli/__init__.py,sha256=-U6lMZ9_99IXAKwnqnYXYr6NcO6TSmG-kxewgvJjU4k,575
|
2
|
-
mcmcli/__main__.py,sha256=
|
2
|
+
mcmcli/__main__.py,sha256=a4A9mxOQMsB-6DK_5mABC-ersAhxnVFjqQ-u-TZ99hY,1844
|
3
3
|
mcmcli/logging.py,sha256=xjRS5ey1ONx_d34qB1Fetb_SwPysoh2hzNDuNAaYYWQ,1739
|
4
4
|
mcmcli/requests.py,sha256=IuySBQ8P_GoGF3f_TRysfgQNOhi2n9M84WK_eRXnoEU,2945
|
5
5
|
mcmcli/command/account.py,sha256=FWXmzOLj4rVLVLEv-w0eDVlQVrkONvR1UewZbcTDgE4,24994
|
@@ -12,7 +12,7 @@ mcmcli/command/report.py,sha256=N8IMyDZ5QpY11-KkZG-n5_ZzEeh-ME5s2s3wrAKEGjY,5387
|
|
12
12
|
mcmcli/command/wallet.py,sha256=vG2rg7tPwGsV9YB7cpvkiocbqtB1reqXn7dmolFmzD4,11536
|
13
13
|
mcmcli/data/account.py,sha256=pe7tPapP6vlUD5D5L5Nh5k2bkWdYOK01Mpt5fBYFnJs,1782
|
14
14
|
mcmcli/data/account_user.py,sha256=27nQp52nMma5a3QszSJGqgq5Z0ivIb-nMZcZuhEgbEg,1328
|
15
|
-
mcmcli/data/campaign.py,sha256=
|
15
|
+
mcmcli/data/campaign.py,sha256=jwExzdEHLanhYTfR4-rkL3mGheROoRi3bkGnD-5nKCg,3496
|
16
16
|
mcmcli/data/decision.py,sha256=bQ5j_PbPRSFa0sY5g9UVqdNzl_2epchcz1lHoDVuV90,2880
|
17
17
|
mcmcli/data/error.py,sha256=d6xa_jTXumlA0EzXy2PJQ86ajBb0Pm90fss9R3LuHUc,1094
|
18
18
|
mcmcli/data/item.py,sha256=Z2xTRhU8T4vyJADO0l6-XPyQXvb9DX_OAjExhSXpW2A,1091
|
@@ -23,10 +23,10 @@ mcmcli/data/seller.py,sha256=40SA7QekM3a3svDrDYLo_QYJ68VUxDO0KeGejJMp4k4,1004
|
|
23
23
|
mcmcli/data/token.py,sha256=11wtyLHCAZHu0LVbNDPa-yipcL6lenxoYIKEI58VzFs,1744
|
24
24
|
mcmcli/data/user_join_request.py,sha256=lXMO2hE_VpRg0JofVrYAVM82S-RLFkPrZk8-drvhoDI,1251
|
25
25
|
mcmcli/data/wallet.py,sha256=eMUi8N0vJdg_E10TPhSPoZkZtmIG7gHyqgabQ8C5Lg8,3217
|
26
|
-
mcm_cli-1.5.
|
27
|
-
mcm_cli-1.5.
|
28
|
-
mcm_cli-1.5.
|
29
|
-
mcm_cli-1.5.
|
30
|
-
mcm_cli-1.5.
|
31
|
-
mcm_cli-1.5.
|
32
|
-
mcm_cli-1.5.
|
26
|
+
mcm_cli-1.5.1.dist-info/LICENSE,sha256=RFhQPdSOiMTguUX7JSoIuTxA7HVzCbj_p8WU36HjUQQ,10947
|
27
|
+
mcm_cli-1.5.1.dist-info/METADATA,sha256=mnhJv3rIBrVgGmBCGcUl9ACei2q4QVHhL34PKgxq2H4,3056
|
28
|
+
mcm_cli-1.5.1.dist-info/NOTICE,sha256=Ldnl2MjRaXPxcldUdbI2NTybq60XAa2LowRhFrRTuiI,76
|
29
|
+
mcm_cli-1.5.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
30
|
+
mcm_cli-1.5.1.dist-info/entry_points.txt,sha256=qTHAWZ-ejSiU4t11RYwtAU8ScqhQPDeMVTG9y4wMVLg,60
|
31
|
+
mcm_cli-1.5.1.dist-info/top_level.txt,sha256=sh7oqIaqLQlMtKHlxHHgpV2xGMrBMPFWpSp0C6nvJ_Y,7
|
32
|
+
mcm_cli-1.5.1.dist-info/RECORD,,
|
mcmcli/__main__.py
CHANGED
@@ -37,7 +37,7 @@ def version():
|
|
37
37
|
"""
|
38
38
|
Show the tool version
|
39
39
|
"""
|
40
|
-
typer.echo(f"Version: mcm-cli v1.5.
|
40
|
+
typer.echo(f"Version: mcm-cli v1.5.1")
|
41
41
|
|
42
42
|
app.add_typer(mcmcli.command.account.app, name="account", help="Ad account management")
|
43
43
|
app.add_typer(mcmcli.command.admin.app, name="admin", help="Platform administration")
|
mcmcli/data/campaign.py
CHANGED
@@ -24,7 +24,7 @@ class MicroPrice(BaseModel):
|
|
24
24
|
|
25
25
|
class Schedule(BaseModel):
|
26
26
|
start: str
|
27
|
-
end: Optional[str]
|
27
|
+
end: Optional[str] = None
|
28
28
|
|
29
29
|
class Budget(BaseModel):
|
30
30
|
period: str
|
@@ -58,6 +58,56 @@ class Targeting(BaseModel):
|
|
58
58
|
placement_setting: Optional[str]
|
59
59
|
audience_setting: Optional[AudienceSetting]
|
60
60
|
|
61
|
+
class TargetInventoryDimension(BaseModel):
|
62
|
+
width: int
|
63
|
+
height: int
|
64
|
+
|
65
|
+
class BannerAsset(BaseModel):
|
66
|
+
creative_id: str
|
67
|
+
image_url: str
|
68
|
+
width: int
|
69
|
+
height: int
|
70
|
+
target_inventory_dimension: TargetInventoryDimension
|
71
|
+
|
72
|
+
class LogoAsset(BaseModel):
|
73
|
+
creative_id: str
|
74
|
+
image_url: str
|
75
|
+
|
76
|
+
class HeadlineAsset(BaseModel):
|
77
|
+
text: str
|
78
|
+
|
79
|
+
class CTAAsset(BaseModel):
|
80
|
+
text: str
|
81
|
+
|
82
|
+
class ReviewInformation(BaseModel):
|
83
|
+
status: str
|
84
|
+
rejection_reason: str
|
85
|
+
updated_at: str
|
86
|
+
|
87
|
+
class Asset(BaseModel):
|
88
|
+
id: str
|
89
|
+
banner: BannerAsset
|
90
|
+
logo: LogoAsset
|
91
|
+
headline: HeadlineAsset
|
92
|
+
cta: CTAAsset
|
93
|
+
review_information: ReviewInformation
|
94
|
+
created_at: str
|
95
|
+
updated_at: str
|
96
|
+
|
97
|
+
class CustomURLSetting(BaseModel):
|
98
|
+
url: str
|
99
|
+
|
100
|
+
class LandPage(BaseModel):
|
101
|
+
type: str
|
102
|
+
custom_url_setting: CustomURLSetting
|
103
|
+
id: str
|
104
|
+
review_information: ReviewInformation
|
105
|
+
created_at: str
|
106
|
+
updated_at: str
|
107
|
+
|
108
|
+
class ItemSelection(BaseModel):
|
109
|
+
type: str
|
110
|
+
|
61
111
|
class Campaign(BaseModel):
|
62
112
|
id: str
|
63
113
|
title: str
|
@@ -80,6 +130,12 @@ class Campaign(BaseModel):
|
|
80
130
|
updated_at: str
|
81
131
|
audience_types: list[str]
|
82
132
|
offsite_setting: Optional[str]
|
133
|
+
item_selection: Optional[ItemSelection]
|
134
|
+
assets: Optional[list[Asset]]
|
135
|
+
landing_pages: Optional[list[LandPage]]
|
136
|
+
landing_url_suffix: Optional[str]
|
137
|
+
catalog_brand_id: Optional[str]
|
138
|
+
catalog_category: Optional[str]
|
83
139
|
|
84
140
|
class CampaignList(BaseModel):
|
85
141
|
campaigns: list[Campaign]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|