The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.
where accounts, customer_id, developer_token, user_id, reports_start_date, hourly_reports, daily_reports, weekly_reports, monthly_reportsshould be forwarded from UI part
The BingAds oAuth2 implementation returns refresh_token
Python part
BingAds docs Necessary scopes values:
offline_access user.read
Example of consent url: https://login.microsoftonline.com/common/oauth2/v2.0/authorize? client_id= &response_type=code &redirect_uri= &response_mode=query &scope=https://ads.microsoft.com/offline_access%20user.read
Example of token url: https://login.microsoftonline.com/common/oauth2/v2.0/token -ContentType application/x-www-form-urlencoded -Method POST -Body "client_id=$clientId&scope=https://ads.microsoft.com/offline_access%20user.read&code=_code_&grant_type=authorization_code&redirect_uri=_url_"
where
accounts, customer_id, developer_token, user_id, reports_start_date, hourly_reports, daily_reports, weekly_reports, monthly_reports
should be forwarded from UI partThe BingAds oAuth2 implementation returns refresh_token