Repository navigation
chore(source-facebook-marketing): migrate to api v23 - #65533
David Gold (dbgold17) merged 13 commits into
Conversation
👋 Greetings, Airbyte Team Member!Here are some helpful tips and reminders for your convenience. Helpful Resources
PR Slash CommandsAirbyte Maintainers (that's you!) can execute the following slash commands on your PR:
|
|
/bump-version changelog="Migrate to API v23"
|
There was a problem hiding this comment.
We need to mark this as a breaking change in the metadata file and also include an entry in the migration doc (same directory as all other connector docs).
metadata.yaml
- major version bump under
dockerImageTag - Add entry under
breakingChanges - Include upgrade deadline of the day before the deprecation date
- It looks like the proposed change is only breaking for
ad_creativesso we set a breaking change scope appropriately, there are already examples in the metadata file.
facebook-marketing-migrations.md
- Add a breaking change entry (there are example in there already)
Also, just to confirm: when running a diff between the two output specs, were there any removed fields/options? If not we're all good. If there were removed options for a given field, I'm inclined to think it might also be breaking. Although that would require more understanding of the connector and its spec. If it's decided that the change to the spec is breaking, then we would need to document that in the breakingChanges entry and remove the scoped impact since it would presumably impact all users of the connector.
…ebook-marketing-API-deprecation' into dbgold17/source-facebook-marketing-API-deprecation
|
|
Deploy preview for airbyte-docs ready! ✅ Preview Built with commit 3229770. |
That's correct, only added fields/options. I also ran CATs for good measure and the only failure was comparing the spec outputs. I updated the new spec output in |
Patrick Nilan (pnilan)
left a comment
There was a problem hiding this comment.
Changes are only around noting the removal of instagram_story_id field, too.
| Three fields from the `AdCreatives` stream have been deprecated: | ||
| - `instagram_actor_id` -> `instagram_user_id` | ||
| - `effective_instagram_story_id` -> `effective_instagram_media_id` | ||
| - `instagram_story_id` -> `source_instagram_media_id` |
There was a problem hiding this comment.
Also should note that instagram_story_id has been removed.
There was a problem hiding this comment.
That was what I was attempting to communicate with this line. Happy to be more explicit.
I believe all three of these fields are going away or is there something special about instagram_story_id?
There was a problem hiding this comment.
Ah sorry see me note here: https://github.com/airbytehq/airbyte/pull/65533/files#r2299384503
I don't see source_instagram_media_id in the updated schema
There was a problem hiding this comment.
would you like me to reword this or is what I have okay?
|
|
||
| See the [v22.0 changelog](https://developers.facebook.com/docs/marketing-api/marketing-api-changelog/version22.0) for more information | ||
|
|
||
| ### Steps to refresh the AdCreatives stream schema: |
There was a problem hiding this comment.
Patrick Nilan (@pnilan) I copied these steps from other migration guides. Is this still accurate? What would be a good way for me to validate?
There was a problem hiding this comment.
Yeah still accurate!
…data.yaml Co-authored-by: Patrick Nilan <nilan.patrick@gmail.com>
| "description": "Permalink URL of the ad creative on Instagram.", | ||
| "type": ["null", "string"] | ||
| }, | ||
| "instagram_story_id": { |
There was a problem hiding this comment.
I'm not seeing "source_instagram_media_id" in the updated schema.
There was a problem hiding this comment.
correct, it is being replace by source_instagram_media_id, just as instagram_actor_id is being replaced with instagram_user_id.
The only reason the diff looks different is because source_instagram_media_id already existed in the schema here
There was a problem hiding this comment.
Ah got it! Thanks for that link.
Patrick Nilan (pnilan)
left a comment
There was a problem hiding this comment.
Looks good nice work
What
Closes: https://github.com/airbytehq/airbyte-internal-issues/issues/13967
facebook-business23.0.0 (Facebook Marketing API v23)instagram_actor_idreplace byinstagram_user_ideffective_instagram_story_idreplace byeffective_instagram_media_idinstagram_story_idreplace bysource_instagram_media_idad_extension_domainad_extension_urlbreakdown_ad_objectivecomscore_marketcomscore_market_codecreative_relaxation_asset_typeflexible_format_asset_typegen_ai_asset_typeimpression_view_time_advertiser_hour_v2is_auto_advanceHow
I iterated until unit tests were passing and then attempted to runs some syncs using sandbox credentials. Regression test and ensure no issues are found
User Impact
yes, this is a breaking change. Migration steps are detailed in the PR
Can this PR be safely reverted and rolled back?