lazyad 0.0.21__py3-none-any.whl → 0.0.22__py3-none-any.whl

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.

Potentially problematic release.


This version of lazyad might be problematic. Click here for more details.

@@ -283,7 +283,7 @@ def get_plan_list(
283
283
  "project_id": [],
284
284
  "advertiser_id": [],
285
285
  "user_id": [],
286
- "configured_status": [],
286
+ "configured_status": ["STATUS_NO_DELETED"], # 所有未删除
287
287
  "keyword": "",
288
288
  "companys": [],
289
289
  "time_line": "REPORTING_TIME",
@@ -342,9 +342,9 @@ def update_ad_batch(
342
342
  }
343
343
  elif end_point == 'updateCampaignBatch':
344
344
  url = "https://cli2.mobgi.com/Gdt/MainList/updateCampaignBatch"
345
- if not campaign_id:
345
+ if campaign_id and not campaign_ids:
346
346
  campaign_ids = [campaign_id]
347
- if not advertiser_ids:
347
+ if advertiser_id and advertiser_ids:
348
348
  advertiser_ids = [advertiser_id]
349
349
  post_data = {
350
350
  "campaign_ids": campaign_ids,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lazyad
3
- Version: 0.0.21
3
+ Version: 0.0.22
4
4
  Summary: 基于Python的懒人包-适用于广告投放模块
5
5
  Home-page: https://gitee.com/ZeroSeeker/lazyad
6
6
  Author: ZeroSeeker
@@ -1,11 +1,11 @@
1
1
  lazyad/__init__.py,sha256=tnVTFEgdzgMWQI0mZqy3DAueMJjpypPb15DdxJ-9TiU,41
2
2
  lazyad/crawlers/__init__.py,sha256=GK3GGpiUJbESc1uGTwSmEnsSUwYDNZfJCxeLYB4CpS4,68
3
- lazyad/crawlers/chuangliang.py,sha256=F0Sr6mqT_YZdV-MM32YQarZIIfw21lsnq9oKBhAQgQo,11082
3
+ lazyad/crawlers/chuangliang.py,sha256=9Tl1XRPijhdt5oWtFRRUSrcjuysVVeGG8aiK0LO4ROY,11151
4
4
  lazyad/crawlers/oceanengine.py,sha256=kjBEpCb_h5OpodCTqzvXd5MBBwAuw3Oq5UKWoTCXrQM,4540
5
5
  lazyad/crawlers/qq.py,sha256=mAVOP1TOGVD1juu77uKBauN7vLymukTJ1mJ8uyRh9a8,3230
6
6
  lazyad/open/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  lazyad/open/qq.py,sha256=B6HWnBmtF3mbpwto1wqi7j-auK73Kzp8ESxeUpvLHRA,4391
8
- lazyad-0.0.21.dist-info/METADATA,sha256=m6xmYUly9IOxX8fY7ctspy58zS8BeeMkZiQseBumkzk,1695
9
- lazyad-0.0.21.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
10
- lazyad-0.0.21.dist-info/top_level.txt,sha256=RAPjtj4gZYpsKAM3fAQrWyyn84xjdRuaiUS76gx6eNs,7
11
- lazyad-0.0.21.dist-info/RECORD,,
8
+ lazyad-0.0.22.dist-info/METADATA,sha256=wtSq1o1FGLSCNJLSrD9x6pYYRZkQHPBLfYonXx13uLw,1695
9
+ lazyad-0.0.22.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
10
+ lazyad-0.0.22.dist-info/top_level.txt,sha256=RAPjtj4gZYpsKAM3fAQrWyyn84xjdRuaiUS76gx6eNs,7
11
+ lazyad-0.0.22.dist-info/RECORD,,