-
Notifications
You must be signed in to change notification settings - Fork 4.6k
🐛 Source Bing Ads - Fix Campaigns stream misses Audience and Shopping #17873
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 - Fix Campaigns stream misses Audience and Shopping #17873
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this initiative!
I'll run the acceptance tests on our sandbox account below.
@@ -207,6 +207,9 @@ class Campaigns(BingAdsStream): | |||
" DynamicFeedSetting MaxConversionValueBiddingScheme MultimediaAdsBidAdjustment" | |||
" TargetImpressionShareBiddingScheme TargetSetting VerifiedTrackingSetting" | |||
) | |||
campaign_types: str = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer this attribute to be a list of string that is later joined with " ".join
. This will increase readability and simplify testing.
Feel free to change additional_fields
in the same manner.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
/test connector=connectors/source-bing-ads
Build PassedTest summary info:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Tests are passing. @rach-r feel free to make the minor suggestion I shared above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but make sure this comment is processed: https://github.com/airbytehq/airbyte/pull/17873/files#r993262907
@@ -207,6 +207,9 @@ class Campaigns(BingAdsStream): | |||
" DynamicFeedSetting MaxConversionValueBiddingScheme MultimediaAdsBidAdjustment" | |||
" TargetImpressionShareBiddingScheme TargetSetting VerifiedTrackingSetting" | |||
) | |||
campaign_types: str = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
…st for Campaigns class
/publish connector=connectors/source-bing-ads
if you have connectors that successfully published but failed definition generation, follow step 4 here |
Thanks @rach-r for the contribution! 🎉 Feel free to open more PR like this one ;-) |
…vation * master: (98 commits) 🐛 Source Bing Ads - Fix Campaigns stream misses Audience and Shopping (#17873) Source S3 - fix schema inference (#17991) 🎉 JDBC sources: store cursor record count in db state (#15535) Introduce webhook configs into workspace api and persistence (#17950) ci: upload test results to github for analysis (#17953) Trigger the connectors build if there are worker changes. (#17976) Add additional sync timing information (#17643) Use page_token_option instead of page_token (#17892) capture metrics around json messages size (#17973) 🐛 Correct kube annotations variable as per the docs. (#17972) 🪟 🎉 Add /connector-builder page with embedded YAML editor (#17482) fix `est_num_metrics_emitted_by_reporter` not being emitted (#17929) Update schema dumps (#17960) Remove the bump in the value.yml (#17959) Ensure database initialization in test container (#17697) Remove typo line from incremental reads docs (#17920) DocS: Update authentication.md (#17931) Use MessageMigration for Source Connection Check. (#17656) fixed links (#17949) remove usages of YamlSeedConfigPersistence (#17895) ...
Hi, The problem summarizes that we are making a move from Fivetran to Airbyte Cloud and:
So we find correct but incomplete data. A greeting and thanks for the help. |
What
Today, only Search campaign type is fetched in Campaigns stream, while all campaigns are available in campaign reports.
This PR aims to fix this by explicitly calling all campaign types in request parameters.
Closes this issue.
How
By explicitly calling all campaign types in request parameters.
Here is the API documentation mentioning how it should be retrieved.
Pre-merge Checklist
Community member or Airbyter
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleTests
Unit
Put your unit tests output here.
Integration
Put your integration tests output here.
Acceptance
Put your acceptance tests output here.