---
title: "PUT /studio/dynamicProfiles"
method: PUT
path: "/studio/dynamicProfiles"
tags: ["dynamicProfiles"]
---

# PUT /studio/dynamicProfiles

`PUT /studio/dynamicProfiles`

Updates an existing dynamic profile.

## Request body

- DynamicProfile — *Beta:* This API resource is available only to a very limited number of customers. If you'd like to use this resource, please reach out to your Google sales representative. Contains dynamic profile information.
  - `dynamicProfileId` string, int64 — Output only. Unique ID of this dynamic profile. This is a read-only, auto-generated field.
  - `studioAdvertiserId` string, int64 — Required. Advertiser ID of this dynamic profile. This is a required field on insertion.
  - `name` string — Required. Identifier. Name of this dynamic profile. This is a required field and must be less than 256 characters long.
  - `lastModifiedInfo` LastModifiedInfo — Modification timestamp.
    - `time` string, int64 — Timestamp of the last change in milliseconds since epoch.
  - `archiveStatus` 'ARCHIVE_STATUS_UNKNOWN' | 'UNARCHIVED' | 'ARCHIVED' — Optional. Archive status of this dynamic profile.
  - `createInfo` LastModifiedInfo — Modification timestamp.
    - `time` string, int64 — Timestamp of the last change in milliseconds since epoch.
  - `active` DynamicProfileVersion — Contains dynamic profile version information.
    - `dynamicProfileFeedSettings` DynamicProfileFeedSettings[] — Optional. Associated dynamic feeds and their settings (including dynamic rules) for this dynamic profile version.
      - `quantity` integer — Optional. The number of this dynamic feed rows needed by the dynamic profile, default value is 1. Acceptable values are between 1 to 99, inclusive.
      - `dynamicRules` DynamicRules — Contains dynamic rules information.
        - `weightFieldId` integer — Optional. The field ID for the feed that will be used for weighted rotation, only applicable when rotation type is WEIGHTED.
        - `ruleType` 'RULE_SET_TYPE_UNKNOWN' | 'OPEN' | 'AUTO' | 'CUSTOM' | 'PROXIMITY_TARGETING' — Optional. The type of the rule, the default value is OPEN.
        - `autoTargetedFieldIds` integer[] — Optional. List of field IDs in this element that should be auto-targeted. Applicable when rule type is AUTO.
        - `customValueFields` CustomValueField[] — Optional. Mapping between field ID and custom key that are used to match for auto filtering.
          - `fieldId` integer — Optional. Field ID in the element.
          - `requestKey` string — Optional. Custom key used to match for auto filtering.
        - `rotationType` 'ROTATION_TYPE_UNKNOWN' | 'RANDOM' | 'OPTIMIZED' | 'WEIGHTED' — Optional. The rotation type to select from eligible rows. Rotation type only apply when the filtering rule results in more than one eligible rows.
        - `customRules` CustomRule[] — Optional. The custom rules of the dynamic feed, only applicable when rule type is CUSTOM.
          - `ruleBlocks` RuleBlock[] — Optional. A list of field filter, the custom rule will apply.
            - `fieldFilter` FieldFilter[] — Optional. A list of non-auto field filters
              - …
          - `priority` integer — Optional. Priority of the custom rule.
          - `name` string — Optional. Name of this custom rule.
        - `proximityFilter` ProximityFilter — Contains proximity filter information.
          - `fieldId` integer — Optional. Field ID in the element.
          - `radiusUnitType` 'RADIUS_UNIT_TYPE_UNKNOWN' | 'KILOMETERS' | 'MILES' — Optional. The units of the radius value
          - `radiusBucketType` 'RADIUS_BUCKET_TYPE_UNKNOWN' | 'SMALL' | 'MEDIUM' | 'LARGE' | 'MULTI_REGIONAL' | 'NATIONAL' — Optional. The radius bucket type of the proximity filter
          - `radiusValue` integer — Optional. Radius length in units defined by radius_units.
        - `remarketingValueAttributes` RemarketingValueAttribute[] — Optional. The link between an element field ID and a list of user attribute IDs.
          - `fieldId` integer — Optional. Field ID in the element.
          - `userAttributeIds` string[] — Optional. Remarketing user attribute IDs for auto filtering.
      - `dynamicFeedId` string, int64 — Optional. Dynamic feed ID associated with dynamic profile version.
    - `versionId` string, int64 — Output only. Version ID of this dynamic profile version. This is a read-only, auto-generated field. -1 for draft version, 0+ for published versions.
  - `description` string — Optional. Description of this dynamic profile.
  - `draft` DynamicProfileVersion — Contains dynamic profile version information.
    - `dynamicProfileFeedSettings` DynamicProfileFeedSettings[] — Optional. Associated dynamic feeds and their settings (including dynamic rules) for this dynamic profile version.
      - `quantity` integer — Optional. The number of this dynamic feed rows needed by the dynamic profile, default value is 1. Acceptable values are between 1 to 99, inclusive.
      - `dynamicRules` DynamicRules — Contains dynamic rules information.
        - `weightFieldId` integer — Optional. The field ID for the feed that will be used for weighted rotation, only applicable when rotation type is WEIGHTED.
        - `ruleType` 'RULE_SET_TYPE_UNKNOWN' | 'OPEN' | 'AUTO' | 'CUSTOM' | 'PROXIMITY_TARGETING' — Optional. The type of the rule, the default value is OPEN.
        - `autoTargetedFieldIds` integer[] — Optional. List of field IDs in this element that should be auto-targeted. Applicable when rule type is AUTO.
        - `customValueFields` CustomValueField[] — Optional. Mapping between field ID and custom key that are used to match for auto filtering.
          - `fieldId` integer — Optional. Field ID in the element.
          - `requestKey` string — Optional. Custom key used to match for auto filtering.
        - `rotationType` 'ROTATION_TYPE_UNKNOWN' | 'RANDOM' | 'OPTIMIZED' | 'WEIGHTED' — Optional. The rotation type to select from eligible rows. Rotation type only apply when the filtering rule results in more than one eligible rows.
        - `customRules` CustomRule[] — Optional. The custom rules of the dynamic feed, only applicable when rule type is CUSTOM.
          - `ruleBlocks` RuleBlock[] — Optional. A list of field filter, the custom rule will apply.
            - `fieldFilter` FieldFilter[] — Optional. A list of non-auto field filters
              - …
          - `priority` integer — Optional. Priority of the custom rule.
          - `name` string — Optional. Name of this custom rule.
        - `proximityFilter` ProximityFilter — Contains proximity filter information.
          - `fieldId` integer — Optional. Field ID in the element.
          - `radiusUnitType` 'RADIUS_UNIT_TYPE_UNKNOWN' | 'KILOMETERS' | 'MILES' — Optional. The units of the radius value
          - `radiusBucketType` 'RADIUS_BUCKET_TYPE_UNKNOWN' | 'SMALL' | 'MEDIUM' | 'LARGE' | 'MULTI_REGIONAL' | 'NATIONAL' — Optional. The radius bucket type of the proximity filter
          - `radiusValue` integer — Optional. Radius length in units defined by radius_units.
        - `remarketingValueAttributes` RemarketingValueAttribute[] — Optional. The link between an element field ID and a list of user attribute IDs.
          - `fieldId` integer — Optional. Field ID in the element.
          - `userAttributeIds` string[] — Optional. Remarketing user attribute IDs for auto filtering.
      - `dynamicFeedId` string, int64 — Optional. Dynamic feed ID associated with dynamic profile version.
    - `versionId` string, int64 — Output only. Version ID of this dynamic profile version. This is a read-only, auto-generated field. -1 for draft version, 0+ for published versions.
  - `kind` string — Output only. Identifies what kind of resource this is. Value: the fixed string "dfareporting#dynamicProfile".
  - `status` 'STATUS_UNKNOWN' | 'ACTIVE' | 'INACTIVE' | 'DELETED' — Optional. Status of this dynamic profile.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/dfareporting.md) · [All operations](https://skmtc.net/google/apis/dfareporting/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/dfareporting/revisions/8163d57aeb31/schema)
