feat(google-ads): add google ads integration for campaign and ad performance queries#3360
feat(google-ads): add google ads integration for campaign and ad performance queries#3360waleedlatif1 wants to merge 5 commits intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThis PR adds a complete Google Ads integration with 6 tools (list customers, list campaigns, campaign performance, list ad groups, ad performance, and custom GAQL queries). The implementation follows established patterns with proper OAuth setup, input validation, and comprehensive block configuration including AI-assisted query generation via wandConfig. Key additions:
The code follows project standards with absolute imports, proper type definitions, correct credential visibility settings (hidden for OAuth, user-only for developer token per custom rules), and consistent error handling patterns. Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
Start[User selects operation] --> OAuth[Connect Google Ads account]
OAuth --> Config[Configure parameters]
Config --> Route{Route by operation}
Route -->|list_customers| LC[List Customers Tool]
Route -->|list_campaigns| LCamp[List Campaigns Tool]
Route -->|campaign_performance| CP[Campaign Performance Tool]
Route -->|list_ad_groups| LAG[List Ad Groups Tool]
Route -->|ad_performance| AP[Ad Performance Tool]
Route -->|search| GS[Custom GAQL Query Tool]
LC --> Validate[Validate inputs]
LCamp --> Validate
CP --> Validate
LAG --> Validate
AP --> Validate
GS --> Validate
Validate --> BuildQuery[Build GAQL query]
BuildQuery --> CallAPI[Call Google Ads API]
CallAPI --> Transform[Transform response]
Transform --> Output[Return formatted output]
Last reviewed commit: 129de50 |
… nesting, add missing date ranges
|
@cursor review |
|
@greptile |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Summary
Type of Change
Testing
Tested manually
Checklist