Page Summary
-
The purpose of this page is to detail how to retrieve a list of event tags, which can be optionally filtered.
-
The HTTP request uses a GET method with a specific URL structure including a user profile ID as a path parameter.
-
The request supports various query parameters to filter the results based on criteria such as IDs, advertiser or campaign association, enabled status, event tag types, and a search string.
-
The request body must be empty for this operation.
-
The successful response includes a JSON representation containing a list of event tag objects.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Retrieves a list of event tags, possibly filtered.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/eventTags
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
User profile ID associated with this request. |
Query parameters
| Parameters | |
|---|---|
ids[] |
Select only event tags with these IDs. |
advertiserId |
Select only event tags that belong to this advertiser. |
campaignId |
Select only event tags that belong to this campaign. |
adId |
Select only event tags that belong to this ad. |
enabled |
Select only enabled event tags. What is considered enabled or disabled depends on the |
definitionsOnly |
Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the |
eventTagTypes[] |
Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. |
searchString |
Allows searching for objects by name or ID. Wildcards ( |
sortField |
Field by which to sort the list. |
sortOrder |
Order of sorted results. |
Request body
The request body must be empty.
Response body
Event Tag eventTags.list Response
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"kind": string,
"eventTags": [
{
object ( |
| Fields | |
|---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string |
eventTags[] |
Event tag collection. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking