---
title: "PATCH /v4/floodlightGroups/{floodlightGroupId}"
method: PATCH
path: "/v4/floodlightGroups/{floodlightGroupId}"
tags: ["floodlightGroups"]
---

# PATCH /v4/floodlightGroups/{floodlightGroupId}

`PATCH /v4/floodlightGroups/{floodlightGroupId}`

Updates an existing Floodlight group. Returns the updated Floodlight group if successful.

## Path parameters

- `floodlightGroupId` string, required

## Query parameters

- `partnerId` string
- `updateMask` string

## Request body

- FloodlightGroup — A single Floodlight group.
  - `name` string — Output only. The resource name of the Floodlight group.
  - `activeViewConfig` ActiveViewVideoViewabilityMetricConfig — Configuration for custom Active View video viewability metrics.
    - `minimumViewability` 'VIEWABILITY_PERCENT_UNSPECIFIED' | 'VIEWABILITY_PERCENT_0' | 'VIEWABILITY_PERCENT_25' | 'VIEWABILITY_PERCENT_50' | 'VIEWABILITY_PERCENT_75' | 'VIEWABILITY_PERCENT_100' — Required. The minimum percentage of the video ad's pixels visible on the screen in order for an impression to be recorded.
    - `displayName` string — Required. The display name of the custom metric.
    - `minimumDuration` 'VIDEO_DURATION_UNSPECIFIED' | 'VIDEO_DURATION_SECONDS_NONE' | 'VIDEO_DURATION_SECONDS_0' | 'VIDEO_DURATION_SECONDS_1' | 'VIDEO_DURATION_SECONDS_2' | 'VIDEO_DURATION_SECONDS_3' | 'VIDEO_DURATION_SECONDS_4' | 'VIDEO_DURATION_SECONDS_5' | 'VIDEO_DURATION_SECONDS_6' | 'VIDEO_DURATION_SECONDS_7' | 'VIDEO_DURATION_SECONDS_8' | 'VIDEO_DURATION_SECONDS_9' | 'VIDEO_DURATION_SECONDS_10' | 'VIDEO_DURATION_SECONDS_11' | 'VIDEO_DURATION_SECONDS_12' | 'VIDEO_DURATION_SECONDS_13' | 'VIDEO_DURATION_SECONDS_14' | 'VIDEO_DURATION_SECONDS_15' | 'VIDEO_DURATION_SECONDS_30' | 'VIDEO_DURATION_SECONDS_45' | 'VIDEO_DURATION_SECONDS_60' — The minimum visible video duration required (in seconds) in order for an impression to be recorded. You must specify minimum_duration, minimum_quartile or both. If both are specified, an impression meets the metric criteria if either requirement is met (whichever happens first).
    - `minimumVolume` 'VIDEO_VOLUME_PERCENT_UNSPECIFIED' | 'VIDEO_VOLUME_PERCENT_0' | 'VIDEO_VOLUME_PERCENT_10' — Required. The minimum percentage of the video ad's volume required in order for an impression to be recorded.
    - `minimumQuartile` 'VIDEO_DURATION_QUARTILE_UNSPECIFIED' | 'VIDEO_DURATION_QUARTILE_NONE' | 'VIDEO_DURATION_QUARTILE_FIRST' | 'VIDEO_DURATION_QUARTILE_SECOND' | 'VIDEO_DURATION_QUARTILE_THIRD' | 'VIDEO_DURATION_QUARTILE_FOURTH' — The minimum visible video duration required, based on the video quartiles, in order for an impression to be recorded. You must specify minimum_duration, minimum_quartile or both. If both are specified, an impression meets the metric criteria if either requirement is met (whichever happens first).
  - `webTagType` 'WEB_TAG_TYPE_UNSPECIFIED' | 'WEB_TAG_TYPE_NONE' | 'WEB_TAG_TYPE_IMAGE' | 'WEB_TAG_TYPE_DYNAMIC' — Required. The web tag type enabled for the Floodlight group.
  - `customVariables` object — User-defined custom variables owned by the Floodlight group. Use custom Floodlight variables to create reporting data that is tailored to your unique business needs. Custom Floodlight variables use the keys `U1=`, `U2=`, and so on, and can take any values that you choose to pass to them. You can use them to track virtually any type of data that you collect about your customers, such as the genre of movie that a customer purchases, the country to which the item is shipped, and so on. Custom Floodlight variables may not be used to pass any data that could be used or recognized as personally identifiable information (PII). Example: `custom_variables { fields { "U1": value { number_value: 123.4 }, "U2": value { string_value: "MyVariable2" }, "U3": value { string_value: "MyVariable3" } } }` Acceptable values for keys are "U1" through "U100", inclusive. String values must be less than 64 characters long, and cannot contain the following characters: `"<>`.
  - `floodlightGroupId` string, int64 — Output only. The unique ID of the Floodlight group. Assigned by the system.
  - `displayName` string — Required. The display name of the Floodlight group.
  - `lookbackWindow` LookbackWindow — Specifies how many days into the past to look when determining whether to record a conversion.
    - `impressionDays` integer — Lookback window, in days, from the last time a given user viewed one of your ads.
    - `clickDays` integer — Lookback window, in days, from the last time a given user clicked on one of your ads.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/displayvideo.md) · [All operations](https://skmtc.dev/google/apis/displayvideo/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/displayvideo/revisions/68b64e49eced/schema)
