A Structured Prompt For LangChain Workflows That Analyzes Digital Advertising Markets. It Ranks The Top 20 Industry Verticals By Ad Spend, Identifies Fast Growing Sub Niches, And Computes Metrics Like CPM, CPC, And CAC. It Integrates Validation Protocols, Multi Source Analysis, And JSON Formatted Outputs For Insights And Action Plans. Designed For Developers Using Python Or JavaScript To Enhance Market Research And Analytics Workflows.

A structured prompt for LangChain workflows that analyzes digital advertising markets. It ranks the top 20 industry verticals by ad spend, identifies fast-growing sub-niches, and computes metrics like CPM, CPC, and CAC. It integrates validation protocols, multi-source analysis, and JSON-formatted outputs for insights and action plans. Designed for developers using Python or JavaScript to enhance market research and analytics workflows.

D
digitalmuse
·May 3, 2026·
75 2 583
$7.99
Prompt
812 words

Analysis Framework Implementation v1.0.4

SYSTEM_CONFIG: VERSION: 1.0.4 MIN_SCORE_THRESHOLD: 9 CONFIDENCE_INTERVAL: 95% P_VALUE_THRESHOLD: 0.05 RESPONSE_FORMAT: json VALIDATION_PROTOCOLS: SOURCE_VERIFICATION: REQUIRED_SOURCES: 3 CREDIBILITY_THRESHOLD: 8.5 # 85% on a 0-10 scale RECENCY_REQUIREMENT: "<=24 months" CROSS_REFERENCE: TRUE PRIORITIZATION_CONFLICT: "Prioritize based on source reliability, recency, and consistency with peer data" STATISTICAL_VALIDATION: SAMPLE_SIZE_MIN: "context_dependent" CONFIDENCE_INTERVAL: 95% MARGIN_ERROR_MAX: 0.5 # 5% OUTLIER_THRESHOLD: 2.5SD DATA_DISCREPANCY_NOTATION: "Flag significant discrepancies and justify prioritization choices" MARKET_ANALYSIS: GEOGRAPHIC_COVERAGE: ["US", "Global"] MARKET_SEGMENTATION: REQUIRED VARIANCE_THRESHOLD: 1.5 # 15% GROWTH_RATES: REQUIRE year-over-year and trend analysis on digital and traditional channels PLATFORM_IMPACT: Highlight emerging platform trends (Google Ads, Meta, TikTok) and regulatory effects SCORING_MATRIX: CONFIDENCE: WEIGHTS: SOURCE_RELIABILITY: 0.40 STATISTICAL_VALIDITY: 0.35 METHODOLOGY_ROBUSTNESS: 0.25 THRESHOLDS: EXCEPTIONAL: 10 TARGET: 8.5 MINIMUM: 7.5

ACTIONABILITY: WEIGHTS: IMPLEMENTATION_CLARITY: 0.35 RESOURCE_DEFINITION: 0.35 ROI_QUANTIFICATION: 0.30 THRESHOLDS: EXCEPTIONAL: 10 TARGET: 7.5 MINIMUM: 7

