Skip to content

Conversation

@fivetran-joemarkiewicz
Copy link
Contributor

@fivetran-joemarkiewicz fivetran-joemarkiewicz commented Apr 23, 2025

PR Overview

Package version introduced in this PR: v0.11.0

This PR addresses the following Issue/Feature(s): Internal ticket

Summary of changes:

Adds new staging models for the geo, monthly_ad_analytics_by_member_country, and monthly_ad_analytics_by_member_region sources.

Submission Checklist

  • Alignment meeting with the reviewer (if needed)
    • Timeline and validation requirements discussed
  • Provide validation details:
    • Validation Steps: Check for unintentional effects (e.g., add/run consistency & integrity tests)
    • Testing Instructions: Confirm the change addresses the issue(s)
    • Focus Areas: Complex logic or queries that need extra attention

For all above validations and testing please see internal ticket. Additionally, docs have not be generated and will be once PR is near approval.

Changelog

  • Draft changelog for PR
  • Final changelog for release review

@fivetran-joemarkiewicz fivetran-joemarkiewicz marked this pull request as ready for review April 24, 2025 04:07
@fivetran-joemarkiewicz fivetran-joemarkiewicz linked an issue Apr 24, 2025 that may be closed by this pull request
4 tasks
Copy link
Contributor

@fivetran-jamie fivetran-jamie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great! left mostly doc-related comments

fivetran-joemarkiewicz and others added 2 commits April 28, 2025 08:41
Co-authored-by: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Copy link
Contributor

@fivetran-jamie fivetran-jamie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

CHANGELOG.md Outdated
[PR #74](https://github.com/fivetran/dbt_linkedin_source/pull/74) includes the following updates:

## Schema Changes
**6 total changes • 0 possible breaking changes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To properly bold:

Suggested change
**6 total changes • 0 possible breaking changes
**6 total changes • 0 possible breaking changes**

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

CHANGELOG.md Outdated
**6 total changes • 0 possible breaking changes
| Data Model | Change Type | Old Name | New Name | Notes |
|---------------------------------------------------|-------------|----------|-------------------------------------------|-------------------------------------------------------------------|
| stg_tiktok_ads__geo_tmp | New temp model | | | Temp model added for `geo`. |
Copy link
Contributor

@fivetran-avinash fivetran-avinash Apr 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar comment to add the links to the DAG in the Data Model columns.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

CHANGELOG.md Outdated
**6 total changes • 0 possible breaking changes
| Data Model | Change Type | Old Name | New Name | Notes |
|---------------------------------------------------|-------------|----------|-------------------------------------------|-------------------------------------------------------------------|
| stg_tiktok_ads__geo_tmp | New temp model | | | Temp model added for `geo`. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to update the data model.

Suggested change
| stg_tiktok_ads__geo_tmp | New temp model | | | Temp model added for `geo`. |
| stg_linkedin_ads__geo_tmp | New temp model | | | Temp model added for `geo`. |

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

CHANGELOG.md Outdated
| Data Model | Change Type | Old Name | New Name | Notes |
|---------------------------------------------------|-------------|----------|-------------------------------------------|-------------------------------------------------------------------|
| stg_tiktok_ads__geo_tmp | New temp model | | | Temp model added for `geo`. |
| stg_tiktok_ads__geo | New staging model | | | Staging model added for `geo`. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Data model needs to be updated.

Suggested change
| stg_tiktok_ads__geo | New staging model | | | Staging model added for `geo`. |
| stg_linkedin_ads__geo | New staging model | | | Staging model added for `geo`. |

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we call out what this macro does in an Under the Hood CHANGELOG section?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't hurt to include, added an entry.

Comment on lines 378 to 385
- name: external_website_conversions
description: Number of conversions that occurred on an external website as a result of the ad.
- name: one_click_leads
description: Number of one-click leads generated from the ad campaign.
- name: external_website_conversions
description: The actions taken on your website that you've defined as valuable to your business after clicking on LinkedIn ads.
- name: one_click_leads
description: Leads submitted after clicking on LinkedIn ads.
Copy link
Contributor

@fivetran-avinash fivetran-avinash Apr 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These columns are duplicated. I think the second set of columns have better descriptions, so I'd opt to keep those, but will leave up to you!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsure how this happened. Removed.

Comment on lines 347 to 354
- name: external_website_conversions
description: Number of conversions that occurred on an external website as a result of the ad.
- name: one_click_leads
description: Number of one-click leads generated from the ad campaign.
- name: external_website_conversions
description: The actions taken on your website that you've defined as valuable to your business after clicking on LinkedIn ads.
- name: one_click_leads
description: Leads submitted after clicking on LinkedIn ads.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These columns are duplicated. I think the second set of columns have better descriptions, so I'd opt to keep those, but will leave up to you!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsure how this happened. Removed.

Comment on lines 417 to 424
- name: external_website_conversions
description: Number of conversions that occurred on an external website as a result of the ad.
- name: one_click_leads
description: Number of one-click leads generated from the ad campaign.
- name: external_website_conversions
description: The actions taken on your website that you've defined as valuable to your business after clicking on LinkedIn ads.
- name: one_click_leads
description: Leads submitted after clicking on LinkedIn ads.
Copy link
Contributor

@fivetran-avinash fivetran-avinash Apr 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same duplicate column issue, similar recommendation to use the second set.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsure how this happened. Removed.

description: The value generated by your conversions, displayed in your LinkedIn account's local currency.
- name: cost
description: The cost of the ads in the local currency or USD.
- name: external_website_conversions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same duplicate column issue, similar recommendation to use the second set.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsure how this happened. Removed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will want to apply line 139 with the new support for the new tables added I think, with a link to this upcoming release.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was mainly just to call out the backwards compatibility at that point in time. It's not entirely necessary to include this release in that section since this is a net new model. However, I did update the section to callout the downstream components which the variable is used compatibile.

Copy link
Contributor

@fivetran-avinash fivetran-avinash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fivetran-joemarkiewicz Almost there! A few questions, comments and suggestions before release.

Copy link
Contributor

@fivetran-avinash fivetran-avinash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@fivetran-joemarkiewicz fivetran-joemarkiewicz merged commit cc24d04 into main Apr 29, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Documentation] Move badges below H1 heading

3 participants