meta-ads-mcp 0.11.3__py3-none-any.whl → 0.11.4__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.
- meta_ads_mcp/__init__.py +1 -1
- meta_ads_mcp/core/ads.py +15 -3
- meta_ads_mcp/core/openai_deep_research.py +0 -4
- {meta_ads_mcp-0.11.3.dist-info → meta_ads_mcp-0.11.4.dist-info}/METADATA +1 -1
- {meta_ads_mcp-0.11.3.dist-info → meta_ads_mcp-0.11.4.dist-info}/RECORD +8 -8
- {meta_ads_mcp-0.11.3.dist-info → meta_ads_mcp-0.11.4.dist-info}/WHEEL +0 -0
- {meta_ads_mcp-0.11.3.dist-info → meta_ads_mcp-0.11.4.dist-info}/entry_points.txt +0 -0
- {meta_ads_mcp-0.11.3.dist-info → meta_ads_mcp-0.11.4.dist-info}/licenses/LICENSE +0 -0
meta_ads_mcp/__init__.py
CHANGED
meta_ads_mcp/core/ads.py
CHANGED
|
@@ -635,15 +635,27 @@ async def upload_ad_image(
|
|
|
635
635
|
image_bytes = await try_multiple_download_methods(image_url)
|
|
636
636
|
except Exception as download_error:
|
|
637
637
|
return json.dumps({
|
|
638
|
-
"error": "
|
|
639
|
-
"
|
|
638
|
+
"error": "We couldn’t download the image from the link provided.",
|
|
639
|
+
"reason": "The server returned an error while trying to fetch the image.",
|
|
640
640
|
"image_url": image_url,
|
|
641
|
+
"details": str(download_error),
|
|
642
|
+
"suggestions": [
|
|
643
|
+
"Make sure the link is publicly reachable (no login, VPN, or IP restrictions).",
|
|
644
|
+
"If the image is hosted on a private app or server, move it to a public URL or a CDN and try again.",
|
|
645
|
+
"Verify the URL is correct and serves the actual image file."
|
|
646
|
+
]
|
|
641
647
|
}, indent=2)
|
|
642
648
|
|
|
643
649
|
if not image_bytes:
|
|
644
650
|
return json.dumps({
|
|
645
|
-
"error": "
|
|
651
|
+
"error": "We couldn’t access the image at the link you provided.",
|
|
652
|
+
"reason": "The image link doesn’t appear to be publicly accessible or didn’t return any data.",
|
|
646
653
|
"image_url": image_url,
|
|
654
|
+
"suggestions": [
|
|
655
|
+
"Double‑check that the link is public and does not require login, VPN, or IP allow‑listing.",
|
|
656
|
+
"If the image is stored in a private app (for example, a self‑hosted gallery), upload it to a public URL or a CDN and try again.",
|
|
657
|
+
"Confirm the URL is correct and points directly to an image file (e.g., .jpg, .png)."
|
|
658
|
+
]
|
|
647
659
|
}, indent=2)
|
|
648
660
|
|
|
649
661
|
import base64 # Local import
|
|
@@ -315,8 +315,6 @@ async def search(
|
|
|
315
315
|
) -> str:
|
|
316
316
|
"""
|
|
317
317
|
Search through Meta Ads data and return matching record IDs.
|
|
318
|
-
|
|
319
|
-
This tool is required for OpenAI ChatGPT Deep Research integration.
|
|
320
318
|
It searches across ad accounts, campaigns, ads, pages, and businesses to find relevant records
|
|
321
319
|
based on the provided query.
|
|
322
320
|
|
|
@@ -371,8 +369,6 @@ async def fetch(
|
|
|
371
369
|
) -> str:
|
|
372
370
|
"""
|
|
373
371
|
Fetch complete record data by ID.
|
|
374
|
-
|
|
375
|
-
This tool is required for OpenAI ChatGPT Deep Research integration.
|
|
376
372
|
It retrieves the full data for a specific record identified by its ID.
|
|
377
373
|
|
|
378
374
|
Args:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meta-ads-mcp
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.4
|
|
4
4
|
Summary: Model Context Protocol (MCP) server for interacting with Meta Ads API
|
|
5
5
|
Project-URL: Homepage, https://github.com/pipeboard-co/meta-ads-mcp
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/pipeboard-co/meta-ads-mcp/issues
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
meta_ads_mcp/__init__.py,sha256=
|
|
1
|
+
meta_ads_mcp/__init__.py,sha256=4ruafDZ8uRX6-M1cFTV4c2wPA_D37Y3cpfLDKY5jQ4g,1477
|
|
2
2
|
meta_ads_mcp/__main__.py,sha256=XaQt3iXftG_7f0Zu7Wop9SeFgrD2WBn0EQOaPMc27d8,207
|
|
3
3
|
meta_ads_mcp/core/__init__.py,sha256=IEJtqpyUo0CZSUWeQPljQ-D2vKorTFwXnpBQWSi1hIM,1819
|
|
4
4
|
meta_ads_mcp/core/accounts.py,sha256=7Zoqq0zMIJi_Xsxe9-_b3EYx-UTeieJJvO7HxVRuUS0,4327
|
|
5
|
-
meta_ads_mcp/core/ads.py,sha256=
|
|
5
|
+
meta_ads_mcp/core/ads.py,sha256=5ulQ4p3lLo1_sIiAoMdyeo0O2y7Yq2zSDuvqkNiqX1c,61376
|
|
6
6
|
meta_ads_mcp/core/ads_library.py,sha256=smGz9FhM6RIUjlQT4Jv1BaZmXahGdK21eRCB7QMhK-4,3228
|
|
7
7
|
meta_ads_mcp/core/adsets.py,sha256=3Ok3EwPTReKshtsVs4gRMlws6LMTUJTb4ZeGPPM8JR8,16570
|
|
8
8
|
meta_ads_mcp/core/api.py,sha256=58F6fRrg3ny_vuLgHu1ZN1yueNAxVXz_nEcF6JlxlWk,16469
|
|
@@ -14,15 +14,15 @@ meta_ads_mcp/core/campaigns.py,sha256=m24epO1QmyBVBXfqHIFZAi6sRCTlOGLQckjy0azqkv
|
|
|
14
14
|
meta_ads_mcp/core/duplication.py,sha256=wtLLuO5ohbuXO79g-CRdS-_yNLUCZwRkJxukhufdH9g,19024
|
|
15
15
|
meta_ads_mcp/core/http_auth_integration.py,sha256=lGpKhfzJcyWugBcYEvypY-qnlt-3UDBLqh7xAUH0DGw,12473
|
|
16
16
|
meta_ads_mcp/core/insights.py,sha256=O8eldZG7wi46_heVgnOGiHPK3M_YNzvfT81wZQt9m0Q,4710
|
|
17
|
-
meta_ads_mcp/core/openai_deep_research.py,sha256=
|
|
17
|
+
meta_ads_mcp/core/openai_deep_research.py,sha256=68ayGopnBSPEYhN9R1sFvTXtyWtM0lji9aWS3uSXnLY,18649
|
|
18
18
|
meta_ads_mcp/core/pipeboard_auth.py,sha256=vv0yc4RBcGOm7VOovud-QNV1JmvBF-njOKICzAOlyf0,24602
|
|
19
19
|
meta_ads_mcp/core/reports.py,sha256=2pXYCCjYc3MZ8GlrbSHND436W62WlbfbtMll1dfJdqE,5750
|
|
20
20
|
meta_ads_mcp/core/resources.py,sha256=-zIIfZulpo76vcKv6jhAlQq91cR2SZ3cjYZt3ek3x0w,1236
|
|
21
21
|
meta_ads_mcp/core/server.py,sha256=9SlgM_qvdlxo24ctnZzLgW1e1nfAspCSx3YyJQkKP64,17856
|
|
22
22
|
meta_ads_mcp/core/targeting.py,sha256=-QziS2MvTWzM02pwiUtId4sblWURd3UYPR_YYfVuiUk,13913
|
|
23
23
|
meta_ads_mcp/core/utils.py,sha256=ytj41yC5SqduLrAiZYBSd6OUwlJRaIClTwnnYKpNFds,9387
|
|
24
|
-
meta_ads_mcp-0.11.
|
|
25
|
-
meta_ads_mcp-0.11.
|
|
26
|
-
meta_ads_mcp-0.11.
|
|
27
|
-
meta_ads_mcp-0.11.
|
|
28
|
-
meta_ads_mcp-0.11.
|
|
24
|
+
meta_ads_mcp-0.11.4.dist-info/METADATA,sha256=pI9J1eNS624ATvgJQKdrYDSldUQ7MKRan1DDEjNo5IM,24245
|
|
25
|
+
meta_ads_mcp-0.11.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
26
|
+
meta_ads_mcp-0.11.4.dist-info/entry_points.txt,sha256=Dv2RkoBjRJBqj6CyhwqGIiwPCD-SCL1-7B9-zmVRuv0,57
|
|
27
|
+
meta_ads_mcp-0.11.4.dist-info/licenses/LICENSE,sha256=E2d762fbhwKRYn8o7J6Szr6vyBPrHVDlK3jbHPx-d84,3851
|
|
28
|
+
meta_ads_mcp-0.11.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|