Patch

Updates an existing view (profile)

34 variables
31 variables

Updates an existing view (profile). This method supports patch semantics

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Edit Google Analytics management entities

Input

This building block consumes 34 input parameters

  = Parameter name
  = Format

accountId STRING Required

Account ID to which the view (profile) belongs

webPropertyId STRING Required

Web property ID to which the view (profile) belongs

profileId STRING Required

ID of the view (profile) to be updated

accountId STRING

Account ID to which this view (profile) belongs

botFilteringEnabled BOOLEAN

Indicates whether bot filtering is enabled for this view (profile)

childLink OBJECT

Child link for this view (profile). Points to the list of goals for this view (profile)

childLink.href STRING

Link to the list of goals for this view (profile)

childLink.type STRING

Value is "analytics#goals"

created DATE_TIME

Time this view (profile) was created

currency STRING

The currency type associated with this view (profile), defaults to USD. The supported values are: USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL

defaultPage STRING

Default page for this view (profile)

eCommerceTracking BOOLEAN

Indicates whether ecommerce tracking is enabled for this view (profile)

enhancedECommerceTracking BOOLEAN

Indicates whether enhanced ecommerce tracking is enabled for this view (profile). This property can only be enabled if ecommerce tracking is enabled

excludeQueryParameters STRING

The query parameters that are excluded from this view (profile)

id STRING

View (Profile) ID

internalWebPropertyId STRING

Internal ID for the web property to which this view (profile) belongs

kind STRING

Resource type for Analytics view (profile)

name STRING

Name of this view (profile)

parentLink OBJECT

Parent link for this view (profile). Points to the web property to which this view (profile) belongs

parentLink.href STRING

Link to the web property to which this view (profile) belongs

parentLink.type STRING

Value is "analytics#webproperty"

permissions OBJECT

Permissions the user has for this view (profile)

permissions.effective[] STRING

selfLink STRING

Link for this view (profile)

siteSearchCategoryParameters STRING

Site search category parameters for this view (profile)

siteSearchQueryParameters STRING

The site search query parameters for this view (profile)

starred BOOLEAN

Indicates whether this view (profile) is starred or not

stripSiteSearchCategoryParameters BOOLEAN

Whether or not Analytics will strip search category parameters from the URLs in your reports

stripSiteSearchQueryParameters BOOLEAN

Whether or not Analytics will strip search query parameters from the URLs in your reports

timezone STRING

Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database

type STRING

View (Profile) type. Supported types: WEB or APP

updated DATE_TIME

Time this view (profile) was last modified

webPropertyId STRING

Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs

websiteUrl STRING

Website URL for this view (profile)

Output

This building block provides 31 output parameters

  = Parameter name
  = Format

accountId STRING

Account ID to which this view (profile) belongs

botFilteringEnabled BOOLEAN

Indicates whether bot filtering is enabled for this view (profile)

childLink OBJECT

Child link for this view (profile). Points to the list of goals for this view (profile)

childLink.href STRING

Link to the list of goals for this view (profile)

childLink.type STRING

Value is "analytics#goals"

created DATE_TIME

Time this view (profile) was created

currency STRING

The currency type associated with this view (profile), defaults to USD. The supported values are: USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL

defaultPage STRING

Default page for this view (profile)

eCommerceTracking BOOLEAN

Indicates whether ecommerce tracking is enabled for this view (profile)

enhancedECommerceTracking BOOLEAN

Indicates whether enhanced ecommerce tracking is enabled for this view (profile). This property can only be enabled if ecommerce tracking is enabled

excludeQueryParameters STRING

The query parameters that are excluded from this view (profile)

id STRING

View (Profile) ID

internalWebPropertyId STRING

Internal ID for the web property to which this view (profile) belongs

kind STRING

Resource type for Analytics view (profile)

name STRING

Name of this view (profile)

parentLink OBJECT

Parent link for this view (profile). Points to the web property to which this view (profile) belongs

parentLink.href STRING

Link to the web property to which this view (profile) belongs

parentLink.type STRING

Value is "analytics#webproperty"

permissions OBJECT

Permissions the user has for this view (profile)

permissions.effective[] STRING

selfLink STRING

Link for this view (profile)

siteSearchCategoryParameters STRING

Site search category parameters for this view (profile)

siteSearchQueryParameters STRING

The site search query parameters for this view (profile)

starred BOOLEAN

Indicates whether this view (profile) is starred or not

stripSiteSearchCategoryParameters BOOLEAN

Whether or not Analytics will strip search category parameters from the URLs in your reports

stripSiteSearchQueryParameters BOOLEAN

Whether or not Analytics will strip search query parameters from the URLs in your reports

timezone STRING

Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database

type STRING

View (Profile) type. Supported types: WEB or APP

updated DATE_TIME

Time this view (profile) was last modified

webPropertyId STRING

Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs

websiteUrl STRING

Website URL for this view (profile)