The Profile Filter Links collection is a set of Profile Filter Link resources, each of which describes the link between a View (Profile) and a Filter.
For a list of methods for this resource, see the end of this page.
Resource representations
JSON template for an Analytics profile filter link.
{ "id": string, "kind": "analytics#profileFilterLink", "selfLink": string, "rank": integer, "profileRef": { "id": string, "kind": "analytics#profileRef", "href": string, "accountId": string, "webPropertyId": string, "internalWebPropertyId": string, "name": string }, "filterRef": { "id": string, "kind": "analytics#filterRef", "href": string, "accountId": string, "name": string } }
Property name | Value | Description | Notes |
---|---|---|---|
filterRef |
nested object |
Filter for this link. | |
filterRef.accountId |
string |
Account ID to which this filter belongs. | |
filterRef.href |
string |
Link for this filter. | |
filterRef.id |
string |
Filter ID. | writable |
filterRef.kind |
string |
Kind value for filter reference. | |
filterRef.name |
string |
Name of this filter. | |
id |
string |
Profile filter link ID. | |
kind |
string |
Resource type for Analytics filter. | |
profileRef |
nested object |
View (Profile) for this link. | |
profileRef.accountId |
string |
Account ID to which this view (profile) belongs. | |
profileRef.href |
string |
Link for this view (profile). | |
profileRef.id |
string |
View (Profile) ID. | |
profileRef.internalWebPropertyId |
string |
Internal ID for the web property to which this view (profile) belongs. | |
profileRef.kind |
string |
Analytics view (profile) reference. | |
profileRef.name |
string |
Name of this view (profile). | |
profileRef.webPropertyId |
string |
Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. | |
rank |
integer |
The rank of this profile filter link relative to the other filters linked to the same profile. For readonly (i.e., list and get) operations, the rank always starts at 1. For write (i.e., create, update, or delete) operations, you may specify a value between 0 and 255 inclusively, [0, 255]. In order to insert a link at the end of the list, either don't specify a rank or set a rank to a number greater than the largest rank in the list. In order to insert a link to the beginning of the list specify a rank that is less than or equal to 1. The new link will move all existing filters with the same or lower rank down the list. After the link is inserted/updated/deleted all profile filter links will be renumbered starting at 1. |
writable |
selfLink |
string |
Link for this profile filter link. |
Methods
- delete
- Delete a profile filter link.
- get
- Returns a single profile filter link.
- insert
- Create a new profile filter link.
- list
- Lists all profile filter links for a profile.
- patch
- Update an existing profile filter link. This method supports patch semantics.
- update
- Update an existing profile filter link.