-
Notifications
You must be signed in to change notification settings - Fork 72
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
Bing Ads Integration #5197
Bing Ads Integration #5197
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
fides Run #9720
Run Properties:
|
Project |
fides
|
Branch Review |
refs/pull/5197/merge
|
Run status |
Passed #9720
|
Run duration | 00m 36s |
Commit |
54e0f79eff ℹ️: Merge 8f0fe95e60a0f4e647ce093dc6cfa941172b8fa7 into 4a2dc3a958503527c86d1901b870...
|
Committer | Adrian Galvan |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5197 +/- ##
==========================================
- Coverage 86.41% 85.95% -0.46%
==========================================
Files 362 363 +1
Lines 22792 22955 +163
Branches 3060 3081 +21
==========================================
+ Hits 19695 19732 +37
- Misses 2538 2663 +125
- Partials 559 560 +1 ☔ View full report in Codecov by Sentry. |
TBD: Set up the correct architecture on fides for the script
Considering ifan empty Audience List is a Fail State or not. We might not want to raise an Exception on these case, but fail silently? To consider. Leaving a Comment
Moving the Fixture CSV to the proper Location
We have a tracking ID as a response that we do not use yet, We might want to use it on the future
Updated on Authenticated Client. Since its an Optional Parameter, and its on the end, we should not have problems with this change
if they dont comply to the expect format, we wont get a result from the relevant fields. Thus there was an error with the response. response.text should yield the XML string containing the Error description from the endpoint
Still with some problems in local. The configuration is not being sent properly
We might want to do a deeper Error handling, as there acan be detailed errors on the SOAP Structure
Updating Test, using the real reference
@@ -26,6 +26,7 @@ class SaaSRequestParams(BaseModel): | |||
headers: Dict[str, Any] = {} | |||
query_params: Dict[str, Any] = {} | |||
body: Optional[str] = None | |||
files: Optional[list] = None |
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.
Can we use a more specific type hint here? How about this?
RequestFile = Tuple[str, Tuple[str, IO, str]]
...
class SaaSRequestParams(BaseModel):
"""
Holds the method, path, headers, query, and body params to build a SaaS HTTP request.
"""
method: HTTPMethod
path: str
headers: Dict[str, Any] = {}
query_params: Dict[str, Any] = {}
body: Optional[str] = None
files: Optional[List[RequestFile]] = None
model_config = ConfigDict(use_enum_values=True, arbitrary_types_allowed=True)
method: GET | ||
client_config: | ||
protocol: https | ||
host: login.microsoftonline.com |
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.
Make sure we have the prod versions before we commit this version
|
||
connector_params: | ||
- name: domain | ||
default_value: clientcenter.api.sandbox.bingads.microsoft.com # change to the prod URL for the default |
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.
Let's change this to the prod default value and remove the comment
fides Run #9721
Run Properties:
|
Project |
fides
|
Branch Review |
main
|
Run status |
Passed #9721
|
Run duration | 00m 37s |
Commit |
9b2784f3a3: Bing Ads Integration (#5197)
|
Committer | Adrian Galvan |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
Closes INTS-164
Description Of Changes
We're adding a new Integration with Microsoft's Bing Ads Network. This allows us to remove the emails of users from the Audience's Customer List of our clients. At the time of development, this is the only PII avaliable on the microsoft Advertising Network
Since the API is SOAP based, we had to do some changes to the saas connector and schemas, in order to accept files
Code Changes
Steps to Confirm
Pre-Merge Checklist
CHANGELOG.md