Google Campaign Manager Floodlight Activities API
The FloodlightActivities API from Google Campaign Manager — 3 operation(s) for floodlightactivities.
The FloodlightActivities API from Google Campaign Manager — 3 operation(s) for floodlightactivities.
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-floodlightactivities-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 Floodlight Activities API
version: v5
description: Generated from Google's published Discovery document for Campaign Manager 360 API (dfareporting v5, revision 20261107). 7 operation(s).
contact:
name: Google
url: https://developers.google.com/
termsOfService: https://developers.google.com/terms
servers:
- url: https://dfareporting.googleapis.com
tags:
- name: FloodlightActivities
paths:
/dfareporting/v5/userprofiles/{userprofilesId}/floodlightActivities/generatetag:
post:
operationId: dfareporting.floodlightActivities.generatetag
summary: Generatetag floodlightActivities
description: Generates a tag for a floodlight activity.
parameters:
- name: userprofilesId
in: path
required: true
description: Resource name segment (userprofilesId).
schema:
type: string
- name: floodlightActivityId
in: query
required: false
description: Floodlight activity ID for which we want to generate a tag.
schema:
format: int64
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/FloodlightActivitiesGenerateTagResponse'
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:
- FloodlightActivities
/dfareporting/v5/userprofiles/{userprofilesId}/floodlightActivities:
patch:
operationId: dfareporting.floodlightActivities.patch
summary: Patch floodlightActivities
description: Updates an existing floodlight activity. This method supports patch semantics.
parameters:
- name: userprofilesId
in: path
required: true
description: Resource name segment (userprofilesId).
schema:
type: string
- name: id
in: query
required: true
description: Required. EventTag ID.
schema:
format: int64
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FloodlightActivity'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/FloodlightActivity'
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:
- FloodlightActivities
get:
operationId: dfareporting.floodlightActivities.list
summary: List floodlightActivities
description: Retrieves a list of floodlight activities, possibly filtered. This method supports paging.
parameters:
- name: userprofilesId
in: path
required: true
description: Resource name segment (userprofilesId).
schema:
type: string
- name: advertiserId
in: query
required: false
description: Select only floodlight activities for the specified advertiser ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.
schema:
type: string
format: int64
- name: floodlightActivityGroupIds
in: query
required: false
description: Select only floodlight activities with the specified floodlight activity group IDs.
schema:
type: array
items:
type: string
format: int64
- name: floodlightActivityGroupName
in: query
required: false
description: Select only floodlight activities with the specified floodlight activity group name.
schema:
type: string
- name: floodlightActivityGroupTagString
in: query
required: false
description: Select only floodlight activities with the specified floodlight activity group tag string.
schema:
type: string
- name: floodlightActivityGroupType
in: query
required: false
description: Select only floodlight activities with the specified floodlight activity group type.
schema:
type: string
enum:
- COUNTER
- SALE
- name: floodlightConfigurationId
in: query
required: false
description: Select only floodlight activities for the specified floodlight configuration ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.
schema:
type: string
format: int64
- name: ids
in: query
required: false
description: Select only floodlight activities with the specified IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.
schema:
type: array
items:
format: int64
type: string
- name: maxResults
in: query
required: false
description: Maximum number of results to return.
schema:
type: integer
format: int32
default: '1000'
- name: pageToken
in: query
required: false
description: Value of the nextPageToken from the previous result page.
schema:
type: string
- name: searchString
in: query
required: false
description: Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "floodlightactivity*2015" will return objects with names like "floodlightactivity June 2015", "floodlightactivity April 2015", or simply "floodlightactivity 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "floodlightactivity" will match objects with name "my floodlightactivity activity", "floodlightactivity 2015", or simply "floodlightactivity".
schema:
type: string
- name: sortField
in: query
required: false
description: Field by which to sort the list.
schema:
enum:
- ID
- NAME
default: ID
type: string
- name: sortOrder
in: query
required: false
description: Order of sorted results.
schema:
type: string
default: ASCENDING
enum:
- ASCENDING
- DESCENDING
- name: tagString
in: query
required: false
description: Select only floodlight activities with the specified tag string.
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/FloodlightActivitiesListResponse'
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:
- FloodlightActivities
put:
operationId: dfareporting.floodlightActivities.update
summary: Update floodlightActivities
description: Updates an existing floodlight activity.
parameters:
- name: userprofilesId
in: path
required: true
description: Resource name segment (userprofilesId).
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FloodlightActivity'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/FloodlightActivity'
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:
- FloodlightActivities
post:
operationId: dfareporting.floodlightActivities.insert
summary: Insert floodlightActivities
description: Inserts a new floodlight activity.
parameters:
- name: userprofilesId
in: path
required: true
description: Resource name segment (userprofilesId).
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FloodlightActivity'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/FloodlightActivity'
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:
- FloodlightActivities
/dfareporting/v5/userprofiles/{userprofilesId}/floodlightActivities/{floodlightActivitiesId}:
delete:
operationId: dfareporting.floodlightActivities.delete
summary: Delete floodlightActivities
description: Deletes an existing floodlight activity.
parameters:
- name: userprofilesId
in: path
required: true
description: Resource name segment (userprofilesId).
schema:
type: string
- name: floodlightActivitiesId
in: path
required: true
description: Resource name segment (floodlightActivitiesId).
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:
- FloodlightActivities
get:
operationId: dfareporting.floodlightActivities.get
summary: Get floodlightActivities
description: Gets one floodlight activity by ID.
parameters:
- name: userprofilesId
in: path
required: true
description: Resource name segment (userprofilesId).
schema:
type: string
- name: floodlightActivitiesId
in: path
required: true
description: Resource name segment (floodlightActivitiesId).
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/FloodlightActivity'
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:
- FloodlightActivities
components:
schemas:
FloodlightActivity:
type: object
description: Contains properties of a Floodlight activity.
properties:
status:
description: The status of the activity. This can only be set to ACTIVE or ARCHIVED_AND_DISABLED. The ARCHIVED status is no longer supported and cannot be set for Floodlight activities. The DISABLED_POLICY status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information.
type: string
enum:
- ACTIVE
- ARCHIVED_AND_DISABLED
- ARCHIVED
- DISABLED_POLICY
conversionCategory:
type: string
description: Required. The conversion category of the activity.
enum:
- CONVERSION_CATEGORY_DEFAULT
- CONVERSION_CATEGORY_PURCHASE
- CONVERSION_CATEGORY_SIGNUP
- CONVERSION_CATEGORY_PAGE_VIEW
- CONVERSION_CATEGORY_DOWNLOAD
- CONVERSION_CATEGORY_ADD_TO_CART
- CONVERSION_CATEGORY_BEGIN_CHECKOUT
- CONVERSION_CATEGORY_SUBSCRIBE_PAID
- CONVERSION_CATEGORY_SUBMIT_LEAD_FORM
- CONVERSION_CATEGORY_BOOK_APPOINTMENT
- CONVERSION_CATEGORY_REQUEST_QUOTE
- CONVERSION_CATEGORY_GET_DIRECTIONS
- CONVERSION_CATEGORY_OUTBOUND_CLICK
- CONVERSION_CATEGORY_CONTACT
- CONVERSION_CATEGORY_QUALIFIED_LEAD
- CONVERSION_CATEGORY_CONVERTED_LEAD
- CONVERSION_CATEGORY_IN_APP_AD_REVENUE
cacheBustingType:
description: Code type used for cache busting in the generated tag. Applicable only when floodlightActivityGroupType is COUNTER and countingMethod is STANDARD_COUNTING or UNIQUE_COUNTING.
enum:
- JAVASCRIPT
- ACTIVE_SERVER_PAGE
- JSP
- PHP
- COLD_FUSION
type: string
floodlightActivityGroupTagString:
description: Tag string of the associated floodlight activity group. This is a read-only field.
type: string
secure:
type: boolean
description: Whether this tag should use SSL.
floodlightActivityGroupName:
type: string
description: Name of the associated floodlight activity group. This is a read-only field.
name:
type: string
description: Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
tagFormat:
enum:
- HTML
- XHTML
type: string
description: Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
floodlightActivityGroupType:
type: string
enum:
- COUNTER
- SALE
description: Type of the associated floodlight activity group. This is a read-only field.
publisherTags:
description: Publisher dynamic floodlight tags.
type: array
items:
$ref: '#/components/schemas/FloodlightActivityPublisherDynamicTag'
idDimensionValue:
$ref: '#/components/schemas/DimensionValue'
description: Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
defaultTags:
type: array
items:
$ref: '#/components/schemas/FloodlightActivityDynamicTag'
description: Dynamic floodlight tags.
subaccountId:
description: Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
format: int64
type: string
floodlightConfigurationIdDimensionValue:
$ref: '#/components/schemas/DimensionValue'
description: Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
floodlightConfigurationId:
type: string
format: int64
description: Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.
expectedUrl:
type: string
description: URL where this tag will be deployed. If specified, must be less than 256 characters long.
advertiserId:
description: Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.
type: string
format: int64
floodlightTagType:
enum:
- IFRAME
- IMAGE
- GLOBAL_SITE_TAG
type: string
description: The type of Floodlight tag this activity will generate. This is a required field.
id:
type: string
format: int64
description: ID of this floodlight activity. This is a read-only, auto-generated field.
notes:
description: General notes or implementation instructions for the tag.
type: string
sslCompliant:
description: Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
type: boolean
sslRequired:
description: Whether this floodlight activity must be SSL-compliant.
type: boolean
accountId:
description: Account ID of this floodlight activity. This is a read-only field that can be left blank.
type: string
format: int64
attributionEnabled:
type: boolean
description: Whether the activity is enabled for attribution.
userDefinedVariableTypes:
type: array
description: 'List of the user-defined variables used by this conversion tag. These map to the "u[1-100]=" in the tags. Each of these can have a user defined type. Acceptable values are U1 to U100, inclusive. '
items:
enum:
- U1
- U2
- U3
- U4
- U5
- U6
- U7
- U8
- U9
- U10
- U11
- U12
- U13
- U14
- U15
- U16
- U17
- U18
- U19
- U20
- U21
- U22
- U23
- U24
- U25
- U26
- U27
- U28
- U29
- U30
- U31
- U32
- U33
- U34
- U35
- U36
- U37
- U38
- U39
- U40
- U41
- U42
- U43
- U44
- U45
- U46
- U47
- U48
- U49
- U50
- U51
- U52
- U53
- U54
- U55
- U56
- U57
- U58
- U59
- U60
- U61
- U62
- U63
- U64
- U65
- U66
- U67
- U68
- U69
- U70
- U71
- U72
- U73
- U74
- U75
- U76
- U77
- U78
- U79
- U80
- U81
- U82
- U83
- U84
- U85
- U86
- U87
- U88
- U89
- U90
- U91
- U92
- U93
- U94
- U95
- U96
- U97
- U98
- U99
- U100
type: string
advertiserIdDimensionValue:
$ref: '#/components/schemas/DimensionValue'
description: Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
countingMethod:
type: string
enum:
- STANDARD_COUNTING
- UNIQUE_COUNTING
- SESSION_COUNTING
- TRANSACTIONS_COUNTING
- ITEMS_SOLD_COUNTING
description: Counting method for conversions for this floodlight activity. This is a required field.
floodlightActivityGroupId:
description: Floodlight activity group ID of this floodlight activity. This is a required field.
format: int64
type: string
kind:
description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity".'
type: string
tagString:
type: string
description: 'Value of the cat= parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being a-z0-9[ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.'
FloodlightActivityPublisherDynamicTag:
type: object
description: Publisher Dynamic Tag
properties:
siteIdDimensionValue:
$ref: '#/components/schemas/DimensionValue'
description: Dimension value for the ID of the site. This is a read-only, auto-generated field.
siteId:
format: int64
description: Site ID of this dynamic tag.
type: string
clickThrough:
type: boolean
description: Whether this tag is applicable only for click-throughs.
dynamicTag:
$ref: '#/components/schemas/FloodlightActivityDynamicTag'
description: Dynamic floodlight tag.
directorySiteId:
description: Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
format: int64
type: string
viewThrough:
description: Whether this tag is applicable only for view-throughs.
type: boolean
FloodlightActivitiesGenerateTagResponse:
type: object
description: Floodlight Activity GenerateTag Response
properties:
floodlightActivityTag:
description: Generated tag for this Floodlight activity. For Google tags, this is the event snippet.
type: string
globalSiteTagGlobalSnippet:
type: string
description: The global snippet section of a Google tag. The Google tag sets new cookies on your domain, which will store a unique identifier for a user or the ad click that brought the user to your site. Learn more.
kind:
description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivitiesGenerateTagResponse".'
type: string
FloodlightActivityDynamicTag:
description: Dynamic Tag
type: object
properties:
tag:
description: Tag code.
type: string
id:
description: ID of this dynamic tag. This is a read-only, auto-generated field.
type: string
format: int64
name:
type: string
description: Name of this tag.
FloodlightActivitiesListResponse:
type: object
properties:
kind:
type: string
description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivitiesListResponse".'
floodlightActivities:
type: array
description: Floodlight activity collection.
items:
$ref: '#/components/schemas/FloodlightActivity'
nextPageToken:
type: string
description: Pagination token to be used for the next list operation.
description: Floodlight Activity List Response
DimensionValue:
type: object
description: Represents a DimensionValue resource.
properties:
id:
type: string
description: The ID associated with the value if available.
value:
type: string
description: The value of the dimension.
dimensionName:
description: The name of the dimension.
type: string
matchType:
type: string
enum:
- EXACT
- BEGINS_WITH
- CONTAINS
- WILDCARD_EXPRESSION
description: Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
etag:
type: string
description: The eTag of this response for caching purposes.
kind:
description: The kind of resource this is, in this case dfareporting#dimensionValue.
type: string
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
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)