|
1 | 1 | # LinkedIn Ads Migration Guide |
2 | 2 |
|
| 3 | +## Upgrading to 5.0.0 |
| 4 | + |
| 5 | +With LinkedIn Ads v5.0.0, we modified primary keys for stream(s): `ad_campaign_analytics`, `Custom Ad Analytics Reports`, `account_users`. |
| 6 | + |
| 7 | +This enhances data integrity and improves the efficiency of your syncs. Users with deduping enabled on those streams might have missing data as records would have been collapsed on the wrong primary key. We highly recommend initiating a connection refresh to ensure all the data is available in the destination. |
| 8 | + |
| 9 | +- `ad_campaign_analytics` |
| 10 | +- `Custom Ad Analytics Reports` |
| 11 | + |
| 12 | +| Old PK | New PK | |
| 13 | +|:-------------------------------------|:--------------------------------------------------------| |
| 14 | +| `[string_of_pivot_values, end_date]` | `[string_of_pivot_values, end_date, sponsoredCampaign]` | |
| 15 | + |
| 16 | +- `account_users` |
| 17 | + |
| 18 | +| Old PK | New PK | |
| 19 | +|:------------|:------------------| |
| 20 | +| `[account]` | `[account, user]` | |
| 21 | + |
| 22 | +## Migration Steps |
| 23 | + |
| 24 | +Clearing your data is required for the affected streams in order to continue syncing successfully. To clear your data |
| 25 | +for the affected streams, follow the steps below: |
| 26 | + |
| 27 | +1. Select **Connections** in the main navbar and select the connection(s) affected by the update. |
| 28 | +2. Select the **Schema** tab. |
| 29 | + 1. Select **Refresh source schema** to bring in any schema changes. Any detected schema changes will be listed for your review. |
| 30 | + 2. Select **OK** to approve changes. |
| 31 | +3. Select **Save changes** at the bottom of the page. |
| 32 | + 1. Ensure the **Clear affected streams** option is checked to ensure your streams continue syncing successfully with the new schema. |
| 33 | +4. Select **Save connection**. |
| 34 | + |
| 35 | +This will clear the data in your destination for the subset of streams with schema changes. After the clear succeeds, |
| 36 | +trigger a sync by clicking **Sync Now**. For more information on clearing your data in Airbyte, see [this page](/operator-guides/clear). |
| 37 | + |
3 | 38 | ## Upgrading to 4.0.0 |
4 | 39 |
|
5 | 40 | Version 3.X.X introduced a regression in the connector that was reverted in 4.0.0. If you were using 3.X.X, please go through the migration steps. If you were still using 2.X.X, please upgrade to 4.0.0; after that, there are no additional actions required. |
|
0 commit comments