Extracting Report Info Programmatically with C#

Steve Harrison 25 Reputation points
2023-11-29T11:54:56.3833333+00:00

I am trying to extract report info programmatically using C#. However, I am having trouble using reportingService.SubmitGenerateReport, as it generates the error "object reference not set to an instance of an object." I have also tried using PowerShell and Python, but they did not work for me either. Additionally, I cannot get a simple SOAP request to work using SOAPUI, as it results in an "internal error" message. Is there a clear, working example available online that I can utilize to report on clicks for yesterday using a campaign name filter across all campaigns on the Bing Ads account? I find it much easier to do this on Google Ads and do not understand why BingAds is so difficult to set up.

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
424 questions
0 comments No comments
{count} votes

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.