Closed
Description
Environment
- Source Connector and version: Bing Ads
0.1.12
- Step where error happened: After sync job (which is successful), when data modelling for report
Current Behavior
While campaign_performance_report_daily
stream has data for all campaign types (Search, Audience, Shopping), campaigns
only retrieves Search campaigns type. So the campaigns
stream is technically incomplete and, for example, we can't get the CampaignType in campaign reports with a simple join.
Expected Behavior
The campaigns
stream should include Search, Audience and Shopping campaigns.
Additional information
- According to the Bing API docs, the
GetCampaignsByAccountId
service only retrieves Search campaigns by default. To get Shopping and Audience campaigns, we need to explicit them in the request - Change should probably occur here
Steps to Reproduce
- Run a successful job for
campaigns
andcampaign_performance_report_daily
streams - If you look at distinct CampaignType in
campaigns
, you only get "Search" - If you try to do a left join (main table is
campaign_performance_report_daily
and joined table iscampaigns
) to get CampaignType in the reports then you'll have NULL for campaigns that are not "Search" campaigns
Are you willing to submit a PR?
Not right away but probably in the future!