Scenario
You need blog content that targets real search demand, not guesswork. You use Google Ads’KeywordPlanIdeaService to discover keyword opportunities with volume and competition data, then feed the top keywords into Mavera’s Generate endpoint to produce full SEO blog post drafts. The result is a content pipeline where every article is backed by search data.
Architecture
Code
Example Output
Error Handling
KeywordPlanIdeaService requires a plan or seed
KeywordPlanIdeaService requires a plan or seed
You must provide at least one of
keyword_seed, url_seed, or site_seed. An empty request returns INVALID_ARGUMENT.Low volume keywords
Low volume keywords
Keywords with fewer than 10 monthly searches return
null metrics. The code filters for > 100 to ensure statistical relevance.Geo and language constants
Geo and language constants
Use
languageConstants/1000 for English, geoTargetConstants/2840 for US. Find IDs via GET /v23/geoTargetConstants:suggest.All Google Ads jobs
View all 7 Google Ads integration jobs
Generate API
Full reference for POST /api/v1/generations