Google Campaign Manager Campaign Manager Accounts API
The Campaign Manager Accounts API from Google Campaign Manager — 2 operation(s) for campaign manager accounts.
The Campaign Manager Accounts API from Google Campaign Manager — 2 operation(s) for campaign manager accounts.
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-accounts-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. 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 Accounts API
version: v5
description: Generated from Google's published Discovery document for Campaign Manager 360 API (dfareporting v5, revision 20261107). 4 operation(s).
contact:
name: Google
url: https://developers.google.com/
termsOfService: https://developers.google.com/terms
servers:
- url: https://dfareporting.googleapis.com
tags:
- name: Accounts
paths:
/dfareporting/v5/userprofiles/{userprofilesId}/accounts:
get:
operationId: dfareporting.accounts.list
summary: List accounts
description: Retrieves the list of accounts, possibly filtered. This method supports paging.
parameters:
- name: userprofilesId
in: path
required: true
description: Resource name segment (userprofilesId).
schema:
type: string
- name: active
in: query
required: false
description: Select only active accounts. Don't set this field to select both active and non-active accounts.
schema:
type: boolean
- name: ids
in: query
required: false
description: Select only accounts with these IDs.
schema:
type: array
items:
format: int64
type: string
- name: maxResults
in: query
required: false
description: Maximum number of results to return.
schema:
default: '1000'
format: int32
type: integer
- 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, "account*2015" will return objects with names like "account June 2015", "account April 2015", or simply "account 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 "account" will match objects with name "my account", "account 2015", or simply "account".
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:
enum:
- ASCENDING
- DESCENDING
default: ASCENDING
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/AccountsListResponse'
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:
- Accounts
put:
operationId: dfareporting.accounts.update
summary: Update accounts
description: Updates an existing account.
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/Account'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Account'
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:
- Accounts
patch:
operationId: dfareporting.accounts.patch
summary: Patch accounts
description: Updates an existing account. 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. Account ID.
schema:
type: string
format: int64
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Account'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Account'
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:
- Accounts
/dfareporting/v5/userprofiles/{userprofilesId}/accounts/{accountsId}:
get:
operationId: dfareporting.accounts.get
summary: Get accounts
description: Gets one account by ID.
parameters:
- name: userprofilesId
in: path
required: true
description: Resource name segment (userprofilesId).
schema:
type: string
- name: accountsId
in: path
required: true
description: Resource name segment (accountsId).
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Account'
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:
- Accounts
components:
schemas:
Account:
type: object
description: Contains properties of a Campaign Manager account.
properties:
shareReportsWithTwitter:
type: boolean
description: Share Path to Conversion reports with Twitter.
currencyId:
description: 'ID of currency associated with this account. This is a required field. Acceptable values are: - "1" for USD - "2" for GBP - "3" for ESP - "4" for SEK - "5" for CAD - "6" for JPY - "7" for DEM - "8" for AUD - "9" for FRF - "10" for ITL - "11" for DKK - "12" for NOK - "13" for FIM - "14" for ZAR - "15" for IEP - "16" for NLG - "17" for EUR - "18" for KRW - "19" for TWD - "20" for SGD - "21" for CNY - "22" for HKD - "23" for NZD - "24" for MYR - "25" for BRL - "26" for PTE - "28" for CLP - "29" for TRY - "30" for ARS - "31" for PEN - "32" for ILS - "33" for CHF - "34" for VEF - "35" for COP - "36" for GTQ - "37" for PLN - "39" for INR - "40" for THB - "41" for IDR - "42" for CZK - "43" for RON - "44" for HUF - "45" for RUB - "46" for AED - "47" for BGN - "48" for HRK - "49" for MXN - "50" for NGN - "51" for EGP '
format: int64
type: string
reportsConfiguration:
$ref: '#/components/schemas/ReportsConfiguration'
description: Reporting configuration of this account.
description:
description: Description of this account.
type: string
kind:
description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#account".'
type: string
maximumImageSize:
type: string
description: Maximum image size allowed for this account, in kilobytes. Value must be greater than or equal to 1.
format: int64
teaserSizeLimit:
format: int64
type: string
description: File size limit in kilobytes of Rich Media teaser creatives. Acceptable values are 1 to 10240, inclusive.
locale:
description: 'Locale of this account. Acceptable values are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW" (Chinese Traditional) '
type: string
defaultCreativeSizeId:
format: int64
type: string
description: Default placement dimensions for this account.
availablePermissionIds:
description: User role permissions available to the user roles of this account.
type: array
items:
type: string
format: int64
accountProfile:
description: Profile for this account. This is a read-only field that can be left blank.
type: string
enum:
- ACCOUNT_PROFILE_BASIC
- ACCOUNT_PROFILE_STANDARD
id:
type: string
description: ID of this account. This is a read-only, auto-generated field.
format: int64
nielsenOcrEnabled:
type: boolean
description: Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default.
active:
type: boolean
description: Whether this account is active.
activeViewOptOut:
description: Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions.
type: boolean
accountPermissionIds:
items:
format: int64
type: string
description: Account permissions assigned to this account.
type: array
countryId:
type: string
description: ID of the country associated with this account.
format: int64
activeAdsLimitTier:
enum:
- ACTIVE_ADS_TIER_40K
- ACTIVE_ADS_TIER_75K
- ACTIVE_ADS_TIER_100K
- ACTIVE_ADS_TIER_200K
- ACTIVE_ADS_TIER_300K
- ACTIVE_ADS_TIER_500K
- ACTIVE_ADS_TIER_750K
- ACTIVE_ADS_TIER_1M
type: string
description: Maximum number of active ads allowed for this account.
name:
description: Name of this account. This is a required field, and must be less than 128 characters long and be globally unique.
type: string
AccountsListResponse:
description: Account List Response
properties:
nextPageToken:
description: Pagination token to be used for the next list operation.
type: string
kind:
type: string
description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountsListResponse".'
accounts:
items:
$ref: '#/components/schemas/Account'
type: array
description: Account collection.
type: object
ReportsConfiguration:
description: Reporting Configuration
properties:
reportGenerationTimeZoneId:
type: string
format: int64
description: 'Report generation time zone ID of this account. This is a required field that cannot be changed on update. Acceptable values are: - "1" for "America/New_York" - "2" for "Europe/London" - "3" for "Europe/Paris" - "4" for "Africa/Johannesburg" - "5" for "Asia/Jerusalem" - "6" for "Asia/Shanghai" - "7" for "Asia/Hong_Kong" - "8" for "Asia/Tokyo" - "9" for "Australia/Sydney" - "10" for "Asia/Dubai" - "11" for "America/Los_Angeles" - "12" for "Pacific/Auckland" - "13" for "America/Sao_Paulo" - "16" for "America/Asuncion" - "17" for "America/Chicago" - "18" for "America/Denver" - "19" for "America/St_Johns" - "20" for "Asia/Dhaka" - "21" for "Asia/Jakarta" - "22" for "Asia/Kabul" - "23" for "Asia/Karachi" - "24" for "Asia/Calcutta" - "25" for "Asia/Pyongyang" - "26" for "Asia/Rangoon" - "27" for "Atlantic/Cape_Verde" - "28" for "Atlantic/South_Georgia" - "29" for "Australia/Adelaide" - "30" for "Australia/Lord_Howe" - "31" for "Europe/Moscow" - "32" for "Pacific/Kiritimati" - "35" for "Pacific/Norfolk" - "36" for "Pacific/Tongatapu" '
exposureToConversionEnabled:
type: boolean
description: Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.
lookbackConfiguration:
$ref: '#/components/schemas/LookbackConfiguration'
description: Default lookback windows for new advertisers in this account.
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
LookbackConfiguration:
properties:
clickDuration:
type: integer
description: Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
format: int32
postImpressionActivitiesDuration:
type: integer
format: int32
description: Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
type: object
description: Lookback configuration settings.
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)