gogol-analytics-0.0.1: Google Analytics SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Analytics.Types

Contents

Description

 

Synopsis

Service Configuration

analyticsService :: Service Source

Default request referring to version v3 of the Google Analytics API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

analyticsManageUsersScope :: OAuthScope Source

Manage Google Analytics Account users by email address

analyticsProvisionScope :: OAuthScope Source

Create a new Google Analytics account along with its default property and view

analyticsManageUsersReadonlyScope :: OAuthScope Source

View Google Analytics user permissions

analyticsScope :: OAuthScope Source

View and manage your Google Analytics data

analyticsReadonlyScope :: OAuthScope Source

View your Google Analytics data

analyticsEditScope :: OAuthScope Source

Edit Google Analytics management entities

UnSampledReports

data UnSampledReports Source

An unsampled report collection lists Analytics unsampled reports to which the user has access. Each view (profile) can have a set of unsampled reports. Each resource in the unsampled report collection corresponds to a single Analytics unsampled report.

See: unSampledReports smart constructor.

unSampledReports :: UnSampledReports Source

Creates a value of UnSampledReports with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

usrNextLink :: Lens' UnSampledReports (Maybe Text) Source

Link to next page for this unsampled report collection.

usrItemsPerPage :: Lens' UnSampledReports (Maybe Int32) Source

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

usrUsername :: Lens' UnSampledReports (Maybe Text) Source

Email ID of the authenticated user

usrItems :: Lens' UnSampledReports [UnSampledReport] Source

A list of unsampled reports.

usrTotalResults :: Lens' UnSampledReports (Maybe Int32) Source

The total number of results for the query, regardless of the number of resources in the result.

usrStartIndex :: Lens' UnSampledReports (Maybe Int32) Source

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

usrPreviousLink :: Lens' UnSampledReports (Maybe Text) Source

Link to previous page for this unsampled report collection.

GoalURLDestinationDetailsStepsItem

goalURLDestinationDetailsStepsItem :: GoalURLDestinationDetailsStepsItem Source

Creates a value of GoalURLDestinationDetailsStepsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

GaDataQuery

gaDataQuery :: GaDataQuery Source

Creates a value of GaDataQuery with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gdqMetrics :: Lens' GaDataQuery [Text] Source

List of analytics metrics.

gdqSamplingLevel :: Lens' GaDataQuery (Maybe Text) Source

Desired sampling level

gdqFilters :: Lens' GaDataQuery (Maybe Text) Source

Comma-separated list of dimension or metric filters.

gdqIds :: Lens' GaDataQuery (Maybe Text) Source

Unique table ID.

gdqSort :: Lens' GaDataQuery [Text] Source

List of dimensions or metrics based on which Analytics data is sorted.

gdqDimensions :: Lens' GaDataQuery (Maybe Text) Source

List of analytics dimensions.

gdqMaxResults :: Lens' GaDataQuery (Maybe Int32) Source

Maximum results per page.

gdqSegment :: Lens' GaDataQuery (Maybe Text) Source

Analytics advanced segment.

GaDataDataTableRowsItem

gaDataDataTableRowsItem :: GaDataDataTableRowsItem Source

Creates a value of GaDataDataTableRowsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

UnSampledReport

uDownloadType :: Lens' UnSampledReport (Maybe Text) Source

The type of download you need to use for the report data file.

uStatus :: Lens' UnSampledReport (Maybe Text) Source

Status of this unsampled report. Possible values are PENDING, COMPLETED, or FAILED.

uMetrics :: Lens' UnSampledReport (Maybe Text) Source

The metrics for the unsampled report.

uDriveDownloadDetails :: Lens' UnSampledReport (Maybe UnSampledReportDriveDownloadDetails) Source

Download details for a file stored in Google Drive.

uWebPropertyId :: Lens' UnSampledReport (Maybe Text) Source

Web property ID to which this unsampled report belongs. The web property ID is of the form UA-XXXXX-YY.

uKind :: Lens' UnSampledReport Text Source

Resource type for an Analytics unsampled report.

uCreated :: Lens' UnSampledReport (Maybe UTCTime) Source

Time this unsampled report was created.

uFilters :: Lens' UnSampledReport (Maybe Text) Source

The filters for the unsampled report.

uProFileId :: Lens' UnSampledReport (Maybe Text) Source

View (Profile) ID to which this unsampled report belongs.

uEndDate :: Lens' UnSampledReport (Maybe Text) Source

The end date for the unsampled report.

uSelfLink :: Lens' UnSampledReport (Maybe Text) Source

Link for this unsampled report.

uAccountId :: Lens' UnSampledReport (Maybe Text) Source

Account ID to which this unsampled report belongs.

uId :: Lens' UnSampledReport (Maybe Text) Source

Unsampled report ID.

uUpdated :: Lens' UnSampledReport (Maybe UTCTime) Source

Time this unsampled report was last modified.

uTitle :: Lens' UnSampledReport (Maybe Text) Source

Title of the unsampled report.

uDimensions :: Lens' UnSampledReport (Maybe Text) Source

The dimensions for the unsampled report.

uSegment :: Lens' UnSampledReport (Maybe Text) Source

The segment for the unsampled report.

uCloudStorageDownloadDetails :: Lens' UnSampledReport (Maybe UnSampledReportCloudStorageDownloadDetails) Source

Download details for a file stored in Google Cloud Storage.

uStartDate :: Lens' UnSampledReport (Maybe Text) Source

The start date for the unsampled report.

McfDataColumnHeadersItem

mcfDataColumnHeadersItem :: McfDataColumnHeadersItem Source

Creates a value of McfDataColumnHeadersItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mdchiColumnType :: Lens' McfDataColumnHeadersItem (Maybe Text) Source

Column Type. Either DIMENSION or METRIC.

mdchiDataType :: Lens' McfDataColumnHeadersItem (Maybe Text) Source

Data type. Dimension and metric values data types such as INTEGER, DOUBLE, CURRENCY, MCF_SEQUENCE etc.

GaDataTotalsForAllResults

data GaDataTotalsForAllResults Source

Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.

See: gaDataTotalsForAllResults smart constructor.

gaDataTotalsForAllResults Source

Creates a value of GaDataTotalsForAllResults with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gdtfarAddtional :: Lens' GaDataTotalsForAllResults (HashMap Text Text) Source

Key-value pair for the total value of a metric. Key is the metric name and the value is the total value for that metric.

ProFileParentLink

data ProFileParentLink Source

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

See: proFileParentLink smart constructor.

proFileParentLink :: ProFileParentLink Source

Creates a value of ProFileParentLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pfplHref :: Lens' ProFileParentLink (Maybe Text) Source

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

pfplType :: Lens' ProFileParentLink Text Source

Value is "analytics#webproperty".

GaDataDataTableRowsItemCItem

gaDataDataTableRowsItemCItem :: GaDataDataTableRowsItemCItem Source

Creates a value of GaDataDataTableRowsItemCItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

EntityUserLinkPermissions

entityUserLinkPermissions :: EntityUserLinkPermissions Source

Creates a value of EntityUserLinkPermissions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eulpLocal :: Lens' EntityUserLinkPermissions [Text] Source

Permissions that a user has been assigned at this very level. Does not include any implied or inherited permissions. Local permissions are modifiable.

eulpEffective :: Lens' EntityUserLinkPermissions [Text] Source

Effective permissions represent all the permissions that a user has for this entity. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent entity. Effective permissions are read-only.

RealtimeDataProFileInfo

realtimeDataProFileInfo :: RealtimeDataProFileInfo Source

Creates a value of RealtimeDataProFileInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rdpfiWebPropertyId :: Lens' RealtimeDataProFileInfo (Maybe Text) Source

Web Property ID to which this view (profile) belongs.

rdpfiAccountId :: Lens' RealtimeDataProFileInfo (Maybe Text) Source

Account ID to which this view (profile) belongs.

rdpfiInternalWebPropertyId :: Lens' RealtimeDataProFileInfo (Maybe Text) Source

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

rdpfiTableId :: Lens' RealtimeDataProFileInfo (Maybe Text) Source

Table ID for view (profile).

McfDataRowsItemItemConversionPathValueItem

mcfDataRowsItemItemConversionPathValueItem :: McfDataRowsItemItemConversionPathValueItem Source

Creates a value of McfDataRowsItemItemConversionPathValueItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mdriicpviInteractionType :: Lens' McfDataRowsItemItemConversionPathValueItem (Maybe Text) Source

Type of an interaction on conversion path. Such as CLICK, IMPRESSION etc.

mdriicpviNodeValue :: Lens' McfDataRowsItemItemConversionPathValueItem (Maybe Text) Source

Node value of an interaction on conversion path. Such as source, medium etc.

FilterExpression

filterExpression :: FilterExpression Source

Creates a value of FilterExpression with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

feFieldIndex :: Lens' FilterExpression (Maybe Int32) Source

The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION.

feField :: Lens' FilterExpression (Maybe Text) Source

