question

StankevichKatsiaryna2STUD-0096 avatar image
0 Votes"
StankevichKatsiaryna2STUD-0096 asked EricUrban-MSFT edited

Load report without creating local file Bing Ads API

Is it possible to download the report from Bing Ads API as an in-memory object WITHOUT loading it locally as a file? I would be grateful if the code snipper will be in Python

advertising-api
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

EricUrban-MSFT avatar image
0 Votes"
EricUrban-MSFT answered EricUrban-MSFT edited

@StankevichKatsiaryna2STUD-0096 - Yes this is supported with the Bing Ads Python SDK. Please see report_requests.py and let me know if you have any follow up questions. A file is downloaded in memory temporarily but you don't need to extract and parse the file contents.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.