Skip to content
LangChain

Google Ads Library & Microsoft Ad Library for LangChain

io.github.fetchwright/google-ads-library

Competitors' Google ads (Ads Transparency Center) and Bing ads (Microsoft Ad Library) as JSON.

client:LangChain transport:streamable-http

Install Google Ads Library & Microsoft Ad Library in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "google-ads-library": {
            "transport": "streamable_http",
            "url": "https://mcp.apify.com/?tools=fetchwright/google-ads-transparency-scraper,fetchwright/microsoft-ads-library-scraper",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Google Ads Library & Microsoft Ad Library in other clients