Field to filter. Possible values: - Content and Traffic - PAGE_REQUEST_URI, - PAGE_HOSTNAME, - PAGE_TITLE, - REFERRAL, - COST_DATA_URI (Campaign target URL), - HIT_TYPE, - INTERNAL_SEARCH_TERM, - INTERNAL_SEARCH_TYPE, - SOURCE_PROPERTY_TRACKING_ID, - Campaign or AdGroup - CAMPAIGN_SOURCE, - CAMPAIGN_MEDIUM, - CAMPAIGN_NAME, - CAMPAIGN_AD_GROUP, - CAMPAIGN_TERM, - CAMPAIGN_CONTENT, - CAMPAIGN_CODE, - CAMPAIGN_REFERRAL_PATH, - E-Commerce - TRANSACTION_COUNTRY, - TRANSACTION_REGION, - TRANSACTION_CITY, - TRANSACTION_AFFILIATION (Store or order location), - ITEM_NAME, - ITEM_CODE, - ITEM_VARIATION, - TRANSACTION_ID, - TRANSACTION_CURRENCY_CODE, - PRODUCT_ACTION_TYPE, - Audience/Users - BROWSER, - BROWSER_VERSION, - BROWSER_SIZE, - PLATFORM, - PLATFORM_VERSION, - LANGUAGE, - SCREEN_RESOLUTION, - SCREEN_COLORS, - JAVA_ENABLED (Boolean Field), - FLASH_VERSION, - GEO_SPEED (Connection speed), - VISITOR_TYPE, - GEO_ORGANIZATION (ISP organization), - GEO_DOMAIN, - GEO_IP_ADDRESS, - GEO_IP_VERSION, - Location - GEO_COUNTRY, - GEO_REGION, - GEO_CITY, - Event - EVENT_CATEGORY, - EVENT_ACTION, - EVENT_LABEL, - Other - CUSTOM_FIELD_1, - CUSTOM_FIELD_2, - USER_DEFINED_VALUE, - Application - APP_ID, - APP_INSTALLER_ID, - APP_NAME, - APP_VERSION, - SCREEN, - IS_APP (Boolean Field), - IS_FATAL_EXCEPTION (Boolean Field), - EXCEPTION_DESCRIPTION, - Mobile device - IS_MOBILE (Boolean Field, Deprecated. Use DEVICE_CATEGORY=mobile), - IS_TABLET (Boolean Field, Deprecated. Use DEVICE_CATEGORY=tablet), - DEVICE_CATEGORY, - MOBILE_HAS_QWERTY_KEYBOARD (Boolean Field), - MOBILE_HAS_NFC_SUPPORT (Boolean Field), - MOBILE_HAS_CELLULAR_RADIO (Boolean Field), - MOBILE_HAS_WIFI_SUPPORT (Boolean Field), - MOBILE_BRAND_NAME, - MOBILE_MODEL_NAME, - MOBILE_MARKETING_NAME, - MOBILE_POINTING_METHOD, - Social - SOCIAL_NETWORK, - SOCIAL_ACTION, - SOCIAL_ACTION_TARGET, - Custom dimension - CUSTOM_DIMENSION (See accompanying field index),

feKind :: Lens' FilterExpression Text Source

Kind value for filter expression

feMatchType :: Lens' FilterExpression (Maybe Text) Source

Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES.

feCaseSensitive :: Lens' FilterExpression (Maybe Bool) Source

Determines if the filter is case sensitive.

ProFileRef

proFileRef :: ProFileRef Source

Creates a value of ProFileRef with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pfrWebPropertyId :: Lens' ProFileRef (Maybe Text) Source

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

pfrKind :: Lens' ProFileRef Text Source

Analytics view (profile) reference.

pfrHref :: Lens' ProFileRef (Maybe Text) Source

Link for this view (profile).

pfrAccountId :: Lens' ProFileRef (Maybe Text) Source

Account ID to which this view (profile) belongs.

pfrName :: Lens' ProFileRef (Maybe Text) Source

Name of this view (profile).

pfrInternalWebPropertyId :: Lens' ProFileRef (Maybe Text) Source

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

pfrId :: Lens' ProFileRef (Maybe Text) Source

View (Profile) ID.

Accounts

data Accounts Source

An account collection provides a list of Analytics accounts to which a user has access. The account collection is the entry point to all management information. Each resource in the collection corresponds to a single Analytics account.

See: accounts smart constructor.

accounts :: Accounts Source

Creates a value of Accounts with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aNextLink :: Lens' Accounts (Maybe Text) Source

Next link for this account collection.

aItemsPerPage :: Lens' Accounts (Maybe Int32) Source

The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

aKind :: Lens' Accounts Text Source

Collection type.

aUsername :: Lens' Accounts (Maybe Text) Source

Email ID of the authenticated user

aItems :: Lens' Accounts [Account] Source

A list of accounts.

aTotalResults :: Lens' Accounts (Maybe Int32) Source

The total number of results for the query, regardless of the number of results in the response.

aStartIndex :: Lens' Accounts (Maybe Int32) Source

The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.

aPreviousLink :: Lens' Accounts (Maybe Text) Source

Previous link for this account collection.

Experiments

data Experiments Source

An experiment collection lists Analytics experiments to which the user has access. Each view (profile) can have a set of experiments. Each resource in the Experiment collection corresponds to a single Analytics experiment.

See: experiments smart constructor.

experiments :: Experiments Source

Creates a value of Experiments with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eNextLink :: Lens' Experiments (Maybe Text) Source

Link to next page for this experiment collection.

eItemsPerPage :: Lens' Experiments (Maybe Int32) Source

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

eKind :: Lens' Experiments Text Source

Collection type.

eUsername :: Lens' Experiments (Maybe Text) Source

Email ID of the authenticated user

eItems :: Lens' Experiments [Experiment] Source

A list of experiments.

eTotalResults :: Lens' Experiments (Maybe Int32) Source

The total number of results for the query, regardless of the number of resources in the result.

eStartIndex :: Lens' Experiments (Maybe Int32) Source

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

ePreviousLink :: Lens' Experiments (Maybe Text) Source

Link to previous page for this experiment collection.

ExperimentParentLink

experimentParentLink :: ExperimentParentLink Source

Creates a value of ExperimentParentLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eplHref :: Lens' ExperimentParentLink (Maybe Text) Source

Link to the view (profile) to which this experiment belongs. This field is read-only.

eplType :: Lens' ExperimentParentLink Text Source

Value is "analytics#profile". This field is read-only.

UnSampledReportDriveDownloadDetails

unSampledReportDriveDownloadDetails :: UnSampledReportDriveDownloadDetails Source

Creates a value of UnSampledReportDriveDownloadDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

usrdddDocumentId :: Lens' UnSampledReportDriveDownloadDetails (Maybe Text) Source

Id of the document/file containing the report data.

McfDataProFileInfo

mcfDataProFileInfo :: McfDataProFileInfo Source

Creates a value of McfDataProFileInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mdpfiWebPropertyId :: Lens' McfDataProFileInfo (Maybe Text) Source

Web Property ID to which this view (profile) belongs.

mdpfiAccountId :: Lens' McfDataProFileInfo (Maybe Text) Source

Account ID to which this view (profile) belongs.

mdpfiInternalWebPropertyId :: Lens' McfDataProFileInfo (Maybe Text) Source

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

mdpfiTableId :: Lens' McfDataProFileInfo (Maybe Text) Source

Table ID for view (profile).

CustomDataSources

data CustomDataSources Source

Lists Analytics custom data sources to which the user has access. Each resource in the collection corresponds to a single Analytics custom data source.

See: customDataSources smart constructor.

customDataSources :: CustomDataSources Source

Creates a value of CustomDataSources with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cdsNextLink :: Lens' CustomDataSources (Maybe Text) Source

Link to next page for this custom data source collection.

cdsItemsPerPage :: Lens' CustomDataSources (Maybe Int32) Source

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

cdsUsername :: Lens' CustomDataSources (Maybe Text) Source

Email ID of the authenticated user

cdsItems :: Lens' CustomDataSources [CustomDataSource] Source

Collection of custom data sources.

cdsTotalResults :: Lens' CustomDataSources (Maybe Int32) Source

The total number of results for the query, regardless of the number of results in the response.

cdsStartIndex :: Lens' CustomDataSources (Maybe Int32) Source

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

cdsPreviousLink :: Lens' CustomDataSources (Maybe Text) Source

Link to previous page for this custom data source collection.

WebPropertyChildLink

webPropertyChildLink :: WebPropertyChildLink Source

Creates a value of WebPropertyChildLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wpclHref :: Lens' WebPropertyChildLink (Maybe Text) Source

Link to the list of views (profiles) for this web property.

wpclType :: Lens' WebPropertyChildLink Text Source

Type of the parent link. Its value is "analytics#profiles".

DataGaGetSamplingLevel

data DataGaGetSamplingLevel Source

The desired sampling level.

Constructors

Default

DEFAULT Returns response with a sample size that balances speed and accuracy.

Faster

FASTER Returns a fast response with a smaller sample size.

HigherPrecision

HIGHER_PRECISION Returns a more accurate response using a large sample size, but this may result in the response being slower.

McfData

data McfData Source

Multi-Channel Funnels data for a given view (profile).

See: mcfData smart constructor.

mcfData :: McfData Source

Creates a value of McfData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mdNextLink :: Lens' McfData (Maybe Text) Source

Link to next page for this Analytics data query.

mdSampleSpace :: Lens' McfData (Maybe Int64) Source

Total size of the sample space from which the samples were selected.

mdItemsPerPage :: Lens' McfData (Maybe Int32) Source

The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

mdProFileInfo :: Lens' McfData (Maybe McfDataProFileInfo) Source

Information for the view (profile), for which the Analytics data was requested.

mdKind :: Lens' McfData Text Source

Resource type.

mdSampleSize :: Lens' McfData (Maybe Int64) Source

The number of samples used to calculate the result.

mdRows :: Lens' McfData [[McfDataRowsItemItem]] Source

Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.

mdSelfLink :: Lens' McfData (Maybe Text) Source

Link to this page.

mdQuery :: Lens' McfData (Maybe McfDataQuery) Source

Analytics data request query parameters.

mdColumnHeaders :: Lens' McfData [McfDataColumnHeadersItem] Source

Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.

mdId :: Lens' McfData (Maybe Text) Source

Unique ID for this data response.

mdTotalResults :: Lens' McfData (Maybe Int32) Source

The total number of rows for the query, regardless of the number of rows in the response.

mdContainsSampledData :: Lens' McfData (Maybe Bool) Source

Determines if the Analytics data contains sampled data.

mdTotalsForAllResults :: Lens' McfData (Maybe McfDataTotalsForAllResults) Source

Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.

mdPreviousLink :: Lens' McfData (Maybe Text) Source

Link to previous page for this Analytics data query.

UserRef

data UserRef Source

