Skip to content

Source BingAds - Campaigns stream misses Audience and Shopping campaigns #17252

Closed
@rach-r

Description

@rach-r

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

  1. Run a successful job for campaigns and campaign_performance_report_daily streams
  2. If you look at distinct CampaignType in campaigns, you only get "Search"
  3. If you try to do a left join (main table is campaign_performance_report_daily and joined table is campaigns) 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!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions