feat: add Instagram Ads connector (ads optimized)#38
Merged
maciejwitowski merged 1 commit intomainfrom Mar 24, 2026
Merged
Conversation
Adds a dedicated ads-only Instagram connector that exports: - Advertisers you saw ads from - Ad topics - Targeting categories (from "Categories used to reach you") Optimized for speed (~15s vs 39s for the full Instagram connector): - Navigates directly to Accounts Center ads page - DOM-readiness polling instead of fixed page.sleep() calls - Skips profile and posts entirely Includes updated instagram.ads schema with categories field and registry entry with checksums. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 tasks
maciejwitowski
added a commit
to vana-com/data-connect
that referenced
this pull request
Mar 30, 2026
## Summary - Adds a dedicated `instagram-ads` entry to the `PLATFORM_REGISTRY` so that clicking "Instagram Ads" on the home page loads the correct ads data (`instagram.ads` scope) instead of falling back to regular Instagram data - Sets `showInConnectList: false` since the main Instagram connector already exports ads — this entry exists purely for data resolution ## Root cause The `instagram-ads-playwright` connector (added in vana-com/data-connectors#38) had no matching registry entry. Without one, the source page has no `ingestScope`, so it falls back to loading whatever data it finds for company "Meta" — which is the regular Instagram posts data. ## Test plan - [x] Open DataConnect, go to home page - [x] Verify "Instagram Ads" card appears (loaded from connector files) - [x] Click "Instagram Ads" → source page should show ads data (advertisers, ad topics), not Instagram posts - [x] Verify regular "Instagram" still works and shows profile + posts data - [ ] Verify Instagram Ads does NOT appear as a separate option in the connect flow (only in "Your data" if already connected) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a dedicated ads-only Instagram connector that exports:
Optimized for speed (~15s vs 39s for the full Instagram connector):
Includes updated instagram.ads schema with categories field and registry entry with checksums.