ACCURACY: WEIGHTS: DATA_COMPLETENESS: 0.40 VALIDATION_SUCCESS: 0.35 ERROR_MARGIN: 0.25 THRESHOLDS: EXCEPTIONAL: 10 TARGET: 9 MINIMUM: 8.5 OUTPUT_TEMPLATE: METADATA: ID: "UUID" TIMESTAMP: "ISO8601" VERSION: "SEMVER" ANALYSIS_TYPE: "MARKET_RANKING" SCORES: CONFIDENCE: VALUE: [7-10] COMPONENTS: SOURCE_RELIABILITY: ⟨SCORE⟩ STATISTICAL_VALIDITY: ⟨SCORE⟩ METHODOLOGY_ROBUSTNESS: ⟨SCORE⟩ VALIDATION: CONFIDENCE_INTERVAL: ⟨PERCENTAGE⟩ P_VALUE: ⟨FLOAT⟩ SAMPLE_SIZE: ⟨INTEGER⟩ ACTIONABILITY: VALUE: [7-10] COMPONENTS: IMPLEMENTATION_CLARITY: ⟨SCORE⟩ RESOURCE_DEFINITION: ⟨SCORE⟩ ROI_QUANTIFICATION: ⟨SCORE⟩ METRICS: TIMELINE_FEASIBILITY: ⟨PERCENTAGE⟩ RESOURCE_AVAILABILITY: ⟨PERCENTAGE⟩ EXPECTED_ROI: ⟨PERCENTAGE⟩ ACCURACY: VALUE: [7-10] COMPONENTS: DATA_COMPLETENESS: ⟨SCORE⟩ VALIDATION_SUCCESS: ⟨SCORE⟩ ERROR_MARGIN: ⟨PERCENTAGE⟩ VERIFICATION: CROSS_REFERENCE: ⟨SCORE⟩ BIAS_ASSESSMENT: ⟨SCORE⟩ REGIONAL_VARIANCE: ⟨PERCENTAGE⟩ INSIGHTS: PRIMARY: - VERTICAL: ⟨STRING⟩ FINDINGS: - TOP_SUB_NICHES: ⟨ARRAY⟩ - CPM_CPC_CAC_METRICS: ⟨DICTIONARY⟩ - ROAS_INDICATOR: [TRUE/FALSE] - PLATFORM_TRENDS: ⟨ARRAY⟩ - GROWTH_RATES: ⟨PERCENTAGE⟩ CONFIDENCE: ⟨PERCENTAGE⟩ VALIDATION: ⟨METRICS⟩ SECONDARY: - FINDING: ⟨STRING⟩ CONTEXT: ⟨STRING⟩ IMPACT: ⟨SCORE⟩ IMPLEMENTATION_PLAN: PHASE_1: TIMELINE: ⟨DURATION⟩ RESOURCES: ⟨ARRAY⟩ DEPENDENCIES: ⟨ARRAY⟩ SUCCESS_METRICS: ⟨ARRAY⟩ PHASE_2: TIMELINE: ⟨DURATION⟩ RESOURCES: ⟨ARRAY⟩ DEPENDENCIES: ⟨ARRAY⟩ SUCCESS_METRICS: ⟨ARRAY⟩ RISK_ASSESSMENT: HIGH_RISK: - DESCRIPTION: ⟨STRING⟩ PROBABILITY: ⟨PERCENTAGE⟩ IMPACT: [1-10] MITIGATION: ⟨STRING⟩ MEDIUM_RISK: - DESCRIPTION: ⟨STRING⟩ PROBABILITY: ⟨PERCENTAGE⟩ IMPACT: [1-10] MITIGATION: ⟨STRING⟩ LOW_RISK: - DESCRIPTION: ⟨STRING⟩ PROBABILITY: ⟨PERCENTAGE⟩ IMPACT: [1-10] MITIGATION: ⟨STRING⟩ VALIDATION_SUMMARY: DATA_QUALITY: ⟨SCORE⟩ IMPLEMENTATION_READINESS: ⟨SCORE⟩ RISK_MANAGEMENT: ⟨SCORE⟩ OVERALL_CONFIDENCE: ⟨SCORE⟩ SEARCH_QUERIES: REQUIRED: - "What are the top 10 most popular search queries for the last week?" - "What is the total ad spend for the digital advertising industry in the US?" - "What is the total ad spend by vertical and sub-niche?" - "What are the fastest-growing advertising sub-niches?" ADDITIONAL: - "Current CPM rates by industry" - "Year-over-year ad spend growth rates" - "Top-performing digital ad platforms in 2024" - "Impact of recent regulations on advertising verticals" ERROR_HANDLING: CRITICAL_FAILURES: - INSUFFICIENT_DATA - VALIDATION_ERROR - STATISTICAL_SIGNIFICANCE_FAILURE

RECOVERY_STEPS: 1: LOG_ERROR 2: IDENTIFY_CAUSE 3: IMPLEMENT_CORRECTION 4: VALIDATE_CORRECTION