JSON template for a user reference.

See: userRef smart constructor.

userRef :: UserRef Source

Creates a value of UserRef with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

urEmail :: Lens' UserRef (Maybe Text) Source

Email ID of this user.

GoalVisitNumPagesDetails

goalVisitNumPagesDetails :: GoalVisitNumPagesDetails Source

Creates a value of GoalVisitNumPagesDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gvnpdComparisonType :: Lens' GoalVisitNumPagesDetails (Maybe Text) Source

Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL.

RealtimeDataColumnHeadersItem

realtimeDataColumnHeadersItem :: RealtimeDataColumnHeadersItem Source

Creates a value of RealtimeDataColumnHeadersItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rdchiColumnType :: Lens' RealtimeDataColumnHeadersItem (Maybe Text) Source

Column Type. Either DIMENSION or METRIC.

rdchiDataType :: Lens' RealtimeDataColumnHeadersItem (Maybe Text) Source

Data type. Dimension column headers have only STRING as the data type. Metric column headers have data types for metric values such as INTEGER, DOUBLE, CURRENCY etc.

AccountRef

accountRef :: AccountRef Source

Creates a value of AccountRef with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

arKind :: Lens' AccountRef Text Source

Analytics account reference.

arHref :: Lens' AccountRef (Maybe Text) Source

Link for this account.

EntityAdWordsLinks

data EntityAdWordsLinks Source

An entity AdWords link collection provides a list of GA-AdWords links Each resource in this collection corresponds to a single link.

See: entityAdWordsLinks smart constructor.

entityAdWordsLinks :: EntityAdWordsLinks Source

Creates a value of EntityAdWordsLinks with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eawlNextLink :: Lens' EntityAdWordsLinks (Maybe Text) Source

Next link for this AdWords link collection.

eawlItemsPerPage :: Lens' EntityAdWordsLinks (Maybe Int32) Source

The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

eawlItems :: Lens' EntityAdWordsLinks [EntityAdWordsLink] Source

A list of entity AdWords links.

eawlTotalResults :: Lens' EntityAdWordsLinks (Maybe Int32) Source

The total number of results for the query, regardless of the number of results in the response.

eawlStartIndex :: Lens' EntityAdWordsLinks (Maybe Int32) Source

The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.

eawlPreviousLink :: Lens' EntityAdWordsLinks (Maybe Text) Source

Previous link for this AdWords link collection.

ProFiles

data ProFiles Source

A view (profile) collection lists Analytics views (profiles) to which the user has access. Each resource in the collection corresponds to a single Analytics view (profile).

See: proFiles smart constructor.

proFiles :: ProFiles Source

Creates a value of ProFiles with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pfNextLink :: Lens' ProFiles (Maybe Text) Source

Link to next page for this view (profile) collection.

pfItemsPerPage :: Lens' ProFiles (Maybe Int32) Source

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

pfKind :: Lens' ProFiles Text Source

Collection type.

pfUsername :: Lens' ProFiles (Maybe Text) Source

Email ID of the authenticated user

pfItems :: Lens' ProFiles [ProFile] Source

A list of views (profiles).

pfTotalResults :: Lens' ProFiles (Maybe Int32) Source

The total number of results for the query, regardless of the number of results in the response.

pfStartIndex :: Lens' ProFiles (Maybe Int32) Source

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

pfPreviousLink :: Lens' ProFiles (Maybe Text) Source

Link to previous page for this view (profile) collection.

AnalyticsDataimportDeleteUploadDataRequest

analyticsDataimportDeleteUploadDataRequest :: AnalyticsDataimportDeleteUploadDataRequest Source

Creates a value of AnalyticsDataimportDeleteUploadDataRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

EntityAdWordsLink

entityAdWordsLink :: EntityAdWordsLink Source

Creates a value of EntityAdWordsLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

entAdWordsAccounts :: Lens' EntityAdWordsLink [AdWordsAccount] Source

A list of AdWords client accounts. These cannot be MCC accounts. This field is required when creating an AdWords link. It cannot be empty.

entProFileIds :: Lens' EntityAdWordsLink [Text] Source

IDs of linked Views (Profiles) represented as strings.

entKind :: Lens' EntityAdWordsLink Text Source

Resource type for entity AdWords link.

entSelfLink :: Lens' EntityAdWordsLink (Maybe Text) Source

URL link for this Google Analytics - Google AdWords link.

entName :: Lens' EntityAdWordsLink (Maybe Text) Source

Name of the link. This field is required when creating an AdWords link.

entId :: Lens' EntityAdWordsLink (Maybe Text) Source

Entity AdWords link ID

FilterSearchAndReplaceDetails

filterSearchAndReplaceDetails :: FilterSearchAndReplaceDetails Source

Creates a value of FilterSearchAndReplaceDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fsardFieldIndex :: Lens' FilterSearchAndReplaceDetails (Maybe Int32) Source

The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.

fsardReplaceString :: Lens' FilterSearchAndReplaceDetails (Maybe Text) Source

Term to replace the search term with.

fsardCaseSensitive :: Lens' FilterSearchAndReplaceDetails (Maybe Bool) Source

Determines if the filter is case sensitive.

ProFilePermissions

proFilePermissions :: ProFilePermissions Source

Creates a value of ProFilePermissions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pfpEffective :: Lens' ProFilePermissions [Text] Source

All the permissions that the user has for this view (profile). These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent web property.

ProFile

data ProFile Source

JSON template for an Analytics view (profile).

See: proFile smart constructor.

pParentLink :: Lens' ProFile (Maybe ProFileParentLink) Source

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

pECommerceTracking :: Lens' ProFile (Maybe Bool) Source

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

pSiteSearchCategoryParameters :: Lens' ProFile (Maybe Text) Source

Site search category parameters for this view (profile).

pWebPropertyId :: Lens' ProFile (Maybe Text) Source

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

pChildLink :: Lens' ProFile (Maybe ProFileChildLink) Source

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

pSiteSearchQueryParameters :: Lens' ProFile (Maybe Text) Source

The site search query parameters for this view (profile).

pKind :: Lens' ProFile Text Source

Resource type for Analytics view (profile).

pDefaultPage :: Lens' ProFile (Maybe Text) Source

Default page for this view (profile).

pCreated :: Lens' ProFile (Maybe UTCTime) Source

Time this view (profile) was created.

pSelfLink :: Lens' ProFile (Maybe Text) Source

Link for this view (profile).

pAccountId :: Lens' ProFile (Maybe Text) Source

Account ID to which this view (profile) belongs.

pName :: Lens' ProFile (Maybe Text) Source

Name of this view (profile).

pCurrency :: Lens' ProFile (Maybe Text) Source

The currency type associated with this view (profile), defaults to USD. The supported values are: ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR

pInternalWebPropertyId :: Lens' ProFile (Maybe Text) Source

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

pId :: Lens' ProFile (Maybe Text) Source

View (Profile) ID.

pUpdated :: Lens' ProFile (Maybe UTCTime) Source

Time this view (profile) was last modified.

pPermissions :: Lens' ProFile (Maybe ProFilePermissions) Source

Permissions the user has for this view (profile).

pWebsiteURL :: Lens' ProFile (Maybe Text) Source

Website URL for this view (profile).

pType :: Lens' ProFile (Maybe Text) Source

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

pStripSiteSearchCategoryParameters :: Lens' ProFile (Maybe Bool) Source

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

pTimezone :: Lens' ProFile (Maybe Text) Source

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

pExcludeQueryParameters :: Lens' ProFile (Maybe Text) Source

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

pEnhancedECommerceTracking :: Lens' ProFile (Maybe Bool) Source

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

pStripSiteSearchQueryParameters :: Lens' ProFile (Maybe Bool) Source

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

AccountSummaries

data AccountSummaries Source

An AccountSummary collection lists a summary of accounts, properties and views (profiles) to which the user has access. Each resource in the collection corresponds to a single AccountSummary.

See: accountSummaries smart constructor.

accountSummaries :: AccountSummaries Source

Creates a value of AccountSummaries with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

asNextLink :: Lens' AccountSummaries (Maybe Text) Source

Link to next page for this AccountSummary collection.

asItemsPerPage :: Lens' AccountSummaries (Maybe Int32) Source

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

asUsername :: Lens' AccountSummaries (Maybe Text) Source

Email ID of the authenticated user

asItems :: Lens' AccountSummaries [AccountSummary] Source

A list of AccountSummaries.

asTotalResults :: Lens' AccountSummaries (Maybe Int32) Source

The total number of results for the query, regardless of the number of results in the response.

asStartIndex :: Lens' AccountSummaries (Maybe Int32) Source

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

asPreviousLink :: Lens' AccountSummaries (Maybe Text) Source

Link to previous page for this AccountSummary collection.

GoalEventDetails

goalEventDetails :: GoalEventDetails Source

Creates a value of GoalEventDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gedUseEventValue :: Lens' GoalEventDetails (Maybe Bool) Source

Determines if the event value should be used as the value for this goal.

WebPropertySummary

data WebPropertySummary Source

JSON template for an Analytics WebPropertySummary. WebPropertySummary returns basic information (i.e., summary) for a web property.

See: webPropertySummary smart constructor.

webPropertySummary :: WebPropertySummary Source

Creates a value of WebPropertySummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wpsKind :: Lens' WebPropertySummary Text Source

Resource type for Analytics WebPropertySummary.

wpsProFiles :: Lens' WebPropertySummary [ProFileSummary] Source

List of profiles under this web property.

wpsInternalWebPropertyId :: Lens' WebPropertySummary (Maybe Text) Source

Internal ID for this web property.

wpsId :: Lens' WebPropertySummary (Maybe Text) Source

Web property ID of the form UA-XXXXX-YY.

wpsWebsiteURL :: Lens' WebPropertySummary (Maybe Text) Source

Website url for this web property.

wpsLevel :: Lens' WebPropertySummary (Maybe Text) Source

