# Dayparting Optimization

Source: https://adsuperpowers.ai/docs/cookbook/recipe/dayparting-analysis

Find the best hours and days to run your ads based on performance data.

Category: [Optimization](https://adsuperpowers.ai/docs/cookbook/category/optimization). Difficulty: Intermediate. Estimated time: 30 minutes. Estimated time saved: 2h. These estimates depend on your account and task.

## Platforms

- [Google Ads](https://adsuperpowers.ai/docs/cookbook/platforms/google-ads)
- [Meta Ads](https://adsuperpowers.ai/docs/cookbook/platforms/meta)

## Best for

- [Performance Marketeer](https://adsuperpowers.ai/docs/cookbook/roles/performance-marketeer)

## Prerequisites

- At least 30 days of campaign data

Connect the required accounts and your [AI assistant](https://adsuperpowers.ai/docs/setup), then confirm the [workspace and client context](https://adsuperpowers.ai/docs/accounts#client-profiles). Open a recipe for its prerequisites, prompts and expected output. Treat durations and time savings as editorial estimates, not guarantees. Check proposed writes before approving them. Recipes involving another service need a separate connection to that service.

## Tools used

| Tool | Purpose |
| --- | --- |
| [`google_ads_run_gaql`](https://adsuperpowers.ai/docs/tools/google-ads#available-tools) | Hour/day performance |
| [`meta_get_insights`](https://adsuperpowers.ai/docs/tools/meta-ads#available-tools) | Time breakdown |

The tools available to your assistant depend on account connections, workspace permissions and client support. [Browse the tool catalog](https://adsuperpowers.ai/docs/tools).

## Prompts

Use these prompts in your connected AI assistant. Replace account names, dates and targets as needed. Read the result before following a recommendation or approving a write.

### Dayparting Analysis

```text
Analyze my ad performance by hour of day and day of week over the last 30 days. Identify the best and worst performing time slots. Recommend a dayparting schedule to improve efficiency.
```

**Expected output:** Heat map of performance by day/hour with scheduling recommendations

## Automation

This recipe is intended for an interactive run. Review the result with your assistant before proceeding.

## Related recipes

- [Daily Performance Pulse](https://adsuperpowers.ai/docs/cookbook/recipe/daily-performance-pulse)
- [List All Connected Accounts](https://adsuperpowers.ai/docs/cookbook/recipe/list-all-accounts)
- [Campaign Status Check](https://adsuperpowers.ai/docs/cookbook/recipe/campaign-status-check)

[All recipes](https://adsuperpowers.ai/docs/cookbook) · [Featured](https://adsuperpowers.ai/docs/cookbook/featured) · [Quick wins](https://adsuperpowers.ai/docs/cookbook/quick-wins) · [Deep dives](https://adsuperpowers.ai/docs/cookbook/deep-dives) · [Automated workflows](https://adsuperpowers.ai/docs/cookbook/automated) · [Integrations](https://adsuperpowers.ai/docs/cookbook/integrations) · [Platforms](https://adsuperpowers.ai/docs/cookbook/platforms) · [Roles](https://adsuperpowers.ai/docs/cookbook/roles)
