Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Bing Ads: add missing dimensional columns in reports #23867

Closed
rach-r opened this issue Mar 8, 2023 · 0 comments
Closed

Source Bing Ads: add missing dimensional columns in reports #23867

rach-r opened this issue Mar 8, 2023 · 0 comments
Labels
autoteam community team/tse Technical Support Engineers type/bug Something isn't working

Comments

@rach-r
Copy link
Contributor

rach-r commented Mar 8, 2023

Environment

  • Source Connector and version: Bing Ads 0.1.18 (latest as of today)
  • Step where error happened: After sync job (which is successful), when data modelling for report

Current Behavior

Today there are two types of streams:

  • dimensional-like ones (like campaigns, accounts, ad_groups...)
  • fact-like ones (reports like campaign_performance_report_daily, account_performance_report_daily, ad_group_performance_report_daily,...)

To create a reporting, you would usually JOIN fact tables with dimensional one to have metrics split by dimensional columns (ex: conversion by CampaignType, CampaignName...).

However, dimensional tables do not contain data for DELETED items; so when in a report you're trying to get past data about a DELETED campaign (or ad_group or ad...) then you can't retrieve basic information like the Name or the Type of the item. The JOIN returns a NULL for deleted items and it defeats most analysis that you would do on this kind of data, like YoY performance by CampaignType for instance.

Expected Behavior

You should be able to retrieve basic dimensional columns for reports, including for DELETED items.

Additional Information

As it's not possible to retrieve DELETED items from dimensional tables and Bing Ads offer the possibility to add some dimensional columns to reports tables (like mentioned here for CampaignReport but also available for AccountReport, AdReport...), then add them.

Steps to Reproduce

  1. Create a campaign, run it for some days, then delete it
  2. Sync campaigns and campaign_performance_report_daily
  3. When looking at this specific campaign, you only find its CampaignId in campaign_performance_report_daily so you join with campaigns to get basic info like CampaignName
  4. When joining, you get NULL, and when looking for this CampaignId in campaigns it does not exist. It's because dimensional stream campaigns can't retrieve DELETED items

Are you willing to submit a PR?

Yes, joining link very soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autoteam community team/tse Technical Support Engineers type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants