Scripts Microsoft Advertising

Roiden Araya 0 Reputation points
2025-02-19T01:32:57.8533333+00:00

Hello,

I'm trying to create 2 scripts one to negativize search terms that are not relevant to what I promote and add them to negative keyword lists automatically, but I'm having problems, because I can not get the search terms of the campaigns, Microsoft Ads does not allow it, should improve this I saw that the API if possible, but I did everything and it does not work for me.

The truth is everything is very complex, compared to Google Ads that everything is simpler, do you know if there is a script already made for this specifically that I can take as a guide?

For me to customize it to how I want it, also if you can share me the documentation where you teach me to do this specifically, please.

I am also trying to create another script that handles budgets and ROAS automatically, but the main problem is that I am having a hard time doing it by API, since the scripts really as they are now does not work to automate in the important things.

If you have a guide on how to make this work with the API it would be great if you could share it with me, please.

Thank you very much in advance!

Microsoft Advertising
Microsoft Advertising
A platform for Microsoft's advertising efforts designed to manage all advertising and reporting for partner advertisers. Previously known as Bing Ads and adCenter.
93 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RupeshShelke-8139 0 Reputation points
    2025-03-11T12:13:35.08+00:00

    Hello,

    I understand you're aiming to automate two key aspects of your Microsoft Advertising campaigns:

    1. Automating the addition of irrelevant search terms to negative keyword lists.
    2. Automating budget and Return on Advertising Spend (ROAS) management.

    Let's address each objective:

    1. Automating the Addition of Irrelevant Search Terms to Negative Keyword Lists

    While Microsoft Advertising's web interface may not directly provide search term reports, you can access this data through the Microsoft Advertising API. By leveraging the API, you can retrieve search terms and automate the process of adding irrelevant ones to your negative keyword lists.

    Steps to Implement:

    Access Search Term Data: Use the Reporting service of the Bing Ads API to fetch search term reports. This will provide insights into the queries triggering your ads.

    Identify Irrelevant Terms: Analyze the retrieved data to pinpoint search terms that aren't relevant to your offerings.

    Update Negative Keywords: Utilize the Campaign Management service to programmatically add these irrelevant terms to your negative keyword lists.

    Resources:

    Code Examples: Microsoft provides code examples in languages like C#, Java, PHP, and Python to guide you through using the Bing Ads API.

    Python SDK: If you're comfortable with Python, the Bing Ads Python SDK can simplify interactions with the API.

    1. Automating Budget and ROAS Management

    Automating budget adjustments and optimizing for ROAS is achievable through the Bing Ads API. You can monitor campaign performance metrics and adjust budgets or bids accordingly.

    Steps to Implement:

    Retrieve Performance Data: Use the Reporting service to gather metrics like spend, conversions, and revenue.

    Calculate ROAS: Determine the ROAS by dividing the revenue by the advertising spend for each campaign or ad group.

    Adjust Budgets and Bids: Based on the ROAS and other performance indicators, employ the Campaign Management service to adjust budgets or bids.

    Resources:

    Budget Management Examples: Microsoft provides script examples for managing shared budgets using scripts.

    Bid Strategy Guide: The Budget and Bid Strategies guide offers insights into different bidding strategies, including those targeting ROAS.

    Additional Recommendations:

    Explore Microsoft Advertising Scripts: These scripts offer a way to automate tasks without deep API integration. You can find various script examples that might align with your goals.

    Consult the Community: Platforms like Stack Overflow have active communities where you can find discussions and solutions related to the Bing Ads API.

    By leveraging the Bing Ads API and the resources mentioned above, you can automate the management of negative keywords, budgets, and ROAS, thereby optimizing your advertising efforts.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.