Google Campaign Manager Remarketing Lists API
The RemarketingLists API from Google Campaign Manager — 2 operation(s) for remarketinglists.
The RemarketingLists API from Google Campaign Manager — 2 operation(s) for remarketinglists.
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-remarketinglists-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 Remarketing Lists 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: RemarketingLists
paths:
/dfareporting/v5/userprofiles/{userprofilesId}/remarketingLists/{remarketingListsId}:
get:
operationId: dfareporting.remarketingLists.get
summary: Get remarketingLists
description: Gets one remarketing list by ID.
parameters:
- name: userprofilesId
in: path
required: true
description: Resource name segment (userprofilesId).
schema:
type: string
- name: remarketingListsId
in: path
required: true
description: Resource name segment (remarketingListsId).
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/RemarketingList'
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:
- RemarketingLists
/dfareporting/v5/userprofiles/{userprofilesId}/remarketingLists:
put:
operationId: dfareporting.remarketingLists.update
summary: Update remarketingLists
description: Updates an existing remarketing list.
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/RemarketingList'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/RemarketingList'
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:
- RemarketingLists
patch:
operationId: dfareporting.remarketingLists.patch
summary: Patch remarketingLists
description: Updates an existing remarketing list. 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. RemarketingList ID.
schema:
format: int64
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RemarketingList'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/RemarketingList'
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:
- RemarketingLists
post:
operationId: dfareporting.remarketingLists.insert
summary: Insert remarketingLists
description: Inserts a new remarketing list.
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/RemarketingList'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/RemarketingList'
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:
- RemarketingLists
get:
operationId: dfareporting.remarketingLists.list
summary: List remarketingLists
description: Retrieves a list of remarketing lists, 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 or only inactive remarketing lists.
schema:
type: boolean
- name: advertiserId
in: query
required: true
description: Required. Select only remarketing lists owned by this advertiser.
schema:
type: string
format: int64
- name: floodlightActivityId
in: query
required: false
description: Select only remarketing lists that have this floodlight activity ID.
schema:
format: int64
type: string
- name: maxResults
in: query
required: false
description: Maximum number of results to return.
schema:
format: int32
type: integer
default: '1000'
- name: name
in: query
required: false
description: Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "remarketing list*2015" will return objects with names like "remarketing list June 2015", "remarketing list April 2015", or simply "remarketing list 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 "remarketing list" will match objects with name "my remarketing list", "remarketing list 2015", or simply "remarketing list".
schema:
type: string
- name: pageToken
in: query
required: false
description: Value of the nextPageToken from the previous result page.
schema:
type: string
- name: sortField
in: query
required: false
description: Field by which to sort the list.
schema:
default: ID
enum:
- ID
- NAME
type: string
- name: sortOrder
in: query
required: false
description: Order of sorted results.
schema:
enum:
- ASCENDING
- DESCENDING
type: string
default: ASCENDING
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/RemarketingListsListResponse'
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:
- RemarketingLists
components:
schemas:
ListPopulationTerm:
properties:
variableName:
description: Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.
type: string
value:
description: Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
type: string
remarketingListId:
description: ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.
type: string
format: int64
type:
description: List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.
type: string
enum:
- CUSTOM_VARIABLE_TERM
- LIST_MEMBERSHIP_TERM
- REFERRER_TERM
variableFriendlyName:
type: string
description: Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.
contains:
description: Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.
type: boolean
operator:
description: Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
type: string
enum:
- NUM_EQUALS
- NUM_LESS_THAN
- NUM_LESS_THAN_EQUAL
- NUM_GREATER_THAN
- NUM_GREATER_THAN_EQUAL
- STRING_EQUALS
- STRING_CONTAINS
negation:
type: boolean
description: Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
type: object
description: Remarketing List Population Rule Term.
RemarketingListsListResponse:
type: object
properties:
kind:
type: string
description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListsListResponse".'
nextPageToken:
type: string
description: Pagination token to be used for the next list operation.
remarketingLists:
description: Remarketing list collection.
type: array
items:
$ref: '#/components/schemas/RemarketingList'
description: Remarketing list response
ListPopulationRule:
type: object
properties:
listPopulationClauses:
type: array
items:
$ref: '#/components/schemas/ListPopulationClause'
description: Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.
floodlightActivityName:
description: Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.
type: string
floodlightActivityId:
format: int64
description: Floodlight activity ID associated with this rule. This field can be left blank.
type: string
description: Remarketing List Population Rule.
ListPopulationClause:
properties:
terms:
description: Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.
items:
$ref: '#/components/schemas/ListPopulationTerm'
type: array
description: A group clause made up of list population terms representing constraints joined by ORs.
type: object
RemarketingList:
type: object
description: Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.
properties:
active:
description: Whether this remarketing list is active.
type: boolean
listSize:
description: Number of users currently in the list. This is a read-only field.
format: int64
type: string
kind:
description: 'Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingList".'
type: string
subaccountId:
format: int64
description: Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
type: string
description:
description: Remarketing list description.
type: string
advertiserIdDimensionValue:
$ref: '#/components/schemas/DimensionValue'
description: Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
listSource:
description: Product from which this remarketing list was originated.
type: string
enum:
- REMARKETING_LIST_SOURCE_OTHER
- REMARKETING_LIST_SOURCE_ADX
- REMARKETING_LIST_SOURCE_DFP
- REMARKETING_LIST_SOURCE_XFP
- REMARKETING_LIST_SOURCE_DFA
- REMARKETING_LIST_SOURCE_GA
- REMARKETING_LIST_SOURCE_YOUTUBE
- REMARKETING_LIST_SOURCE_DBM
- REMARKETING_LIST_SOURCE_GPLUS
- REMARKETING_LIST_SOURCE_DMP
- REMARKETING_LIST_SOURCE_PLAY_STORE
advertiserId:
type: string
description: Dimension value for the advertiser ID that owns this remarketing list. This is a required field.
format: int64
name:
type: string
description: Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.
listPopulationRule:
$ref: '#/components/schemas/ListPopulationRule'
description: Rule used to populate the remarketing list with users.
accountId:
format: int64
type: string
description: Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
id:
type: string
format: int64
description: Remarketing list ID. This is a read-only, auto-generated field.
lifeSpan:
type: string
description: Number of days that a user should remain in the remarketing list without an impression. Acceptable values are 1 to 540, inclusive.
format: int64
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)