Level for this web property. Possible values are STANDARD or PREMIUM.

Filters

data Filters Source

A filter collection lists filters created by users in an Analytics account. Each resource in the collection corresponds to a filter.

See: filters smart constructor.

filters :: Filters Source

Creates a value of Filters with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fNextLink :: Lens' Filters (Maybe Text) Source

Link to next page for this filter collection.

fItemsPerPage :: Lens' Filters (Maybe Int32) Source

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

fKind :: Lens' Filters Text Source

Collection type.

fUsername :: Lens' Filters (Maybe Text) Source

Email ID of the authenticated user

fItems :: Lens' Filters [Filter] Source

A list of filters.

fTotalResults :: Lens' Filters (Maybe Int32) Source

The total number of results for the query, regardless of the number of results in the response.

fStartIndex :: Lens' Filters (Maybe Int32) Source

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

fPreviousLink :: Lens' Filters (Maybe Text) Source

Link to previous page for this filter collection.

GaData

data GaData Source

Analytics data for a given view (profile).

See: gaData smart constructor.

gdNextLink :: Lens' GaData (Maybe Text) Source

Link to next page for this Analytics data query.

gdSampleSpace :: Lens' GaData (Maybe Int64) Source

Total size of the sample space from which the samples were selected.

gdItemsPerPage :: Lens' GaData (Maybe Int32) Source

The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

gdProFileInfo :: Lens' GaData (Maybe GaDataProFileInfo) Source

Information for the view (profile), for which the Analytics data was requested.

gdKind :: Lens' GaData Text Source

Resource type.

gdSampleSize :: Lens' GaData (Maybe Int64) Source

The number of samples used to calculate the result.

gdRows :: Lens' GaData [[Text]] Source

Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.

gdSelfLink :: Lens' GaData (Maybe Text) Source

Link to this page.

gdQuery :: Lens' GaData (Maybe GaDataQuery) Source

Analytics data request query parameters.

gdColumnHeaders :: Lens' GaData [GaDataColumnHeadersItem] Source

Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.

gdId :: Lens' GaData (Maybe Text) Source

Unique ID for this data response.

gdTotalResults :: Lens' GaData (Maybe Int32) Source

The total number of rows for the query, regardless of the number of rows in the response.

gdContainsSampledData :: Lens' GaData (Maybe Bool) Source

Determines if Analytics data contains samples.

gdTotalsForAllResults :: Lens' GaData (Maybe GaDataTotalsForAllResults) Source

Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.

gdPreviousLink :: Lens' GaData (Maybe Text) Source

Link to previous page for this Analytics data query.

RealtimeDataTotalsForAllResults

data RealtimeDataTotalsForAllResults Source

Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.

See: realtimeDataTotalsForAllResults smart constructor.

realtimeDataTotalsForAllResults Source

Creates a value of RealtimeDataTotalsForAllResults with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rdtfarAddtional :: Lens' RealtimeDataTotalsForAllResults (HashMap Text Text) Source

Key-value pair for the total value of a metric. Key is the metric name and the value is the total value for that metric.

CustomDataSource

customDataSource :: CustomDataSource Source

Creates a value of CustomDataSource with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cParentLink :: Lens' CustomDataSource (Maybe CustomDataSourceParentLink) Source

Parent link for this custom data source. Points to the web property to which this custom data source belongs.

cWebPropertyId :: Lens' CustomDataSource (Maybe Text) Source

Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.

cKind :: Lens' CustomDataSource Text Source

Resource type for Analytics custom data source.

cCreated :: Lens' CustomDataSource (Maybe UTCTime) Source

Time this custom data source was created.

cSelfLink :: Lens' CustomDataSource (Maybe Text) Source

Link for this Analytics custom data source.

cAccountId :: Lens' CustomDataSource (Maybe Text) Source

Account ID to which this custom data source belongs.

cName :: Lens' CustomDataSource (Maybe Text) Source

Name of this custom data source.

cId :: Lens' CustomDataSource (Maybe Text) Source

Custom data source ID.

cUpdated :: Lens' CustomDataSource (Maybe UTCTime) Source

Time this custom data source was last modified.

cType :: Lens' CustomDataSource (Maybe Text) Source

Type of the custom data source.

cDescription :: Lens' CustomDataSource (Maybe Text) Source

Description of custom data source.

cProFilesLinked :: Lens' CustomDataSource [Text] Source

IDs of views (profiles) linked to the custom data source.

WebPropertyRef

webPropertyRef :: WebPropertyRef Source

Creates a value of WebPropertyRef with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wprKind :: Lens' WebPropertyRef Text Source

Analytics web property reference.

wprHref :: Lens' WebPropertyRef (Maybe Text) Source

Link for this web property.

wprAccountId :: Lens' WebPropertyRef (Maybe Text) Source

Account ID to which this web property belongs.

wprName :: Lens' WebPropertyRef (Maybe Text) Source

Name of this web property.

wprInternalWebPropertyId :: Lens' WebPropertyRef (Maybe Text) Source

Internal ID for this web property.

wprId :: Lens' WebPropertyRef (Maybe Text) Source

Web property ID of the form UA-XXXXX-YY.

Goals

data Goals Source

A goal collection lists Analytics goals to which the user has access. Each view (profile) can have a set of goals. Each resource in the Goal collection corresponds to a single Analytics goal.

See: goals smart constructor.

goals :: Goals Source

Creates a value of Goals with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gNextLink :: Lens' Goals (Maybe Text) Source

Link to next page for this goal collection.

gItemsPerPage :: Lens' Goals (Maybe Int32) Source

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

gKind :: Lens' Goals Text Source

Collection type.

gUsername :: Lens' Goals (Maybe Text) Source

Email ID of the authenticated user

gItems :: Lens' Goals [Goal] Source

A list of goals.

gTotalResults :: Lens' Goals (Maybe Int32) Source

The total number of results for the query, regardless of the number of resources in the result.

gStartIndex :: Lens' Goals (Maybe Int32) Source

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

gPreviousLink :: Lens' Goals (Maybe Text) Source

Link to previous page for this goal collection.

McfDataRowsItemItem

data McfDataRowsItemItem Source

A union object representing a dimension or metric value. Only one of "primitiveValue" or "conversionPathValue" attribute will be populated.

See: mcfDataRowsItemItem smart constructor.

mcfDataRowsItemItem :: McfDataRowsItemItem Source

Creates a value of McfDataRowsItemItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mdriiPrimitiveValue :: Lens' McfDataRowsItemItem (Maybe Text) Source

A primitive dimension value. A primitive metric value.

mdriiConversionPathValue :: Lens' McfDataRowsItemItem [McfDataRowsItemItemConversionPathValueItem] Source

A conversion path dimension value, containing a list of interactions with their attributes.

AccountPermissions

accountPermissions :: AccountPermissions Source

Creates a value of AccountPermissions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

apEffective :: Lens' AccountPermissions [Text] Source

All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).

EntityUserLinkEntity

entityUserLinkEntity :: EntityUserLinkEntity Source

Creates a value of EntityUserLinkEntity with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Account

data Account Source

JSON template for Analytics account entry.

See: account smart constructor.

account :: Account Source

Creates a value of Account with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

accChildLink :: Lens' Account (Maybe AccountChildLink) Source

Child link for an account entry. Points to the list of web properties for this account.

accKind :: Lens' Account Text Source

Resource type for Analytics account.

accCreated :: Lens' Account (Maybe UTCTime) Source

Time the account was created.

accSelfLink :: Lens' Account (Maybe Text) Source

Link for this account.

accName :: Lens' Account (Maybe Text) Source

Account name.

accUpdated :: Lens' Account (Maybe UTCTime) Source

Time the account was last modified.

accPermissions :: Lens' Account (Maybe AccountPermissions) Source

Permissions the user has for this account.

Experiment

data Experiment Source

JSON template for Analytics experiment resource.

See: experiment smart constructor.

expParentLink :: Lens' Experiment (Maybe ExperimentParentLink) Source

Parent link for an experiment. Points to the view (profile) to which this experiment belongs.

expEqualWeighting :: Lens' Experiment (Maybe Bool) Source

Boolean specifying whether to distribute traffic evenly across all variations. If the value is False, content experiments follows the default behavior of adjusting traffic dynamically based on variation performance. Optional -- defaults to False. This field may not be changed for an experiment whose status is ENDED.

expStatus :: Lens' Experiment (Maybe Text) Source

Experiment status. Possible values: "DRAFT", "READY_TO_RUN", "RUNNING", "ENDED". Experiments can be created in the "DRAFT", "READY_TO_RUN" or "RUNNING" state. This field is required when creating an experiment.

expWebPropertyId :: Lens' Experiment (Maybe Text) Source

Web property ID to which this experiment belongs. The web property ID is of the form UA-XXXXX-YY. This field is read-only.

expStartTime :: Lens' Experiment (Maybe UTCTime) Source

The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING). This field is present only if the experiment has started. This field is read-only.

expSnippet :: Lens' Experiment (Maybe Text) Source

The snippet of code to include on the control page(s). This field is read-only.

expKind :: Lens' Experiment Text Source

Resource type for an Analytics experiment. This field is read-only.

expCreated :: Lens' Experiment (Maybe UTCTime) Source

Time the experiment was created. This field is read-only.

expReasonExperimentEnded :: Lens' Experiment (Maybe Text) Source

Why the experiment ended. Possible values: "STOPPED_BY_USER", "WINNER_FOUND", "EXPERIMENT_EXPIRED", "ENDED_WITH_NO_WINNER", "GOAL_OBJECTIVE_CHANGED". "ENDED_WITH_NO_WINNER" means that the experiment didn't expire but no winner was projected to be found. If the experiment status is changed via the API to ENDED this field is set to STOPPED_BY_USER. This field is read-only.

expTrafficCoverage :: Lens' Experiment (Maybe Double) Source

A floating-point number in (0, 1]. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.

expEditableInGaUi :: Lens' Experiment (Maybe Bool) Source

If true, the end user will be able to edit the experiment via the Google Analytics user interface.

expMinimumExperimentLengthInDays :: Lens' Experiment (Maybe Int32) Source

An integer number in [3, 90]. Specifies the minimum length of the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED.

expProFileId :: Lens' Experiment (Maybe Text) Source

View (Profile) ID to which this experiment belongs. This field is read-only.

expOptimizationType :: Lens' Experiment (Maybe Text) Source

Whether the objectiveMetric should be minimized or maximized. Possible values: "MAXIMUM", "MINIMUM". Optional--defaults to "MAXIMUM". Cannot be specified without objectiveMetric. Cannot be modified when status is "RUNNING" or "ENDED".

expSelfLink :: Lens' Experiment (Maybe Text) Source

Link for this experiment. This field is read-only.

expAccountId :: Lens' Experiment (Maybe Text) Source

Account ID to which this experiment belongs. This field is read-only.

expName :: Lens' Experiment (Maybe Text) Source

Experiment name. This field may not be changed for an experiment whose status is ENDED. This field is required when creating an experiment.

expWinnerFound :: Lens' Experiment (Maybe Bool) Source

Boolean specifying whether a winner has been found for this experiment. This field is read-only.

expEndTime :: Lens' Experiment (Maybe UTCTime) Source

The ending time of the experiment (the time the status changed from RUNNING to ENDED). This field is present only if the experiment has ended. This field is read-only.

expVariations :: Lens' Experiment [ExperimentVariationsItem] Source

Array of variations. The first variation in the array is the original. The number of variations may not change once an experiment is in the RUNNING state. At least two variations are required before status can be set to RUNNING.

expInternalWebPropertyId :: Lens' Experiment (Maybe Text) Source

Internal ID for the web property to which this experiment belongs. This field is read-only.

expId :: Lens' Experiment (Maybe Text) Source

Experiment ID. Required for patch and update. Disallowed for create.

expUpdated :: Lens' Experiment (Maybe UTCTime) Source

Time the experiment was last modified. This field is read-only.

expRewriteVariationURLsAsOriginal :: Lens' Experiment (Maybe Bool) Source

Boolean specifying whether variations URLS are rewritten to match those of the original. This field may not be changed for an experiments whose status is ENDED.

expObjectiveMetric :: Lens' Experiment (Maybe Text) Source

The metric that the experiment is optimizing. Valid values: "ga:goal(n)Completions", "ga:adsenseAdsClicks", "ga:adsenseAdsViewed", "ga:adsenseRevenue", "ga:bounces", "ga:pageviews", "ga:sessionDuration", "ga:transactions", "ga:transactionRevenue". This field is required if status is "RUNNING" and servingFramework is one of "REDIRECT" or "API".

expWinnerConfidenceLevel :: Lens' Experiment (Maybe Double) Source

A floating-point number in (0, 1). Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED.

expServingFramework :: Lens' Experiment (Maybe Text) Source

The framework used to serve the experiment variations and evaluate the results. One of: - REDIRECT: Google Analytics redirects traffic to different variation pages, reports the chosen variation and evaluates the results. - API: Google Analytics chooses and reports the variation to serve and evaluates the results; the caller is responsible for serving the selected variation. - EXTERNAL: The variations will be served externally and the chosen variation reported to Google Analytics. The caller is responsible for serving the selected variation and evaluating the results.

expDescription :: Lens' Experiment (Maybe Text) Source

Notes about this experiment.

EntityUserLinks

data EntityUserLinks Source

An entity user link collection provides a list of Analytics ACL links Each resource in this collection corresponds to a single link.

See: entityUserLinks smart constructor.

entityUserLinks :: EntityUserLinks Source

Creates a value of EntityUserLinks with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eulNextLink :: Lens' EntityUserLinks (Maybe Text) Source

Next link for this account collection.

eulItemsPerPage :: Lens' EntityUserLinks (Maybe Int32) Source

The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

eulItems :: Lens' EntityUserLinks [EntityUserLink] Source

A list of entity user links.

eulTotalResults :: Lens' EntityUserLinks (Maybe Int32) Source

The total number of results for the query, regardless of the number of results in the response.

eulStartIndex :: Lens' EntityUserLinks (Maybe Int32) Source

The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.

eulPreviousLink :: Lens' EntityUserLinks (Maybe Text) Source

Previous link for this account collection.

AdWordsAccount

adWordsAccount :: AdWordsAccount Source

Creates a value of AdWordsAccount with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

awaAutoTaggingEnabled :: Lens' AdWordsAccount (Maybe Bool) Source

True if auto-tagging is enabled on the AdWords account. Read-only after the insert operation.

awaKind :: Lens' AdWordsAccount Text Source

Resource type for AdWords account.

awaCustomerId :: Lens' AdWordsAccount (Maybe Text) Source

Customer ID. This field is required when creating an AdWords link.

FilterRef

data FilterRef Source

JSON template for a profile filter link.

See: filterRef smart constructor.

filterRef :: FilterRef Source

Creates a value of FilterRef with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

frKind :: Lens' FilterRef Text Source

Kind value for filter reference.

frHref :: Lens' FilterRef (Maybe Text) Source

Link for this filter.

frAccountId :: Lens' FilterRef (Maybe Text) Source

Account ID to which this filter belongs.

frName :: Lens' FilterRef (Maybe Text) Source

Name of this filter.

GoalVisitTimeOnSiteDetails

goalVisitTimeOnSiteDetails :: GoalVisitTimeOnSiteDetails Source

Creates a value of GoalVisitTimeOnSiteDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gvtosdComparisonType :: Lens' GoalVisitTimeOnSiteDetails (Maybe Text) Source

Type of comparison. Possible values are LESS_THAN or GREATER_THAN.

WebProperties

data WebProperties Source

A web property collection lists Analytics web properties to which the user has access. Each resource in the collection corresponds to a single Analytics web property.

See: webProperties smart constructor.

webProperties :: WebProperties Source

Creates a value of WebProperties with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wpNextLink :: Lens' WebProperties (Maybe Text) Source

Link to next page for this web property collection.

wpItemsPerPage :: Lens' WebProperties (Maybe Int32) Source

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

wpKind :: Lens' WebProperties Text Source

Collection type.

wpUsername :: Lens' WebProperties (Maybe Text) Source

Email ID of the authenticated user

wpItems :: Lens' WebProperties [WebProperty] Source

A list of web properties.

wpTotalResults :: Lens' WebProperties (Maybe Int32) Source

The total number of results for the query, regardless of the number of results in the response.

wpStartIndex :: Lens' WebProperties (Maybe Int32) Source

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

wpPreviousLink :: Lens' WebProperties (Maybe Text) Source

Link to previous page for this web property collection.

CustomMetrics

data CustomMetrics Source

A custom metric collection lists Analytics custom metrics to which the user has access. Each resource in the collection corresponds to a single Analytics custom metric.

See: customMetrics smart constructor.

customMetrics :: CustomMetrics Source

Creates a value of CustomMetrics with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cmNextLink :: Lens' CustomMetrics (Maybe Text) Source

Link to next page for this custom metric collection.

cmItemsPerPage :: Lens' CustomMetrics (Maybe Int32) Source

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

cmKind :: Lens' CustomMetrics Text Source

Collection type.

cmUsername :: Lens' CustomMetrics (Maybe Text) Source

Email ID of the authenticated user

cmItems :: Lens' CustomMetrics [CustomMetric] Source

Collection of custom metrics.

cmTotalResults :: Lens' CustomMetrics (Maybe Int32) Source

The total number of results for the query, regardless of the number of results in the response.

cmStartIndex :: Lens' CustomMetrics (Maybe Int32) Source

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

cmPreviousLink :: Lens' CustomMetrics (Maybe Text) Source

Link to previous page for this custom metric collection.

FilterAdvancedDetails

fadExtractA :: Lens' FilterAdvancedDetails (Maybe Text) Source

Expression to extract from field A.

fadFieldARequired :: Lens' FilterAdvancedDetails (Maybe Bool) Source

Indicates if field A is required to match.

fadFieldBIndex :: Lens' FilterAdvancedDetails (Maybe Int32) Source

The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.

fadOutputConstructor :: Lens' FilterAdvancedDetails (Maybe Text) Source

Expression used to construct the output value.

fadExtractB :: Lens' FilterAdvancedDetails (Maybe Text) Source

Expression to extract from field B.

fadFieldAIndex :: Lens' FilterAdvancedDetails (Maybe Int32) Source

The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.

fadCaseSensitive :: Lens' FilterAdvancedDetails (Maybe Bool) Source

Indicates if the filter expressions are case sensitive.

fadOutputToFieldIndex :: Lens' FilterAdvancedDetails (Maybe Int32) Source

The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.

fadFieldBRequired :: Lens' FilterAdvancedDetails (Maybe Bool) Source

Indicates if field B is required to match.

fadOverrideOutputField :: Lens' FilterAdvancedDetails (Maybe Bool) Source

Indicates if the existing value of the output field, if any, should be overridden by the output expression.

FilterUppercaseDetails

filterUppercaseDetails :: FilterUppercaseDetails Source

Creates a value of FilterUppercaseDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fudFieldIndex :: Lens' FilterUppercaseDetails (Maybe Int32) Source

The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.

fudField :: Lens' FilterUppercaseDetails (Maybe Text) Source

Field to use in the filter.

CustomDataSourceChildLink

customDataSourceChildLink :: CustomDataSourceChildLink Source

Creates a value of CustomDataSourceChildLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cdsclHref :: Lens' CustomDataSourceChildLink (Maybe Text) Source

Link to the list of daily uploads for this custom data source. Link to the list of uploads for this custom data source.

cdsclType :: Lens' CustomDataSourceChildLink (Maybe Text) Source

Value is "analyticsuploads".

FilterParentLink

data FilterParentLink Source

Parent link for this filter. Points to the account to which this filter belongs.

See: filterParentLink smart constructor.

filterParentLink :: FilterParentLink Source

Creates a value of FilterParentLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fplHref :: Lens' FilterParentLink (Maybe Text) Source

Link to the account to which this filter belongs.

fplType :: Lens' FilterParentLink Text Source

Value is "analytics#account".

DataGaGetOutput

data DataGaGetOutput Source

The selected format for the response. Default format is JSON.

Constructors

DataTable

dataTable Returns the response in Google Charts Data Table format. This is useful in creating visualization using Google Charts.

JSON

json Returns the response in standard JSON format.

RealtimeData

realtimeData :: RealtimeData Source

Creates a value of RealtimeData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rdProFileInfo :: Lens' RealtimeData (Maybe RealtimeDataProFileInfo) Source

Information for the view (profile), for which the real time data was requested.

rdRows :: Lens' RealtimeData [[Text]] Source

Real time data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.

rdSelfLink :: Lens' RealtimeData (Maybe Text) Source

Link to this page.

rdQuery :: Lens' RealtimeData (Maybe RealtimeDataQuery) Source

Real time data request query parameters.

rdColumnHeaders :: Lens' RealtimeData [RealtimeDataColumnHeadersItem] Source

Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.

rdId :: Lens' RealtimeData (Maybe Text) Source

Unique ID for this data response.

rdTotalResults :: Lens' RealtimeData (Maybe Int32) Source

The total number of rows for the query, regardless of the number of rows in the response.

rdTotalsForAllResults :: Lens' RealtimeData (Maybe RealtimeDataTotalsForAllResults) Source

Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.

CustomMetric

customMetric :: CustomMetric Source

Creates a value of CustomMetric with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cusParentLink :: Lens' CustomMetric (Maybe CustomMetricParentLink) Source

Parent link for the custom metric. Points to the property to which the custom metric belongs.

cusKind :: Lens' CustomMetric Text Source

Kind value for a custom metric. Set to "analytics#customMetric". It is a read-only field.

cusMaxValue :: Lens' CustomMetric (Maybe Text) Source

Max value of custom metric.

cusCreated :: Lens' CustomMetric (Maybe UTCTime) Source

Time the custom metric was created.

cusMinValue :: Lens' CustomMetric (Maybe Text) Source

Min value of custom metric.

cusActive :: Lens' CustomMetric (Maybe Bool) Source

Boolean indicating whether the custom metric is active.

cusSelfLink :: Lens' CustomMetric (Maybe Text) Source

Link for the custom metric

cusName :: Lens' CustomMetric (Maybe Text) Source

Name of the custom metric.

cusScope :: Lens' CustomMetric (Maybe Text) Source

Scope of the custom metric: HIT or PRODUCT.

cusId :: Lens' CustomMetric (Maybe Text) Source

Custom metric ID.

cusUpdated :: Lens' CustomMetric (Maybe UTCTime) Source

Time the custom metric was last modified.

cusType :: Lens' CustomMetric (Maybe Text) Source

Data type of custom metric.

cusIndex :: Lens' CustomMetric (Maybe Int32) Source

Index of the custom metric.

ProFileSummary

data ProFileSummary Source

JSON template for an Analytics ProfileSummary. ProfileSummary returns basic information (i.e., summary) for a profile.

See: proFileSummary smart constructor.

proFileSummary :: ProFileSummary Source

Creates a value of ProFileSummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pfsKind :: Lens' ProFileSummary Text Source

Resource type for Analytics ProfileSummary.

pfsName :: Lens' ProFileSummary (Maybe Text) Source

View (profile) name.

pfsId :: Lens' ProFileSummary (Maybe Text) Source

View (profile) ID.

pfsType :: Lens' ProFileSummary (Maybe Text) Source

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

CustomDimensionParentLink

customDimensionParentLink :: CustomDimensionParentLink Source

Creates a value of CustomDimensionParentLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cdplHref :: Lens' CustomDimensionParentLink (Maybe Text) Source

Link to the property to which the custom dimension belongs.

cdplType :: Lens' CustomDimensionParentLink Text Source

Type of the parent link. Set to "analytics#webproperty".

WebProperty

webProperty :: WebProperty Source

Creates a value of WebProperty with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wParentLink :: Lens' WebProperty (Maybe WebPropertyParentLink) Source

Parent link for this web property. Points to the account to which this web property belongs.

wChildLink :: Lens' WebProperty (Maybe WebPropertyChildLink) Source

Child link for this web property. Points to the list of views (profiles) for this web property.

wDefaultProFileId :: Lens' WebProperty (Maybe Int64) Source

Default view (profile) ID.

wKind :: Lens' WebProperty Text Source

Resource type for Analytics WebProperty.

wCreated :: Lens' WebProperty (Maybe UTCTime) Source

Time this web property was created.

wSelfLink :: Lens' WebProperty (Maybe Text) Source

Link for this web property.

wAccountId :: Lens' WebProperty (Maybe Text) Source

Account ID to which this web property belongs.

wName :: Lens' WebProperty (Maybe Text) Source

Name of this web property.

wInternalWebPropertyId :: Lens' WebProperty (Maybe Text) Source

Internal ID for this web property.

wId :: Lens' WebProperty (Maybe Text) Source

Web property ID of the form UA-XXXXX-YY.

wUpdated :: Lens' WebProperty (Maybe UTCTime) Source

Time this web property was last modified.

wProFileCount :: Lens' WebProperty (Maybe Int32) Source

View (Profile) count for this web property.

wPermissions :: Lens' WebProperty (Maybe WebPropertyPermissions) Source

Permissions the user has for this web property.

wWebsiteURL :: Lens' WebProperty (Maybe Text) Source

Website url for this web property.

wIndustryVertical :: Lens' WebProperty (Maybe Text) Source

The industry vertical/category selected for this web property.

wLevel :: Lens' WebProperty (Maybe Text) Source

Level for this web property. Possible values are STANDARD or PREMIUM.

WebPropertyPermissions

webPropertyPermissions :: WebPropertyPermissions Source

Creates a value of WebPropertyPermissions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wppEffective :: Lens' WebPropertyPermissions [Text] Source

All the permissions that the user has for this web property. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent account.

EntityUserLink

data EntityUserLink Source

JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.

See: entityUserLink smart constructor.

entityUserLink :: EntityUserLink Source

Creates a value of EntityUserLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

euluKind :: Lens' EntityUserLink Text Source

Resource type for entity user link.

euluSelfLink :: Lens' EntityUserLink (Maybe Text) Source

Self link for this resource.

euluId :: Lens' EntityUserLink (Maybe Text) Source

Entity user link ID

euluPermissions :: Lens' EntityUserLink (Maybe EntityUserLinkPermissions) Source

Permissions the user has for this entity.

euluEntity :: Lens' EntityUserLink (Maybe EntityUserLinkEntity) Source

Entity for this link. It can be an account, a web property, or a view (profile).

CustomDataSourceParentLink

customDataSourceParentLink :: CustomDataSourceParentLink Source

Creates a value of CustomDataSourceParentLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cdsplHref :: Lens' CustomDataSourceParentLink (Maybe Text) Source

Link to the web property to which this custom data source belongs.

cdsplType :: Lens' CustomDataSourceParentLink Text Source

Value is "analytics#webproperty".

GoalEventDetailsEventConditionsItem

goalEventDetailsEventConditionsItem :: GoalEventDetailsEventConditionsItem Source

Creates a value of GoalEventDetailsEventConditionsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gedeciMatchType :: Lens' GoalEventDetailsEventConditionsItem (Maybe Text) Source

Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.

gedeciType :: Lens' GoalEventDetailsEventConditionsItem (Maybe Text) Source

Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE.

gedeciComparisonType :: Lens' GoalEventDetailsEventConditionsItem (Maybe Text) Source

Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.

McfDataQuery

mcfDataQuery :: McfDataQuery Source

Creates a value of McfDataQuery with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mdqMetrics :: Lens' McfDataQuery [Text] Source

List of analytics metrics.

mdqSamplingLevel :: Lens' McfDataQuery (Maybe Text) Source

Desired sampling level

mdqFilters :: Lens' McfDataQuery (Maybe Text) Source

Comma-separated list of dimension or metric filters.

mdqIds :: Lens' McfDataQuery (Maybe Text) Source

Unique table ID.

mdqSort :: Lens' McfDataQuery [Text] Source

List of dimensions or metrics based on which Analytics data is sorted.

mdqDimensions :: Lens' McfDataQuery (Maybe Text) Source

List of analytics dimensions.

mdqMaxResults :: Lens' McfDataQuery (Maybe Int32) Source

Maximum results per page.

mdqSegment :: Lens' McfDataQuery (Maybe Text) Source

Analytics advanced segment.

Goal

data Goal Source

JSON template for Analytics goal resource.

See: goal smart constructor.

goaParentLink :: Lens' Goal (Maybe GoalParentLink) Source

Parent link for a goal. Points to the view (profile) to which this goal belongs.

goaWebPropertyId :: Lens' Goal (Maybe Text) Source

Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.

goaKind :: Lens' Goal Text Source

Resource type for an Analytics goal.

goaCreated :: Lens' Goal (Maybe UTCTime) Source

Time this goal was created.

goaProFileId :: Lens' Goal (Maybe Text) Source

View (Profile) ID to which this goal belongs.

goaEventDetails :: Lens' Goal (Maybe GoalEventDetails) Source

Details for the goal of the type EVENT.

goaActive :: Lens' Goal (Maybe Bool) Source

Determines whether this goal is active.

goaSelfLink :: Lens' Goal (Maybe Text) Source

Link for this goal.

goaVisitTimeOnSiteDetails :: Lens' Goal (Maybe GoalVisitTimeOnSiteDetails) Source

Details for the goal of the type VISIT_TIME_ON_SITE.

goaAccountId :: Lens' Goal (Maybe Text) Source

Account ID to which this goal belongs.

goaInternalWebPropertyId :: Lens' Goal (Maybe Text) Source

Internal ID for the web property to which this goal belongs.

goaURLDestinationDetails :: Lens' Goal (Maybe GoalURLDestinationDetails) Source

Details for the goal of the type URL_DESTINATION.

goaVisitNumPagesDetails :: Lens' Goal (Maybe GoalVisitNumPagesDetails) Source

Details for the goal of the type VISIT_NUM_PAGES.

goaUpdated :: Lens' Goal (Maybe UTCTime) Source

Time this goal was last modified.

goaType :: Lens' Goal (Maybe Text) Source

Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.

AccountTicket

data AccountTicket Source

JSON template for an Analytics account ticket. The account ticket consists of the ticket ID and the basic information for the account, property and profile.

See: accountTicket smart constructor.

accountTicket :: AccountTicket Source

Creates a value of AccountTicket with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

atRedirectURI :: Lens' AccountTicket (Maybe Text) Source

Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in APIs console as a callback URL.

atKind :: Lens' AccountTicket Text Source

Resource type for account ticket.

atProFile :: Lens' AccountTicket (Maybe ProFile) Source

View (Profile) for the account.

atAccount :: Lens' AccountTicket (Maybe Account) Source

Account for this ticket.

atWebProperty :: Lens' AccountTicket (Maybe WebProperty) Source

Web property for the account.

atId :: Lens' AccountTicket (Maybe Text) Source

Account ticket ID used to access the account ticket.

AccountSummary

data AccountSummary Source

JSON template for an Analytics AccountSummary. An AccountSummary is a lightweight tree comprised of properties/profiles.

See: accountSummary smart constructor.

accountSummary :: AccountSummary Source

Creates a value of AccountSummary with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

assKind :: Lens' AccountSummary Text Source

Resource type for Analytics AccountSummary.

assWebProperties :: Lens' AccountSummary [WebPropertySummary] Source

List of web properties under this account.

RealtimeDataQuery

realtimeDataQuery :: RealtimeDataQuery Source

Creates a value of RealtimeDataQuery with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rdqMetrics :: Lens' RealtimeDataQuery [Text] Source

List of real time metrics.

rdqFilters :: Lens' RealtimeDataQuery (Maybe Text) Source

Comma-separated list of dimension or metric filters.

rdqSort :: Lens' RealtimeDataQuery [Text] Source

List of dimensions or metrics based on which real time data is sorted.

rdqDimensions :: Lens' RealtimeDataQuery (Maybe Text) Source

List of real time dimensions.

rdqMaxResults :: Lens' RealtimeDataQuery (Maybe Int32) Source

Maximum results per page.

Columns

data Columns Source

Lists columns (dimensions and metrics) for a particular report type.

See: columns smart constructor.

columns :: Columns Source

Creates a value of Columns with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

colEtag :: Lens' Columns (Maybe Text) Source

Etag of collection. This etag can be compared with the last response etag to check if response has changed.

colKind :: Lens' Columns Text Source

Collection type.

colItems :: Lens' Columns [Column] Source

List of columns for a report type.

colTotalResults :: Lens' Columns (Maybe Int32) Source

Total number of columns returned in the response.

colAttributeNames :: Lens' Columns [Text] Source

List of attributes names returned by columns.

FilterLowercaseDetails

filterLowercaseDetails :: FilterLowercaseDetails Source

Creates a value of FilterLowercaseDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fldFieldIndex :: Lens' FilterLowercaseDetails (Maybe Int32) Source

The Index of the custom dimension. Required if field is a CUSTOM_DIMENSION.

fldField :: Lens' FilterLowercaseDetails (Maybe Text) Source

Field to use in the filter.

Filter

data Filter Source

JSON template for an Analytics account filter.

See: filter' smart constructor.

filParentLink :: Lens' Filter (Maybe FilterParentLink) Source

Parent link for this filter. Points to the account to which this filter belongs.

filAdvancedDetails :: Lens' Filter (Maybe FilterAdvancedDetails) Source

Details for the filter of the type ADVANCED.

filUppercaseDetails :: Lens' Filter (Maybe FilterUppercaseDetails) Source

Details for the filter of the type UPPER.

filLowercaseDetails :: Lens' Filter (Maybe FilterLowercaseDetails) Source

Details for the filter of the type LOWER.

filKind :: Lens' Filter Text Source

Resource type for Analytics filter.

filCreated :: Lens' Filter (Maybe UTCTime) Source

Time this filter was created.

filIncludeDetails :: Lens' Filter (Maybe FilterExpression) Source

Details for the filter of the type INCLUDE.

filExcludeDetails :: Lens' Filter (Maybe FilterExpression) Source

Details for the filter of the type EXCLUDE.

filSelfLink :: Lens' Filter (Maybe Text) Source

Link for this filter.

filAccountId :: Lens' Filter (Maybe Text) Source

Account ID to which this filter belongs.

filName :: Lens' Filter (Maybe Text) Source

Name of this filter.

filUpdated :: Lens' Filter (Maybe UTCTime) Source

Time this filter was last modified.

filType :: Lens' Filter (Maybe Text) Source

Type of this filter. Possible values are INCLUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.

filSearchAndReplaceDetails :: Lens' Filter (Maybe FilterSearchAndReplaceDetails) Source

Details for the filter of the type SEARCH_AND_REPLACE.

Uploads

data Uploads Source

Upload collection lists Analytics uploads to which the user has access. Each custom data source can have a set of uploads. Each resource in the upload collection corresponds to a single Analytics data upload.

See: uploads smart constructor.

uploads :: Uploads Source

Creates a value of Uploads with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

uplNextLink :: Lens' Uploads (Maybe Text) Source

Link to next page for this upload collection.

uplItemsPerPage :: Lens' Uploads (Maybe Int32) Source

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

uplKind :: Lens' Uploads Text Source

Collection type.

uplItems :: Lens' Uploads [Upload] Source

A list of uploads.

uplTotalResults :: Lens' Uploads (Maybe Int32) Source

The total number of results for the query, regardless of the number of resources in the result.

uplStartIndex :: Lens' Uploads (Maybe Int32) Source

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

uplPreviousLink :: Lens' Uploads (Maybe Text) Source

Link to previous page for this upload collection.

CustomDimensions

data CustomDimensions Source

A custom dimension collection lists Analytics custom dimensions to which the user has access. Each resource in the collection corresponds to a single Analytics custom dimension.

See: customDimensions smart constructor.

customDimensions :: CustomDimensions Source

Creates a value of CustomDimensions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cdNextLink :: Lens' CustomDimensions (Maybe Text) Source

Link to next page for this custom dimension collection.

cdItemsPerPage :: Lens' CustomDimensions (Maybe Int32) Source

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

cdUsername :: Lens' CustomDimensions (Maybe Text) Source

Email ID of the authenticated user

cdItems :: Lens' CustomDimensions [CustomDimension] Source

Collection of custom dimensions.

cdTotalResults :: Lens' CustomDimensions (Maybe Int32) Source

The total number of results for the query, regardless of the number of results in the response.

cdStartIndex :: Lens' CustomDimensions (Maybe Int32) Source

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

cdPreviousLink :: Lens' CustomDimensions (Maybe Text) Source

Link to previous page for this custom dimension collection.

Segments

data Segments Source

An segment collection lists Analytics segments that the user has access to. Each resource in the collection corresponds to a single Analytics segment.

See: segments smart constructor.

segments :: Segments Source

Creates a value of Segments with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sNextLink :: Lens' Segments (Maybe Text) Source

Link to next page for this segment collection.

sItemsPerPage :: Lens' Segments (Maybe Int32) Source

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

sKind :: Lens' Segments Text Source

Collection type for segments.

sUsername :: Lens' Segments (Maybe Text) Source

Email ID of the authenticated user

sItems :: Lens' Segments [Segment] Source

A list of segments.

sTotalResults :: Lens' Segments (Maybe Int32) Source

The total number of results for the query, regardless of the number of results in the response.

sStartIndex :: Lens' Segments (Maybe Int32) Source

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

sPreviousLink :: Lens' Segments (Maybe Text) Source

Link to previous page for this segment collection.

GaDataDataTable

gaDataDataTable :: GaDataDataTable Source

Creates a value of GaDataDataTable with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

EntityAdWordsLinkEntity

entityAdWordsLinkEntity :: EntityAdWordsLinkEntity Source

Creates a value of EntityAdWordsLinkEntity with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

GoalURLDestinationDetails

goalURLDestinationDetails :: GoalURLDestinationDetails Source

Creates a value of GoalURLDestinationDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

guddMatchType :: Lens' GoalURLDestinationDetails (Maybe Text) Source

Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX.

guddSteps :: Lens' GoalURLDestinationDetails [GoalURLDestinationDetailsStepsItem] Source

List of steps configured for this goal funnel.

guddCaseSensitive :: Lens' GoalURLDestinationDetails (Maybe Bool) Source

Determines if the goal URL must exactly match the capitalization of visited URLs.

guddFirstStepRequired :: Lens' GoalURLDestinationDetails (Maybe Bool) Source

Determines if the first step in this goal is required.

ProFileFilterLinks

data ProFileFilterLinks Source

A profile filter link collection lists profile filter links between profiles and filters. Each resource in the collection corresponds to a profile filter link.

See: proFileFilterLinks smart constructor.

proFileFilterLinks :: ProFileFilterLinks Source

Creates a value of ProFileFilterLinks with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pfflNextLink :: Lens' ProFileFilterLinks (Maybe Text) Source

Link to next page for this profile filter link collection.

pfflItemsPerPage :: Lens' ProFileFilterLinks (Maybe Int32) Source

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

pfflUsername :: Lens' ProFileFilterLinks (Maybe Text) Source

Email ID of the authenticated user

pfflItems :: Lens' ProFileFilterLinks [ProFileFilterLink] Source

A list of profile filter links.

pfflTotalResults :: Lens' ProFileFilterLinks (Maybe Int32) Source

