> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Ads Transparency

> Search and retrieve ads from Google's Ads Transparency / library Center using domain or advertiser ID

Search and retrieve ads from Google's Ads Transparency / library Center using domain or advertiser ID

| | |
| - | - |
| **App** | Google Ads |
| **Operation ID** | `gads_ads_transparency` |
| **Type** | Action |
| **Connection** | None |
| **Credits per run** | 5 |
| **Agent / MCP tool** | Yes |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `input_mode` | string or SelectableOption | Yes | - | Input mode, either provide a Google Ads Transparency URL or configure manually manually by filling out the fields below like advertiser\_id, domain, etc |
| `google_ads_url` | string | No | - | Google Ads Transparency URL to parse. Use only when input\_mode is 'url' |
| `advertiser_id` | string | No | - | Advertiser's unique ID (starts with AR). Multiple IDs can be provided, separated by commas. Required if domain is not provided. |
| `domain` | string | No | - | Advertiser's verified domain (e.g., tesla.com). Required if advertiser\_id is not provided. |
| `region` | string | No | `anywhere` | Region for the search. Default is 'anywhere', provide 2-letter country code (e.g., 'US') to filter by region. |
| `platform` | string or SelectableOption | No | - | Platform for which the ads are being retrieved, leave empty to select all |
| `ad_format` | string or SelectableOption | No | - | Filter results based on ad format, leave empty to select all formats |
| `date_range` | DateRange | No | - | Custom date range with start/end dates |
| `limit` | integer | No | `50` | Maximum number of results to return (1-1000) |

### DateRange

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `start` | string | No | - | The start date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.start\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. |
| `end` | string | No | - | The end date of the date range to query, format: YYYY-MM-DD or dynamic node reference like \{\{nodeId\_\_data.end\_date}}. Required when preset is 'FIXED' or 'CUSTOM'. |
| `preset` | string | No | - | Predefined date ranges or input modes: - Use 'FIXED' or leave empty when you want to specify exact dates (YYYY-MM-DD format) in start/end fields - Use 'CUSTOM' when you want to use dynamic values from other nodes (\{\{nodeId\_\_data.start\_date}} format) in start/end fields - Use other presets (TODAY, YESTERDAY, LAST\_7\_DAYS, etc.) for predefined date ranges (start/end will be ignored) LAST\_N\_MONTHS and LAST\_N\_WEEKS are complete calendar periods ending with last month or last week, so they exclude the current month or week; for a rolling window up to yesterday use LAST\_N\_DAYS (for example LAST\_90\_DAYS) or a FIXED range. When using 'FIXED' or 'CUSTOM', both start and end fields are required. |
| `compare` | CompareOptions | No | - | Optional comparison date range settings. ALWAYS use this field for comparisons; DO NOT create additional requests or nodes, as the backend returns current, comparison, and delta metrics in a single call. |

### SelectableOption

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |

### CompareOptions

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `start` | string | No | - | The start date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. |
| `end` | string | No | - | The end date of the comparison range, format: YYYY-MM-DD. Optional if preset is provided. |
| `preset` | string | No | - | Predefined comparison ranges. When provided, start and end will be ignored. |
| `comparison_format` | string | No | `rows` | Comparison output layout: 'rows' returns separate rows for current, comparison, and delta along with date ranges; 'columns' returns a single row with delta values only as additional \*\_pct or \*\_change columns depending on comparison\_value\_type. |
| `comparison_value_type` | string | No | `percentage` | Value type: 'percentage' or 'absolute' |

## Output

**Type**: `List[Dict]`

Returns list of ads from Google Ads Transparency.

**Fields**: dynamic (depend on the inputs)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.