
bingads mcp
用于管理 Bing Ads API 身份验证和受众估算的脚本。
Repository Info
About This Server
用于管理 Bing Ads API 身份验证和受众估算的脚本。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Bing Ads API Token Management
This repository contains scripts for managing Bing Ads API authentication and audience estimation.
Setup
- Create a
.envfile in the root directory with your Bing Ads API credentials:
client_id=your_client_id
- Install the required dependencies:
pip install -r requirements.txt
Usage
Getting Access Tokens
Run the token generation script:
python get_tokens.py
This will:
- Open your browser for authentication
- Ask you to enter the authorization code
- Generate and display the access token
Testing Audience Estimation
After obtaining the token, you can test audience estimation:
python test_audience_estimation.py
Files
get_tokens.py: Script to obtain Bing Ads API access tokenstest_audience_estimation.py: Script to test audience estimation using the Bing Ads APIrequirements.txt: Python package dependencies.env: Environment variables (not tracked in git)
Security Note
Never commit your .env file or expose your API credentials. The .env file is included in .gitignore to prevent accidental commits.
Quick Start
Clone the repository
git clone https://github.com/sanzgiri/bingads-mcpInstall dependencies
cd bingads-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.