Skip to content

Feature/sc 76870/ mindsdb google ads integration#51

Merged
gabrielbressan-tfy merged 3 commits intomainfrom
feature/sc-76870/-mindsdb-google-ads-integration
Apr 7, 2026
Merged

Feature/sc 76870/ mindsdb google ads integration#51
gabrielbressan-tfy merged 3 commits intomainfrom
feature/sc-76870/-mindsdb-google-ads-integration

Conversation

@gabrielbressan-tfy
Copy link
Copy Markdown
Collaborator

Adds a new google_ads integration handler that connects to the Google Ads API via OAuth2 (refresh token flow).

Tables

Table Description
campaigns Campaign metadata (name, status, budget, channel type)
ad_groups Ad group metadata linked to campaigns
ads Responsive search ads with headlines and descriptions
keywords Keywords with match type, quality score, and bid
campaign_performance Daily metrics per campaign (impressions, clicks, cost, CTR, CPC, CPM)
search_terms Search term performance with daily breakdown

Notes

  • campaign_performance and search_terms require start_date/end_date in WHERE; default to last 30 days when omitted
  • All tables follow Pattern A: fetch full data from API, let DuckDB handle aggregations and complex expressions
  • campaign.start_date and campaign.end_date removed from the campaigns GAQL — they are not valid fields in the Google Ads API

@gabrielbressan-tfy gabrielbressan-tfy marked this pull request as ready for review April 7, 2026 07:54
@gabrielbressan-tfy gabrielbressan-tfy merged commit 2b10f4b into main Apr 7, 2026
2 of 4 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.

1 participant