mcm-cli 1.5.0__tar.gz → 1.5.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {mcm_cli-1.5.0/mcm_cli.egg-info → mcm_cli-1.5.1}/PKG-INFO +1 -1
- {mcm_cli-1.5.0 → mcm_cli-1.5.1/mcm_cli.egg-info}/PKG-INFO +1 -1
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/__main__.py +1 -1
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/data/campaign.py +57 -1
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/setup.py +1 -1
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/LICENSE +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/NOTICE +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/README.md +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcm_cli.egg-info/SOURCES.txt +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcm_cli.egg-info/dependency_links.txt +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcm_cli.egg-info/entry_points.txt +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcm_cli.egg-info/requires.txt +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcm_cli.egg-info/top_level.txt +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/__init__.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/command/account.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/command/admin.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/command/auth.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/command/campaign.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/command/config.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/command/decision.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/command/report.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/command/wallet.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/data/account.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/data/account_user.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/data/decision.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/data/error.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/data/item.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/data/item_blocking_result.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/data/platform_user.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/data/report.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/data/seller.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/data/token.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/data/user_join_request.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/data/wallet.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/logging.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/mcmcli/requests.py +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/setup.cfg +0 -0
- {mcm_cli-1.5.0 → mcm_cli-1.5.1}/tests/test_config.py +0 -0
@@ -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")
|
@@ -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]
|
@@ -18,7 +18,7 @@ from setuptools import setup, find_packages
|
|
18
18
|
|
19
19
|
setup(
|
20
20
|
name='mcm-cli',
|
21
|
-
version='1.5.
|
21
|
+
version='1.5.1',
|
22
22
|
description='A command-line interface for Moloco Commerde Media',
|
23
23
|
long_description=open('README.md').read(),
|
24
24
|
long_description_content_type='text/markdown',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|