"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
"description":"Returns Analytics data for a view (profile).",
"httpMethod":"GET",
"id":"analytics.data.ga.get",
"parameterOrder":[
"ids",
"start-date",
"end-date",
"metrics"
],
"parameters":{
"dimensions":{
"description":"A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.",
"location":"query",
"pattern":"(ga:.+)?",
"type":"string"
},
"end-date":{
"description":"End date for fetching Analytics data. Request can should specify an end date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is yesterday.",
"description":"A comma-separated list of dimension or metric filters to be applied to Analytics data.",
"location":"query",
"pattern":"ga:.+",
"type":"string"
},
"ids":{
"description":"Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.",
"location":"query",
"pattern":"ga:[0-9]+",
"required":true,
"type":"string"
},
"include-empty-rows":{
"description":"The response will include empty rows if this parameter is set to true, the default is true",
"location":"query",
"type":"boolean"
},
"max-results":{
"description":"The maximum number of entries to include in this feed.",
"format":"int32",
"location":"query",
"type":"integer"
},
"metrics":{
"description":"A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one metric must be specified.",
"location":"query",
"pattern":"ga:.+",
"required":true,
"type":"string"
},
"output":{
"description":"The selected format for the response. Default format is JSON.",
"enum":[
"dataTable",
"json"
],
"enumDescriptions":[
"Returns the response in Google Charts Data Table format. This is useful in creating visualization using Google Charts.",
"Returns the response in standard JSON format."
],
"location":"query",
"type":"string"
},
"samplingLevel":{
"description":"The desired sampling level.",
"enum":[
"DEFAULT",
"FASTER",
"HIGHER_PRECISION"
],
"enumDescriptions":[
"Returns response with a sample size that balances speed and accuracy.",
"Returns a fast response with a smaller sample size.",
"Returns a more accurate response using a large sample size, but this may result in the response being slower."
],
"location":"query",
"type":"string"
},
"segment":{
"description":"An Analytics segment to be applied to data.",
"location":"query",
"type":"string"
},
"sort":{
"description":"A comma-separated list of dimensions or metrics that determine the sort order for Analytics data.",
"location":"query",
"pattern":"(-)?ga:.+",
"type":"string"
},
"start-date":{
"description":"Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.",
"description":"Returns Analytics Multi-Channel Funnels data for a view (profile).",
"httpMethod":"GET",
"id":"analytics.data.mcf.get",
"parameterOrder":[
"ids",
"start-date",
"end-date",
"metrics"
],
"parameters":{
"dimensions":{
"description":"A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.",
"location":"query",
"pattern":"(mcf:.+)?",
"type":"string"
},
"end-date":{
"description":"End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.",
"description":"A comma-separated list of dimension or metric filters to be applied to the Analytics data.",
"location":"query",
"pattern":"mcf:.+",
"type":"string"
},
"ids":{
"description":"Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.",
"location":"query",
"pattern":"ga:[0-9]+",
"required":true,
"type":"string"
},
"max-results":{
"description":"The maximum number of entries to include in this feed.",
"format":"int32",
"location":"query",
"type":"integer"
},
"metrics":{
"description":"A comma-separated list of Multi-Channel Funnels metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.",
"location":"query",
"pattern":"mcf:.+",
"required":true,
"type":"string"
},
"samplingLevel":{
"description":"The desired sampling level.",
"enum":[
"DEFAULT",
"FASTER",
"HIGHER_PRECISION"
],
"enumDescriptions":[
"Returns response with a sample size that balances speed and accuracy.",
"Returns a fast response with a smaller sample size.",
"Returns a more accurate response using a large sample size, but this may result in the response being slower."
],
"location":"query",
"type":"string"
},
"sort":{
"description":"A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data.",
"location":"query",
"pattern":"(-)?mcf:.+",
"type":"string"
},
"start-date":{
"description":"Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.",
"description":"Account ID to retrieve the user links for.",
"location":"path",
"required":true,
"type":"string"
},
"max-results":{
"description":"The maximum number of account-user links to include in this response.",
"format":"int32",
"location":"query",
"type":"integer"
},
"start-index":{
"description":"An index of the first account-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.",
"description":"Account Id for the custom data sources to retrieve.",
"location":"path",
"pattern":"\\d+",
"required":true,
"type":"string"
},
"max-results":{
"description":"The maximum number of custom data sources to include in this response.",
"format":"int32",
"location":"query",
"minimum":"1",
"type":"integer"
},
"start-index":{
"description":"A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.",
"format":"int32",
"location":"query",
"minimum":"1",
"type":"integer"
},
"webPropertyId":{
"description":"Web property Id for the custom data sources to retrieve.",
"description":"Lists goals to which the user has access.",
"httpMethod":"GET",
"id":"analytics.management.goals.list",
"parameterOrder":[
"accountId",
"webPropertyId",
"profileId"
],
"parameters":{
"accountId":{
"description":"Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to.",
"location":"path",
"required":true,
"type":"string"
},
"max-results":{
"description":"The maximum number of goals to include in this response.",
"format":"int32",
"location":"query",
"type":"integer"
},
"profileId":{
"description":"View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all', which refers to all the views (profiles) that user has access to.",
"location":"path",
"required":true,
"type":"string"
},
"start-index":{
"description":"An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.",
"format":"int32",
"location":"query",
"minimum":"1",
"type":"integer"
},
"webPropertyId":{
"description":"Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.",
"description":"Account ID to retrieve profile filter links for.",
"location":"path",
"pattern":"\\d+",
"required":true,
"type":"string"
},
"max-results":{
"description":"The maximum number of profile filter links to include in this response.",
"format":"int32",
"location":"query",
"type":"integer"
},
"profileId":{
"description":"Profile ID to retrieve filter links for. Can either be a specific profile ID or '~all', which refers to all the profiles that user has access to.",
"location":"path",
"required":true,
"type":"string"
},
"start-index":{
"description":"An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.",
"format":"int32",
"location":"query",
"minimum":"1",
"type":"integer"
},
"webPropertyId":{
"description":"Web property Id for profile filter links for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.",
"description":"Account ID which the given view (profile) belongs to.",
"location":"path",
"required":true,
"type":"string"
},
"max-results":{
"description":"The maximum number of profile-user links to include in this response.",
"format":"int32",
"location":"query",
"type":"integer"
},
"profileId":{
"description":"View (Profile) ID to retrieve the profile-user links for. Can either be a specific profile ID or '~all', which refers to all the profiles that user has access to.",
"location":"path",
"required":true,
"type":"string"
},
"start-index":{
"description":"An index of the first profile-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.",
"format":"int32",
"location":"query",
"minimum":"1",
"type":"integer"
},
"webPropertyId":{
"description":"Web Property ID which the given view (profile) belongs to. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.",
"description":"Lists views (profiles) to which the user has access.",
"httpMethod":"GET",
"id":"analytics.management.profiles.list",
"parameterOrder":[
"accountId",
"webPropertyId"
],
"parameters":{
"accountId":{
"description":"Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all', which refers to all the accounts to which the user has access.",
"location":"path",
"required":true,
"type":"string"
},
"max-results":{
"description":"The maximum number of views (profiles) to include in this response.",
"format":"int32",
"location":"query",
"type":"integer"
},
"start-index":{
"description":"An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.",
"format":"int32",
"location":"query",
"minimum":"1",
"type":"integer"
},
"webPropertyId":{
"description":"Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties to which the user has access.",
"description":"Account ID to retrieve unsampled reports for. Must be a specific account ID, ~all is not supported.",
"location":"path",
"required":true,
"type":"string"
},
"max-results":{
"description":"The maximum number of unsampled reports to include in this response.",
"format":"int32",
"location":"query",
"type":"integer"
},
"profileId":{
"description":"View (Profile) ID to retrieve unsampled reports for. Must be a specific view (profile) ID, ~all is not supported.",
"location":"path",
"required":true,
"type":"string"
},
"start-index":{
"description":"An index of the first unsampled report to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.",
"format":"int32",
"location":"query",
"minimum":"1",
"type":"integer"
},
"webPropertyId":{
"description":"Web property ID to retrieve unsampled reports for. Must be a specific web property ID, ~all is not supported.",
"description":"ID of the account which the given web property belongs to.",
"location":"path",
"pattern":"\\d+",
"required":true,
"type":"string"
},
"max-results":{
"description":"The maximum number of webProperty-AdWords links to include in this response.",
"format":"int32",
"location":"query",
"type":"integer"
},
"start-index":{
"description":"An index of the first webProperty-AdWords link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.",
"format":"int32",
"location":"query",
"minimum":"1",
"type":"integer"
},
"webPropertyId":{
"description":"Web property ID to retrieve the AdWords links for.",
"description":"Create a new property if the account has fewer than 20 properties. Web properties are visible in the Google Analytics interface only if they have at least one profile.",
"httpMethod":"POST",
"id":"analytics.management.webproperties.insert",
"parameterOrder":[
"accountId"
],
"parameters":{
"accountId":{
"description":"Account ID to create the web property for.",
"description":"Lists web properties to which the user has access.",
"httpMethod":"GET",
"id":"analytics.management.webproperties.list",
"parameterOrder":[
"accountId"
],
"parameters":{
"accountId":{
"description":"Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to.",
"location":"path",
"required":true,
"type":"string"
},
"max-results":{
"description":"The maximum number of web properties to include in this response.",
"format":"int32",
"location":"query",
"type":"integer"
},
"start-index":{
"description":"An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.",
"description":"Account ID which the given web property belongs to.",
"location":"path",
"required":true,
"type":"string"
},
"max-results":{
"description":"The maximum number of webProperty-user Links to include in this response.",
"format":"int32",
"location":"query",
"type":"integer"
},
"start-index":{
"description":"An index of the first webProperty-user link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.",
"format":"int32",
"location":"query",
"minimum":"1",
"type":"integer"
},
"webPropertyId":{
"description":"Web Property ID for the webProperty-user links to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.",
"description":"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.",
"id":"AccountSummaries",
"properties":{
"items":{
"description":"A list of AccountSummaries.",
"items":{
"$ref":"AccountSummary"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"format":"int32",
"type":"integer"
},
"kind":{
"default":"analytics#accountSummaries",
"description":"Collection type.",
"type":"string"
},
"nextLink":{
"description":"Link to next page for this AccountSummary collection.",
"type":"string"
},
"previousLink":{
"description":"Link to previous page for this AccountSummary collection.",
"type":"string"
},
"startIndex":{
"description":"The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.",
"format":"int32",
"type":"integer"
},
"totalResults":{
"description":"The total number of results for the query, regardless of the number of results in the response.",
"format":"int32",
"type":"integer"
},
"username":{
"description":"Email ID of the authenticated user",
"description":"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.",
"id":"AccountTicket",
"properties":{
"account":{
"$ref":"Account",
"description":"Account for this ticket."
},
"id":{
"description":"Account ticket ID used to access the account ticket.",
"type":"string"
},
"kind":{
"default":"analytics#accountTicket",
"description":"Resource type for account ticket.",
"type":"string"
},
"profile":{
"$ref":"Profile",
"description":"View (Profile) for the account."
},
"redirectUri":{
"description":"Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in APIs console as a callback URL.",
"description":"JSON template for an Analytics account tree requests. The account tree request is used in the provisioning api to create an account, property, and view (profile). It contains the basic information required to make these fields.",
"id":"AccountTreeRequest",
"properties":{
"accountName":{
"annotations":{
"required":[
"analytics.provisioning.createAccountTree"
]
},
"type":"string"
},
"accountSettings":{
"properties":{
"admobReporting":{
"type":"boolean"
},
"sharingWithGoogleAnySales":{
"type":"boolean"
},
"sharingWithGoogleProducts":{
"type":"boolean"
},
"sharingWithGoogleSales":{
"type":"boolean"
},
"sharingWithGoogleSupport":{
"type":"boolean"
},
"sharingWithOthers":{
"type":"boolean"
}
},
"type":"object"
},
"kind":{
"default":"analytics#accountTreeRequest",
"description":"Resource type for account ticket.",
"description":"JSON template for an Analytics account tree response. The account tree response is used in the provisioning api to return the result of creating an account, property, and view (profile).",
"id":"AccountTreeResponse",
"properties":{
"account":{
"$ref":"Account",
"description":"The account created."
},
"accountSettings":{
"properties":{
"admobReporting":{
"type":"boolean"
},
"sharingWithGoogleAnySales":{
"type":"boolean"
},
"sharingWithGoogleProducts":{
"type":"boolean"
},
"sharingWithGoogleSales":{
"type":"boolean"
},
"sharingWithGoogleSupport":{
"type":"boolean"
},
"sharingWithOthers":{
"type":"boolean"
}
},
"type":"object"
},
"kind":{
"default":"analytics#accountTreeResponse",
"description":"Resource type for account ticket.",
"description":"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.",
"id":"Accounts",
"properties":{
"items":{
"description":"A list of accounts.",
"items":{
"$ref":"Account"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"format":"int32",
"type":"integer"
},
"kind":{
"default":"analytics#accounts",
"description":"Collection type.",
"type":"string"
},
"nextLink":{
"description":"Next link for this account collection.",
"type":"string"
},
"previousLink":{
"description":"Previous link for this account collection.",
"type":"string"
},
"startIndex":{
"description":"The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.",
"format":"int32",
"type":"integer"
},
"totalResults":{
"description":"The total number of results for the query, regardless of the number of results in the response.",
"format":"int32",
"type":"integer"
},
"username":{
"description":"Email ID of the authenticated user",
"description":"Lists Analytics custom data sources to which the user has access. Each resource in the collection corresponds to a single Analytics custom data source.",
"id":"CustomDataSources",
"properties":{
"items":{
"description":"Collection of custom data sources.",
"items":{
"$ref":"CustomDataSource"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"format":"int32",
"type":"integer"
},
"kind":{
"default":"analytics#customDataSources",
"description":"Collection type.",
"type":"string"
},
"nextLink":{
"description":"Link to next page for this custom data source collection.",
"type":"string"
},
"previousLink":{
"description":"Link to previous page for this custom data source collection.",
"type":"string"
},
"startIndex":{
"description":"The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.",
"format":"int32",
"type":"integer"
},
"totalResults":{
"description":"The total number of results for the query, regardless of the number of results in the response.",
"format":"int32",
"type":"integer"
},
"username":{
"description":"Email ID of the authenticated user",
"description":"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.",
"id":"CustomDimensions",
"properties":{
"items":{
"description":"Collection of custom dimensions.",
"items":{
"$ref":"CustomDimension"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"format":"int32",
"type":"integer"
},
"kind":{
"default":"analytics#customDimensions",
"description":"Collection type.",
"type":"string"
},
"nextLink":{
"description":"Link to next page for this custom dimension collection.",
"type":"string"
},
"previousLink":{
"description":"Link to previous page for this custom dimension collection.",
"type":"string"
},
"startIndex":{
"description":"The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.",
"format":"int32",
"type":"integer"
},
"totalResults":{
"description":"The total number of results for the query, regardless of the number of results in the response.",
"format":"int32",
"type":"integer"
},
"username":{
"description":"Email ID of the authenticated user",
"description":"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.",
"id":"CustomMetrics",
"properties":{
"items":{
"description":"Collection of custom metrics.",
"items":{
"$ref":"CustomMetric"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"format":"int32",
"type":"integer"
},
"kind":{
"default":"analytics#customMetrics",
"description":"Collection type.",
"type":"string"
},
"nextLink":{
"description":"Link to next page for this custom metric collection.",
"type":"string"
},
"previousLink":{
"description":"Link to previous page for this custom metric collection.",
"type":"string"
},
"startIndex":{
"description":"The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.",
"format":"int32",
"type":"integer"
},
"totalResults":{
"description":"The total number of results for the query, regardless of the number of results in the response.",
"format":"int32",
"type":"integer"
},
"username":{
"description":"Email ID of the authenticated user",
"description":"A list of AdWords client accounts. These cannot be MCC accounts. This field is required when creating an AdWords link. It cannot be empty.",
"items":{
"$ref":"AdWordsAccount"
},
"type":"array"
},
"entity":{
"description":"Web property being linked.",
"properties":{
"webPropertyRef":{
"$ref":"WebPropertyRef"
}
},
"type":"object"
},
"id":{
"description":"Entity AdWords link ID",
"type":"string"
},
"kind":{
"default":"analytics#entityAdWordsLink",
"description":"Resource type for entity AdWords link.",
"description":"An entity AdWords link collection provides a list of GA-AdWords links Each resource in this collection corresponds to a single link.",
"id":"EntityAdWordsLinks",
"properties":{
"items":{
"description":"A list of entity AdWords links.",
"items":{
"$ref":"EntityAdWordsLink"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"format":"int32",
"type":"integer"
},
"kind":{
"default":"analytics#entityAdWordsLinks",
"description":"Collection type.",
"type":"string"
},
"nextLink":{
"description":"Next link for this AdWords link collection.",
"type":"string"
},
"previousLink":{
"description":"Previous link for this AdWords link collection.",
"type":"string"
},
"startIndex":{
"description":"The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.",
"format":"int32",
"type":"integer"
},
"totalResults":{
"description":"The total number of results for the query, regardless of the number of results in the response.",
"description":"JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.",
"id":"EntityUserLink",
"properties":{
"entity":{
"description":"Entity for this link. It can be an account, a web property, or a view (profile).",
"properties":{
"accountRef":{
"$ref":"AccountRef",
"description":"Account for this link."
},
"profileRef":{
"$ref":"ProfileRef",
"description":"View (Profile) for this link."
},
"webPropertyRef":{
"$ref":"WebPropertyRef",
"description":"Web property for this link."
}
},
"type":"object"
},
"id":{
"description":"Entity user link ID",
"type":"string"
},
"kind":{
"default":"analytics#entityUserLink",
"description":"Resource type for entity user link.",
"type":"string"
},
"permissions":{
"description":"Permissions the user has for this entity.",
"properties":{
"effective":{
"description":"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.",
"items":{
"type":"string"
},
"readOnly":true,
"type":"array"
},
"local":{
"description":"Permissions that a user has been assigned at this very level. Does not include any implied or inherited permissions. Local permissions are modifiable.",
"description":"An entity user link collection provides a list of Analytics ACL links Each resource in this collection corresponds to a single link.",
"id":"EntityUserLinks",
"properties":{
"items":{
"description":"A list of entity user links.",
"items":{
"$ref":"EntityUserLink"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"format":"int32",
"type":"integer"
},
"kind":{
"default":"analytics#entityUserLinks",
"description":"Collection type.",
"type":"string"
},
"nextLink":{
"description":"Next link for this account collection.",
"type":"string"
},
"previousLink":{
"description":"Previous link for this account collection.",
"type":"string"
},
"startIndex":{
"description":"The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.",
"format":"int32",
"type":"integer"
},
"totalResults":{
"description":"The total number of results for the query, regardless of the number of results in the response.",
"description":"Account ID to which this experiment belongs. This field is read-only.",
"type":"string"
},
"created":{
"description":"Time the experiment was created. This field is read-only.",
"format":"date-time",
"type":"string"
},
"description":{
"description":"Notes about this experiment.",
"type":"string"
},
"editableInGaUi":{
"description":"If true, the end user will be able to edit the experiment via the Google Analytics user interface.",
"type":"boolean"
},
"endTime":{
"description":"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.",
"format":"date-time",
"type":"string"
},
"equalWeighting":{
"description":"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.",
"type":"boolean"
},
"id":{
"annotations":{
"required":[
"analytics.management.experiments.patch",
"analytics.management.experiments.update"
]
},
"description":"Experiment ID. Required for patch and update. Disallowed for create.",
"type":"string"
},
"internalWebPropertyId":{
"description":"Internal ID for the web property to which this experiment belongs. This field is read-only.",
"type":"string"
},
"kind":{
"default":"analytics#experiment",
"description":"Resource type for an Analytics experiment. This field is read-only.",
"type":"string"
},
"minimumExperimentLengthInDays":{
"description":"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.",
"format":"int32",
"type":"integer"
},
"name":{
"annotations":{
"required":[
"analytics.management.experiments.insert",
"analytics.management.experiments.update"
]
},
"description":"Experiment name. This field may not be changed for an experiment whose status is ENDED. This field is required when creating an experiment.",
"type":"string"
},
"objectiveMetric":{
"description":"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\".",
"type":"string"
},
"optimizationType":{
"description":"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\".",
"type":"string"
},
"parentLink":{
"description":"Parent link for an experiment. Points to the view (profile) to which this experiment belongs.",
"description":"Link to the view (profile) to which this experiment belongs. This field is read-only.",
"type":"string"
},
"type":{
"default":"analytics#profile",
"description":"Value is \"analytics#profile\". This field is read-only.",
"type":"string"
}
},
"type":"object"
},
"profileId":{
"description":"View (Profile) ID to which this experiment belongs. This field is read-only.",
"type":"string"
},
"reasonExperimentEnded":{
"description":"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.",
"type":"string"
},
"rewriteVariationUrlsAsOriginal":{
"description":"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.",
"type":"boolean"
},
"selfLink":{
"description":"Link for this experiment. This field is read-only.",
"type":"string"
},
"servingFramework":{
"description":"The framework used to serve the experiment variations and evaluate the results. One of: \n- REDIRECT: Google Analytics redirects traffic to different variation pages, reports the chosen variation and evaluates the results.\n- API: Google Analytics chooses and reports the variation to serve and evaluates the results; the caller is responsible for serving the selected variation.\n- 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.",
"type":"string"
},
"snippet":{
"description":"The snippet of code to include on the control page(s). This field is read-only.",
"type":"string"
},
"startTime":{
"description":"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.",
"format":"date-time",
"type":"string"
},
"status":{
"annotations":{
"required":[
"analytics.management.experiments.insert",
"analytics.management.experiments.update"
]
},
"description":"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.",
"type":"string"
},
"trafficCoverage":{
"description":"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.",
"format":"double",
"type":"number"
},
"updated":{
"description":"Time the experiment was last modified. This field is read-only.",
"format":"date-time",
"type":"string"
},
"variations":{
"description":"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.",
"items":{
"properties":{
"name":{
"annotations":{
"required":[
"analytics.management.experiments.insert",
"analytics.management.experiments.update"
]
},
"description":"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.",
"type":"string"
},
"status":{
"description":"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.",
"type":"string"
},
"url":{
"description":"The URL of the variation. This field may not be changed for an experiment whose status is RUNNING or ENDED.",
"type":"string"
},
"weight":{
"description":"Weight that this variation should receive. Only present if the experiment is running. This field is read-only.",
"format":"double",
"type":"number"
},
"won":{
"description":"True if the experiment has ended and this variation performed (statistically) significantly better than the original. This field is read-only.",
"type":"boolean"
}
},
"type":"object"
},
"type":"array"
},
"webPropertyId":{
"description":"Web property ID to which this experiment belongs. The web property ID is of the form UA-XXXXX-YY. This field is read-only.",
"description":"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.",
"format":"double",
"type":"number"
},
"winnerFound":{
"description":"Boolean specifying whether a winner has been found for this experiment. This field is read-only.",
"description":"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.",
"description":"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.",
"description":"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.",
"description":"A filter collection lists filters created by users in an Analytics account. Each resource in the collection corresponds to a filter.",
"id":"Filters",
"properties":{
"items":{
"description":"A list of filters.",
"items":{
"$ref":"Filter"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"format":"int32",
"type":"integer"
},
"kind":{
"default":"analytics#filters",
"description":"Collection type.",
"type":"string"
},
"nextLink":{
"description":"Link to next page for this filter collection.",
"type":"string"
},
"previousLink":{
"description":"Link to previous page for this filter collection.",
"type":"string"
},
"startIndex":{
"description":"The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.",
"format":"int32",
"type":"integer"
},
"totalResults":{
"description":"The total number of results for the query, regardless of the number of results in the response.",
"format":"int32",
"type":"integer"
},
"username":{
"description":"Email ID of the authenticated user",
"description":"Analytics data for a given view (profile).",
"id":"GaData",
"properties":{
"columnHeaders":{
"description":"Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.",
"items":{
"properties":{
"columnType":{
"description":"Column Type. Either DIMENSION or METRIC.",
"type":"string"
},
"dataType":{
"description":"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.",
"type":"string"
},
"name":{
"description":"Column name.",
"type":"string"
}
},
"type":"object"
},
"type":"array"
},
"containsSampledData":{
"description":"Determines if Analytics data contains samples.",
"type":"boolean"
},
"dataLastRefreshed":{
"description":"The last refreshed time in seconds for Analytics data.",
"format":"int64",
"type":"string"
},
"dataTable":{
"properties":{
"cols":{
"items":{
"properties":{
"id":{
"type":"string"
},
"label":{
"type":"string"
},
"type":{
"type":"string"
}
},
"type":"object"
},
"type":"array"
},
"rows":{
"items":{
"properties":{
"c":{
"items":{
"properties":{
"v":{
"type":"string"
}
},
"type":"object"
},
"type":"array"
}
},
"type":"object"
},
"type":"array"
}
},
"type":"object"
},
"id":{
"description":"Unique ID for this data response.",
"type":"string"
},
"itemsPerPage":{
"description":"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.",
"format":"int32",
"type":"integer"
},
"kind":{
"default":"analytics#gaData",
"description":"Resource type.",
"type":"string"
},
"nextLink":{
"description":"Link to next page for this Analytics data query.",
"type":"string"
},
"previousLink":{
"description":"Link to previous page for this Analytics data query.",
"type":"string"
},
"profileInfo":{
"description":"Information for the view (profile), for which the Analytics data was requested.",
"properties":{
"accountId":{
"description":"Account ID to which this view (profile) belongs.",
"type":"string"
},
"internalWebPropertyId":{
"description":"Internal ID for the web property to which this view (profile) belongs.",
"type":"string"
},
"profileId":{
"description":"View (Profile) ID.",
"type":"string"
},
"profileName":{
"description":"View (Profile) name.",
"type":"string"
},
"tableId":{
"description":"Table ID for view (profile).",
"type":"string"
},
"webPropertyId":{
"description":"Web Property ID to which this view (profile) belongs.",
"type":"string"
}
},
"type":"object"
},
"query":{
"description":"Analytics data request query parameters.",
"properties":{
"dimensions":{
"description":"List of analytics dimensions.",
"type":"string"
},
"end-date":{
"description":"End date.",
"type":"string"
},
"filters":{
"description":"Comma-separated list of dimension or metric filters.",
"type":"string"
},
"ids":{
"description":"Unique table ID.",
"type":"string"
},
"max-results":{
"description":"Maximum results per page.",
"format":"int32",
"type":"integer"
},
"metrics":{
"description":"List of analytics metrics.",
"items":{
"type":"string"
},
"type":"array"
},
"samplingLevel":{
"description":"Desired sampling level",
"type":"string"
},
"segment":{
"description":"Analytics advanced segment.",
"type":"string"
},
"sort":{
"description":"List of dimensions or metrics based on which Analytics data is sorted.",
"items":{
"type":"string"
},
"type":"array"
},
"start-date":{
"description":"Start date.",
"type":"string"
},
"start-index":{
"description":"Start index.",
"format":"int32",
"type":"integer"
}
},
"type":"object"
},
"rows":{
"description":"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.",
"items":{
"items":{
"type":"string"
},
"type":"array"
},
"type":"array"
},
"sampleSize":{
"description":"The number of samples used to calculate the result.",
"format":"int64",
"type":"string"
},
"sampleSpace":{
"description":"Total size of the sample space from which the samples were selected.",
"format":"int64",
"type":"string"
},
"selfLink":{
"description":"Link to this page.",
"type":"string"
},
"totalResults":{
"description":"The total number of rows for the query, regardless of the number of rows in the response.",
"format":"int32",
"type":"integer"
},
"totalsForAllResults":{
"additionalProperties":{
"description":"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.",
"type":"string"
},
"description":"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.",
"description":"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.",
"id":"Goals",
"properties":{
"items":{
"description":"A list of goals.",
"items":{
"$ref":"Goal"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"format":"int32",
"type":"integer"
},
"kind":{
"default":"analytics#goals",
"description":"Collection type.",
"type":"string"
},
"nextLink":{
"description":"Link to next page for this goal collection.",
"type":"string"
},
"previousLink":{
"description":"Link to previous page for this goal collection.",
"type":"string"
},
"startIndex":{
"description":"The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.",
"format":"int32",
"type":"integer"
},
"totalResults":{
"description":"The total number of results for the query, regardless of the number of resources in the result.",
"format":"int32",
"type":"integer"
},
"username":{
"description":"Email ID of the authenticated user",
"type":"string"
}
},
"type":"object"
},
"IncludeConditions":{
"description":"JSON template for an Analytics Remarketing Include Conditions.",
"id":"IncludeConditions",
"properties":{
"daysToLookBack":{
"description":"The look-back window lets you specify a time frame for evaluating the behavior that qualifies users for your audience. For example, if your filters include users from Central Asia, and Transactions Greater than 2, and you set the look-back window to 14 days, then any user from Central Asia whose cumulative transactions exceed 2 during the last 14 days is added to the audience.",
"format":"int32",
"type":"integer"
},
"isSmartList":{
"description":"Boolean indicating whether this segment is a smart list. https://support.google.com/analytics/answer/4628577",
"type":"boolean"
},
"kind":{
"default":"analytics#includeConditions",
"description":"Resource type for include conditions.",
"type":"string"
},
"membershipDurationDays":{
"description":"Number of days (in the range 1 to 540) a user remains in the audience.",
"format":"int32",
"type":"integer"
},
"segment":{
"description":"The segment condition that will cause a user to be added to an audience.",
"description":"Multi-Channel Funnels data for a given view (profile).",
"id":"McfData",
"properties":{
"columnHeaders":{
"description":"Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.",
"items":{
"properties":{
"columnType":{
"description":"Column Type. Either DIMENSION or METRIC.",
"type":"string"
},
"dataType":{
"description":"Data type. Dimension and metric values data types such as INTEGER, DOUBLE, CURRENCY, MCF_SEQUENCE etc.",
"type":"string"
},
"name":{
"description":"Column name.",
"type":"string"
}
},
"type":"object"
},
"type":"array"
},
"containsSampledData":{
"description":"Determines if the Analytics data contains sampled data.",
"type":"boolean"
},
"id":{
"description":"Unique ID for this data response.",
"type":"string"
},
"itemsPerPage":{
"description":"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.",
"format":"int32",
"type":"integer"
},
"kind":{
"default":"analytics#mcfData",
"description":"Resource type.",
"type":"string"
},
"nextLink":{
"description":"Link to next page for this Analytics data query.",
"type":"string"
},
"previousLink":{
"description":"Link to previous page for this Analytics data query.",
"type":"string"
},
"profileInfo":{
"description":"Information for the view (profile), for which the Analytics data was requested.",
"properties":{
"accountId":{
"description":"Account ID to which this view (profile) belongs.",
"type":"string"
},
"internalWebPropertyId":{
"description":"Internal ID for the web property to which this view (profile) belongs.",
"type":"string"
},
"profileId":{
"description":"View (Profile) ID.",
"type":"string"
},
"profileName":{
"description":"View (Profile) name.",
"type":"string"
},
"tableId":{
"description":"Table ID for view (profile).",
"type":"string"
},
"webPropertyId":{
"description":"Web Property ID to which this view (profile) belongs.",
"type":"string"
}
},
"type":"object"
},
"query":{
"description":"Analytics data request query parameters.",
"properties":{
"dimensions":{
"description":"List of analytics dimensions.",
"type":"string"
},
"end-date":{
"description":"End date.",
"type":"string"
},
"filters":{
"description":"Comma-separated list of dimension or metric filters.",
"type":"string"
},
"ids":{
"description":"Unique table ID.",
"type":"string"
},
"max-results":{
"description":"Maximum results per page.",
"format":"int32",
"type":"integer"
},
"metrics":{
"description":"List of analytics metrics.",
"items":{
"type":"string"
},
"type":"array"
},
"samplingLevel":{
"description":"Desired sampling level",
"type":"string"
},
"segment":{
"description":"Analytics advanced segment.",
"type":"string"
},
"sort":{
"description":"List of dimensions or metrics based on which Analytics data is sorted.",
"items":{
"type":"string"
},
"type":"array"
},
"start-date":{
"description":"Start date.",
"type":"string"
},
"start-index":{
"description":"Start index.",
"format":"int32",
"type":"integer"
}
},
"type":"object"
},
"rows":{
"description":"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.",
"items":{
"items":{
"description":"A union object representing a dimension or metric value. Only one of \"primitiveValue\" or \"conversionPathValue\" attribute will be populated.",
"properties":{
"conversionPathValue":{
"description":"A conversion path dimension value, containing a list of interactions with their attributes.",
"items":{
"properties":{
"interactionType":{
"description":"Type of an interaction on conversion path. Such as CLICK, IMPRESSION etc.",
"type":"string"
},
"nodeValue":{
"description":"Node value of an interaction on conversion path. Such as source, medium etc.",
"type":"string"
}
},
"type":"object"
},
"type":"array"
},
"primitiveValue":{
"description":"A primitive dimension value. A primitive metric value.",
"type":"string"
}
},
"type":"object"
},
"type":"array"
},
"type":"array"
},
"sampleSize":{
"description":"The number of samples used to calculate the result.",
"format":"int64",
"type":"string"
},
"sampleSpace":{
"description":"Total size of the sample space from which the samples were selected.",
"format":"int64",
"type":"string"
},
"selfLink":{
"description":"Link to this page.",
"type":"string"
},
"totalResults":{
"description":"The total number of rows for the query, regardless of the number of rows in the response.",
"format":"int32",
"type":"integer"
},
"totalsForAllResults":{
"additionalProperties":{
"description":"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.",
"type":"string"
},
"description":"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.",
"description":"Default page for this view (profile).",
"type":"string"
},
"eCommerceTracking":{
"description":"Indicates whether ecommerce tracking is enabled for this view (profile).",
"type":"boolean"
},
"enhancedECommerceTracking":{
"description":"Indicates whether enhanced ecommerce tracking is enabled for this view (profile). This property can only be enabled if ecommerce tracking is enabled.",
"type":"boolean"
},
"excludeQueryParameters":{
"description":"The query parameters that are excluded from this view (profile).",
"type":"string"
},
"id":{
"description":"View (Profile) ID.",
"type":"string"
},
"internalWebPropertyId":{
"description":"Internal ID for the web property to which this view (profile) belongs.",
"readOnly":true,
"type":"string"
},
"kind":{
"default":"analytics#profile",
"description":"Resource type for Analytics view (profile).",
"readOnly":true,
"type":"string"
},
"name":{
"description":"Name of this view (profile).",
"type":"string"
},
"parentLink":{
"description":"Parent link for this view (profile). Points to the web property to which this view (profile) belongs.",
"properties":{
"href":{
"description":"Link to the web property to which this view (profile) belongs.",
"type":"string"
},
"type":{
"default":"analytics#webproperty",
"description":"Value is \"analytics#webproperty\".",
"description":"Permissions the user has for this view (profile).",
"properties":{
"effective":{
"description":"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.",
"description":"The rank of this profile filter link relative to the other filters linked to the same profile.\nFor readonly (i.e., list and get) operations, the rank always starts at 1.\nFor 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.",
"description":"A profile filter link collection lists profile filter links between profiles and filters. Each resource in the collection corresponds to a profile filter link.",
"id":"ProfileFilterLinks",
"properties":{
"items":{
"description":"A list of profile filter links.",
"items":{
"$ref":"ProfileFilterLink"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"description":"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).",
"id":"Profiles",
"properties":{
"items":{
"description":"A list of views (profiles).",
"items":{
"$ref":"Profile"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"description":"Real time data for a given view (profile).",
"id":"RealtimeData",
"properties":{
"columnHeaders":{
"description":"Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.",
"items":{
"properties":{
"columnType":{
"description":"Column Type. Either DIMENSION or METRIC.",
"type":"string"
},
"dataType":{
"description":"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.",
"type":"string"
},
"name":{
"description":"Column name.",
"type":"string"
}
},
"type":"object"
},
"type":"array"
},
"id":{
"description":"Unique ID for this data response.",
"description":"Real time data request query parameters.",
"properties":{
"dimensions":{
"description":"List of real time dimensions.",
"type":"string"
},
"filters":{
"description":"Comma-separated list of dimension or metric filters.",
"type":"string"
},
"ids":{
"description":"Unique table ID.",
"type":"string"
},
"max-results":{
"description":"Maximum results per page.",
"format":"int32",
"type":"integer"
},
"metrics":{
"description":"List of real time metrics.",
"items":{
"type":"string"
},
"type":"array"
},
"sort":{
"description":"List of dimensions or metrics based on which real time data is sorted.",
"items":{
"type":"string"
},
"type":"array"
}
},
"type":"object"
},
"rows":{
"description":"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.",
"items":{
"items":{
"type":"string"
},
"type":"array"
},
"type":"array"
},
"selfLink":{
"description":"Link to this page.",
"type":"string"
},
"totalResults":{
"description":"The total number of rows for the query, regardless of the number of rows in the response.",
"format":"int32",
"type":"integer"
},
"totalsForAllResults":{
"additionalProperties":{
"description":"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.",
"type":"string"
},
"description":"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.",
"description":"A remarketing audience collection lists Analytics remarketing audiences to which the user has access. Each resource in the collection corresponds to a single Analytics remarketing audience.",
"id":"RemarketingAudiences",
"properties":{
"items":{
"description":"A list of remarketing audiences.",
"items":{
"$ref":"RemarketingAudience"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"description":"An segment collection lists Analytics segments that the user has access to. Each resource in the collection corresponds to a single Analytics segment.",
"id":"Segments",
"properties":{
"items":{
"description":"A list of segments.",
"items":{
"$ref":"Segment"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"format":"int32",
"type":"integer"
},
"kind":{
"default":"analytics#segments",
"description":"Collection type for segments.",
"type":"string"
},
"nextLink":{
"description":"Link to next page for this segment collection.",
"type":"string"
},
"previousLink":{
"description":"Link to previous page for this segment collection.",
"type":"string"
},
"startIndex":{
"description":"The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.",
"description":"The type of download you need to use for the report data file. Possible values include `GOOGLE_DRIVE` and `GOOGLE_CLOUD_STORAGE`. If the value is `GOOGLE_DRIVE`, see the `driveDownloadDetails` field. If the value is `GOOGLE_CLOUD_STORAGE`, see the `cloudStorageDownloadDetails` field.",
"description":"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.",
"id":"UnsampledReports",
"properties":{
"items":{
"description":"A list of unsampled reports.",
"items":{
"$ref":"UnsampledReport"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"description":"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.",
"id":"Uploads",
"properties":{
"items":{
"description":"A list of uploads.",
"items":{
"$ref":"Upload"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"description":"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.",
"id":"Webproperties",
"properties":{
"items":{
"description":"A list of web properties.",
"items":{
"$ref":"Webproperty"
},
"type":"array"
},
"itemsPerPage":{
"description":"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.",
"description":"Permissions the user has for this web property.",
"properties":{
"effective":{
"description":"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.",
"items":{
"type":"string"
},
"readOnly":true,
"type":"array"
}
},
"type":"object"
},
"profileCount":{
"description":"View (Profile) count for this web property.",