Google Campaign Manager Campaign Manager Advertisers API
The Campaign Manager Advertisers API from Google Campaign Manager — 2 operation(s) for campaign manager advertisers.
The Campaign Manager Advertisers API from Google Campaign Manager — 2 operation(s) for campaign manager advertisers.
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-advertisers-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 Advertisers 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: Advertisers
paths:
/dfareporting/v5/userprofiles/{userprofilesId}/advertisers/{advertisersId}:
get:
operationId: dfareporting.advertisers.get
summary: Get advertisers
description: Gets one advertiser by ID.
parameters:
- name: userprofilesId
in: path
required: true
description: Resource name segment (userprofilesId).
schema:
type: string
- name: advertisersId
in: path
required: true
description: Resource name segment (advertisersId).
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Advertiser'
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:
- Advertisers
/dfareporting/v5/userprofiles/{userprofilesId}/advertisers:
get:
operationId: dfareporting.advertisers.list
summary: List advertisers
description: Retrieves a list of advertisers, possibly filtered. This method supports paging.
parameters:
- name: userprofilesId
in: path
required: true
description: Resource name segment (userprofilesId).
schema:
type: string
- name: advertiserGroupIds
in: query
required: false
description: Select only advertisers with these advertiser group IDs.
schema:
type: array
items:
type: string
format: int64
- name: floodlightConfigurationIds
in: query
required: false
description: Select only advertisers with these floodlight configuration IDs.
schema:
type: array
items:
format: int64
type: string
- name: ids
in: query
required: false
description: Select only advertisers with these IDs.
schema:
type: array
items:
format: int64
type: string
- name: includeAdvertisersWithoutGroupsOnly
in: query
required: false
description: Select only advertisers which do not belong to any advertiser group.
schema:
type: boolean
- name: maxResults
in: query
required: false
description: Maximum number of results to return.
schema:
format: int32
type: integer
default: '1000'
- name: onlyParent
in: query
required: false
description: Select only advertisers which use another advertiser's floodlight configuration.
schema:
type: boolean
- 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, "advertiser*2015" will return objects with names like "advertiser June 2015", "advertiser April 2015", or simply "advertiser 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 "advertiser" will match objects with name "my advertiser", "advertiser 2015", or simply "advertiser" .
schema:
type: string
- name: sortField
in: query
required: false
description: Field by which to sort the list.
schema:
type: string
enum:
- ID
- NAME
default: ID
- name: sortOrder
in: query
required: false
description: Order of sorted results.
schema:
type: string
default: ASCENDING
enum:
- ASCENDING
- DESCENDING
- name: status
in: query
required: false
description: Select only advertisers with the specified status.
schema:
type: string
enum:
- APPROVED
- ON_HOLD
- name: subaccountId
in: query
required: false
description: Select only advertisers with these subaccount IDs.
schema:
type: string
format: int64
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/AdvertisersListResponse'
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:
- Advertisers
patch:
operationId: dfareporting.advertisers.patch
summary: Patch advertisers
description: Updates an existing advertiser. 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. Advertiser ID.
schema:
type: string
format: int64
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Advertiser'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Advertiser'
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:
- Advertisers
post:
operationId: dfareporting.advertisers.insert
summary: Insert advertisers
description: Inserts a new advertiser.
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/Advertiser'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Advertiser'
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:
- Advertisers
put:
operationId: dfareporting.advertisers.update
summary: Update advertisers
description: Updates an existing advertiser.
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/Advertiser'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Advertiser'
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:
- Advertisers
components:
schemas:
Advertiser:
type: object
properties:
id:
description: ID of this advertiser. This is a read-only, auto-generated field.
type: string
format: int64
euPoliticalAdsDeclaration:
description: Optional. Whether the advertiser plans to serve EU political ads.
enum:
- ADVERTISER_PLANS_TO_SERVE_EU_POLITICAL_ADS
- ADVERTISER_DOES_NOT_PLAN_TO_SERVE_EU_POLITICAL_ADS
type: string
kind:
type: string
description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiser".'
subaccountId:
format: int64
description: Subaccount ID of this advertiser.This is a read-only field that can be left blank.
type: string
suspended:
type: boolean
description: Suspension status of this advertiser.
clickThroughUrlSuffix:
description: Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.
type: string
status:
description: Status of this advertiser.
enum:
- APPROVED
- ON_HOLD
type: string
defaultClickThroughEventTagId:
description: ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.
format: int64
type: string
idDimensionValue:
$ref: '#/components/schemas/DimensionValue'
description: Dimension value for the ID of this advertiser. This is a read-only, auto-generated field.
advertiserGroupId:
format: int64
description: ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.
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.
name:
type: string
description: Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.
accountId:
format: int64
type: string
description: Account ID of this advertiser.This is a read-only field that can be left blank.
floodlightConfigurationId:
description: 'Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser''s floodlight configuration ID in order to share that advertiser''s floodlight configuration with this advertiser, so long as: - This advertiser''s original floodlight configuration is not already associated with floodlight activities or floodlight activity groups. - This advertiser''s original floodlight configuration is not already shared with another advertiser. '
type: string
format: int64
defaultEmail:
type: string
description: Default email address used in sender field for tag emails.
measurementPartnerLink:
$ref: '#/components/schemas/MeasurementPartnerAdvertiserLink'
description: Measurement partner advertiser link for tag wrapping.
originalFloodlightConfigurationId:
format: int64
type: string
description: Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.
description: Contains properties of a Campaign Manager advertiser.
AdvertisersListResponse:
description: Advertiser List Response
type: object
properties:
nextPageToken:
description: Pagination token to be used for the next list operation.
type: string
kind:
description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertisersListResponse".'
type: string
advertisers:
type: array
description: Advertiser collection.
items:
$ref: '#/components/schemas/Advertiser'
MeasurementPartnerAdvertiserLink:
properties:
partnerAdvertiserId:
type: string
description: partner Advertiser Id.
measurementPartner:
type: string
description: Measurement partner used for tag wrapping.
enum:
- NONE
- INTEGRAL_AD_SCIENCE
- DOUBLE_VERIFY
linkStatus:
enum:
- MEASUREMENT_PARTNER_UNLINKED
- MEASUREMENT_PARTNER_LINKED
- MEASUREMENT_PARTNER_LINK_PENDING
- MEASUREMENT_PARTNER_LINK_FAILURE
- MEASUREMENT_PARTNER_LINK_OPT_OUT
- MEASUREMENT_PARTNER_LINK_OPT_OUT_PENDING
- MEASUREMENT_PARTNER_LINK_WRAPPING_PENDING
- MEASUREMENT_PARTNER_MODE_CHANGE_PENDING
- MEASUREMENT_PARTNER_UNLINK_PENDING
type: string
description: Status of the partner link.
type: object
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)