The total number of results for the query, regardless of the number of results in the response.

pfflStartIndex :: Lens' ProFileFilterLinks (Maybe Int32) Source

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

pfflPreviousLink :: Lens' ProFileFilterLinks (Maybe Text) Source

Link to previous page for this profile filter link collection.

WebPropertyParentLink

webPropertyParentLink :: WebPropertyParentLink Source

Creates a value of WebPropertyParentLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wpplHref :: Lens' WebPropertyParentLink (Maybe Text) Source

Link to the account for this web property.

wpplType :: Lens' WebPropertyParentLink Text Source

Type of the parent link. Its value is "analytics#account".

GaDataProFileInfo

gaDataProFileInfo :: GaDataProFileInfo Source

Creates a value of GaDataProFileInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gdpfiWebPropertyId :: Lens' GaDataProFileInfo (Maybe Text) Source

Web Property ID to which this view (profile) belongs.

gdpfiAccountId :: Lens' GaDataProFileInfo (Maybe Text) Source

Account ID to which this view (profile) belongs.

gdpfiInternalWebPropertyId :: Lens' GaDataProFileInfo (Maybe Text) Source

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

gdpfiTableId :: Lens' GaDataProFileInfo (Maybe Text) Source

Table ID for view (profile).

Upload

data Upload Source

Metadata returned for an upload operation.

See: upload smart constructor.

upload :: Upload Source

Creates a value of Upload with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

uuStatus :: Lens' Upload (Maybe Text) Source

Upload status. Possible values: PENDING, COMPLETED, FAILED, DELETING, DELETED.

uuKind :: Lens' Upload Text Source

Resource type for Analytics upload.

uuCustomDataSourceId :: Lens' Upload (Maybe Text) Source

Custom data source Id to which this data import belongs.

uuAccountId :: Lens' Upload (Maybe Int64) Source

Account Id to which this upload belongs.

uuId :: Lens' Upload (Maybe Text) Source

A unique ID for this upload.

uuErrors :: Lens' Upload [Text] Source

Data import errors collection.

DataMcfGetSamplingLevel

data DataMcfGetSamplingLevel Source

The desired sampling level.

Constructors

DMGSLDefault

DEFAULT Returns response with a sample size that balances speed and accuracy.

DMGSLFaster

FASTER Returns a fast response with a smaller sample size.

DMGSLHigherPrecision

HIGHER_PRECISION Returns a more accurate response using a large sample size, but this may result in the response being slower.

CustomDimension

customDimension :: CustomDimension Source

Creates a value of CustomDimension with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cddParentLink :: Lens' CustomDimension (Maybe CustomDimensionParentLink) Source

Parent link for the custom dimension. Points to the property to which the custom dimension belongs.

cddKind :: Lens' CustomDimension Text Source

Kind value for a custom dimension. Set to "analytics#customDimension". It is a read-only field.

cddCreated :: Lens' CustomDimension (Maybe UTCTime) Source

Time the custom dimension was created.

cddActive :: Lens' CustomDimension (Maybe Bool) Source

Boolean indicating whether the custom dimension is active.

cddSelfLink :: Lens' CustomDimension (Maybe Text) Source

Link for the custom dimension

cddName :: Lens' CustomDimension (Maybe Text) Source

Name of the custom dimension.

cddScope :: Lens' CustomDimension (Maybe Text) Source

Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.

cddId :: Lens' CustomDimension (Maybe Text) Source

Custom dimension ID.

cddUpdated :: Lens' CustomDimension (Maybe UTCTime) Source

Time the custom dimension was last modified.

cddIndex :: Lens' CustomDimension (Maybe Int32) Source

Index of the custom dimension.

Segment

data Segment Source

JSON template for an Analytics segment.

See: segment smart constructor.

segment :: Segment Source

Creates a value of Segment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

segDefinition :: Lens' Segment (Maybe Text) Source

Segment definition.

segKind :: Lens' Segment Text Source

Resource type for Analytics segment.

segCreated :: Lens' Segment (Maybe UTCTime) Source

Time the segment was created.

segSelfLink :: Lens' Segment (Maybe Text) Source

Link for this segment.

segName :: Lens' Segment (Maybe Text) Source

Segment name.

segUpdated :: Lens' Segment (Maybe UTCTime) Source

Time the segment was last modified.

segType :: Lens' Segment (Maybe Text) Source

Type for a segment. Possible values are "BUILT_IN" or "CUSTOM".

segSegmentId :: Lens' Segment (Maybe Text) Source

Segment ID. Can be used with the 'segment' parameter in Core Reporting API.

AccountChildLink

data AccountChildLink Source

Child link for an account entry. Points to the list of web properties for this account.

See: accountChildLink smart constructor.

accountChildLink :: AccountChildLink Source

Creates a value of AccountChildLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aclHref :: Lens' AccountChildLink (Maybe Text) Source

Link to the list of web properties for this account.

aclType :: Lens' AccountChildLink Text Source

Type of the child link. Its value is "analytics#webproperties".

ProFileFilterLink

proFileFilterLink :: ProFileFilterLink Source

Creates a value of ProFileFilterLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

proProFileRef :: Lens' ProFileFilterLink (Maybe ProFileRef) Source

View (Profile) for this link.

proKind :: Lens' ProFileFilterLink Text Source

Resource type for Analytics filter.

proSelfLink :: Lens' ProFileFilterLink (Maybe Text) Source

Link for this profile filter link.

proId :: Lens' ProFileFilterLink (Maybe Text) Source

Profile filter link ID.

proRank :: Lens' ProFileFilterLink (Maybe Int32) Source

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.

CustomMetricParentLink

customMetricParentLink :: CustomMetricParentLink Source

Creates a value of CustomMetricParentLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cmplHref :: Lens' CustomMetricParentLink (Maybe Text) Source

Link to the property to which the custom metric belongs.

cmplType :: Lens' CustomMetricParentLink Text Source

Type of the parent link. Set to "analytics#webproperty".

Column

data Column Source

JSON template for a metadata column.

See: column smart constructor.

column :: Column Source

Creates a value of Column with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ccKind :: Lens' Column Text Source

Resource type for Analytics column.

ccAttributes :: Lens' Column (Maybe ColumnAttributes) Source

Map of attribute name and value for this column.

ccId :: Lens' Column (Maybe Text) Source

Column id.

GaDataDataTableColsItem

gaDataDataTableColsItem :: GaDataDataTableColsItem Source

Creates a value of GaDataDataTableColsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ExperimentVariationsItem

experimentVariationsItem :: ExperimentVariationsItem Source

Creates a value of ExperimentVariationsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eviStatus :: Lens' ExperimentVariationsItem (Maybe Text) Source

Status of the variation. Possible values: "ACTIVE", "INACTIVE". INACTIVE variations are not served. This field may not be changed for an experiment whose status is ENDED.

eviWeight :: Lens' ExperimentVariationsItem (Maybe Double) Source

Weight that this variation should receive. Only present if the experiment is running. This field is read-only.

eviURL :: Lens' ExperimentVariationsItem (Maybe Text) Source

The URL of the variation. This field may not be changed for an experiment whose status is RUNNING or ENDED.

eviWon :: Lens' ExperimentVariationsItem (Maybe Bool) Source

True if the experiment has ended and this variation performed (statistically) significantly better than the original. This field is read-only.

eviName :: Lens' ExperimentVariationsItem (Maybe Text) Source

The name of the variation. This field is required when creating an experiment. This field may not be changed for an experiment whose status is ENDED.

McfDataTotalsForAllResults

data McfDataTotalsForAllResults Source

Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.

See: mcfDataTotalsForAllResults smart constructor.

mcfDataTotalsForAllResults Source

Creates a value of McfDataTotalsForAllResults with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mdtfarAddtional :: Lens' McfDataTotalsForAllResults (HashMap Text Text) Source

Key-value pair for the total value of a metric. Key is the metric name and the value is the total value for that metric.

UnSampledReportCloudStorageDownloadDetails

unSampledReportCloudStorageDownloadDetails :: UnSampledReportCloudStorageDownloadDetails Source

Creates a value of UnSampledReportCloudStorageDownloadDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

usrcsddObjectId :: Lens' UnSampledReportCloudStorageDownloadDetails (Maybe Text) Source

Id of the file object containing the report data.

usrcsddBucketId :: Lens' UnSampledReportCloudStorageDownloadDetails (Maybe Text) Source

Id of the bucket the file object is stored in.

ProFileChildLink

data ProFileChildLink Source

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

See: proFileChildLink smart constructor.

proFileChildLink :: ProFileChildLink Source

Creates a value of ProFileChildLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pfclHref :: Lens' ProFileChildLink (Maybe Text) Source

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

pfclType :: Lens' ProFileChildLink Text Source

Value is "analytics#goals".

GaDataColumnHeadersItem

gaDataColumnHeadersItem :: GaDataColumnHeadersItem Source

Creates a value of GaDataColumnHeadersItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gdchiColumnType :: Lens' GaDataColumnHeadersItem (Maybe Text) Source

Column Type. Either DIMENSION or METRIC.

gdchiDataType :: Lens' GaDataColumnHeadersItem (Maybe Text) Source

Data type. Dimension column headers have only STRING as the data type. Metric column headers have data types for metric values such as INTEGER, DOUBLE, CURRENCY etc.

GoalParentLink

data GoalParentLink Source

Parent link for a goal. Points to the view (profile) to which this goal belongs.

See: goalParentLink smart constructor.

goalParentLink :: GoalParentLink Source

Creates a value of GoalParentLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gplHref :: Lens' GoalParentLink (Maybe Text) Source

Link to the view (profile) to which this goal belongs.

gplType :: Lens' GoalParentLink Text Source

Value is "analytics#profile".

ColumnAttributes

columnAttributes Source

Creates a value of ColumnAttributes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

caAddtional :: Lens' ColumnAttributes (HashMap Text Text) Source

The name of the attribute.