MicrosoftDocs / Advertising

Public sync with MicrosoftDocs/Advertising-pr
Creative Commons Attribution 4.0 International
13 stars 33 forks source link

Getting an error with the code snippet on here. #139

Open galtman5 opened 6 months ago

galtman5 commented 6 months ago

I'm trying to use this example to retrieve report data from bing ads with python. I set everything up and got all the necessary ID's but when I run this script, I get an error that makes it seem like the example is outdated.

This is my error:

module 'bingads.v13.reporting.reporting_service_manager' has no attribute 'download_report'

The code line that causes this failure is in the download_report() function report_container = reporting_service_manager.download_report(reporting_download_parameters)

Is the example code outdated?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.