🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
{
"trace": {
"id": "933dba1e9783f89d5d8bb032f041a2de",
"projectId": "cml84ntcb01hgad07c302ud72",
"name": "Insights Agent C#",
"timestamp": "2026-03-09T12:25:54.654Z",
"environment": "preprod",
"tags": [],
"bookmarked": false,
"release": null,
"version": "100000",
"userId": "g.aprozeanu",
"sessionId": "9714061f-20c0-4d98-9220-1dc7df15c3c2",
"public": true,
"input": "\"What are my month over month performance insights the past quarter, by cost, displays, clicks, CTR, sales, CVR? Please split by campaign taxonomy\"",
"output": "\"{\\\"response\\\":{\\\"comment\\\":\\\"I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\\\\n\\\\n### Parameters\\\\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\\\\n- Attribution model chosen is 30-Day Post Click\\\\n- Currency: EUR\\\\n- Time dimension: Month\\\\n- Dimensions: Campaign\\\\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\\\\n\\\\nPlease let me know if you'd like to try a different date range or different metrics.\\\",\\\"response\\\":[],\\\"response_status\\\":\\\"noDataFound\\\",\\\"followup_questions\\\":[\\\"Change date range to last month.\\\",\\\"Compare CTR across campaigns.\\\",\\\"Break down by country.\\\"],\\\"response_context\\\":null},\\\"client_id\\\":22291,\\\"session_id\\\":\\\"9714061f-20c0-4d98-9220-1dc7df15c3c2\\\",\\\"trace_id\\\":\\\"933dba1e9783f89d5d8bb032f041a2de\\\",\\\"tool_inputs\\\":null}\"",
"createdAt": "2026-03-09T12:26:03.000Z",
"updatedAt": "2026-03-09T12:26:13.209Z",
"metadata": "{\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-demo-insights\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"scope\":{\"name\":\"ExampleAds.Langfuse\",\"version\":\"\",\"attributes\":{}}}",
"scores": [],
"corrections": [],
"latency": 14.851,
"observations": [
{
"id": "50d470aa18418652",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:26:03.164Z",
"endTime": "2026-03-09T12:26:06.562Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "f858b986537e9e41",
"type": "GENERATION",
"environment": "preprod",
"name": "chat gemini-2.5-flash",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:07.964Z",
"updatedAt": "2026-03-09T12:26:07.964Z",
"input": null,
"output": null,
"model": "gemini-2.5-flash",
"internalModelId": "cmcnjkfwn000107l43bf5e8ax",
"modelParameters": {
"seed": 42,
"temperature": 0
},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 3.398,
"timeToFirstToken": null,
"usageDetails": {
"input": 3004,
"output": 167,
"total": 3171
},
"costDetails": {
"input": 0.0009012,
"output": 0.0004175,
"total": 0.0013187
},
"providedCostDetails": {},
"inputCost": 0.0009012,
"outputCost": 0.0004175,
"totalCost": 0.0013187,
"inputUsage": 3004,
"outputUsage": 167,
"totalUsage": 3171,
"usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
"usagePricingTierName": "Standard",
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{}"
},
{
"id": "c651c1dac855f97e",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:25:54.654Z",
"endTime": "2026-03-09T12:26:00.805Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "f858b986537e9e41",
"type": "GENERATION",
"environment": "preprod",
"name": "chat gemini-2.5-flash",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:02.752Z",
"updatedAt": "2026-03-09T12:26:02.752Z",
"input": null,
"output": null,
"model": "gemini-2.5-flash",
"internalModelId": "cmcnjkfwn000107l43bf5e8ax",
"modelParameters": {
"seed": 42,
"temperature": 0
},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 6.151,
"timeToFirstToken": null,
"usageDetails": {
"input": 2546,
"output": 47,
"total": 2593
},
"costDetails": {
"input": 0.0007638,
"output": 0.0001175,
"total": 0.0008813
},
"providedCostDetails": {},
"inputCost": 0.0007638,
"outputCost": 0.0001175,
"totalCost": 0.0008813,
"inputUsage": 2546,
"outputUsage": 47,
"totalUsage": 2593,
"usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
"usagePricingTierName": "Standard",
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{}"
},
{
"id": "cb394d8e10fdda0f",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:26:06.562Z",
"endTime": "2026-03-09T12:26:09.484Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "8b9b68803d88be77",
"type": "GENERATION",
"environment": "preprod",
"name": "chat gemini-2.5-flash",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:13.119Z",
"updatedAt": "2026-03-09T12:26:13.119Z",
"input": null,
"output": null,
"model": "gemini-2.5-flash",
"internalModelId": "cmcnjkfwn000107l43bf5e8ax",
"modelParameters": {
"seed": 42,
"temperature": 0
},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 2.922,
"timeToFirstToken": null,
"usageDetails": {
"input": 2497,
"output": 200,
"total": 2697
},
"costDetails": {
"input": 0.0007491,
"output": 0.0005,
"total": 0.0012491
},
"providedCostDetails": {},
"inputCost": 0.0007491,
"outputCost": 0.0005,
"totalCost": 0.0012491,
"inputUsage": 2497,
"outputUsage": 200,
"totalUsage": 2697,
"usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
"usagePricingTierName": "Standard",
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{}"
},
{
"id": "5b9ba1e61e2e10fc",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:25:54.654Z",
"endTime": "2026-03-09T12:26:09.505Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "1db8118c6ecfd744",
"type": "SPAN",
"environment": "preprod",
"name": "Insights Agent C#",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:13.119Z",
"updatedAt": "2026-03-09T12:26:13.120Z",
"input": null,
"output": null,
"model": null,
"internalModelId": null,
"modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 14.851,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
"providedCostDetails": {},
"inputCost": null,
"outputCost": null,
"totalCost": 0,
"inputUsage": 0,
"outputUsage": 0,
"totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{}"
},
{
"id": "8b9b68803d88be77",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:26:06.562Z",
"endTime": "2026-03-09T12:26:09.484Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "5b9ba1e61e2e10fc",
"type": "SPAN",
"environment": "preprod",
"name": "orchestrate_tools",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:13.119Z",
"updatedAt": "2026-03-09T12:26:13.120Z",
"input": null,
"output": null,
"model": null,
"internalModelId": null,
"modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 2.922,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
"providedCostDetails": {},
"inputCost": null,
"outputCost": null,
"totalCost": 0,
"inputUsage": 0,
"outputUsage": 0,
"totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{}"
},
{
"id": "f858b986537e9e41",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:25:54.654Z",
"endTime": "2026-03-09T12:26:06.562Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "5b9ba1e61e2e10fc",
"type": "SPAN",
"environment": "preprod",
"name": "orchestrate_tools",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:07.964Z",
"updatedAt": "2026-03-09T12:26:07.965Z",
"input": null,
"output": null,
"model": null,
"internalModelId": null,
"modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 11.908,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
"providedCostDetails": {},
"inputCost": null,
"outputCost": null,
"totalCost": 0,
"inputUsage": 0,
"outputUsage": 0,
"totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{}"
},
{
"id": "390601577d7e35c2",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:26:09.484Z",
"endTime": "2026-03-09T12:26:09.484Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "8b9b68803d88be77",
"type": "TOOL",
"environment": "preprod",
"name": "final_result",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:13.119Z",
"updatedAt": "2026-03-09T12:26:13.119Z",
"input": null,
"output": null,
"model": null,
"internalModelId": null,
"modelParameters": {},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 0,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
"providedCostDetails": {},
"inputCost": null,
"outputCost": null,
"totalCost": 0,
"inputUsage": 0,
"outputUsage": 0,
"totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{}"
},
{
"id": "5977f5594f537b9e",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:26:00.805Z",
"endTime": "2026-03-09T12:26:03.164Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "f858b986537e9e41",
"type": "TOOL",
"environment": "preprod",
"name": "get_custom_report",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:07.964Z",
"updatedAt": "2026-03-09T12:26:07.964Z",
"input": null,
"output": null,
"model": null,
"internalModelId": null,
"modelParameters": {},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 2.359,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
"providedCostDetails": {},
"inputCost": null,
"outputCost": null,
"totalCost": 0,
"inputUsage": 0,
"outputUsage": 0,
"totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{}"
}
]
},
"observations": [
{
"id": "50d470aa18418652",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:26:03.164Z",
"endTime": "2026-03-09T12:26:06.562Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "f858b986537e9e41",
"type": "GENERATION",
"environment": "preprod",
"name": "chat gemini-2.5-flash",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:07.964Z",
"updatedAt": "2026-03-09T12:26:07.964Z",
"input": "[\n {\n \"role\": \"user\",\n \"parts\": [\n {\n \"type\": \"text\",\n \"content\": \"What are my month over month performance insights the past quarter, by cost, displays, clicks, CTR, sales, CVR? Please split by campaign taxonomy\"\n }\n ]\n },\n {\n \"role\": \"assistant\",\n \"parts\": [\n {\n \"type\": \"tool_call\",\n \"id\": \"get_custom_report\",\n \"name\": \"get_custom_report\",\n \"arguments\": {\n \"dimensions\": [\n \"Campaign\"\n ],\n \"filters\": {\n \"dateRange\": {\n \"from_date\": \"2025-10-01\",\n \"to_date\": \"2025-12-31\"\n }\n },\n \"timeDimension\": \"Month\",\n \"metrics\": [\n \"Cost\",\n \"Displays\",\n \"Clicks\",\n \"Ctr\",\n \"Sales\",\n \"Cvr\"\n ]\n }\n },\n {\n \"type\": \"Microsoft.Extensions.AI.TextReasoningContent\",\n \"content\": {\n \"text\": \"\",\n \"protectedData\": \"anonymized-encrypted-reasoning\"\n }\n }\n ]\n },\n {\n \"role\": \"tool\",\n \"parts\": [\n {\n \"type\": \"tool_call_response\",\n \"id\": \"get_custom_report\",\n \"response\": {\n \"response_status\": \"Error\",\n \"message\": \"ERROR: No data found for dimensions: Campaign and metrics Cost,Displays,Clicks,Ctr,Sales,Cvr.\"\n }\n }\n ]\n }\n]",
"output": "[\n {\n \"role\": \"assistant\",\n \"parts\": [\n {\n \"type\": \"text\",\n \"content\": \"I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\\n\\n### Parameters\\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\\n- Attribution model chosen is 30-Day Post Click\\n- Currency: EUR\\n- Time dimension: Month\\n- Dimensions: Campaign\\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\\n\\nPlease let me know if you'd like to try a different date range or different metrics.\"\n },\n {\n \"type\": \"Microsoft.Extensions.AI.TextReasoningContent\",\n \"content\": {\n \"text\": \"\",\n \"protectedData\": \"anonymized-encrypted-reasoning\"\n }\n }\n ],\n \"finish_reason\": \"stop\"\n }\n]",
"model": "gemini-2.5-flash",
"internalModelId": "cmcnjkfwn000107l43bf5e8ax",
"modelParameters": {
"seed": 42,
"temperature": 0
},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 3.398,
"timeToFirstToken": null,
"usageDetails": {
"input": 3004,
"output": 167,
"total": 3171
},
"costDetails": {
"input": 0.0009012,
"output": 0.0004175,
"total": 0.0013187
},
"providedCostDetails": {},
"inputCost": 0.0009012,
"outputCost": 0.0004175,
"totalCost": 0.0013187,
"inputUsage": 3004,
"outputUsage": 167,
"totalUsage": 3171,
"usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
"usagePricingTierName": "Standard",
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chat\",\"gen_ai.request.model\":\"gemini-2.5-flash\",\"gen_ai.provider.name\":\"gcp.vertex_ai\",\"server.address\":\"aiplatform.googleapis.com\",\"server.port\":\"443\",\"gen_ai.request.seed\":\"42\",\"gen_ai.request.temperature\":\"0\",\"gen_ai.tool.definitions\":\"[\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"get_adset_infos\\\",\\n \\\"description\\\": \\\"Retrieves all ad sets matching conditions set in the filter (also referred to as campaigns)\\\\r\\\\nThis method should be called by the agent whenever\\\\r\\\\nit needs information about one or more ad sets.\\\\r\\\\nIt provides a comprehensive list of ad sets with key metadata and status fields.\\\\r\\\\n\\\\r\\\\nReturns:\\\\r\\\\n-------\\\\r\\\\nResponse\\\\r\\\\n An object containing data with the following information for each ad set:\\\\r\\\\n - id: The unique identifier of the ad set (also called Campaign ID).\\\\r\\\\n - name: The name of the ad set.\\\\r\\\\n - advertiserId: The ID of the advertiser that owns this ad set.\\\\r\\\\n - objective (MarketingObjective): The marketing objective associated with the ad set: Acquisition or Retention.\\\\r\\\\n - startDate: The start date of the ad set, if specified.\\\\r\\\\n - activationStatus: Indicates whether the ad set is currently active: Activated or NotActivated\\\\r\\\\n - deliveryStatus: Describes the current delivery state of the ad set: Running, Archived or NotRunning\\\\r\\\\n\\\\r\\\\nNotes:\\\\r\\\\n-----\\\\r\\\\nUse this method as the primary source for retrieving ad set (campaign) information.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"filter\\\": {\\n \\\"description\\\": \\\"The filters applied for selecting the ad_sets\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"adset_ids\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"integer\\\"\\n }\\n },\\n \\\"names\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n },\\n \\\"activation_statuses\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"NotActivated\\\",\\n \\\"Activated\\\"\\n ]\\n }\\n },\\n \\\"objectives\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"NotSet\\\",\\n \\\"Acquisition\\\",\\n \\\"Retention\\\"\\n ]\\n }\\n },\\n \\\"delivery_statuses\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Running\\\",\\n \\\"Archived\\\",\\n \\\"NotRunning\\\"\\n ]\\n }\\n }\\n }\\n }\\n },\\n \\\"required\\\": [\\n \\\"filter\\\"\\n ]\\n }\\n },\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"get_custom_report\\\",\\n \\\"description\\\": \\\"Calls the API to retrieve client data.\\\\r\\\\n\\\\r\\\\nArgs:\\\\r\\\\n filters: An object containing the built-in filters.\\\\r\\\\n Default values are provided if needed.\\\\r\\\\n timeDimension: Time-based dimension for data projections; specifies the granularity at which data will be grouped.\\\\r\\\\n Possible values and examples:\\\\r\\\\n - None: Indicates that the user has not provided any clear time dimension.\\\\r\\\\n This should be selected when there is no explicit instruction.\\\\r\\\\n Do NOT infer or assume a value; use None unless the user specifies otherwise.\\\\r\\\\n - Year: Represents a calendar year.\\\\r\\\\n Examples: per year, by year, year-over-year comparisons (YoY), yearly trend analysis.\\\\r\\\\n - Month: Represents a calendar month.\\\\r\\\\n Examples: per month, by month, month-over-month comparisons (MoM), monthly performance reports.\\\\r\\\\n - Week: Represents a calendar week.\\\\r\\\\n Examples: per week, by week, week-over-week comparisons (WoW), weekly campaign summaries.\\\\r\\\\n - Day: Represents a calendar day.\\\\r\\\\n Examples: per day, by day, day-over-day comparisons (DoD), daily performance tracking.\\\\r\\\\n - Hour: Represents an hour within a day.\\\\r\\\\n Examples: per hour, by hour, hourly trend analysis, intraday performance monitoring.\\\\r\\\\n dimensions: A list of dimensions that define the granularity of the report.\\\\r\\\\n Example: [os, device]\\\\r\\\\n metrics: A list of performance indicators to retrieve.\\\\r\\\\n Example: [clicks, ctr]\\\\r\\\\n attributionModel: Specifies the model used to measure sales.\\\\r\\\\n Optional.\\\\r\\\\n additionalFilters: Custom filters applied to the data.\\\\r\\\\n CRITICAL CONSTRAINT: Every dimension used in \\\\u0060additionalFilters\\\\u0060 MUST be present in the \\\\u0060dimensions\\\\u0060 list.\\\\r\\\\n If a filter references a dimension not included in \\\\u0060dimensions\\\\u0060, the request will be rejected.\\\\r\\\\n\\\\r\\\\nNotes:\\\\r\\\\n - Dimensions determine the level of detail in the report.\\\\r\\\\n - Metrics represent the KPIs to monitor campaign performance.\\\\r\\\\n - Filters restrict the dataset retrieved from the API.\\\\r\\\\n - \\\\u0060additionalFilters\\\\u0060 allow for extra filtering, but only on dimensions explicitly listed in \\\\u0060dimensions\\\\u0060.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"filters\\\": {\\n \\\"description\\\": \\\"Filters are a way to narrow the scope of the report by setting certain values.\\\\r\\\\nIf no value can be inferred, a default one will be provided.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"clientIds\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"integer\\\"\\n }\\n },\\n \\\"dateRange\\\": {\\n \\\"description\\\": \\\"Date range between two dates.\\\\r\\\\nIMPORTANT: from_date and to_date are inclusive (the start and end dates are included in the period).\\\\r\\\\n\\\\r\\\\nIf dates are not given explicitly, they can be deduced as follows:\\\\r\\\\n\\\\r\\\\n- IMPORTANT: Last n days: from = today - n days, to = yesterday (inclusive, does not include today)\\\\r\\\\n Example: if today is 2025-08-23 then \\\\u0022last 7 days\\\\u0022: 2025-08-16 to 2025-08-22 (inclusive, 7 days)\\\\r\\\\n Example: if today is 2025-08-10 then \\\\u0022last 20 days\\\\u0022: 2025-07-21 to 2025-08-09 (inclusive, 20 days)\\\\r\\\\n- Month of May 2025: from = 2025-05-01, to = 2025-05-31\\\\r\\\\n- IMPORTANT: Last week, the last full calendar week (Monday to Sunday) before the current Week:\\\\r\\\\n from = Monday of previous week\\\\r\\\\n to = Sunday of previous Week\\\\r\\\\n Example: if today is Tuesday, 2025-08-12 then \\\\u0022last week\\\\u0022 is Monday 2025-08-04 to Sunday 2025-08-10\\\\r\\\\n Example: if today is Monday, 2025-09-15 then \\\\u0022last week\\\\u0022 is Monday 2025-08-14 to Sunday 2025-08-14\\\\r\\\\n- IMPORTANT: Last n weeks, the last n full calendar weeks (Monday to Sunday) before the current Week.\\\\r\\\\n n is the number of weeks.\\\\r\\\\n from = Monday of n weeks ago\\\\r\\\\n to = Sunday of previous Week\\\\r\\\\n Example: if today is Friday, 2025-08-22 then \\\\u0022last 2 weeks\\\\u0022 is\\\\r\\\\n Monday 2025-08-04 to Sunday 2025-08-17\\\\r\\\\n n is 2\\\\r\\\\n Example: if today is Monday, 2025-07-21 then \\\\u0022last 3 weeks\\\\u0022 is\\\\r\\\\n Monday 2025-06-30 to Sunday 2025-07-20\\\\r\\\\n n is 3\\\\r\\\\n- IMPORTANT: Last month, the last full calendar month before the current month.\\\\r\\\\n from = first day of previous month\\\\r\\\\n to = last day of previous month\\\\r\\\\n Example: if today is Tuesday, 2025-08-19 then \\\\u0022last month\\\\u0022 is 2025-07-01 to 2025-07-31\\\\r\\\\n- IMPORTANT: Last n months, the last n full calendar months before the current month.\\\\r\\\\n n is the number of months.\\\\r\\\\n from = first day of the month n months ago\\\\r\\\\n to = last day of previous month\\\\r\\\\n Example: if today is Monday, 2025-08-19 then \\\\u0022last 3 months\\\\u0022 is 2025-05-01 to 2025-07-31\\\\r\\\\n n is 3\\\\r\\\\n- Last quarter: the last full quarter before the current quarter.\\\\r\\\\n Q1: January 1 to March 31\\\\r\\\\n Q2: April 1 to June 30\\\\r\\\\n Q3: July 1 to September 30\\\\r\\\\n Q4: October 1 to December 31\\\\r\\\\n\\\\r\\\\n\\\\r\\\\ntime_zone is the IANA time zone name (e.g., \\\\u0022Europe/London\\\\u0022, \\\\u0022America/New_York\\\\u0022).\\\\r\\\\nBy default, assume that we are in the Europe/London time zone.\\\\r\\\\n\\\\r\\\\nThe field previous_period_from_date is used to define the starting date of a previous period\\\\r\\\\nthat mirrors the current data collection range.\\\\r\\\\nThis allows for comparative analysis between the current period and a similar past period.\\\\r\\\\n\\\\r\\\\nUse the following guidelines and examples to determine the correct value:\\\\r\\\\n\\\\r\\\\nGeneral Rule:\\\\r\\\\nprevious_period_from_date should be set to a date that starts the previous comparable period\\\\r\\\\nthe previous period will have the same duration as the current one\\\\r\\\\nthe previous period and the current period MUST NOT overlap\\\\r\\\\n\\\\r\\\\n Examples:\\\\r\\\\n Relative Time Comparison\\\\r\\\\n If comparing to last year, and from_date = 2025-08-01, then:\\\\r\\\\n previous_period_from_date = 2024-08-01\\\\r\\\\n If comparing with the previous period, previous_period_start_date is calculated\\\\r\\\\n by subtracting the duration of the current date range from its starting date (from_date).\\\\r\\\\n This ensures the previous period has the same length and ends\\\\r\\\\n right before the current one begins.\\\\r\\\\n Example:\\\\r\\\\n Current range: from_date = 2025-08-10, to_date = 2025-08-19 (10 days including bounds),\\\\r\\\\n then: previous_period_start_date = 2025-07-31 (10 days before 2025-08-10)\\\\r\\\\n Custom Period Comparison\\\\r\\\\n If comparing to the period starting 2025-02-25, then:\\\\r\\\\n previous_period_from_date = 2025-02-25\\\\r\\\\n\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"from_date\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"format\\\": \\\"date\\\"\\n },\\n \\\"to_date\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"format\\\": \\\"date\\\"\\n },\\n \\\"time_zone\\\": {\\n \\\"type\\\": [\\n \\\"string\\\",\\n \\\"null\\\"\\n ]\\n },\\n \\\"previous_period_from_date\\\": {\\n \\\"type\\\": [\\n \\\"string\\\",\\n \\\"null\\\"\\n ],\\n \\\"format\\\": \\\"date\\\"\\n }\\n }\\n },\\n \\\"currency\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"campaignStatus\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Status of a campaign\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Active\\\\r\\\\n Active, Running or Live\\\\r\\\\n NotRunning\\\\r\\\\n Not running\\\\r\\\\n Dead\\\\r\\\\n Archived\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Active\\\",\\n \\\"NotRunning\\\",\\n \\\"Dead\\\"\\n ]\\n }\\n },\\n \\\"mediaType\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Type of media used. video or display.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Display\\\\r\\\\n HTML display\\\\r\\\\n\\\\r\\\\n Video\\\\r\\\\n Video display\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Display\\\",\\n \\\"Video\\\"\\n ]\\n }\\n },\\n \\\"marketingCampaignGoals\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"NotSet\\\",\\n \\\"Acquisition\\\",\\n \\\"Retention\\\"\\n ]\\n }\\n },\\n \\\"campaigns\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"integer\\\"\\n }\\n }\\n }\\n },\\n \\\"timeDimension\\\": {\\n \\\"description\\\": \\\"Defines the time-based dimensions available for data projections.\\\\r\\\\n\\\\r\\\\nEach enum member specifies the granularity at which data can be grouped or analyzed.\\\\r\\\\n\\\\r\\\\nMembers:\\\\r\\\\n None - Indicates that the user has not provided any clear time dimension.\\\\r\\\\n This should be selected when there is no explicit instruction.\\\\r\\\\n Do NOT infer or assume a value; use None unless the user specifies otherwise.\\\\r\\\\n Year - Represents a calendar year. For example per year, by year, year-over-year comparisons (YoY), yearly trend analysis.\\\\r\\\\n Month - Represents a calendar month. For example per month, by month, month-over-month comparisons (MoM), monthly performance reports.\\\\r\\\\n Week - Represents a calendar week. For example per week, by week, week-over-week comparisons (WoW), weekly campaign summaries.\\\\r\\\\n Day - Represents a calendar day. For example per day, by day, day-over-day comparisons (DoD), daily performance tracking.\\\\r\\\\n Hour - Represents an hour within a day. For example per hour, by hour, hourly trend analysis, intraday performance monitoring.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"None\\\",\\n \\\"Year\\\",\\n \\\"Month\\\",\\n \\\"Week\\\",\\n \\\"Day\\\",\\n \\\"Hour\\\"\\n ],\\n \\\"default\\\": \\\"None\\\"\\n },\\n \\\"dimensions\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Enumeration of standardized dimensions used in online advertising projections.\\\\r\\\\n\\\\r\\\\n Each member represents a dimension or attribute commonly used in digital marketing analytics,\\\\r\\\\n campaign performance tracking, and audience segmentation.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Advertiser\\\\r\\\\n Name or entity running the ad campaign(s). Also called Client\\\\r\\\\n\\\\r\\\\n MarketingCampaign\\\\r\\\\n Full name of the marketing campaign. A group of ad sets.\\\\r\\\\n\\\\r\\\\n Campaign\\\\r\\\\n An ad set.\\\\r\\\\n\\\\r\\\\n MediaType\\\\r\\\\n Type of media used (e.g., video, display, native).\\\\r\\\\n\\\\r\\\\n MarketingCampaignGoal\\\\r\\\\n Marketing campaign objective (Retention, Acquisition)\\\\r\\\\n\\\\r\\\\n Category\\\\r\\\\n Product or content category (e.g., electronics, fashion).\\\\r\\\\n\\\\r\\\\n Device\\\\r\\\\n Type of device used (e.g., mobile, desktop, tablet).\\\\r\\\\n\\\\r\\\\n Os\\\\r\\\\n Operating system of the device (e.g., iOS, Android, Windows).\\\\r\\\\n\\\\r\\\\n AdChannel\\\\r\\\\n Specific advertising channel (e.g., programmatic, direct).\\\\r\\\\n\\\\r\\\\n AdSocialNetwork\\\\r\\\\n Social media platform used (e.g., Facebook, TikTok).\\\\r\\\\n\\\\r\\\\n Ad\\\\r\\\\n A creative\\\\r\\\\n\\\\r\\\\n Coupon\\\\r\\\\n A creative coupon\\\\r\\\\n\\\\r\\\\n AdFormat\\\\r\\\\n Format of the ad (e.g., banner, interstitial, carousel).\\\\r\\\\n\\\\r\\\\n DisplaySize\\\\r\\\\n Size of the display area for the ad.\\\\r\\\\n\\\\r\\\\n VideoPlacement\\\\r\\\\n Placement type for video ads (e.g., in-stream, out-stream).\\\\r\\\\n\\\\r\\\\n VideoPlaybackMethod\\\\r\\\\n How the video was played (e.g., autoplay, click-to-play).\\\\r\\\\n\\\\r\\\\n VideoPlayerSize\\\\r\\\\n Dimensions of the video player.\\\\r\\\\n\\\\r\\\\n VideoDurationInSeconds\\\\r\\\\n Length of the video ad.\\\\r\\\\n\\\\r\\\\n VideoPlayerRatio\\\\r\\\\n Aspect ratio of the video player (e.g., 16:9).\\\\r\\\\n\\\\r\\\\n Ssp\\\\r\\\\n Supply Side Partner. The publishing network where displays were made.\\\\r\\\\n\\\\r\\\\n Country\\\\r\\\\n Country where the ad was served.\\\\r\\\\n\\\\r\\\\n Region\\\\r\\\\n Region or state within the country.\\\\r\\\\n\\\\r\\\\n PostalCode\\\\r\\\\n Postal or ZIP code.\\\\r\\\\n\\\\r\\\\n UserBehavior\\\\r\\\\n Behavioral segment of the user (e.g., frequent buyer).\\\\r\\\\n\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Advertiser\\\",\\n \\\"MarketingCampaign\\\",\\n \\\"Campaign\\\",\\n \\\"MediaType\\\",\\n \\\"MarketingCampaignGoal\\\",\\n \\\"Category\\\",\\n \\\"Device\\\",\\n \\\"Os\\\",\\n \\\"AdChannel\\\",\\n \\\"AdSocialNetwork\\\",\\n \\\"Ad\\\",\\n \\\"Coupon\\\",\\n \\\"AdFormat\\\",\\n \\\"DisplaySize\\\",\\n \\\"VideoPlacement\\\",\\n \\\"VideoPlaybackMethod\\\",\\n \\\"VideoPlayerSize\\\",\\n \\\"VideoDurationInSeconds\\\",\\n \\\"VideoPlayerRatio\\\",\\n \\\"Ssp\\\",\\n \\\"Country\\\",\\n \\\"Region\\\",\\n \\\"PostalCode\\\",\\n \\\"UserBehavior\\\"\\n ]\\n },\\n \\\"default\\\": null\\n },\\n \\\"metrics\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Metrics represents the quantity that we wish to measure\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Audience\\\\r\\\\n Users or devices that were seen online and were eligible to be served an ad. When\\\\r\\\\n several devices can be related to one user, it counts for 1, otherwise it reflects the\\\\r\\\\n number of devices\\\\r\\\\n\\\\r\\\\n Clicks\\\\r\\\\n The number of clicks driven by the ads\\\\r\\\\n\\\\r\\\\n Cost\\\\r\\\\n The overall cost of your ads or video ads\\\\r\\\\n\\\\r\\\\n CostPerResult\\\\r\\\\n What your ad set has cost per configured result unit for your selected period.\\\\r\\\\n\\\\r\\\\n Cpc\\\\r\\\\n Cost Per Click - the amount of money spent for the ads to receive one click\\\\r\\\\n\\\\r\\\\n Cpm\\\\r\\\\n Cost Per Mille - the amount of money spent per thousand displays, available for CPM\\\\r\\\\n based ad sets only\\\\r\\\\n\\\\r\\\\n Ctr\\\\r\\\\n Click-Through Rate - literally, the rate or frequency at which users click through to a\\\\r\\\\n landing page from an ad\\\\r\\\\n\\\\r\\\\n Displays\\\\r\\\\n The number of times your ads have been shown on a screen\\\\r\\\\n\\\\r\\\\n Ecpm\\\\r\\\\n Effective Cost Per Mille - the amount of money spent per thousand displays\\\\r\\\\n\\\\r\\\\n ExposedUsers\\\\r\\\\n The number of users who have been served an ad\\\\r\\\\n\\\\r\\\\n Frequency\\\\r\\\\n The average number of displays each exposed user has seen.\\\\r\\\\n\\\\r\\\\n InvalidClicks\\\\r\\\\n Clicks that don\\\\u0027t meet our quality standards and won\\\\u0027t be billed to you.\\\\r\\\\n\\\\r\\\\n InvalidDisplays\\\\r\\\\n Displays that don\\\\u0027t meet our quality standards and won\\\\u0027t be billed to you.\\\\r\\\\n\\\\r\\\\n Reach\\\\r\\\\n Share of online eligible users or devices who have been served an ad\\\\r\\\\n\\\\r\\\\n Result\\\\r\\\\n What your ad set has achieved based on your configuration for your selected period.\\\\r\\\\n\\\\r\\\\n UntrackableDisplays\\\\r\\\\n\\\\r\\\\n NonViewableDisplays\\\\r\\\\n\\\\r\\\\n Viewability\\\\r\\\\n The percentage of displayed ads or videos ads that were considered viewable\\\\r\\\\n\\\\r\\\\n ViewableDisplays\\\\r\\\\n The number of times at least 50% of the ad appeared for at least 1 second for ads and 2\\\\r\\\\n seconds for videos ads, once started\\\\r\\\\n\\\\r\\\\n Visits\\\\r\\\\n The number of users that were active on your site or app in the hour following clicking\\\\r\\\\n on your ad\\\\r\\\\n\\\\r\\\\n Winrate\\\\r\\\\n Number of displays divided by the total number of display opportunities\\\\r\\\\n\\\\r\\\\n BounceRate\\\\r\\\\n Proportion of website visitors leaving after seeing only one page\\\\r\\\\n\\\\r\\\\n Cpv\\\\r\\\\n Cost Per Visit - the amount of money spent to get one visit on your website\\\\r\\\\n\\\\r\\\\n AppInstall\\\\r\\\\n The number of installations of application\\\\r\\\\n\\\\r\\\\n Cpi\\\\r\\\\n Cost Per Install - the amount of money that needs to be spent to get one app installed\\\\r\\\\n\\\\r\\\\n Cpqv\\\\r\\\\n Cost Per Qualified Visit - the amount of money spent to get one qualified visit on your\\\\r\\\\n website\\\\r\\\\n\\\\r\\\\n InstallRate\\\\r\\\\n Install Rate - the percentage of completed app installs compared to the clicks that\\\\r\\\\n occurred\\\\r\\\\n\\\\r\\\\n QualifiedVisits\\\\r\\\\n The number of users on the target website for which at least two events or one sale\\\\r\\\\n event occurred within the hour following the click\\\\r\\\\n\\\\r\\\\n Assists\\\\r\\\\n The number of sales one of your campaigns or ad sets contributed to (with clicks or\\\\r\\\\n displays) on your site or app.\\\\r\\\\n\\\\r\\\\n AvgCart\\\\r\\\\n Average revenue generated by a sale\\\\r\\\\n\\\\r\\\\n Cos\\\\r\\\\n Cost Of Sales - the ratio between the cost generated by the ad set(s) vs. the revenue\\\\r\\\\n generated by the sales, figured as a percentage\\\\r\\\\n\\\\r\\\\n Cpov\\\\r\\\\n Cost Per Store Visit - the amount of money spent to get one visit on your physical store\\\\r\\\\n\\\\r\\\\n Cov\\\\r\\\\n Cost Of advertiser Value - the ratio between the advertiser value generated by the sales\\\\r\\\\n vs. the cost generated by the ad set(s), figured as a percentage\\\\r\\\\n\\\\r\\\\n Cpo\\\\r\\\\n Cost Per Order - the amount of money that needs to be spent to get one order or\\\\r\\\\n transaction\\\\r\\\\n\\\\r\\\\n Cvr\\\\r\\\\n ConVersion Rate - the percentage of completed purchases compared to the clicks that\\\\r\\\\n occurred\\\\r\\\\n\\\\r\\\\n AssistsSalesRatio\\\\r\\\\n The ratio between your assisted sales and sales made on your site or app.\\\\r\\\\n\\\\r\\\\n OmnichannelRevenue\\\\r\\\\n The revenue generated by online and in-store sales.\\\\r\\\\n\\\\r\\\\n OmnichannelRoas\\\\r\\\\n Omnichannel Return on Ad Spend. The ratio between revenue generated online and in-store,\\\\r\\\\n and the cost.\\\\r\\\\n\\\\r\\\\n OmnichannelSales\\\\r\\\\n The number of online and in store transactions or conversions resulting from ExampleAds ads.\\\\r\\\\n\\\\r\\\\n Revenue\\\\r\\\\n The amount of money generated by the online sales\\\\r\\\\n\\\\r\\\\n Roas\\\\r\\\\n Return On Ad Spend - the ratio between the revenue generated and the cost\\\\r\\\\n\\\\r\\\\n Sales\\\\r\\\\n The number of completed e-commerce transactions or purchases\\\\r\\\\n\\\\r\\\\n OfflineRevenue\\\\r\\\\n The amount of revenue generated by in-store sales.\\\\r\\\\n\\\\r\\\\n OfflineRoas\\\\r\\\\n Store Return on Ad Spend. The ratio between the revenue generated in-store and the cost.\\\\r\\\\n\\\\r\\\\n OfflineSales\\\\r\\\\n The number of completed in-store transactions or purchases.\\\\r\\\\n\\\\r\\\\n OfflineVisits\\\\r\\\\n The number of visits to one of the physical stores\\\\r\\\\n\\\\r\\\\n Currency\\\\r\\\\n\\\\r\\\\n VideoAvoc\\\\r\\\\n The number of times one of your videos was viewable and audible when it reached\\\\r\\\\n completion\\\\r\\\\n\\\\r\\\\n VideoCompletionRate\\\\r\\\\n The percentage of started videos that played for their entire duration\\\\r\\\\n\\\\r\\\\n VideoCpcv\\\\r\\\\n The average cost of a video played for its entire duration\\\\r\\\\n\\\\r\\\\n VideoCpv\\\\r\\\\n The average cost of a video that started playing\\\\r\\\\n\\\\r\\\\n VideoComplete\\\\r\\\\n The number of times one of your videos played for its entire duration\\\\r\\\\n\\\\r\\\\n VideoFirstQuartile\\\\r\\\\n The number of times one of your videos played to 25% of its duration\\\\r\\\\n\\\\r\\\\n VideoMidpoint\\\\r\\\\n The number of times one of your videos played to 50% of its duration\\\\r\\\\n\\\\r\\\\n VideoThirdQuartile\\\\r\\\\n The number of times one of your videos played to 75% of its duration\\\\r\\\\n\\\\r\\\\n VideoAverageViewRate\\\\r\\\\n The average played percentage of a started video\\\\r\\\\n\\\\r\\\\n VideoStartRate\\\\r\\\\n The percentage of displayed videos that started playing\\\\r\\\\n\\\\r\\\\n VideoStart\\\\r\\\\n The number of times one of your ads started playing\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Audience\\\",\\n \\\"Clicks\\\",\\n \\\"Cost\\\",\\n \\\"CostPerResult\\\",\\n \\\"Cpc\\\",\\n \\\"Cpm\\\",\\n \\\"Ctr\\\",\\n \\\"Displays\\\",\\n \\\"Ecpm\\\",\\n \\\"ExposedUsers\\\",\\n \\\"Frequency\\\",\\n \\\"InvalidClicks\\\",\\n \\\"InvalidDisplays\\\",\\n \\\"Reach\\\",\\n \\\"Result\\\",\\n \\\"UntrackableDisplays\\\",\\n \\\"NonViewableDisplays\\\",\\n \\\"Viewability\\\",\\n \\\"ViewableDisplays\\\",\\n \\\"Visits\\\",\\n \\\"Winrate\\\",\\n \\\"BounceRate\\\",\\n \\\"Cpv\\\",\\n \\\"AppInstall\\\",\\n \\\"Cpi\\\",\\n \\\"Cpqv\\\",\\n \\\"InstallRate\\\",\\n \\\"QualifiedVisits\\\",\\n \\\"Assists\\\",\\n \\\"AvgCart\\\",\\n \\\"Cos\\\",\\n \\\"Cpov\\\",\\n \\\"Cov\\\",\\n \\\"Cpo\\\",\\n \\\"Cvr\\\",\\n \\\"AssistsSalesRatio\\\",\\n \\\"OmnichannelRevenue\\\",\\n \\\"OmnichannelRoas\\\",\\n \\\"OmnichannelSales\\\",\\n \\\"Revenue\\\",\\n \\\"Roas\\\",\\n \\\"Sales\\\",\\n \\\"OfflineRevenue\\\",\\n \\\"OfflineRoas\\\",\\n \\\"OfflineSales\\\",\\n \\\"OfflineVisits\\\",\\n \\\"Currency\\\",\\n \\\"VideoAvoc\\\",\\n \\\"VideoCompletionRate\\\",\\n \\\"VideoCpcv\\\",\\n \\\"VideoCpv\\\",\\n \\\"VideoComplete\\\",\\n \\\"VideoFirstQuartile\\\",\\n \\\"VideoMidpoint\\\",\\n \\\"VideoThirdQuartile\\\",\\n \\\"VideoAverageViewRate\\\",\\n \\\"VideoStartRate\\\",\\n \\\"VideoStart\\\"\\n ]\\n },\\n \\\"default\\\": null\\n },\\n \\\"attributionModel\\\": {\\n \\\"description\\\": \\\" Attribution models define how sales are credited to advertising campaigns.\\\\r\\\\n\\\\r\\\\n Available models:\\\\r\\\\n\\\\r\\\\n Pv1d: 1-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Pc1d: 1-Day Post Click\\\\r\\\\n \\\\u2014 Sale is attributed when a user clicks an ad and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Pc7d: 7-Day Post Click\\\\r\\\\n \\\\u2014 Sale is attributed when a user clicks an ad and purchases within 7 days.\\\\r\\\\n\\\\r\\\\n Pv7d: 7-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 7 days.\\\\r\\\\n\\\\r\\\\n Pv14d: 14-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 14 days.\\\\r\\\\n\\\\r\\\\n Pv30d: 30-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 30 days.\\\\r\\\\n\\\\r\\\\n Pc30d: 30-Day Post Click\\\\r\\\\n \\\\u2014 Sale is attributed when a user clicks an ad and purchases within 30 days.\\\\r\\\\n\\\\r\\\\n Pc30dPv1d: 30-Day Post Click \\\\u002B 1-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed if a user clicks and purchases within 30 days, or views and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Pc7dPv1d: 7-Day Post Click \\\\u002B 1-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed if a user clicks and purchases within 7 days, or views and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Lc30d: Last Click\\\\r\\\\n \\\\u2014 Full credit is given to the last click before a conversion.\\\\r\\\\n\\\\r\\\\n CAttr: Client Attribution\\\\r\\\\n \\\\u2014 Attribution is determined by the advertiser using ExampleAds\\\\u0027s deduplication parameter.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Pv1d\\\",\\n \\\"Pc1d\\\",\\n \\\"Pc7d\\\",\\n \\\"Pv7d\\\",\\n \\\"Pv14d\\\",\\n \\\"Pv30d\\\",\\n \\\"Pc30d\\\",\\n \\\"Pc30dPv1d\\\",\\n \\\"Lc30d\\\",\\n \\\"CAttr\\\",\\n \\\"Pc7dPv1d\\\"\\n ],\\n \\\"default\\\": \\\"Pc30d\\\"\\n },\\n \\\"additionalFilters\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"description\\\": \\\"Represents a filter for a specific dimension and its associated value.\\\\r\\\\nUsed to narrow down data based on a selected dimension and a target value.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"dimension\\\": {\\n \\\"description\\\": \\\" Enumeration of standardized dimensions used in online advertising projections.\\\\r\\\\n\\\\r\\\\n Each member represents a dimension or attribute commonly used in digital marketing analytics,\\\\r\\\\n campaign performance tracking, and audience segmentation.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Advertiser\\\\r\\\\n Name or entity running the ad campaign(s). Also called Client\\\\r\\\\n\\\\r\\\\n MarketingCampaign\\\\r\\\\n Full name of the marketing campaign. A group of ad sets.\\\\r\\\\n\\\\r\\\\n Campaign\\\\r\\\\n An ad set.\\\\r\\\\n\\\\r\\\\n MediaType\\\\r\\\\n Type of media used (e.g., video, display, native).\\\\r\\\\n\\\\r\\\\n MarketingCampaignGoal\\\\r\\\\n Marketing campaign objective (Retention, Acquisition)\\\\r\\\\n\\\\r\\\\n Category\\\\r\\\\n Product or content category (e.g., electronics, fashion).\\\\r\\\\n\\\\r\\\\n Device\\\\r\\\\n Type of device used (e.g., mobile, desktop, tablet).\\\\r\\\\n\\\\r\\\\n Os\\\\r\\\\n Operating system of the device (e.g., iOS, Android, Windows).\\\\r\\\\n\\\\r\\\\n AdChannel\\\\r\\\\n Specific advertising channel (e.g., programmatic, direct).\\\\r\\\\n\\\\r\\\\n AdSocialNetwork\\\\r\\\\n Social media platform used (e.g., Facebook, TikTok).\\\\r\\\\n\\\\r\\\\n Ad\\\\r\\\\n A creative\\\\r\\\\n\\\\r\\\\n Coupon\\\\r\\\\n A creative coupon\\\\r\\\\n\\\\r\\\\n AdFormat\\\\r\\\\n Format of the ad (e.g., banner, interstitial, carousel).\\\\r\\\\n\\\\r\\\\n DisplaySize\\\\r\\\\n Size of the display area for the ad.\\\\r\\\\n\\\\r\\\\n VideoPlacement\\\\r\\\\n Placement type for video ads (e.g., in-stream, out-stream).\\\\r\\\\n\\\\r\\\\n VideoPlaybackMethod\\\\r\\\\n How the video was played (e.g., autoplay, click-to-play).\\\\r\\\\n\\\\r\\\\n VideoPlayerSize\\\\r\\\\n Dimensions of the video player.\\\\r\\\\n\\\\r\\\\n VideoDurationInSeconds\\\\r\\\\n Length of the video ad.\\\\r\\\\n\\\\r\\\\n VideoPlayerRatio\\\\r\\\\n Aspect ratio of the video player (e.g., 16:9).\\\\r\\\\n\\\\r\\\\n Ssp\\\\r\\\\n Supply Side Partner. The publishing network where displays were made.\\\\r\\\\n\\\\r\\\\n Country\\\\r\\\\n Country where the ad was served.\\\\r\\\\n\\\\r\\\\n Region\\\\r\\\\n Region or state within the country.\\\\r\\\\n\\\\r\\\\n PostalCode\\\\r\\\\n Postal or ZIP code.\\\\r\\\\n\\\\r\\\\n UserBehavior\\\\r\\\\n Behavioral segment of the user (e.g., frequent buyer).\\\\r\\\\n\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Advertiser\\\",\\n \\\"MarketingCampaign\\\",\\n \\\"Campaign\\\",\\n \\\"MediaType\\\",\\n \\\"MarketingCampaignGoal\\\",\\n \\\"Category\\\",\\n \\\"Device\\\",\\n \\\"Os\\\",\\n \\\"AdChannel\\\",\\n \\\"AdSocialNetwork\\\",\\n \\\"Ad\\\",\\n \\\"Coupon\\\",\\n \\\"AdFormat\\\",\\n \\\"DisplaySize\\\",\\n \\\"VideoPlacement\\\",\\n \\\"VideoPlaybackMethod\\\",\\n \\\"VideoPlayerSize\\\",\\n \\\"VideoDurationInSeconds\\\",\\n \\\"VideoPlayerRatio\\\",\\n \\\"Ssp\\\",\\n \\\"Country\\\",\\n \\\"Region\\\",\\n \\\"PostalCode\\\",\\n \\\"UserBehavior\\\"\\n ]\\n },\\n \\\"value\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n },\\n \\\"required\\\": [\\n \\\"dimension\\\",\\n \\\"value\\\"\\n ]\\n },\\n \\\"default\\\": null\\n }\\n },\\n \\\"required\\\": [\\n \\\"filters\\\"\\n ]\\n }\\n },\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"final_result\\\",\\n \\\"description\\\": \\\"The final response which ends this conversation. ALWAYS use this tool to return your answer.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"input\\\": {\\n \\\"description\\\": \\\"Represents the response generated by an agent after processing a user request.\\\\r\\\\nAny tables and graphs will be generated using data from the internal conversation state.\\\\r\\\\n\\\\r\\\\nThere is no need to explicitly pass the tabular data from any tool as contents of the\\\\r\\\\n\\\\u0060comment\\\\u0060 property. Thus, never generate a markdown table as part of the \\\\u0060comment\\\\u0060 field.\\\\r\\\\n\\\\r\\\\nFields:\\\\r\\\\n comment:\\\\r\\\\n A textual response generated by the agent, adhering to the instructions provided in the conversation\\\\r\\\\n\\\\r\\\\n response_status:\\\\r\\\\n A classification of the response outcome, indicating how the agent handled the request.\\\\r\\\\n follow_up_questions:\\\\r\\\\n A short list of 2\\\\u20133 suggestions for further exploration of the data.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"comment\\\": {\\n \\\"description\\\": \\\"A structured explanation accompanying the agent\\\\u0027s response.\\\\r\\\\n\\\\r\\\\nIf the agent successfully answered the question:\\\\r\\\\n- Provides a **summary** of the result.\\\\r\\\\n- Offers a **brief explanation** of key concepts or logic used.\\\\r\\\\n\\\\r\\\\nIf the agent failed to answer:\\\\r\\\\n- Describes the **problem encountered** (e.g., missing data, ambiguous query).\\\\r\\\\n- Explains the **reason for failure** to help the user understand what went wrong.\\\\r\\\\n\\\\r\\\\nNote:\\\\r\\\\nThis field should **never include the full requested data**.\\\\r\\\\nThat will be provided separately.\\\\r\\\\n\\\\r\\\\nExample:\\\\r\\\\nQuestion: What was the total spend for each campaign in May 2025?\\\\r\\\\n\\\\r\\\\nSummary: The total spend for all campaigns in May 2025 was 1,240,391.25.\\\\r\\\\n\\\\r\\\\nExplanation: \\\\u0027Spend\\\\u0027 or \\\\u0027Cost\\\\u0027 refers to the total amount of money invested\\\\r\\\\nin an advertising campaign during a specified period.\\\\r\\\\nIt\\\\u0027s a direct measure of your advertising expenditure.\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"response_status\\\": {\\n \\\"description\\\": \\\" Enumerates the possible outcomes of an agent\\\\u0027s response.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Success\\\\r\\\\n The agent successfully processed the request and returned a valid response.\\\\r\\\\n\\\\r\\\\n OutOfScope\\\\r\\\\n The request falls outside the agent\\\\u0027s capabilities or domain of knowledge.\\\\r\\\\n\\\\r\\\\n NeedsFeedback\\\\r\\\\n The agent requires additional information or clarification from the user to proceed.\\\\r\\\\n\\\\r\\\\n NoDataFound\\\\r\\\\n The tool call did not return any data.\\\\r\\\\n\\\\r\\\\n Forbidden\\\\r\\\\n The user is not authorized to access the requested information or perform the requested action.\\\\r\\\\n\\\\r\\\\n InvalidDates\\\\r\\\\n From and to Dates must not overlap or be in the future\\\\r\\\\n\\\\r\\\\n Unknown\\\\r\\\\n The response could not be classified into any known category, possibly due to unexpected behavior.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Success\\\",\\n \\\"OutOfScope\\\",\\n \\\"NeedsFeedback\\\",\\n \\\"NoDataFound\\\",\\n \\\"Forbidden\\\",\\n \\\"InvalidDates\\\",\\n \\\"Unknown\\\"\\n ]\\n },\\n \\\"follow_up_questions\\\": {\\n \\\"description\\\": \\\"Include 2\\\\u20133 suggestions for further exploration of the data.\\\\r\\\\n\\\\r\\\\nSuggestions must be directly relevant to the user\\\\u2019s last query and any provided data context.\\\\r\\\\nEach suggestion must be concise (\\\\u2264 8 words).\\\\r\\\\nDo not use vague or broad terms like \\\\u201Cshow more data\\\\u201D or \\\\u201Cexplore further.\\\\u201D\\\\r\\\\nDo not include multiple options in one suggestion (e.g., \\\\u201Cchange date or campaign\\\\u201D is not allowed).\\\\r\\\\nSuggestions must focus on changing a single parameter that can be used to query data:\\\\r\\\\nDate range (e.g., last 7 days, Q1 2025)\\\\r\\\\nTime aggregation (e.g., daily, weekly, monthly)\\\\r\\\\nMetrics (e.g., CTR, ROAS, CPC)\\\\r\\\\nCampaigns or AdGroups (specific names or IDs)\\\\r\\\\nAttribution model (e.g., 7-day click, 30-day view)\\\\r\\\\nBreakdowns (e.g., by country, device, region)\\\\r\\\\nBe explicit about the parameter and value:\\\\r\\\\nDO PROPOSE: \\\\u201CChange date range to last month\\\\u201D\\\\r\\\\nDO NOT PROPOSE: \\\\u201CUse a different date range\\\\u201D\\\\r\\\\nDo not include optimization advice, strategy, or interpretation (e.g., \\\\u201CHow to improve performance\\\\u201D is forbidden).\\\\r\\\\nSuggestions must be actionable queries, not opinions or summaries.\\\\r\\\\nAvoid repeating the same dimension unless the value changes meaningfully.\\\\r\\\\n\\\\r\\\\n## Allowed follow-up Questions Examples\\\\r\\\\nChange date range to last month.\\\\r\\\\nAggregate data by campaign.\\\\r\\\\nCompare CTR across campaigns.\\\\r\\\\nBreak down by country.\\\\r\\\\nUse 7-day click attribution model.\\\\r\\\\n\\\\r\\\\n## Not Allowed follow-up Questions Examples\\\\r\\\\nShow more insights.\\\\r\\\\nExplore other opportunities.\\\\r\\\\nWhat should I change?\\\\r\\\\nAny suggestions for optimization?\\\\r\\\\nGeneral advice or interpretation.\\\",\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n }\\n },\\n \\\"required\\\": [\\n \\\"comment\\\",\\n \\\"response_status\\\",\\n \\\"follow_up_questions\\\"\\n ]\\n }\\n },\\n \\\"required\\\": [\\n \\\"input\\\"\\n ]\\n }\\n }\\n]\",\"clientId\":\"22291\",\"date\":\"03/09/2026\",\"gen_ai.system_instructions\":\"[\\n {\\n \\\"type\\\": \\\"text\\\",\\n \\\"content\\\": \\\"You are an expert on statistical analysis for the adtech company ExampleAds.\\\\nYour goal is to provide marketing statistics from ExampleAds users' ongoing ad campaigns, along with their full context.\\\\n\\\\n# Information\\\\n\\\\n- today is 2026-03-09\\\\n- The default sales attribution model is 30 day post-click unless otherwise specified by the user.\\\\n- The default time zone is Europe/London unless otherwise specified by the user.\\\\n- The default currency is EUR unless otherwise specified by the user.\\\\n\\\\n# Conversation instructions\\\\n\\\\nNever make up data that the user asks for. You must use the provided tools to retrieve data.\\\\n\\\\nAlways respond in a clear, professional, and conversational manner. Confirm your understanding of user intent, especially for complex requests.\\\\n\\\\nIf you do not understand a user request do both, say `I’m not quite sure what you mean. To provide you with data-driven insights from your campaigns, please let me know which campaign or metric you'd like me to report on.` and also use response_status `OutOfScope`.\\\\n\\\\nIf a user requests any form of data visualization (e.g., `show me a line chart`, `display this data in a graph`, `create a plot`, ...), respond with: `I can provide you with the requested data and its full context, but I have no latitude on its graphical representation.`\\\\nDo not attempt to create charts, graphs, or any other visualizations under any circumstances.\\\\n\\\\nIf the user provides partial information use the default values as much as possible to call the tool. Ask clarifying questions only if strictly necessary. If you ask clarifying questions, use response_status `NeedsFeedback` but only if you haven't already used `OutOfScope` or `NoDataFound`.\\\\n\\\\n## Glossary\\\\n\\\\nHere are some common terms that you might encounter.\\\\n\\\\n- QBR - Quarterly Business Review. A strategic review with the client every quarter.\\\\n- WBR - Weekly Business Review. Operational checkpoints to review weekly performance.\\\\n- MBR - Monthly Business Review. Middle-ground between WBR and QBR.\\\\n- EOW - End of week\\\\n- EOM - End of Month\\\\n- HBR - Half-Yearly Business Review\\\\n- ABR - Annual Business Review\\\\n- QOP / Quarterly Operating Plan Review - Review of operational KPIs every quarter\\\\n- OKRs - Objectives and Key Results\\\\n- BPS / Basis Points - Used to discuss changes in percentage points (100 bps = 1%)\\\\n- YOY - Year-over-year\\\\n- WOW - Week-over-week\\\\n- MOM - Month-over-month\\\\n- Spend Pacing - Whether the campaign is on track to spend budget\\\\n- Underpacing / Overpacing - Spending slower/faster than the plan\\\\n- Budget Fluidity - Willingness of client to move budgets between channels\\\\n\\\\nUnless otherwise specified, when a user is asking about a business review (QBR, WBR, MBR, HBR, ABR) assume that sales-related metrics are important to the user: cost, sales, ROAS; and that the user wants this information by ad set.\\\\n\\\\n## Tool Response\\\\n\\\\nIf a tool responds with a response_status `Retry`. Follow the instructions in `message` and RETRY without asking.\\\\nIf a tool responds with a response_status `DuplicateToolCall`. ALWAYS Move to the next step of your execution plan. You already received the data from the tool.\\\\n\\\\n## Agent Response Guidelines\\\\n\\\\nALWAYS use the 'final_result' tool to communicate your final answer to the user.\\\\nProvide as concise an answer as possible. Follow these guidelines:\\\\n\\\\n### If the agent successfully answered the question:\\\\n- Include a **summary** of the result.\\\\n- Expose the **parameters** (date range, time zone, attribution model, currency) used to call get_custom_report if it was called.\\\\n\\\\n### If the agent failed to answer:\\\\n- Describe the **problem encountered** (e.g., missing data, ambiguous query).\\\\n- Explain the **reason for failure** to help the user understand what went wrong.\\\\n\\\\n### Important:\\\\n- **Never include the full requested data** in the comment.\\\\n- The data will be provided to the user separately.\\\\n- Never call get_custom_report twice with different date ranges. Use previous_period_from_date instead\\\\n- Explain adtech terms as needed, and adapt detail level to the user’s query, responses and expertise.\\\\n\\\\n## Tool Response Examples\\\\n\\\\n**Question**: What was the total spend for each campaign in May 2025?\\\\n\\\\n**Response**:\\\\n\\\\n> ### Summary\\\\n> The total spend for all campaigns in May 2025 was 1,240,391.25.\\\\n>\\\\n> ### Parameters\\\\n> - Data was computed from 2025-05-01 to 2025-05-31 with time zone Europe/London.\\\\n> - Attribution model chosen is 30-Day Post Click\\\\n> - currency: EUR\\\\n\\\\n**Question:** list my adsets optimized for conversion\\\\n\\\\n**Response:**\\\\n\\\\n> ### Summary\\\\n> You have actually 6 adsets optimized for conversion. 2 of them are currently active.\\\\n\\\\n# DATA PRIVACY AND LEGAL REQUIREMENTS\\\\n\\\\n- Conduct: Enforce ExampleAds Advertising, Supply Partner, and Privacy Guidelines. Promote ethical, compliant, effective advertising.\\\\n- If you reject based on those criteria set final_result.response_status to Forbidden\\\\n\\\\nEnforcement\\\\n1) Prohibited - Reject:\\\\n\\\\nHarassment/hate/discrimination; adult/sexual services/suggestive; deceptive/misleading/fraud/predatory; illegal drugs/paraphernalia; firearms/weapons/explosives/fireworks; shocking/violent/obscene/disturbing; counterfeit/piracy/IP violations; affairs/escorting/prostitution/mail-order brides; malware/spyware/forced downloads/harmful code; targeting children under the age of consent.\\\\nResponse: \\\\\\\"I can't fulfil this request because it involves prohibited advertising content under ExampleAds's guidelines.\\\\\\\"\\\\n\\\\n2) Restricted - approval required\\\\n\\\\nOnly in authorized regions with explicit approval: online pharmacies/healthcare/prescription drugs/sexual enhancers/weight loss; alcohol/tobacco/vaping/e-cigs; gambling/lotteries/sports betting/fantasy sports; financial services/insurance/investments; psychics/astrology/occult.\\\\nResponse: \\\\\\\"This request falls into a restricted category and can only be fulfilled with prior approval from ExampleAds and in permitted countries.\\\\\\\"\\\\n\\\\n3) Privacy - reject if non-compliant\\\\n\\\\nComply with GDPR, CCPA, LGPD, and applicable laws. Reject: targeting/reporting on protected traits; any PII misuse; children's data or targeting under age of consent; data use without valid, informed, freely given, unambiguous consent (no pre-ticked boxes, continued browsing, or ambiguous consent); individual-level reporting (aggregates only).\\\\nResponse: \\\\\\\"I can't fulfil this request because it doesn't comply with privacy and data protection requirements. Please adjust your request to respect user consent and data protection laws.\\\\\\\"\\\\n\\\\n- Never speculate or provide unsupported data. Only reference ExampleAds-approved sources for documentation or support.\\\\n- If handling sensitive data, follow ExampleAds data privacy guidelines at all times.\\\\n- Refuse to create audiences, give insights, or give recommendations for any request including the following content:\\\\n - Harmful: harassment, hate speech, shocking, violent, or offensive content.\\\\n - Sexual or deceptive: adult or pornographic content, infidelity/prostitution, misleading or fraudulent claims.\\\\n - Illegal or dangerous: drugs (including marijuana), weapons, explosives or fireworks, malware or hacking, dishonest or predatory products.\\\\n - IP violations: counterfeits, piracy, unauthorized use of likeness.\\\\n - Protected traits: race, ethnicity, religion or belief, gender, age, sexual orientation or interest, health data, personal identifying information, political opinions, trade union membership, biometric or genetic data, criminal history, financial status.\\\\n - Children: no targeting under the legal consent age or children's sites. Only broad, legally compliant age ranges may be used.\\\\n- Never use proxies or inferred traits for any protected characteristic.\\\\n\\\"\\n }\\n]\",\"gen_ai.response.finish_reasons\":\"[\\\"stop\\\"]\",\"gen_ai.response.id\":\"W7yuaY2AEraSitQP4-GckQ4\",\"gen_ai.response.model\":\"gemini-2.5-flash\",\"gen_ai.usage.input_tokens\":\"3004\",\"gen_ai.usage.output_tokens\":\"167\",\"host.ip\":\"10.0.0.1\",\"host.name\":\"kube-worker0001.kubes01.dc1.preprod.exampleads.internal\",\"deployment.environment.name\":\"preprod\",\"exampleads.service.pool\":\"default\",\"exampleads.dc\":\"da1\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-demo-insights\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
"internalModel": "cmcnjkfwn000107l43bf5e8ax"
},
{
"id": "c651c1dac855f97e",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:25:54.654Z",
"endTime": "2026-03-09T12:26:00.805Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "f858b986537e9e41",
"type": "GENERATION",
"environment": "preprod",
"name": "chat gemini-2.5-flash",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:02.752Z",
"updatedAt": "2026-03-09T12:26:02.752Z",
"input": "[\n {\n \"role\": \"user\",\n \"parts\": [\n {\n \"type\": \"text\",\n \"content\": \"What are my month over month performance insights the past quarter, by cost, displays, clicks, CTR, sales, CVR? Please split by campaign taxonomy\"\n }\n ]\n }\n]",
"output": "[\n {\n \"role\": \"assistant\",\n \"parts\": [\n {\n \"type\": \"tool_call\",\n \"id\": \"get_custom_report\",\n \"name\": \"get_custom_report\",\n \"arguments\": {\n \"dimensions\": [\n \"Campaign\"\n ],\n \"filters\": {\n \"dateRange\": {\n \"from_date\": \"2025-10-01\",\n \"to_date\": \"2025-12-31\"\n }\n },\n \"timeDimension\": \"Month\",\n \"metrics\": [\n \"Cost\",\n \"Displays\",\n \"Clicks\",\n \"Ctr\",\n \"Sales\",\n \"Cvr\"\n ]\n }\n },\n {\n \"type\": \"Microsoft.Extensions.AI.TextReasoningContent\",\n \"content\": {\n \"text\": \"\",\n \"protectedData\": \"anonymized-encrypted-reasoning\"\n }\n }\n ],\n \"finish_reason\": \"stop\"\n }\n]",
"model": "gemini-2.5-flash",
"internalModelId": "cmcnjkfwn000107l43bf5e8ax",
"modelParameters": {
"seed": 42,
"temperature": 0
},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 6.151,
"timeToFirstToken": null,
"usageDetails": {
"input": 2546,
"output": 47,
"total": 2593
},
"costDetails": {
"input": 0.0007638,
"output": 0.0001175,
"total": 0.0008813
},
"providedCostDetails": {},
"inputCost": 0.0007638,
"outputCost": 0.0001175,
"totalCost": 0.0008813,
"inputUsage": 2546,
"outputUsage": 47,
"totalUsage": 2593,
"usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
"usagePricingTierName": "Standard",
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{\"attributes\":{\"otel.exception_pointers\":\"94867131908120\",\"gen_ai.operation.name\":\"chat\",\"gen_ai.request.model\":\"gemini-2.5-flash\",\"gen_ai.provider.name\":\"gcp.vertex_ai\",\"server.address\":\"aiplatform.googleapis.com\",\"server.port\":\"443\",\"gen_ai.request.seed\":\"42\",\"gen_ai.request.temperature\":\"0\",\"gen_ai.tool.definitions\":\"[\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"get_adset_infos\\\",\\n \\\"description\\\": \\\"Retrieves all ad sets matching conditions set in the filter (also referred to as campaigns)\\\\r\\\\nThis method should be called by the agent whenever\\\\r\\\\nit needs information about one or more ad sets.\\\\r\\\\nIt provides a comprehensive list of ad sets with key metadata and status fields.\\\\r\\\\n\\\\r\\\\nReturns:\\\\r\\\\n-------\\\\r\\\\nResponse\\\\r\\\\n An object containing data with the following information for each ad set:\\\\r\\\\n - id: The unique identifier of the ad set (also called Campaign ID).\\\\r\\\\n - name: The name of the ad set.\\\\r\\\\n - advertiserId: The ID of the advertiser that owns this ad set.\\\\r\\\\n - objective (MarketingObjective): The marketing objective associated with the ad set: Acquisition or Retention.\\\\r\\\\n - startDate: The start date of the ad set, if specified.\\\\r\\\\n - activationStatus: Indicates whether the ad set is currently active: Activated or NotActivated\\\\r\\\\n - deliveryStatus: Describes the current delivery state of the ad set: Running, Archived or NotRunning\\\\r\\\\n\\\\r\\\\nNotes:\\\\r\\\\n-----\\\\r\\\\nUse this method as the primary source for retrieving ad set (campaign) information.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"filter\\\": {\\n \\\"description\\\": \\\"The filters applied for selecting the ad_sets\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"adset_ids\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"integer\\\"\\n }\\n },\\n \\\"names\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n },\\n \\\"activation_statuses\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"NotActivated\\\",\\n \\\"Activated\\\"\\n ]\\n }\\n },\\n \\\"objectives\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"NotSet\\\",\\n \\\"Acquisition\\\",\\n \\\"Retention\\\"\\n ]\\n }\\n },\\n \\\"delivery_statuses\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Running\\\",\\n \\\"Archived\\\",\\n \\\"NotRunning\\\"\\n ]\\n }\\n }\\n }\\n }\\n },\\n \\\"required\\\": [\\n \\\"filter\\\"\\n ]\\n }\\n },\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"get_custom_report\\\",\\n \\\"description\\\": \\\"Calls the API to retrieve client data.\\\\r\\\\n\\\\r\\\\nArgs:\\\\r\\\\n filters: An object containing the built-in filters.\\\\r\\\\n Default values are provided if needed.\\\\r\\\\n timeDimension: Time-based dimension for data projections; specifies the granularity at which data will be grouped.\\\\r\\\\n Possible values and examples:\\\\r\\\\n - None: Indicates that the user has not provided any clear time dimension.\\\\r\\\\n This should be selected when there is no explicit instruction.\\\\r\\\\n Do NOT infer or assume a value; use None unless the user specifies otherwise.\\\\r\\\\n - Year: Represents a calendar year.\\\\r\\\\n Examples: per year, by year, year-over-year comparisons (YoY), yearly trend analysis.\\\\r\\\\n - Month: Represents a calendar month.\\\\r\\\\n Examples: per month, by month, month-over-month comparisons (MoM), monthly performance reports.\\\\r\\\\n - Week: Represents a calendar week.\\\\r\\\\n Examples: per week, by week, week-over-week comparisons (WoW), weekly campaign summaries.\\\\r\\\\n - Day: Represents a calendar day.\\\\r\\\\n Examples: per day, by day, day-over-day comparisons (DoD), daily performance tracking.\\\\r\\\\n - Hour: Represents an hour within a day.\\\\r\\\\n Examples: per hour, by hour, hourly trend analysis, intraday performance monitoring.\\\\r\\\\n dimensions: A list of dimensions that define the granularity of the report.\\\\r\\\\n Example: [os, device]\\\\r\\\\n metrics: A list of performance indicators to retrieve.\\\\r\\\\n Example: [clicks, ctr]\\\\r\\\\n attributionModel: Specifies the model used to measure sales.\\\\r\\\\n Optional.\\\\r\\\\n additionalFilters: Custom filters applied to the data.\\\\r\\\\n CRITICAL CONSTRAINT: Every dimension used in \\\\u0060additionalFilters\\\\u0060 MUST be present in the \\\\u0060dimensions\\\\u0060 list.\\\\r\\\\n If a filter references a dimension not included in \\\\u0060dimensions\\\\u0060, the request will be rejected.\\\\r\\\\n\\\\r\\\\nNotes:\\\\r\\\\n - Dimensions determine the level of detail in the report.\\\\r\\\\n - Metrics represent the KPIs to monitor campaign performance.\\\\r\\\\n - Filters restrict the dataset retrieved from the API.\\\\r\\\\n - \\\\u0060additionalFilters\\\\u0060 allow for extra filtering, but only on dimensions explicitly listed in \\\\u0060dimensions\\\\u0060.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"filters\\\": {\\n \\\"description\\\": \\\"Filters are a way to narrow the scope of the report by setting certain values.\\\\r\\\\nIf no value can be inferred, a default one will be provided.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"clientIds\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"integer\\\"\\n }\\n },\\n \\\"dateRange\\\": {\\n \\\"description\\\": \\\"Date range between two dates.\\\\r\\\\nIMPORTANT: from_date and to_date are inclusive (the start and end dates are included in the period).\\\\r\\\\n\\\\r\\\\nIf dates are not given explicitly, they can be deduced as follows:\\\\r\\\\n\\\\r\\\\n- IMPORTANT: Last n days: from = today - n days, to = yesterday (inclusive, does not include today)\\\\r\\\\n Example: if today is 2025-08-23 then \\\\u0022last 7 days\\\\u0022: 2025-08-16 to 2025-08-22 (inclusive, 7 days)\\\\r\\\\n Example: if today is 2025-08-10 then \\\\u0022last 20 days\\\\u0022: 2025-07-21 to 2025-08-09 (inclusive, 20 days)\\\\r\\\\n- Month of May 2025: from = 2025-05-01, to = 2025-05-31\\\\r\\\\n- IMPORTANT: Last week, the last full calendar week (Monday to Sunday) before the current Week:\\\\r\\\\n from = Monday of previous week\\\\r\\\\n to = Sunday of previous Week\\\\r\\\\n Example: if today is Tuesday, 2025-08-12 then \\\\u0022last week\\\\u0022 is Monday 2025-08-04 to Sunday 2025-08-10\\\\r\\\\n Example: if today is Monday, 2025-09-15 then \\\\u0022last week\\\\u0022 is Monday 2025-08-14 to Sunday 2025-08-14\\\\r\\\\n- IMPORTANT: Last n weeks, the last n full calendar weeks (Monday to Sunday) before the current Week.\\\\r\\\\n n is the number of weeks.\\\\r\\\\n from = Monday of n weeks ago\\\\r\\\\n to = Sunday of previous Week\\\\r\\\\n Example: if today is Friday, 2025-08-22 then \\\\u0022last 2 weeks\\\\u0022 is\\\\r\\\\n Monday 2025-08-04 to Sunday 2025-08-17\\\\r\\\\n n is 2\\\\r\\\\n Example: if today is Monday, 2025-07-21 then \\\\u0022last 3 weeks\\\\u0022 is\\\\r\\\\n Monday 2025-06-30 to Sunday 2025-07-20\\\\r\\\\n n is 3\\\\r\\\\n- IMPORTANT: Last month, the last full calendar month before the current month.\\\\r\\\\n from = first day of previous month\\\\r\\\\n to = last day of previous month\\\\r\\\\n Example: if today is Tuesday, 2025-08-19 then \\\\u0022last month\\\\u0022 is 2025-07-01 to 2025-07-31\\\\r\\\\n- IMPORTANT: Last n months, the last n full calendar months before the current month.\\\\r\\\\n n is the number of months.\\\\r\\\\n from = first day of the month n months ago\\\\r\\\\n to = last day of previous month\\\\r\\\\n Example: if today is Monday, 2025-08-19 then \\\\u0022last 3 months\\\\u0022 is 2025-05-01 to 2025-07-31\\\\r\\\\n n is 3\\\\r\\\\n- Last quarter: the last full quarter before the current quarter.\\\\r\\\\n Q1: January 1 to March 31\\\\r\\\\n Q2: April 1 to June 30\\\\r\\\\n Q3: July 1 to September 30\\\\r\\\\n Q4: October 1 to December 31\\\\r\\\\n\\\\r\\\\n\\\\r\\\\ntime_zone is the IANA time zone name (e.g., \\\\u0022Europe/London\\\\u0022, \\\\u0022America/New_York\\\\u0022).\\\\r\\\\nBy default, assume that we are in the Europe/London time zone.\\\\r\\\\n\\\\r\\\\nThe field previous_period_from_date is used to define the starting date of a previous period\\\\r\\\\nthat mirrors the current data collection range.\\\\r\\\\nThis allows for comparative analysis between the current period and a similar past period.\\\\r\\\\n\\\\r\\\\nUse the following guidelines and examples to determine the correct value:\\\\r\\\\n\\\\r\\\\nGeneral Rule:\\\\r\\\\nprevious_period_from_date should be set to a date that starts the previous comparable period\\\\r\\\\nthe previous period will have the same duration as the current one\\\\r\\\\nthe previous period and the current period MUST NOT overlap\\\\r\\\\n\\\\r\\\\n Examples:\\\\r\\\\n Relative Time Comparison\\\\r\\\\n If comparing to last year, and from_date = 2025-08-01, then:\\\\r\\\\n previous_period_from_date = 2024-08-01\\\\r\\\\n If comparing with the previous period, previous_period_start_date is calculated\\\\r\\\\n by subtracting the duration of the current date range from its starting date (from_date).\\\\r\\\\n This ensures the previous period has the same length and ends\\\\r\\\\n right before the current one begins.\\\\r\\\\n Example:\\\\r\\\\n Current range: from_date = 2025-08-10, to_date = 2025-08-19 (10 days including bounds),\\\\r\\\\n then: previous_period_start_date = 2025-07-31 (10 days before 2025-08-10)\\\\r\\\\n Custom Period Comparison\\\\r\\\\n If comparing to the period starting 2025-02-25, then:\\\\r\\\\n previous_period_from_date = 2025-02-25\\\\r\\\\n\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"from_date\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"format\\\": \\\"date\\\"\\n },\\n \\\"to_date\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"format\\\": \\\"date\\\"\\n },\\n \\\"time_zone\\\": {\\n \\\"type\\\": [\\n \\\"string\\\",\\n \\\"null\\\"\\n ]\\n },\\n \\\"previous_period_from_date\\\": {\\n \\\"type\\\": [\\n \\\"string\\\",\\n \\\"null\\\"\\n ],\\n \\\"format\\\": \\\"date\\\"\\n }\\n }\\n },\\n \\\"currency\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"campaignStatus\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Status of a campaign\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Active\\\\r\\\\n Active, Running or Live\\\\r\\\\n NotRunning\\\\r\\\\n Not running\\\\r\\\\n Dead\\\\r\\\\n Archived\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Active\\\",\\n \\\"NotRunning\\\",\\n \\\"Dead\\\"\\n ]\\n }\\n },\\n \\\"mediaType\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Type of media used. video or display.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Display\\\\r\\\\n HTML display\\\\r\\\\n\\\\r\\\\n Video\\\\r\\\\n Video display\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Display\\\",\\n \\\"Video\\\"\\n ]\\n }\\n },\\n \\\"marketingCampaignGoals\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"NotSet\\\",\\n \\\"Acquisition\\\",\\n \\\"Retention\\\"\\n ]\\n }\\n },\\n \\\"campaigns\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"integer\\\"\\n }\\n }\\n }\\n },\\n \\\"timeDimension\\\": {\\n \\\"description\\\": \\\"Defines the time-based dimensions available for data projections.\\\\r\\\\n\\\\r\\\\nEach enum member specifies the granularity at which data can be grouped or analyzed.\\\\r\\\\n\\\\r\\\\nMembers:\\\\r\\\\n None - Indicates that the user has not provided any clear time dimension.\\\\r\\\\n This should be selected when there is no explicit instruction.\\\\r\\\\n Do NOT infer or assume a value; use None unless the user specifies otherwise.\\\\r\\\\n Year - Represents a calendar year. For example per year, by year, year-over-year comparisons (YoY), yearly trend analysis.\\\\r\\\\n Month - Represents a calendar month. For example per month, by month, month-over-month comparisons (MoM), monthly performance reports.\\\\r\\\\n Week - Represents a calendar week. For example per week, by week, week-over-week comparisons (WoW), weekly campaign summaries.\\\\r\\\\n Day - Represents a calendar day. For example per day, by day, day-over-day comparisons (DoD), daily performance tracking.\\\\r\\\\n Hour - Represents an hour within a day. For example per hour, by hour, hourly trend analysis, intraday performance monitoring.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"None\\\",\\n \\\"Year\\\",\\n \\\"Month\\\",\\n \\\"Week\\\",\\n \\\"Day\\\",\\n \\\"Hour\\\"\\n ],\\n \\\"default\\\": \\\"None\\\"\\n },\\n \\\"dimensions\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Enumeration of standardized dimensions used in online advertising projections.\\\\r\\\\n\\\\r\\\\n Each member represents a dimension or attribute commonly used in digital marketing analytics,\\\\r\\\\n campaign performance tracking, and audience segmentation.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Advertiser\\\\r\\\\n Name or entity running the ad campaign(s). Also called Client\\\\r\\\\n\\\\r\\\\n MarketingCampaign\\\\r\\\\n Full name of the marketing campaign. A group of ad sets.\\\\r\\\\n\\\\r\\\\n Campaign\\\\r\\\\n An ad set.\\\\r\\\\n\\\\r\\\\n MediaType\\\\r\\\\n Type of media used (e.g., video, display, native).\\\\r\\\\n\\\\r\\\\n MarketingCampaignGoal\\\\r\\\\n Marketing campaign objective (Retention, Acquisition)\\\\r\\\\n\\\\r\\\\n Category\\\\r\\\\n Product or content category (e.g., electronics, fashion).\\\\r\\\\n\\\\r\\\\n Device\\\\r\\\\n Type of device used (e.g., mobile, desktop, tablet).\\\\r\\\\n\\\\r\\\\n Os\\\\r\\\\n Operating system of the device (e.g., iOS, Android, Windows).\\\\r\\\\n\\\\r\\\\n AdChannel\\\\r\\\\n Specific advertising channel (e.g., programmatic, direct).\\\\r\\\\n\\\\r\\\\n AdSocialNetwork\\\\r\\\\n Social media platform used (e.g., Facebook, TikTok).\\\\r\\\\n\\\\r\\\\n Ad\\\\r\\\\n A creative\\\\r\\\\n\\\\r\\\\n Coupon\\\\r\\\\n A creative coupon\\\\r\\\\n\\\\r\\\\n AdFormat\\\\r\\\\n Format of the ad (e.g., banner, interstitial, carousel).\\\\r\\\\n\\\\r\\\\n DisplaySize\\\\r\\\\n Size of the display area for the ad.\\\\r\\\\n\\\\r\\\\n VideoPlacement\\\\r\\\\n Placement type for video ads (e.g., in-stream, out-stream).\\\\r\\\\n\\\\r\\\\n VideoPlaybackMethod\\\\r\\\\n How the video was played (e.g., autoplay, click-to-play).\\\\r\\\\n\\\\r\\\\n VideoPlayerSize\\\\r\\\\n Dimensions of the video player.\\\\r\\\\n\\\\r\\\\n VideoDurationInSeconds\\\\r\\\\n Length of the video ad.\\\\r\\\\n\\\\r\\\\n VideoPlayerRatio\\\\r\\\\n Aspect ratio of the video player (e.g., 16:9).\\\\r\\\\n\\\\r\\\\n Ssp\\\\r\\\\n Supply Side Partner. The publishing network where displays were made.\\\\r\\\\n\\\\r\\\\n Country\\\\r\\\\n Country where the ad was served.\\\\r\\\\n\\\\r\\\\n Region\\\\r\\\\n Region or state within the country.\\\\r\\\\n\\\\r\\\\n PostalCode\\\\r\\\\n Postal or ZIP code.\\\\r\\\\n\\\\r\\\\n UserBehavior\\\\r\\\\n Behavioral segment of the user (e.g., frequent buyer).\\\\r\\\\n\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Advertiser\\\",\\n \\\"MarketingCampaign\\\",\\n \\\"Campaign\\\",\\n \\\"MediaType\\\",\\n \\\"MarketingCampaignGoal\\\",\\n \\\"Category\\\",\\n \\\"Device\\\",\\n \\\"Os\\\",\\n \\\"AdChannel\\\",\\n \\\"AdSocialNetwork\\\",\\n \\\"Ad\\\",\\n \\\"Coupon\\\",\\n \\\"AdFormat\\\",\\n \\\"DisplaySize\\\",\\n \\\"VideoPlacement\\\",\\n \\\"VideoPlaybackMethod\\\",\\n \\\"VideoPlayerSize\\\",\\n \\\"VideoDurationInSeconds\\\",\\n \\\"VideoPlayerRatio\\\",\\n \\\"Ssp\\\",\\n \\\"Country\\\",\\n \\\"Region\\\",\\n \\\"PostalCode\\\",\\n \\\"UserBehavior\\\"\\n ]\\n },\\n \\\"default\\\": null\\n },\\n \\\"metrics\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Metrics represents the quantity that we wish to measure\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Audience\\\\r\\\\n Users or devices that were seen online and were eligible to be served an ad. When\\\\r\\\\n several devices can be related to one user, it counts for 1, otherwise it reflects the\\\\r\\\\n number of devices\\\\r\\\\n\\\\r\\\\n Clicks\\\\r\\\\n The number of clicks driven by the ads\\\\r\\\\n\\\\r\\\\n Cost\\\\r\\\\n The overall cost of your ads or video ads\\\\r\\\\n\\\\r\\\\n CostPerResult\\\\r\\\\n What your ad set has cost per configured result unit for your selected period.\\\\r\\\\n\\\\r\\\\n Cpc\\\\r\\\\n Cost Per Click - the amount of money spent for the ads to receive one click\\\\r\\\\n\\\\r\\\\n Cpm\\\\r\\\\n Cost Per Mille - the amount of money spent per thousand displays, available for CPM\\\\r\\\\n based ad sets only\\\\r\\\\n\\\\r\\\\n Ctr\\\\r\\\\n Click-Through Rate - literally, the rate or frequency at which users click through to a\\\\r\\\\n landing page from an ad\\\\r\\\\n\\\\r\\\\n Displays\\\\r\\\\n The number of times your ads have been shown on a screen\\\\r\\\\n\\\\r\\\\n Ecpm\\\\r\\\\n Effective Cost Per Mille - the amount of money spent per thousand displays\\\\r\\\\n\\\\r\\\\n ExposedUsers\\\\r\\\\n The number of users who have been served an ad\\\\r\\\\n\\\\r\\\\n Frequency\\\\r\\\\n The average number of displays each exposed user has seen.\\\\r\\\\n\\\\r\\\\n InvalidClicks\\\\r\\\\n Clicks that don\\\\u0027t meet our quality standards and won\\\\u0027t be billed to you.\\\\r\\\\n\\\\r\\\\n InvalidDisplays\\\\r\\\\n Displays that don\\\\u0027t meet our quality standards and won\\\\u0027t be billed to you.\\\\r\\\\n\\\\r\\\\n Reach\\\\r\\\\n Share of online eligible users or devices who have been served an ad\\\\r\\\\n\\\\r\\\\n Result\\\\r\\\\n What your ad set has achieved based on your configuration for your selected period.\\\\r\\\\n\\\\r\\\\n UntrackableDisplays\\\\r\\\\n\\\\r\\\\n NonViewableDisplays\\\\r\\\\n\\\\r\\\\n Viewability\\\\r\\\\n The percentage of displayed ads or videos ads that were considered viewable\\\\r\\\\n\\\\r\\\\n ViewableDisplays\\\\r\\\\n The number of times at least 50% of the ad appeared for at least 1 second for ads and 2\\\\r\\\\n seconds for videos ads, once started\\\\r\\\\n\\\\r\\\\n Visits\\\\r\\\\n The number of users that were active on your site or app in the hour following clicking\\\\r\\\\n on your ad\\\\r\\\\n\\\\r\\\\n Winrate\\\\r\\\\n Number of displays divided by the total number of display opportunities\\\\r\\\\n\\\\r\\\\n BounceRate\\\\r\\\\n Proportion of website visitors leaving after seeing only one page\\\\r\\\\n\\\\r\\\\n Cpv\\\\r\\\\n Cost Per Visit - the amount of money spent to get one visit on your website\\\\r\\\\n\\\\r\\\\n AppInstall\\\\r\\\\n The number of installations of application\\\\r\\\\n\\\\r\\\\n Cpi\\\\r\\\\n Cost Per Install - the amount of money that needs to be spent to get one app installed\\\\r\\\\n\\\\r\\\\n Cpqv\\\\r\\\\n Cost Per Qualified Visit - the amount of money spent to get one qualified visit on your\\\\r\\\\n website\\\\r\\\\n\\\\r\\\\n InstallRate\\\\r\\\\n Install Rate - the percentage of completed app installs compared to the clicks that\\\\r\\\\n occurred\\\\r\\\\n\\\\r\\\\n QualifiedVisits\\\\r\\\\n The number of users on the target website for which at least two events or one sale\\\\r\\\\n event occurred within the hour following the click\\\\r\\\\n\\\\r\\\\n Assists\\\\r\\\\n The number of sales one of your campaigns or ad sets contributed to (with clicks or\\\\r\\\\n displays) on your site or app.\\\\r\\\\n\\\\r\\\\n AvgCart\\\\r\\\\n Average revenue generated by a sale\\\\r\\\\n\\\\r\\\\n Cos\\\\r\\\\n Cost Of Sales - the ratio between the cost generated by the ad set(s) vs. the revenue\\\\r\\\\n generated by the sales, figured as a percentage\\\\r\\\\n\\\\r\\\\n Cpov\\\\r\\\\n Cost Per Store Visit - the amount of money spent to get one visit on your physical store\\\\r\\\\n\\\\r\\\\n Cov\\\\r\\\\n Cost Of advertiser Value - the ratio between the advertiser value generated by the sales\\\\r\\\\n vs. the cost generated by the ad set(s), figured as a percentage\\\\r\\\\n\\\\r\\\\n Cpo\\\\r\\\\n Cost Per Order - the amount of money that needs to be spent to get one order or\\\\r\\\\n transaction\\\\r\\\\n\\\\r\\\\n Cvr\\\\r\\\\n ConVersion Rate - the percentage of completed purchases compared to the clicks that\\\\r\\\\n occurred\\\\r\\\\n\\\\r\\\\n AssistsSalesRatio\\\\r\\\\n The ratio between your assisted sales and sales made on your site or app.\\\\r\\\\n\\\\r\\\\n OmnichannelRevenue\\\\r\\\\n The revenue generated by online and in-store sales.\\\\r\\\\n\\\\r\\\\n OmnichannelRoas\\\\r\\\\n Omnichannel Return on Ad Spend. The ratio between revenue generated online and in-store,\\\\r\\\\n and the cost.\\\\r\\\\n\\\\r\\\\n OmnichannelSales\\\\r\\\\n The number of online and in store transactions or conversions resulting from ExampleAds ads.\\\\r\\\\n\\\\r\\\\n Revenue\\\\r\\\\n The amount of money generated by the online sales\\\\r\\\\n\\\\r\\\\n Roas\\\\r\\\\n Return On Ad Spend - the ratio between the revenue generated and the cost\\\\r\\\\n\\\\r\\\\n Sales\\\\r\\\\n The number of completed e-commerce transactions or purchases\\\\r\\\\n\\\\r\\\\n OfflineRevenue\\\\r\\\\n The amount of revenue generated by in-store sales.\\\\r\\\\n\\\\r\\\\n OfflineRoas\\\\r\\\\n Store Return on Ad Spend. The ratio between the revenue generated in-store and the cost.\\\\r\\\\n\\\\r\\\\n OfflineSales\\\\r\\\\n The number of completed in-store transactions or purchases.\\\\r\\\\n\\\\r\\\\n OfflineVisits\\\\r\\\\n The number of visits to one of the physical stores\\\\r\\\\n\\\\r\\\\n Currency\\\\r\\\\n\\\\r\\\\n VideoAvoc\\\\r\\\\n The number of times one of your videos was viewable and audible when it reached\\\\r\\\\n completion\\\\r\\\\n\\\\r\\\\n VideoCompletionRate\\\\r\\\\n The percentage of started videos that played for their entire duration\\\\r\\\\n\\\\r\\\\n VideoCpcv\\\\r\\\\n The average cost of a video played for its entire duration\\\\r\\\\n\\\\r\\\\n VideoCpv\\\\r\\\\n The average cost of a video that started playing\\\\r\\\\n\\\\r\\\\n VideoComplete\\\\r\\\\n The number of times one of your videos played for its entire duration\\\\r\\\\n\\\\r\\\\n VideoFirstQuartile\\\\r\\\\n The number of times one of your videos played to 25% of its duration\\\\r\\\\n\\\\r\\\\n VideoMidpoint\\\\r\\\\n The number of times one of your videos played to 50% of its duration\\\\r\\\\n\\\\r\\\\n VideoThirdQuartile\\\\r\\\\n The number of times one of your videos played to 75% of its duration\\\\r\\\\n\\\\r\\\\n VideoAverageViewRate\\\\r\\\\n The average played percentage of a started video\\\\r\\\\n\\\\r\\\\n VideoStartRate\\\\r\\\\n The percentage of displayed videos that started playing\\\\r\\\\n\\\\r\\\\n VideoStart\\\\r\\\\n The number of times one of your ads started playing\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Audience\\\",\\n \\\"Clicks\\\",\\n \\\"Cost\\\",\\n \\\"CostPerResult\\\",\\n \\\"Cpc\\\",\\n \\\"Cpm\\\",\\n \\\"Ctr\\\",\\n \\\"Displays\\\",\\n \\\"Ecpm\\\",\\n \\\"ExposedUsers\\\",\\n \\\"Frequency\\\",\\n \\\"InvalidClicks\\\",\\n \\\"InvalidDisplays\\\",\\n \\\"Reach\\\",\\n \\\"Result\\\",\\n \\\"UntrackableDisplays\\\",\\n \\\"NonViewableDisplays\\\",\\n \\\"Viewability\\\",\\n \\\"ViewableDisplays\\\",\\n \\\"Visits\\\",\\n \\\"Winrate\\\",\\n \\\"BounceRate\\\",\\n \\\"Cpv\\\",\\n \\\"AppInstall\\\",\\n \\\"Cpi\\\",\\n \\\"Cpqv\\\",\\n \\\"InstallRate\\\",\\n \\\"QualifiedVisits\\\",\\n \\\"Assists\\\",\\n \\\"AvgCart\\\",\\n \\\"Cos\\\",\\n \\\"Cpov\\\",\\n \\\"Cov\\\",\\n \\\"Cpo\\\",\\n \\\"Cvr\\\",\\n \\\"AssistsSalesRatio\\\",\\n \\\"OmnichannelRevenue\\\",\\n \\\"OmnichannelRoas\\\",\\n \\\"OmnichannelSales\\\",\\n \\\"Revenue\\\",\\n \\\"Roas\\\",\\n \\\"Sales\\\",\\n \\\"OfflineRevenue\\\",\\n \\\"OfflineRoas\\\",\\n \\\"OfflineSales\\\",\\n \\\"OfflineVisits\\\",\\n \\\"Currency\\\",\\n \\\"VideoAvoc\\\",\\n \\\"VideoCompletionRate\\\",\\n \\\"VideoCpcv\\\",\\n \\\"VideoCpv\\\",\\n \\\"VideoComplete\\\",\\n \\\"VideoFirstQuartile\\\",\\n \\\"VideoMidpoint\\\",\\n \\\"VideoThirdQuartile\\\",\\n \\\"VideoAverageViewRate\\\",\\n \\\"VideoStartRate\\\",\\n \\\"VideoStart\\\"\\n ]\\n },\\n \\\"default\\\": null\\n },\\n \\\"attributionModel\\\": {\\n \\\"description\\\": \\\" Attribution models define how sales are credited to advertising campaigns.\\\\r\\\\n\\\\r\\\\n Available models:\\\\r\\\\n\\\\r\\\\n Pv1d: 1-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Pc1d: 1-Day Post Click\\\\r\\\\n \\\\u2014 Sale is attributed when a user clicks an ad and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Pc7d: 7-Day Post Click\\\\r\\\\n \\\\u2014 Sale is attributed when a user clicks an ad and purchases within 7 days.\\\\r\\\\n\\\\r\\\\n Pv7d: 7-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 7 days.\\\\r\\\\n\\\\r\\\\n Pv14d: 14-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 14 days.\\\\r\\\\n\\\\r\\\\n Pv30d: 30-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 30 days.\\\\r\\\\n\\\\r\\\\n Pc30d: 30-Day Post Click\\\\r\\\\n \\\\u2014 Sale is attributed when a user clicks an ad and purchases within 30 days.\\\\r\\\\n\\\\r\\\\n Pc30dPv1d: 30-Day Post Click \\\\u002B 1-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed if a user clicks and purchases within 30 days, or views and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Pc7dPv1d: 7-Day Post Click \\\\u002B 1-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed if a user clicks and purchases within 7 days, or views and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Lc30d: Last Click\\\\r\\\\n \\\\u2014 Full credit is given to the last click before a conversion.\\\\r\\\\n\\\\r\\\\n CAttr: Client Attribution\\\\r\\\\n \\\\u2014 Attribution is determined by the advertiser using ExampleAds\\\\u0027s deduplication parameter.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Pv1d\\\",\\n \\\"Pc1d\\\",\\n \\\"Pc7d\\\",\\n \\\"Pv7d\\\",\\n \\\"Pv14d\\\",\\n \\\"Pv30d\\\",\\n \\\"Pc30d\\\",\\n \\\"Pc30dPv1d\\\",\\n \\\"Lc30d\\\",\\n \\\"CAttr\\\",\\n \\\"Pc7dPv1d\\\"\\n ],\\n \\\"default\\\": \\\"Pc30d\\\"\\n },\\n \\\"additionalFilters\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"description\\\": \\\"Represents a filter for a specific dimension and its associated value.\\\\r\\\\nUsed to narrow down data based on a selected dimension and a target value.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"dimension\\\": {\\n \\\"description\\\": \\\" Enumeration of standardized dimensions used in online advertising projections.\\\\r\\\\n\\\\r\\\\n Each member represents a dimension or attribute commonly used in digital marketing analytics,\\\\r\\\\n campaign performance tracking, and audience segmentation.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Advertiser\\\\r\\\\n Name or entity running the ad campaign(s). Also called Client\\\\r\\\\n\\\\r\\\\n MarketingCampaign\\\\r\\\\n Full name of the marketing campaign. A group of ad sets.\\\\r\\\\n\\\\r\\\\n Campaign\\\\r\\\\n An ad set.\\\\r\\\\n\\\\r\\\\n MediaType\\\\r\\\\n Type of media used (e.g., video, display, native).\\\\r\\\\n\\\\r\\\\n MarketingCampaignGoal\\\\r\\\\n Marketing campaign objective (Retention, Acquisition)\\\\r\\\\n\\\\r\\\\n Category\\\\r\\\\n Product or content category (e.g., electronics, fashion).\\\\r\\\\n\\\\r\\\\n Device\\\\r\\\\n Type of device used (e.g., mobile, desktop, tablet).\\\\r\\\\n\\\\r\\\\n Os\\\\r\\\\n Operating system of the device (e.g., iOS, Android, Windows).\\\\r\\\\n\\\\r\\\\n AdChannel\\\\r\\\\n Specific advertising channel (e.g., programmatic, direct).\\\\r\\\\n\\\\r\\\\n AdSocialNetwork\\\\r\\\\n Social media platform used (e.g., Facebook, TikTok).\\\\r\\\\n\\\\r\\\\n Ad\\\\r\\\\n A creative\\\\r\\\\n\\\\r\\\\n Coupon\\\\r\\\\n A creative coupon\\\\r\\\\n\\\\r\\\\n AdFormat\\\\r\\\\n Format of the ad (e.g., banner, interstitial, carousel).\\\\r\\\\n\\\\r\\\\n DisplaySize\\\\r\\\\n Size of the display area for the ad.\\\\r\\\\n\\\\r\\\\n VideoPlacement\\\\r\\\\n Placement type for video ads (e.g., in-stream, out-stream).\\\\r\\\\n\\\\r\\\\n VideoPlaybackMethod\\\\r\\\\n How the video was played (e.g., autoplay, click-to-play).\\\\r\\\\n\\\\r\\\\n VideoPlayerSize\\\\r\\\\n Dimensions of the video player.\\\\r\\\\n\\\\r\\\\n VideoDurationInSeconds\\\\r\\\\n Length of the video ad.\\\\r\\\\n\\\\r\\\\n VideoPlayerRatio\\\\r\\\\n Aspect ratio of the video player (e.g., 16:9).\\\\r\\\\n\\\\r\\\\n Ssp\\\\r\\\\n Supply Side Partner. The publishing network where displays were made.\\\\r\\\\n\\\\r\\\\n Country\\\\r\\\\n Country where the ad was served.\\\\r\\\\n\\\\r\\\\n Region\\\\r\\\\n Region or state within the country.\\\\r\\\\n\\\\r\\\\n PostalCode\\\\r\\\\n Postal or ZIP code.\\\\r\\\\n\\\\r\\\\n UserBehavior\\\\r\\\\n Behavioral segment of the user (e.g., frequent buyer).\\\\r\\\\n\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Advertiser\\\",\\n \\\"MarketingCampaign\\\",\\n \\\"Campaign\\\",\\n \\\"MediaType\\\",\\n \\\"MarketingCampaignGoal\\\",\\n \\\"Category\\\",\\n \\\"Device\\\",\\n \\\"Os\\\",\\n \\\"AdChannel\\\",\\n \\\"AdSocialNetwork\\\",\\n \\\"Ad\\\",\\n \\\"Coupon\\\",\\n \\\"AdFormat\\\",\\n \\\"DisplaySize\\\",\\n \\\"VideoPlacement\\\",\\n \\\"VideoPlaybackMethod\\\",\\n \\\"VideoPlayerSize\\\",\\n \\\"VideoDurationInSeconds\\\",\\n \\\"VideoPlayerRatio\\\",\\n \\\"Ssp\\\",\\n \\\"Country\\\",\\n \\\"Region\\\",\\n \\\"PostalCode\\\",\\n \\\"UserBehavior\\\"\\n ]\\n },\\n \\\"value\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n },\\n \\\"required\\\": [\\n \\\"dimension\\\",\\n \\\"value\\\"\\n ]\\n },\\n \\\"default\\\": null\\n }\\n },\\n \\\"required\\\": [\\n \\\"filters\\\"\\n ]\\n }\\n },\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"final_result\\\",\\n \\\"description\\\": \\\"The final response which ends this conversation. ALWAYS use this tool to return your answer.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"input\\\": {\\n \\\"description\\\": \\\"Represents the response generated by an agent after processing a user request.\\\\r\\\\nAny tables and graphs will be generated using data from the internal conversation state.\\\\r\\\\n\\\\r\\\\nThere is no need to explicitly pass the tabular data from any tool as contents of the\\\\r\\\\n\\\\u0060comment\\\\u0060 property. Thus, never generate a markdown table as part of the \\\\u0060comment\\\\u0060 field.\\\\r\\\\n\\\\r\\\\nFields:\\\\r\\\\n comment:\\\\r\\\\n A textual response generated by the agent, adhering to the instructions provided in the conversation\\\\r\\\\n\\\\r\\\\n response_status:\\\\r\\\\n A classification of the response outcome, indicating how the agent handled the request.\\\\r\\\\n follow_up_questions:\\\\r\\\\n A short list of 2\\\\u20133 suggestions for further exploration of the data.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"comment\\\": {\\n \\\"description\\\": \\\"A structured explanation accompanying the agent\\\\u0027s response.\\\\r\\\\n\\\\r\\\\nIf the agent successfully answered the question:\\\\r\\\\n- Provides a **summary** of the result.\\\\r\\\\n- Offers a **brief explanation** of key concepts or logic used.\\\\r\\\\n\\\\r\\\\nIf the agent failed to answer:\\\\r\\\\n- Describes the **problem encountered** (e.g., missing data, ambiguous query).\\\\r\\\\n- Explains the **reason for failure** to help the user understand what went wrong.\\\\r\\\\n\\\\r\\\\nNote:\\\\r\\\\nThis field should **never include the full requested data**.\\\\r\\\\nThat will be provided separately.\\\\r\\\\n\\\\r\\\\nExample:\\\\r\\\\nQuestion: What was the total spend for each campaign in May 2025?\\\\r\\\\n\\\\r\\\\nSummary: The total spend for all campaigns in May 2025 was 1,240,391.25.\\\\r\\\\n\\\\r\\\\nExplanation: \\\\u0027Spend\\\\u0027 or \\\\u0027Cost\\\\u0027 refers to the total amount of money invested\\\\r\\\\nin an advertising campaign during a specified period.\\\\r\\\\nIt\\\\u0027s a direct measure of your advertising expenditure.\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"response_status\\\": {\\n \\\"description\\\": \\\" Enumerates the possible outcomes of an agent\\\\u0027s response.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Success\\\\r\\\\n The agent successfully processed the request and returned a valid response.\\\\r\\\\n\\\\r\\\\n OutOfScope\\\\r\\\\n The request falls outside the agent\\\\u0027s capabilities or domain of knowledge.\\\\r\\\\n\\\\r\\\\n NeedsFeedback\\\\r\\\\n The agent requires additional information or clarification from the user to proceed.\\\\r\\\\n\\\\r\\\\n NoDataFound\\\\r\\\\n The tool call did not return any data.\\\\r\\\\n\\\\r\\\\n Forbidden\\\\r\\\\n The user is not authorized to access the requested information or perform the requested action.\\\\r\\\\n\\\\r\\\\n InvalidDates\\\\r\\\\n From and to Dates must not overlap or be in the future\\\\r\\\\n\\\\r\\\\n Unknown\\\\r\\\\n The response could not be classified into any known category, possibly due to unexpected behavior.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Success\\\",\\n \\\"OutOfScope\\\",\\n \\\"NeedsFeedback\\\",\\n \\\"NoDataFound\\\",\\n \\\"Forbidden\\\",\\n \\\"InvalidDates\\\",\\n \\\"Unknown\\\"\\n ]\\n },\\n \\\"follow_up_questions\\\": {\\n \\\"description\\\": \\\"Include 2\\\\u20133 suggestions for further exploration of the data.\\\\r\\\\n\\\\r\\\\nSuggestions must be directly relevant to the user\\\\u2019s last query and any provided data context.\\\\r\\\\nEach suggestion must be concise (\\\\u2264 8 words).\\\\r\\\\nDo not use vague or broad terms like \\\\u201Cshow more data\\\\u201D or \\\\u201Cexplore further.\\\\u201D\\\\r\\\\nDo not include multiple options in one suggestion (e.g., \\\\u201Cchange date or campaign\\\\u201D is not allowed).\\\\r\\\\nSuggestions must focus on changing a single parameter that can be used to query data:\\\\r\\\\nDate range (e.g., last 7 days, Q1 2025)\\\\r\\\\nTime aggregation (e.g., daily, weekly, monthly)\\\\r\\\\nMetrics (e.g., CTR, ROAS, CPC)\\\\r\\\\nCampaigns or AdGroups (specific names or IDs)\\\\r\\\\nAttribution model (e.g., 7-day click, 30-day view)\\\\r\\\\nBreakdowns (e.g., by country, device, region)\\\\r\\\\nBe explicit about the parameter and value:\\\\r\\\\nDO PROPOSE: \\\\u201CChange date range to last month\\\\u201D\\\\r\\\\nDO NOT PROPOSE: \\\\u201CUse a different date range\\\\u201D\\\\r\\\\nDo not include optimization advice, strategy, or interpretation (e.g., \\\\u201CHow to improve performance\\\\u201D is forbidden).\\\\r\\\\nSuggestions must be actionable queries, not opinions or summaries.\\\\r\\\\nAvoid repeating the same dimension unless the value changes meaningfully.\\\\r\\\\n\\\\r\\\\n## Allowed follow-up Questions Examples\\\\r\\\\nChange date range to last month.\\\\r\\\\nAggregate data by campaign.\\\\r\\\\nCompare CTR across campaigns.\\\\r\\\\nBreak down by country.\\\\r\\\\nUse 7-day click attribution model.\\\\r\\\\n\\\\r\\\\n## Not Allowed follow-up Questions Examples\\\\r\\\\nShow more insights.\\\\r\\\\nExplore other opportunities.\\\\r\\\\nWhat should I change?\\\\r\\\\nAny suggestions for optimization?\\\\r\\\\nGeneral advice or interpretation.\\\",\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n }\\n },\\n \\\"required\\\": [\\n \\\"comment\\\",\\n \\\"response_status\\\",\\n \\\"follow_up_questions\\\"\\n ]\\n }\\n },\\n \\\"required\\\": [\\n \\\"input\\\"\\n ]\\n }\\n }\\n]\",\"clientId\":\"22291\",\"date\":\"03/09/2026\",\"gen_ai.system_instructions\":\"[\\n {\\n \\\"type\\\": \\\"text\\\",\\n \\\"content\\\": \\\"You are an expert on statistical analysis for the adtech company ExampleAds.\\\\nYour goal is to provide marketing statistics from ExampleAds users' ongoing ad campaigns, along with their full context.\\\\n\\\\n# Information\\\\n\\\\n- today is 2026-03-09\\\\n- The default sales attribution model is 30 day post-click unless otherwise specified by the user.\\\\n- The default time zone is Europe/London unless otherwise specified by the user.\\\\n- The default currency is EUR unless otherwise specified by the user.\\\\n\\\\n# Conversation instructions\\\\n\\\\nNever make up data that the user asks for. You must use the provided tools to retrieve data.\\\\n\\\\nAlways respond in a clear, professional, and conversational manner. Confirm your understanding of user intent, especially for complex requests.\\\\n\\\\nIf you do not understand a user request do both, say `I’m not quite sure what you mean. To provide you with data-driven insights from your campaigns, please let me know which campaign or metric you'd like me to report on.` and also use response_status `OutOfScope`.\\\\n\\\\nIf a user requests any form of data visualization (e.g., `show me a line chart`, `display this data in a graph`, `create a plot`, ...), respond with: `I can provide you with the requested data and its full context, but I have no latitude on its graphical representation.`\\\\nDo not attempt to create charts, graphs, or any other visualizations under any circumstances.\\\\n\\\\nIf the user provides partial information use the default values as much as possible to call the tool. Ask clarifying questions only if strictly necessary. If you ask clarifying questions, use response_status `NeedsFeedback` but only if you haven't already used `OutOfScope` or `NoDataFound`.\\\\n\\\\n## Glossary\\\\n\\\\nHere are some common terms that you might encounter.\\\\n\\\\n- QBR - Quarterly Business Review. A strategic review with the client every quarter.\\\\n- WBR - Weekly Business Review. Operational checkpoints to review weekly performance.\\\\n- MBR - Monthly Business Review. Middle-ground between WBR and QBR.\\\\n- EOW - End of week\\\\n- EOM - End of Month\\\\n- HBR - Half-Yearly Business Review\\\\n- ABR - Annual Business Review\\\\n- QOP / Quarterly Operating Plan Review - Review of operational KPIs every quarter\\\\n- OKRs - Objectives and Key Results\\\\n- BPS / Basis Points - Used to discuss changes in percentage points (100 bps = 1%)\\\\n- YOY - Year-over-year\\\\n- WOW - Week-over-week\\\\n- MOM - Month-over-month\\\\n- Spend Pacing - Whether the campaign is on track to spend budget\\\\n- Underpacing / Overpacing - Spending slower/faster than the plan\\\\n- Budget Fluidity - Willingness of client to move budgets between channels\\\\n\\\\nUnless otherwise specified, when a user is asking about a business review (QBR, WBR, MBR, HBR, ABR) assume that sales-related metrics are important to the user: cost, sales, ROAS; and that the user wants this information by ad set.\\\\n\\\\n## Tool Response\\\\n\\\\nIf a tool responds with a response_status `Retry`. Follow the instructions in `message` and RETRY without asking.\\\\nIf a tool responds with a response_status `DuplicateToolCall`. ALWAYS Move to the next step of your execution plan. You already received the data from the tool.\\\\n\\\\n## Agent Response Guidelines\\\\n\\\\nALWAYS use the 'final_result' tool to communicate your final answer to the user.\\\\nProvide as concise an answer as possible. Follow these guidelines:\\\\n\\\\n### If the agent successfully answered the question:\\\\n- Include a **summary** of the result.\\\\n- Expose the **parameters** (date range, time zone, attribution model, currency) used to call get_custom_report if it was called.\\\\n\\\\n### If the agent failed to answer:\\\\n- Describe the **problem encountered** (e.g., missing data, ambiguous query).\\\\n- Explain the **reason for failure** to help the user understand what went wrong.\\\\n\\\\n### Important:\\\\n- **Never include the full requested data** in the comment.\\\\n- The data will be provided to the user separately.\\\\n- Never call get_custom_report twice with different date ranges. Use previous_period_from_date instead\\\\n- Explain adtech terms as needed, and adapt detail level to the user’s query, responses and expertise.\\\\n\\\\n## Tool Response Examples\\\\n\\\\n**Question**: What was the total spend for each campaign in May 2025?\\\\n\\\\n**Response**:\\\\n\\\\n> ### Summary\\\\n> The total spend for all campaigns in May 2025 was 1,240,391.25.\\\\n>\\\\n> ### Parameters\\\\n> - Data was computed from 2025-05-01 to 2025-05-31 with time zone Europe/London.\\\\n> - Attribution model chosen is 30-Day Post Click\\\\n> - currency: EUR\\\\n\\\\n**Question:** list my adsets optimized for conversion\\\\n\\\\n**Response:**\\\\n\\\\n> ### Summary\\\\n> You have actually 6 adsets optimized for conversion. 2 of them are currently active.\\\\n\\\\n# DATA PRIVACY AND LEGAL REQUIREMENTS\\\\n\\\\n- Conduct: Enforce ExampleAds Advertising, Supply Partner, and Privacy Guidelines. Promote ethical, compliant, effective advertising.\\\\n- If you reject based on those criteria set final_result.response_status to Forbidden\\\\n\\\\nEnforcement\\\\n1) Prohibited - Reject:\\\\n\\\\nHarassment/hate/discrimination; adult/sexual services/suggestive; deceptive/misleading/fraud/predatory; illegal drugs/paraphernalia; firearms/weapons/explosives/fireworks; shocking/violent/obscene/disturbing; counterfeit/piracy/IP violations; affairs/escorting/prostitution/mail-order brides; malware/spyware/forced downloads/harmful code; targeting children under the age of consent.\\\\nResponse: \\\\\\\"I can't fulfil this request because it involves prohibited advertising content under ExampleAds's guidelines.\\\\\\\"\\\\n\\\\n2) Restricted - approval required\\\\n\\\\nOnly in authorized regions with explicit approval: online pharmacies/healthcare/prescription drugs/sexual enhancers/weight loss; alcohol/tobacco/vaping/e-cigs; gambling/lotteries/sports betting/fantasy sports; financial services/insurance/investments; psychics/astrology/occult.\\\\nResponse: \\\\\\\"This request falls into a restricted category and can only be fulfilled with prior approval from ExampleAds and in permitted countries.\\\\\\\"\\\\n\\\\n3) Privacy - reject if non-compliant\\\\n\\\\nComply with GDPR, CCPA, LGPD, and applicable laws. Reject: targeting/reporting on protected traits; any PII misuse; children's data or targeting under age of consent; data use without valid, informed, freely given, unambiguous consent (no pre-ticked boxes, continued browsing, or ambiguous consent); individual-level reporting (aggregates only).\\\\nResponse: \\\\\\\"I can't fulfil this request because it doesn't comply with privacy and data protection requirements. Please adjust your request to respect user consent and data protection laws.\\\\\\\"\\\\n\\\\n- Never speculate or provide unsupported data. Only reference ExampleAds-approved sources for documentation or support.\\\\n- If handling sensitive data, follow ExampleAds data privacy guidelines at all times.\\\\n- Refuse to create audiences, give insights, or give recommendations for any request including the following content:\\\\n - Harmful: harassment, hate speech, shocking, violent, or offensive content.\\\\n - Sexual or deceptive: adult or pornographic content, infidelity/prostitution, misleading or fraudulent claims.\\\\n - Illegal or dangerous: drugs (including marijuana), weapons, explosives or fireworks, malware or hacking, dishonest or predatory products.\\\\n - IP violations: counterfeits, piracy, unauthorized use of likeness.\\\\n - Protected traits: race, ethnicity, religion or belief, gender, age, sexual orientation or interest, health data, personal identifying information, political opinions, trade union membership, biometric or genetic data, criminal history, financial status.\\\\n - Children: no targeting under the legal consent age or children's sites. Only broad, legally compliant age ranges may be used.\\\\n- Never use proxies or inferred traits for any protected characteristic.\\\\n\\\"\\n }\\n]\",\"gen_ai.response.finish_reasons\":\"[\\\"stop\\\"]\",\"gen_ai.response.id\":\"U7yuaeTyDuKSitQPhLG9kAg\",\"gen_ai.response.model\":\"gemini-2.5-flash\",\"gen_ai.usage.input_tokens\":\"2546\",\"gen_ai.usage.output_tokens\":\"47\",\"host.ip\":\"10.0.0.1\",\"host.name\":\"kube-worker0001.kubes01.dc1.preprod.exampleads.internal\",\"deployment.environment.name\":\"preprod\",\"exampleads.service.pool\":\"default\",\"exampleads.dc\":\"da1\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-demo-insights\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
"internalModel": "cmcnjkfwn000107l43bf5e8ax"
},
{
"id": "cb394d8e10fdda0f",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:26:06.562Z",
"endTime": "2026-03-09T12:26:09.484Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "8b9b68803d88be77",
"type": "GENERATION",
"environment": "preprod",
"name": "chat gemini-2.5-flash",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:13.119Z",
"updatedAt": "2026-03-09T12:26:13.119Z",
"input": "[\n {\n \"role\": \"user\",\n \"parts\": [\n {\n \"type\": \"text\",\n \"content\": \"What are my month over month performance insights the past quarter, by cost, displays, clicks, CTR, sales, CVR? Please split by campaign taxonomy\"\n }\n ]\n },\n {\n \"role\": \"assistant\",\n \"parts\": [\n {\n \"type\": \"tool_call\",\n \"id\": \"get_custom_report\",\n \"name\": \"get_custom_report\",\n \"arguments\": {\n \"dimensions\": [\n \"Campaign\"\n ],\n \"filters\": {\n \"dateRange\": {\n \"from_date\": \"2025-10-01\",\n \"to_date\": \"2025-12-31\"\n }\n },\n \"timeDimension\": \"Month\",\n \"metrics\": [\n \"Cost\",\n \"Displays\",\n \"Clicks\",\n \"Ctr\",\n \"Sales\",\n \"Cvr\"\n ]\n }\n },\n {\n \"type\": \"Microsoft.Extensions.AI.TextReasoningContent\",\n \"content\": {\n \"text\": \"\",\n \"protectedData\": \"anonymized-encrypted-reasoning\"\n }\n }\n ]\n },\n {\n \"role\": \"tool\",\n \"parts\": [\n {\n \"type\": \"tool_call_response\",\n \"id\": \"get_custom_report\",\n \"response\": {\n \"response_status\": \"Error\",\n \"message\": \"ERROR: No data found for dimensions: Campaign and metrics Cost,Displays,Clicks,Ctr,Sales,Cvr.\"\n }\n }\n ]\n },\n {\n \"role\": \"assistant\",\n \"parts\": [\n {\n \"type\": \"text\",\n \"content\": \"I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\\n\\n### Parameters\\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\\n- Attribution model chosen is 30-Day Post Click\\n- Currency: EUR\\n- Time dimension: Month\\n- Dimensions: Campaign\\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\\n\\nPlease let me know if you'd like to try a different date range or different metrics.\"\n },\n {\n \"type\": \"Microsoft.Extensions.AI.TextReasoningContent\",\n \"content\": {\n \"text\": \"\",\n \"protectedData\": \"anonymized-encrypted-reasoning\"\n }\n }\n ]\n }\n]",
"output": "[\n {\n \"role\": \"assistant\",\n \"parts\": [\n {\n \"type\": \"tool_call\",\n \"id\": \"final_result\",\n \"name\": \"final_result\",\n \"arguments\": {\n \"input\": {\n \"comment\": \"I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\\n\\n### Parameters\\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\\n- Attribution model chosen is 30-Day Post Click\\n- Currency: EUR\\n- Time dimension: Month\\n- Dimensions: Campaign\\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\\n\\nPlease let me know if you'd like to try a different date range or different metrics.\",\n \"response_status\": \"NoDataFound\",\n \"follow_up_questions\": [\n \"Change date range to last month.\",\n \"Compare CTR across campaigns.\",\n \"Break down by country.\"\n ]\n }\n }\n }\n ],\n \"finish_reason\": \"stop\"\n }\n]",
"model": "gemini-2.5-flash",
"internalModelId": "cmcnjkfwn000107l43bf5e8ax",
"modelParameters": {
"seed": 42,
"temperature": 0
},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 2.922,
"timeToFirstToken": null,
"usageDetails": {
"input": 2497,
"output": 200,
"total": 2697
},
"costDetails": {
"input": 0.0007491,
"output": 0.0005,
"total": 0.0012491
},
"providedCostDetails": {},
"inputCost": 0.0007491,
"outputCost": 0.0005,
"totalCost": 0.0012491,
"inputUsage": 2497,
"outputUsage": 200,
"totalUsage": 2697,
"usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
"usagePricingTierName": "Standard",
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chat\",\"gen_ai.request.model\":\"gemini-2.5-flash\",\"gen_ai.provider.name\":\"gcp.vertex_ai\",\"server.address\":\"aiplatform.googleapis.com\",\"server.port\":\"443\",\"gen_ai.request.seed\":\"42\",\"gen_ai.request.temperature\":\"0\",\"gen_ai.tool.definitions\":\"[\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"final_result\\\",\\n \\\"description\\\": \\\"The final response which ends this conversation. ALWAYS use this tool to return your answer.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"input\\\": {\\n \\\"description\\\": \\\"Represents the response generated by an agent after processing a user request.\\\\r\\\\nAny tables and graphs will be generated using data from the internal conversation state.\\\\r\\\\n\\\\r\\\\nThere is no need to explicitly pass the tabular data from any tool as contents of the\\\\r\\\\n\\\\u0060comment\\\\u0060 property. Thus, never generate a markdown table as part of the \\\\u0060comment\\\\u0060 field.\\\\r\\\\n\\\\r\\\\nFields:\\\\r\\\\n comment:\\\\r\\\\n A textual response generated by the agent, adhering to the instructions provided in the conversation\\\\r\\\\n\\\\r\\\\n response_status:\\\\r\\\\n A classification of the response outcome, indicating how the agent handled the request.\\\\r\\\\n follow_up_questions:\\\\r\\\\n A short list of 2\\\\u20133 suggestions for further exploration of the data.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"comment\\\": {\\n \\\"description\\\": \\\"A structured explanation accompanying the agent\\\\u0027s response.\\\\r\\\\n\\\\r\\\\nIf the agent successfully answered the question:\\\\r\\\\n- Provides a **summary** of the result.\\\\r\\\\n- Offers a **brief explanation** of key concepts or logic used.\\\\r\\\\n\\\\r\\\\nIf the agent failed to answer:\\\\r\\\\n- Describes the **problem encountered** (e.g., missing data, ambiguous query).\\\\r\\\\n- Explains the **reason for failure** to help the user understand what went wrong.\\\\r\\\\n\\\\r\\\\nNote:\\\\r\\\\nThis field should **never include the full requested data**.\\\\r\\\\nThat will be provided separately.\\\\r\\\\n\\\\r\\\\nExample:\\\\r\\\\nQuestion: What was the total spend for each campaign in May 2025?\\\\r\\\\n\\\\r\\\\nSummary: The total spend for all campaigns in May 2025 was 1,240,391.25.\\\\r\\\\n\\\\r\\\\nExplanation: \\\\u0027Spend\\\\u0027 or \\\\u0027Cost\\\\u0027 refers to the total amount of money invested\\\\r\\\\nin an advertising campaign during a specified period.\\\\r\\\\nIt\\\\u0027s a direct measure of your advertising expenditure.\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"response_status\\\": {\\n \\\"description\\\": \\\" Enumerates the possible outcomes of an agent\\\\u0027s response.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Success\\\\r\\\\n The agent successfully processed the request and returned a valid response.\\\\r\\\\n\\\\r\\\\n OutOfScope\\\\r\\\\n The request falls outside the agent\\\\u0027s capabilities or domain of knowledge.\\\\r\\\\n\\\\r\\\\n NeedsFeedback\\\\r\\\\n The agent requires additional information or clarification from the user to proceed.\\\\r\\\\n\\\\r\\\\n NoDataFound\\\\r\\\\n The tool call did not return any data.\\\\r\\\\n\\\\r\\\\n Forbidden\\\\r\\\\n The user is not authorized to access the requested information or perform the requested action.\\\\r\\\\n\\\\r\\\\n InvalidDates\\\\r\\\\n From and to Dates must not overlap or be in the future\\\\r\\\\n\\\\r\\\\n Unknown\\\\r\\\\n The response could not be classified into any known category, possibly due to unexpected behavior.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Success\\\",\\n \\\"OutOfScope\\\",\\n \\\"NeedsFeedback\\\",\\n \\\"NoDataFound\\\",\\n \\\"Forbidden\\\",\\n \\\"InvalidDates\\\",\\n \\\"Unknown\\\"\\n ]\\n },\\n \\\"follow_up_questions\\\": {\\n \\\"description\\\": \\\"Include 2\\\\u20133 suggestions for further exploration of the data.\\\\r\\\\n\\\\r\\\\nSuggestions must be directly relevant to the user\\\\u2019s last query and any provided data context.\\\\r\\\\nEach suggestion must be concise (\\\\u2264 8 words).\\\\r\\\\nDo not use vague or broad terms like \\\\u201Cshow more data\\\\u201D or \\\\u201Cexplore further.\\\\u201D\\\\r\\\\nDo not include multiple options in one suggestion (e.g., \\\\u201Cchange date or campaign\\\\u201D is not allowed).\\\\r\\\\nSuggestions must focus on changing a single parameter that can be used to query data:\\\\r\\\\nDate range (e.g., last 7 days, Q1 2025)\\\\r\\\\nTime aggregation (e.g., daily, weekly, monthly)\\\\r\\\\nMetrics (e.g., CTR, ROAS, CPC)\\\\r\\\\nCampaigns or AdGroups (specific names or IDs)\\\\r\\\\nAttribution model (e.g., 7-day click, 30-day view)\\\\r\\\\nBreakdowns (e.g., by country, device, region)\\\\r\\\\nBe explicit about the parameter and value:\\\\r\\\\nDO PROPOSE: \\\\u201CChange date range to last month\\\\u201D\\\\r\\\\nDO NOT PROPOSE: \\\\u201CUse a different date range\\\\u201D\\\\r\\\\nDo not include optimization advice, strategy, or interpretation (e.g., \\\\u201CHow to improve performance\\\\u201D is forbidden).\\\\r\\\\nSuggestions must be actionable queries, not opinions or summaries.\\\\r\\\\nAvoid repeating the same dimension unless the value changes meaningfully.\\\\r\\\\n\\\\r\\\\n## Allowed follow-up Questions Examples\\\\r\\\\nChange date range to last month.\\\\r\\\\nAggregate data by campaign.\\\\r\\\\nCompare CTR across campaigns.\\\\r\\\\nBreak down by country.\\\\r\\\\nUse 7-day click attribution model.\\\\r\\\\n\\\\r\\\\n## Not Allowed follow-up Questions Examples\\\\r\\\\nShow more insights.\\\\r\\\\nExplore other opportunities.\\\\r\\\\nWhat should I change?\\\\r\\\\nAny suggestions for optimization?\\\\r\\\\nGeneral advice or interpretation.\\\",\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n }\\n },\\n \\\"required\\\": [\\n \\\"comment\\\",\\n \\\"response_status\\\",\\n \\\"follow_up_questions\\\"\\n ]\\n }\\n },\\n \\\"required\\\": [\\n \\\"input\\\"\\n ]\\n }\\n }\\n]\",\"clientId\":\"22291\",\"date\":\"03/09/2026\",\"gen_ai.system_instructions\":\"[\\n {\\n \\\"type\\\": \\\"text\\\",\\n \\\"content\\\": \\\"You are an expert on statistical analysis for the adtech company ExampleAds.\\\\nYour goal is to provide marketing statistics from ExampleAds users' ongoing ad campaigns, along with their full context.\\\\n\\\\n# Information\\\\n\\\\n- today is 2026-03-09\\\\n- The default sales attribution model is 30 day post-click unless otherwise specified by the user.\\\\n- The default time zone is Europe/London unless otherwise specified by the user.\\\\n- The default currency is EUR unless otherwise specified by the user.\\\\n\\\\n# Conversation instructions\\\\n\\\\nNever make up data that the user asks for. You must use the provided tools to retrieve data.\\\\n\\\\nAlways respond in a clear, professional, and conversational manner. Confirm your understanding of user intent, especially for complex requests.\\\\n\\\\nIf you do not understand a user request do both, say `I’m not quite sure what you mean. To provide you with data-driven insights from your campaigns, please let me know which campaign or metric you'd like me to report on.` and also use response_status `OutOfScope`.\\\\n\\\\nIf a user requests any form of data visualization (e.g., `show me a line chart`, `display this data in a graph`, `create a plot`, ...), respond with: `I can provide you with the requested data and its full context, but I have no latitude on its graphical representation.`\\\\nDo not attempt to create charts, graphs, or any other visualizations under any circumstances.\\\\n\\\\nIf the user provides partial information use the default values as much as possible to call the tool. Ask clarifying questions only if strictly necessary. If you ask clarifying questions, use response_status `NeedsFeedback` but only if you haven't already used `OutOfScope` or `NoDataFound`.\\\\n\\\\n## Glossary\\\\n\\\\nHere are some common terms that you might encounter.\\\\n\\\\n- QBR - Quarterly Business Review. A strategic review with the client every quarter.\\\\n- WBR - Weekly Business Review. Operational checkpoints to review weekly performance.\\\\n- MBR - Monthly Business Review. Middle-ground between WBR and QBR.\\\\n- EOW - End of week\\\\n- EOM - End of Month\\\\n- HBR - Half-Yearly Business Review\\\\n- ABR - Annual Business Review\\\\n- QOP / Quarterly Operating Plan Review - Review of operational KPIs every quarter\\\\n- OKRs - Objectives and Key Results\\\\n- BPS / Basis Points - Used to discuss changes in percentage points (100 bps = 1%)\\\\n- YOY - Year-over-year\\\\n- WOW - Week-over-week\\\\n- MOM - Month-over-month\\\\n- Spend Pacing - Whether the campaign is on track to spend budget\\\\n- Underpacing / Overpacing - Spending slower/faster than the plan\\\\n- Budget Fluidity - Willingness of client to move budgets between channels\\\\n\\\\nUnless otherwise specified, when a user is asking about a business review (QBR, WBR, MBR, HBR, ABR) assume that sales-related metrics are important to the user: cost, sales, ROAS; and that the user wants this information by ad set.\\\\n\\\\n## Tool Response\\\\n\\\\nIf a tool responds with a response_status `Retry`. Follow the instructions in `message` and RETRY without asking.\\\\nIf a tool responds with a response_status `DuplicateToolCall`. ALWAYS Move to the next step of your execution plan. You already received the data from the tool.\\\\n\\\\n## Agent Response Guidelines\\\\n\\\\nALWAYS use the 'final_result' tool to communicate your final answer to the user.\\\\nProvide as concise an answer as possible. Follow these guidelines:\\\\n\\\\n### If the agent successfully answered the question:\\\\n- Include a **summary** of the result.\\\\n- Expose the **parameters** (date range, time zone, attribution model, currency) used to call get_custom_report if it was called.\\\\n\\\\n### If the agent failed to answer:\\\\n- Describe the **problem encountered** (e.g., missing data, ambiguous query).\\\\n- Explain the **reason for failure** to help the user understand what went wrong.\\\\n\\\\n### Important:\\\\n- **Never include the full requested data** in the comment.\\\\n- The data will be provided to the user separately.\\\\n- Never call get_custom_report twice with different date ranges. Use previous_period_from_date instead\\\\n- Explain adtech terms as needed, and adapt detail level to the user’s query, responses and expertise.\\\\n\\\\n## Tool Response Examples\\\\n\\\\n**Question**: What was the total spend for each campaign in May 2025?\\\\n\\\\n**Response**:\\\\n\\\\n> ### Summary\\\\n> The total spend for all campaigns in May 2025 was 1,240,391.25.\\\\n>\\\\n> ### Parameters\\\\n> - Data was computed from 2025-05-01 to 2025-05-31 with time zone Europe/London.\\\\n> - Attribution model chosen is 30-Day Post Click\\\\n> - currency: EUR\\\\n\\\\n**Question:** list my adsets optimized for conversion\\\\n\\\\n**Response:**\\\\n\\\\n> ### Summary\\\\n> You have actually 6 adsets optimized for conversion. 2 of them are currently active.\\\\n\\\\n# DATA PRIVACY AND LEGAL REQUIREMENTS\\\\n\\\\n- Conduct: Enforce ExampleAds Advertising, Supply Partner, and Privacy Guidelines. Promote ethical, compliant, effective advertising.\\\\n- If you reject based on those criteria set final_result.response_status to Forbidden\\\\n\\\\nEnforcement\\\\n1) Prohibited - Reject:\\\\n\\\\nHarassment/hate/discrimination; adult/sexual services/suggestive; deceptive/misleading/fraud/predatory; illegal drugs/paraphernalia; firearms/weapons/explosives/fireworks; shocking/violent/obscene/disturbing; counterfeit/piracy/IP violations; affairs/escorting/prostitution/mail-order brides; malware/spyware/forced downloads/harmful code; targeting children under the age of consent.\\\\nResponse: \\\\\\\"I can't fulfil this request because it involves prohibited advertising content under ExampleAds's guidelines.\\\\\\\"\\\\n\\\\n2) Restricted - approval required\\\\n\\\\nOnly in authorized regions with explicit approval: online pharmacies/healthcare/prescription drugs/sexual enhancers/weight loss; alcohol/tobacco/vaping/e-cigs; gambling/lotteries/sports betting/fantasy sports; financial services/insurance/investments; psychics/astrology/occult.\\\\nResponse: \\\\\\\"This request falls into a restricted category and can only be fulfilled with prior approval from ExampleAds and in permitted countries.\\\\\\\"\\\\n\\\\n3) Privacy - reject if non-compliant\\\\n\\\\nComply with GDPR, CCPA, LGPD, and applicable laws. Reject: targeting/reporting on protected traits; any PII misuse; children's data or targeting under age of consent; data use without valid, informed, freely given, unambiguous consent (no pre-ticked boxes, continued browsing, or ambiguous consent); individual-level reporting (aggregates only).\\\\nResponse: \\\\\\\"I can't fulfil this request because it doesn't comply with privacy and data protection requirements. Please adjust your request to respect user consent and data protection laws.\\\\\\\"\\\\n\\\\n- Never speculate or provide unsupported data. Only reference ExampleAds-approved sources for documentation or support.\\\\n- If handling sensitive data, follow ExampleAds data privacy guidelines at all times.\\\\n- Refuse to create audiences, give insights, or give recommendations for any request including the following content:\\\\n - Harmful: harassment, hate speech, shocking, violent, or offensive content.\\\\n - Sexual or deceptive: adult or pornographic content, infidelity/prostitution, misleading or fraudulent claims.\\\\n - Illegal or dangerous: drugs (including marijuana), weapons, explosives or fireworks, malware or hacking, dishonest or predatory products.\\\\n - IP violations: counterfeits, piracy, unauthorized use of likeness.\\\\n - Protected traits: race, ethnicity, religion or belief, gender, age, sexual orientation or interest, health data, personal identifying information, political opinions, trade union membership, biometric or genetic data, criminal history, financial status.\\\\n - Children: no targeting under the legal consent age or children's sites. Only broad, legally compliant age ranges may be used.\\\\n- Never use proxies or inferred traits for any protected characteristic.\\\\n\\\"\\n }\\n]\",\"gen_ai.response.finish_reasons\":\"[\\\"stop\\\"]\",\"gen_ai.response.id\":\"XryuadzoKPCTitQPief8-As\",\"gen_ai.response.model\":\"gemini-2.5-flash\",\"gen_ai.usage.input_tokens\":\"2497\",\"gen_ai.usage.output_tokens\":\"200\",\"host.ip\":\"10.0.0.1\",\"host.name\":\"kube-worker0001.kubes01.dc1.preprod.exampleads.internal\",\"deployment.environment.name\":\"preprod\",\"exampleads.service.pool\":\"default\",\"exampleads.dc\":\"da1\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-demo-insights\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
"internalModel": "cmcnjkfwn000107l43bf5e8ax"
},
{
"id": "5b9ba1e61e2e10fc",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:25:54.654Z",
"endTime": "2026-03-09T12:26:09.505Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "1db8118c6ecfd744",
"type": "SPAN",
"environment": "preprod",
"name": "Insights Agent C#",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:13.119Z",
"updatedAt": "2026-03-09T12:26:13.120Z",
"input": "What are my month over month performance insights the past quarter, by cost, displays, clicks, CTR, sales, CVR? Please split by campaign taxonomy",
"output": "{\"response\":{\"comment\":\"I couldn\\u0027t retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\\n\\n### Parameters\\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\\n- Attribution model chosen is 30-Day Post Click\\n- Currency: EUR\\n- Time dimension: Month\\n- Dimensions: Campaign\\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\\n\\nPlease let me know if you\\u0027d like to try a different date range or different metrics.\",\"response\":[],\"response_status\":\"noDataFound\",\"followup_questions\":[\"Change date range to last month.\",\"Compare CTR across campaigns.\",\"Break down by country.\"],\"response_context\":null},\"client_id\":22291,\"session_id\":\"9714061f-20c0-4d98-9220-1dc7df15c3c2\",\"trace_id\":\"933dba1e9783f89d5d8bb032f041a2de\",\"tool_inputs\":null}",
"model": null,
"internalModelId": null,
"modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 14.851,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
"providedCostDetails": {},
"inputCost": null,
"outputCost": null,
"totalCost": 0,
"inputUsage": 0,
"outputUsage": 0,
"totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{\"attributes\":{\"otel.exception_pointers\":\"94867131908120\",\"langfuse.trace.name\":\"Insights Agent C#\",\"langfuse.observation.type\":\"span\",\"user.id\":\"g.aprozeanu\",\"session.id\":\"9714061f-20c0-4d98-9220-1dc7df15c3c2\",\"host.ip\":\"10.0.0.1\",\"host.name\":\"kube-worker0001.kubes01.dc1.preprod.exampleads.internal\",\"deployment.environment.name\":\"preprod\",\"exampleads.service.pool\":\"default\",\"exampleads.dc\":\"da1\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-demo-insights\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"scope\":{\"name\":\"ExampleAds.Langfuse\",\"version\":\"\",\"attributes\":{}}}",
"internalModel": null
},
{
"id": "8b9b68803d88be77",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:26:06.562Z",
"endTime": "2026-03-09T12:26:09.484Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "5b9ba1e61e2e10fc",
"type": "SPAN",
"environment": "preprod",
"name": "orchestrate_tools",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:13.119Z",
"updatedAt": "2026-03-09T12:26:13.120Z",
"input": null,
"output": null,
"model": null,
"internalModelId": null,
"modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 2.922,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
"providedCostDetails": {},
"inputCost": null,
"outputCost": null,
"totalCost": 0,
"inputUsage": 0,
"outputUsage": 0,
"totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{\"attributes\":{\"gen_ai.usage.input_tokens\":\"2497\",\"gen_ai.usage.output_tokens\":\"200\",\"host.ip\":\"10.0.0.1\",\"host.name\":\"kube-worker0001.kubes01.dc1.preprod.exampleads.internal\",\"deployment.environment.name\":\"preprod\",\"exampleads.service.pool\":\"default\",\"exampleads.dc\":\"da1\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-demo-insights\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
"internalModel": null
},
{
"id": "f858b986537e9e41",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:25:54.654Z",
"endTime": "2026-03-09T12:26:06.562Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "5b9ba1e61e2e10fc",
"type": "SPAN",
"environment": "preprod",
"name": "orchestrate_tools",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:07.964Z",
"updatedAt": "2026-03-09T12:26:07.965Z",
"input": null,
"output": null,
"model": null,
"internalModelId": null,
"modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 11.908,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
"providedCostDetails": {},
"inputCost": null,
"outputCost": null,
"totalCost": 0,
"inputUsage": 0,
"outputUsage": 0,
"totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{\"attributes\":{\"otel.exception_pointers\":\"94867131908120\",\"gen_ai.usage.input_tokens\":\"5550\",\"gen_ai.usage.output_tokens\":\"214\",\"host.ip\":\"10.0.0.1\",\"host.name\":\"kube-worker0001.kubes01.dc1.preprod.exampleads.internal\",\"deployment.environment.name\":\"preprod\",\"exampleads.service.pool\":\"default\",\"exampleads.dc\":\"da1\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-demo-insights\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
"internalModel": null
},
{
"id": "390601577d7e35c2",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:26:09.484Z",
"endTime": "2026-03-09T12:26:09.484Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "8b9b68803d88be77",
"type": "TOOL",
"environment": "preprod",
"name": "final_result",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:13.119Z",
"updatedAt": "2026-03-09T12:26:13.119Z",
"input": "{\n \"input\": {\n \"comment\": \"I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\\n\\n### Parameters\\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\\n- Attribution model chosen is 30-Day Post Click\\n- Currency: EUR\\n- Time dimension: Month\\n- Dimensions: Campaign\\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\\n\\nPlease let me know if you'd like to try a different date range or different metrics.\",\n \"response_status\": \"NoDataFound\",\n \"follow_up_questions\": [\n \"Change date range to last month.\",\n \"Compare CTR across campaigns.\",\n \"Break down by country.\"\n ]\n }\n}",
"output": "null",
"model": null,
"internalModelId": null,
"modelParameters": {},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 0,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
"providedCostDetails": {},
"inputCost": null,
"outputCost": null,
"totalCost": 0,
"inputUsage": 0,
"outputUsage": 0,
"totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"execute_tool\",\"gen_ai.tool.type\":\"function\",\"gen_ai.tool.call.id\":\"final_result\",\"gen_ai.tool.name\":\"final_result\",\"gen_ai.tool.description\":\"The final response which ends this conversation. ALWAYS use this tool to return your answer.\",\"host.ip\":\"10.0.0.1\",\"host.name\":\"kube-worker0001.kubes01.dc1.preprod.exampleads.internal\",\"deployment.environment.name\":\"preprod\",\"exampleads.service.pool\":\"default\",\"exampleads.dc\":\"da1\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-demo-insights\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
"internalModel": null
},
{
"id": "5977f5594f537b9e",
"traceId": "933dba1e9783f89d5d8bb032f041a2de",
"startTime": "2026-03-09T12:26:00.805Z",
"endTime": "2026-03-09T12:26:03.164Z",
"projectId": "cml84ntcb01hgad07c302ud72",
"parentObservationId": "f858b986537e9e41",
"type": "TOOL",
"environment": "preprod",
"name": "get_custom_report",
"level": "DEFAULT",
"statusMessage": null,
"version": "100000",
"createdAt": "2026-03-09T12:26:07.964Z",
"updatedAt": "2026-03-09T12:26:07.964Z",
"input": "{\n \"dimensions\": [\n \"Campaign\"\n ],\n \"filters\": {\n \"dateRange\": {\n \"from_date\": \"2025-10-01\",\n \"to_date\": \"2025-12-31\"\n }\n },\n \"timeDimension\": \"Month\",\n \"metrics\": [\n \"Cost\",\n \"Displays\",\n \"Clicks\",\n \"Ctr\",\n \"Sales\",\n \"Cvr\"\n ]\n}",
"output": "{\n \"response_status\": \"Error\",\n \"message\": \"ERROR: No data found for dimensions: Campaign and metrics Cost,Displays,Clicks,Ctr,Sales,Cvr.\"\n}",
"model": null,
"internalModelId": null,
"modelParameters": {},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
"latency": 2.359,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
"providedCostDetails": {},
"inputCost": null,
"outputCost": null,
"totalCost": 0,
"inputUsage": 0,
"outputUsage": 0,
"totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
"metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"execute_tool\",\"gen_ai.tool.type\":\"function\",\"gen_ai.tool.call.id\":\"get_custom_report\",\"gen_ai.tool.name\":\"get_custom_report\",\"gen_ai.tool.description\":\"Calls the API to retrieve client data.\\r\\n\\r\\nArgs:\\r\\n filters: An object containing the built-in filters.\\r\\n Default values are provided if needed.\\r\\n timeDimension: Time-based dimension for data projections; specifies the granularity at which data will be grouped.\\r\\n Possible values and examples:\\r\\n - None: Indicates that the user has not provided any clear time dimension.\\r\\n This should be selected when there is no explicit instruction.\\r\\n Do NOT infer or assume a value; use None unless the user specifies otherwise.\\r\\n - Year: Represents a calendar year.\\r\\n Examples: per year, by year, year-over-year comparisons (YoY), yearly trend analysis.\\r\\n - Month: Represents a calendar month.\\r\\n Examples: per month, by month, month-over-month comparisons (MoM), monthly performance reports.\\r\\n - Week: Represents a calendar week.\\r\\n Examples: per week, by week, week-over-week comparisons (WoW), weekly campaign summaries.\\r\\n - Day: Represents a calendar day.\\r\\n Examples: per day, by day, day-over-day comparisons (DoD), daily performance tracking.\\r\\n - Hour: Represents an hour within a day.\\r\\n Examples: per hour, by hour, hourly trend analysis, intraday performance monitoring.\\r\\n dimensions: A list of dimensions that define the granularity of the report.\\r\\n Example: [os, device]\\r\\n metrics: A list of performance indicators to retrieve.\\r\\n Example: [clicks, ctr]\\r\\n attributionModel: Specifies the model used to measure sales.\\r\\n Optional.\\r\\n additionalFilters: Custom filters applied to the data.\\r\\n CRITICAL CONSTRAINT: Every dimension used in `additionalFilters` MUST be present in the `dimensions` list.\\r\\n If a filter references a dimension not included in `dimensions`, the request will be rejected.\\r\\n\\r\\nNotes:\\r\\n - Dimensions determine the level of detail in the report.\\r\\n - Metrics represent the KPIs to monitor campaign performance.\\r\\n - Filters restrict the dataset retrieved from the API.\\r\\n - `additionalFilters` allow for extra filtering, but only on dimensions explicitly listed in `dimensions`.\",\"api_url\":\"https://marketing.preprod.exampleads.example/modules/analytics/dashboards/mc-custom/api/datasets/report?clientIds=22291&granularity=WEEK&dateRange=en,Europe/London,1,2025-10-01_2025-12-31&hasTotal=false&version=default¤cy=EUR&dimensions=campaign,month&metrics=cost,displays,clicks,ctr,sales_pcnd,cvr\",\"host.ip\":\"10.0.0.1\",\"host.name\":\"kube-worker0001.kubes01.dc1.preprod.exampleads.internal\",\"deployment.environment.name\":\"preprod\",\"exampleads.service.pool\":\"default\",\"exampleads.dc\":\"da1\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-demo-insights\",\"service.version\":\"100000\",\"service.instance.id\":\"INST01\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
"internalModel": null
}
]
}