-
Notifications
You must be signed in to change notification settings - Fork 4.5k
🐛 Source Google Ads: added handling for 401 error while parsing response. added metrics.cost_micros to ad_groups stream #33494
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 Google Ads: added handling for 401 error while parsing response. added metrics.cost_micros to ad_groups stream #33494
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Before Merging a Connector Pull RequestWow! What a great pull request you have here! 🎉 To merge this PR, ensure the following has been done/considered for each connector added or updated:
If the checklist is complete, but the CI check is failing,
|
Warning 🚨 Connector code freeze is in effect until 2024-01-02. This PR is changing connector code. Please contact the current OC engineers if you want to merge this change to master. |
try: | ||
yield self.google_ads_client.parse_single_result(self.get_json_schema(), result) | ||
except Unauthenticated: | ||
raise AirbyteTracedException( |
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.
Would it be possible to incorporate this error handling into the traced_exception
function located in utils.py
? This would centralize error handling, making it more manageable and consistent across the connector.
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.
updated with traced_exception
airbyte-integrations/connectors/source-google-ads/source_google_ads/streams.py
Outdated
Show resolved
Hide resolved
@darynaishchenko, the update to add a new field to the
Since blocking this stream for manager accounts impacts other customers' data, I suggest we revert this change. |
…nse. added metrics.cost_micros to ad_groups stream (airbytehq#33494)
…nse. added metrics.cost_micros to ad_groups stream (airbytehq#33494)
What
resolved: https://github.com/airbytehq/oncall/issues/3466
401 Request is missing required authentication credential
resolved: #19455
How
Added config error in case of 401 error. Updated ad_groups schema.