Google Campaign Manager Dynamic Profiles API
The DynamicProfiles API from Google Campaign Manager — 4 operation(s) for dynamicprofiles.
The DynamicProfiles API from Google Campaign Manager — 4 operation(s) for dynamicprofiles.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/google-campaign-manager:google-campaign-manager-dynamicprofiles-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Campaign Manager 360 Dynamic Profiles API
version: v5
description: Generated from Google's published Discovery document for Campaign Manager 360 API (dfareporting v5, revision 20261107). 5 operation(s).
contact:
name: Google
url: https://developers.google.com/
termsOfService: https://developers.google.com/terms
servers:
- url: https://dfareporting.googleapis.com
tags:
- name: DynamicProfiles
paths:
/dfareporting/v5/studio/dynamicProfiles/{dynamicProfilesId}:
get:
operationId: dfareporting.dynamicProfiles.get
summary: Get dynamicProfiles
description: Gets a dynamic profile by ID.
parameters:
- name: dynamicProfilesId
in: path
required: true
description: Resource name segment (dynamicProfilesId).
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/DynamicProfile'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/dfatrafficking
- apiKey: []
tags:
- DynamicProfiles
/dfareporting/v5/studio/dynamicProfiles/{dynamicProfilesId}/publish:
post:
operationId: dfareporting.dynamicProfiles.publish
summary: Publish dynamicProfiles
description: Publish for a dynamic profile.
parameters:
- name: dynamicProfilesId
in: path
required: true
description: Resource name segment (dynamicProfilesId).
schema:
type: string
responses:
'200':
description: Successful response
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/dfatrafficking
- apiKey: []
tags:
- DynamicProfiles
/dfareporting/v5/studio/dynamicProfiles/{dynamicProfilesId}/generateCode:
get:
operationId: dfareporting.dynamicProfiles.generateCode
summary: Generate code dynamicProfiles
description: Generates code for a dynamic profile, which will need unescaping.
parameters:
- name: dynamicProfilesId
in: path
required: true
description: Resource name segment (dynamicProfilesId).
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/DynamicProfileGenerateCodeResponse'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/dfatrafficking
- apiKey: []
tags:
- DynamicProfiles
/dfareporting/v5/studio/dynamicProfiles:
post:
operationId: dfareporting.dynamicProfiles.insert
summary: Insert dynamicProfiles
description: Inserts a new dynamic profile.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DynamicProfile'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/DynamicProfile'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/dfatrafficking
- apiKey: []
tags:
- DynamicProfiles
put:
operationId: dfareporting.dynamicProfiles.update
summary: Update dynamicProfiles
description: Updates an existing dynamic profile.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DynamicProfile'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/DynamicProfile'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/dfatrafficking
- apiKey: []
tags:
- DynamicProfiles
components:
schemas:
DynamicRules:
properties:
customValueFields:
description: Optional. Mapping between field ID and custom key that are used to match for auto filtering.
items:
$ref: '#/components/schemas/CustomValueField'
type: array
weightFieldId:
format: int32
description: Optional. The field ID for the feed that will be used for weighted rotation, only applicable when rotation type is WEIGHTED.
type: integer
customRules:
items:
$ref: '#/components/schemas/CustomRule'
type: array
description: Optional. The custom rules of the dynamic feed, only applicable when rule type is CUSTOM.
ruleType:
description: Optional. The type of the rule, the default value is OPEN.
enum:
- RULE_SET_TYPE_UNKNOWN
- OPEN
- AUTO
- CUSTOM
- PROXIMITY_TARGETING
type: string
proximityFilter:
$ref: '#/components/schemas/ProximityFilter'
description: Optional. The proximity targeting rules of the dynamic feed, only applicable when rule type is PROXIMITY_TARGETING.
rotationType:
type: string
enum:
- ROTATION_TYPE_UNKNOWN
- RANDOM
- OPTIMIZED
- WEIGHTED
description: Optional. The rotation type to select from eligible rows. Rotation type only apply when the filtering rule results in more than one eligible rows.
autoTargetedFieldIds:
description: Optional. List of field IDs in this element that should be auto-targeted. Applicable when rule type is AUTO.
type: array
items:
type: integer
format: int32
remarketingValueAttributes:
type: array
items:
$ref: '#/components/schemas/RemarketingValueAttribute'
description: Optional. The link between an element field ID and a list of user attribute IDs.
description: Contains dynamic rules information.
type: object
RequestValue:
type: object
description: Contains request value information.
properties:
excludeFromUserAttributeIds:
type: array
description: Optional. User attribute IDs in the request that should be excluded. Used only when the field type is REMARKETING_VALUE or USER_ATTRIBUTE_ID.
items:
type: string
format: int64
key:
description: Optional. Custom key in the request. Used only when the field type is CUSTOM_VALUE.
type: string
userAttributeIds:
type: array
description: Optional. User attribute IDs in the request. Used only when the field type is REMARKETING_VALUE or USER_ATTRIBUTE_ID.
items:
format: int64
type: string
DynamicProfileGenerateCodeResponse:
properties:
code:
description: Generated code for the dynamic profile. The code will need to be unescaped.
type: string
type: object
description: Response message for DfareportingDynamicProfiles.GenerateCode.
DynamicProfileVersion:
properties:
versionId:
format: int64
type: string
description: 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.
readOnly: true
dynamicProfileFeedSettings:
description: Optional. Associated dynamic feeds and their settings (including dynamic rules) for this dynamic profile version.
items:
$ref: '#/components/schemas/DynamicProfileFeedSettings'
type: array
description: Contains dynamic profile version information.
type: object
FieldFilter:
description: Contains field filter information.
type: object
properties:
requestValue:
$ref: '#/components/schemas/RequestValue'
description: Optional. The request value, only applicable when rhs_value_type is REQUEST.
fieldId:
description: Optional. The field ID on the left hand side of the expression.
type: integer
format: int32
matchType:
enum:
- LHS_MATCH_TYPE_UNKNOWN
- EQUALS_OR_UNRESTRICTED
- EQUALS
- UNRESTRICTED
- NOT_EQUALS
type: string
description: Optional. Left hand side of the expression match type.
valueType:
enum:
- RHS_VALUE_TYPE_UNKNOWN
- STRING
- REQUEST
- BOOL
- DEPENDENT
type: string
description: Optional. Right hand side of the expression.
stringValue:
type: string
description: Optional. The string value, only applicable when rhs_value_type is STRING.
dependentFieldValue:
$ref: '#/components/schemas/DependentFieldValue'
description: Optional. The dependent values, only applicable when rhs_value_type is DEPENDENT.
boolValue:
type: boolean
description: Optional. The boolean values, only applicable when rhs_value_type is BOOL.
LastModifiedInfo:
description: Modification timestamp.
properties:
time:
type: string
description: Timestamp of the last change in milliseconds since epoch.
format: int64
type: object
RuleBlock:
properties:
fieldFilter:
items:
$ref: '#/components/schemas/FieldFilter'
type: array
description: Optional. A list of non-auto field filters
type: object
description: Contains a list of field filters that the given custom rule will apply.
CustomRule:
description: Contains custom rule information.
properties:
name:
description: Optional. Name of this custom rule.
type: string
ruleBlocks:
items:
$ref: '#/components/schemas/RuleBlock'
type: array
description: Optional. A list of field filter, the custom rule will apply.
priority:
type: integer
description: Optional. Priority of the custom rule.
format: int32
type: object
DependentFieldValue:
properties:
elementId:
format: int64
type: string
description: Optional. The ID of the element that value's field will match against.
fieldId:
description: Optional. The field id of the dependent field.
format: int32
type: integer
dynamicFeedId:
type: string
format: int64
description: Optional. The ID of the dynamic feed that value's field will match against.
type: object
description: Contains dependent field value information.
CustomValueField:
description: Contains custom value field information.
properties:
fieldId:
type: integer
description: Optional. Field ID in the element.
format: int32
requestKey:
type: string
description: Optional. Custom key used to match for auto filtering.
type: object
RemarketingValueAttribute:
description: Contains remarketing value attribute information.
properties:
fieldId:
description: Optional. Field ID in the element.
type: integer
format: int32
userAttributeIds:
description: Optional. Remarketing user attribute IDs for auto filtering.
items:
type: string
format: int64
type: array
type: object
ProximityFilter:
description: Contains proximity filter information.
properties:
fieldId:
format: int32
description: Optional. Field ID in the element.
type: integer
radiusUnitType:
type: string
enum:
- RADIUS_UNIT_TYPE_UNKNOWN
- KILOMETERS
- MILES
description: Optional. The units of the radius value
radiusValue:
description: Optional. Radius length in units defined by radius_units.
format: int32
type: integer
radiusBucketType:
description: Optional. The radius bucket type of the proximity filter
type: string
enum:
- RADIUS_BUCKET_TYPE_UNKNOWN
- SMALL
- MEDIUM
- LARGE
- MULTI_REGIONAL
- NATIONAL
type: object
GoogleRpcError:
type: object
description: The error envelope every Google API returns.
properties:
error:
type: object
properties:
code:
type: integer
message:
type: string
status:
type: string
details:
type: array
items:
type: object
DynamicProfile:
type: object
description: ' *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.'
properties:
kind:
readOnly: true
type: string
description: 'Output only. Identifies what kind of resource this is. Value: the fixed string "dfareporting#dynamicProfile".'
description:
type: string
description: Optional. Description of this dynamic profile.
name:
description: Required. Identifier. Name of this dynamic profile. This is a required field and must be less than 256 characters long.
type: string
active:
$ref: '#/components/schemas/DynamicProfileVersion'
description: Optional. Active version of the dynamic profile.
lastModifiedInfo:
$ref: '#/components/schemas/LastModifiedInfo'
description: Output only. The last modified timestamp of the dynamic profile. This is a read-only field.
studioAdvertiserId:
description: Required. Advertiser ID of this dynamic profile. This is a required field on insertion.
format: int64
type: string
draft:
$ref: '#/components/schemas/DynamicProfileVersion'
description: Optional. Draft version of the dynamic profile.
dynamicProfileId:
type: string
format: int64
readOnly: true
description: Output only. Unique ID of this dynamic profile. This is a read-only, auto-generated field.
createInfo:
$ref: '#/components/schemas/LastModifiedInfo'
description: Output only. The creation timestamp of the dynamic profile. This is a read-only field.
status:
enum:
- STATUS_UNKNOWN
- ACTIVE
- INACTIVE
- DELETED
description: Optional. Status of this dynamic profile.
type: string
archiveStatus:
type: string
enum:
- ARCHIVE_STATUS_UNKNOWN
- UNARCHIVED
- ARCHIVED
description: Optional. Archive status of this dynamic profile.
DynamicProfileFeedSettings:
description: Contains dynamic profile specific settings for an associated dynamic feed.
properties:
dynamicFeedId:
format: int64
type: string
description: Optional. Dynamic feed ID associated with dynamic profile version.
quantity:
format: int32
type: integer
description: 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:
$ref: '#/components/schemas/DynamicRules'
description: Optional. Dynamic rules for row selection for the given dynamic feed in the given dynamic profile.
type: object
securitySchemes:
apiKey:
type: apiKey
in: query
name: key
description: API key; accepted by methods that do not need user data.
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://accounts.google.com/o/oauth2/auth
tokenUrl: https://oauth2.googleapis.com/token
scopes:
https://www.googleapis.com/auth/ddmconversions: Manage DoubleClick Digital Marketing conversions
https://www.googleapis.com/auth/dfatrafficking: View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
https://www.googleapis.com/auth/dfareporting: View and manage DoubleClick for Advertisers reports
externalDocs:
url: https://developers.google.com/doubleclick-advertisers/
x-provenance:
method: harvested
publisher: Google
source: https://dfareporting.googleapis.com/$discovery/rest?version=v5
note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261107)