Analyze the digital advertising market. Specifically:

  • Create a ranking of the top 20 industry verticals by total advertising spend (including both digital and traditional channels)
  • For each vertical:
    • Identify the fastest-growing sub-niches
    • Include key metrics: CPM, CPC, and CAC
    • Note if it has particularly high ROAS
  • Use data from:
    • Research firms: [Generate a list of firms to use for research like eMarketer, IAB, GroupM, Magna Global, Google Scholar, etc.]
    • Platform data: [Generate a list of platforms like Google Ads, Meta, TikTok, etc.]
    • Areas of Conflicting Data: [If you find conflicts between sources, explain the discrepancy and your reasoning for which data to prioritize]
  • Include these market dynamics:
    • Year-over-year growth rates and trends
    • Which advertising platforms are gaining traction
    • Impact of regulations on specific verticals
    • How audience targeting strategies are changing
  • Generate specific search queries to validate your findings. Include queries like:
    • "What are the top 10 most popular search queries for the last week?"
    • "What is the total ad spend for the digital advertising industry in the US?"
    • "What is the total ad spend for the digital advertising industry in the US by vertical by sub-niche?"
    • "What are the fastest-growing sub-niches within the digital advertising industry in the US?"
    • "What are the top 10 most searched for hobbies for the last week?"
    • [Generate similar queries relevant to your analysis] You will generate a maximum of 10 queries using the output format below: OUTPUT: REQUIREMENTS:
    • INCLUDE_ITERATION_SCORES: TRUE
    • VERIFY_READINESS: TRUE
    • VERIFY_INSIGHTS: TRUE
    • VERIFY_SEARCH_ENGINE_QUERIES: TRUE INDUSTRY_VERTICALS: DESCRIPTION: "Ranking of the top 20 industry verticals by total advertising spend (including both digital and traditional channels)" VERTICALS: [List of Industry Verticals] SUB_NICHE_GROWTH: DESCRIPTION: "Fastest-growing sub-niches within the digital advertising industry in the US" SUB_NICHE: [List of Sub-Niches] ITERATION_SCORES: DESCRIPTION: "Iteration scores to increase the accuracy of the assistant's insights." SCORE: [Iteration Score] DATA_FROM: DESCRIPTION: "Data sources to increase the accuracy of the assistant's insights." RESEARCH_FIRMS: [List of Research Firms] PLATFORMS: [List of Platforms] AREAS_OF_CONFLICTING_DATA: [List of Areas of Conflicting Data] SEARCH_ENGINE_QUERIES: DESCRIPTION: "Search engine queries to required to increase the accuracy of the assistant's insights." QUERIES:
      • "QUERY_1":[1st Generated Query]
      • "QUERY_2":[2nd Generated Query]
      • "QUERY_3":[3rd Generated Query]
      • "QUERY_4":[4th Generated Query]
      • "QUERY_5":[5th Generated Query]
      • [Generate any query necessary to a maximum of 10 queries]

Complete your analysis and generate your insights. Next, you must generate all necessary content for the OUTPUT section. You must reply in JSON format.

This prompt contains variables shown as ⟨variable_name⟩. Replace them with your own values before using.

How to Use

Use with LangChain: hub.pull("frozenpacket/prompt_search")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Research & Analysis

View All
Research & Analysis
Universal

My Blueprint

Unlock the secrets of your life’s purpose and potential. Discover your Life Path, Destiny, and hidden strengths, overcome challenges, and align with your true calling. This detailed analysis will give you insights into your personality, relationships, and career, helping you make empowered decisions and live your most authentic life. Ready to explore the path the universe has laid out for you?

A
axiomprompts$5.99
476 482
Research & Analysis
ChatGPTClaudeGemini

Formal Risk Assessment Framework

Get a comprehensive risk assessment across 5 categories with likelihood/impact ratings and mitigation strategies — plus a detailed plan for the highest-priority risk.

A
aiscribe$3.99
189 2,200
Research & Analysis
ChatGPTClaudeGemini

Data Findings to Business Insights Translator

Translate statistical findings into executive-ready business insights with plain-English summaries, action items, and visualization recommendations.

C
clearframe$8.99
178 2,000
Research & Analysis
Universal

Make the Best Life Decisions

Not sure wether you should make that big decision? Use this prompt to ask ChatGPT

S
spectrumtextFree
83 92
Research & Analysis
Universal

Find your dream career! 🚀

🌟 Unleash Your True Potential: Discover Your Perfect Vocation with your personal Career Coach 🌟 Feeling stuck in your current role? Uncertain about your career path? Let's unlock your true purpose together! I'm your personal coach, a highly experienced life and career coach with a track record of helping people just like you find their true vocation. My empathetic approach and deep understanding of human nature will put you at ease while we explore your goals, desires, and potential. Together, we'll create a personalized report that empowers you to make confident choices for your future. 🔑 What you'll experience: A compassionate coaching approach that will help you understand your unique situation Sensitive, revealing questions that build a complete profile of your personality and context Insights that lead to significant, positive, and long-lasting changes 🌈 Your outcome: A clear understanding of the perfect vocation for you Enhanced self-awareness and confidence in your professio

L
layerprompt$7.99
440 452
Research & Analysis
ChatGPTClaudeGemini

User Research Insight Synthesizer

Transform messy user research data into structured themes, evidence-backed insights, priority rankings, and specific product recommendations.

M
mindmapai$8.99
167 1,900