Google Analytics Management API
The management API from Google Analytics — 36 operation(s) for management.
Operations 81
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
GET
/management/accountSummaries
Browse the account, property and view tree · Analytics management account summaries list
#
Ask an LLM
“How can I see every Google Analytics account, property and view I can access in one lightweight tree?”
“Is there a quick summary call that nests properties and views under each account I have access to?”
Tell an agent
Show me a summary tree of all my accounts with their properties and views.
Fetch {max} account summaries starting at result {start}.
GET
/management/accounts
List the Analytics accounts I can access · Analytics management accounts list
#
Ask an LLM
“Which Google Analytics accounts does my login have access to?”
“Can I get just the flat list of accounts without their properties and views?”
Tell an agent
List every Analytics account I have access to.
List {max} of my Analytics accounts beginning at index {start}.
GET
/management/accounts/{accountId}/entityUserLinks
List users with access to an account · Analytics management account user links list
#
Ask an LLM
“Who has user access at the account level in my Analytics account?”
“What permissions does each user hold on a given Analytics account?”
Tell an agent
List the users linked to account {account}.
Show the account-level user permissions for account {account}, {max} at a time.
POST
/management/accounts/{accountId}/entityUserLinks
Grant a user access to an account · Analytics management account user links insert
#
Ask an LLM
“How do I add a new user to an entire Analytics account?”
“Can I give someone account-level permissions like edit or manage users through the API?”
Tell an agent
Add user {user} to account {account} with permissions {permissions}.
Grant {user} access to the whole account {account}.
DELETE
/management/accounts/{accountId}/entityUserLinks/{linkId}
Remove a user from an account · Analytics management account user links delete
#
Ask an LLM
“How do I revoke a person's access to an entire Analytics account?”
“What happens when I delete an account-level user link?”
Tell an agent destructive · confirm first
Remove user link {link} from account {account}.
Revoke account {account} access for the user on link {link}.
PUT
/management/accounts/{accountId}/entityUserLinks/{linkId}
Change a user's account-level permissions · Analytics management account user links update
#
Ask an LLM
“Can I change what an existing user is allowed to do on an Analytics account?”
“How would I upgrade someone's account permissions from read to edit?”
Tell an agent
Update the permissions on account user link {link} in account {account} to {permissions}.
Change account {account} user link {link} so the user has {permissions}.
GET
/management/accounts/{accountId}/filters
List an account's view filters · Analytics management filters list
#
Ask an LLM
“What filters have been defined on my Analytics account?”
“Can I list all the account's include, exclude and search-and-replace filters?”
Tell an agent
List the filters in account {account}.
Show {max} filters from account {account} starting at {start}.
POST
/management/accounts/{accountId}/filters
Create a filter for an account · Analytics management filters insert
#
Ask an LLM
“How do I create a filter that excludes internal traffic in Analytics?”
“Can I create a search-and-replace or lowercase filter through the API?”
Tell an agent
Create a filter named {name} of type {filter_type} in account {account}.
Add a new {filter_type} filter called {name} to account {account}.
DELETE
/management/accounts/{accountId}/filters/{filterId}
Delete a filter · Analytics management filters delete
#
Ask an LLM
“How do I permanently delete an Analytics filter I no longer need?”
“Does deleting an account filter stop it being applied to views?”
Tell an agent destructive · confirm first
Delete filter {filter} from account {account}.
Remove the filter {filter} in account {account} permanently.
GET
/management/accounts/{accountId}/filters/{filterId}
Get one filter's definition · Analytics management filters get
#
Ask an LLM
“Can I see the exact settings of a single Analytics filter?”
“What field and pattern does a specific filter use?”
Tell an agent
Get filter {filter} in account {account}.
Show me the definition of filter {filter} from account {account}.
PATCH
/management/accounts/{accountId}/filters/{filterId}
Change selected fields of a filter · Analytics management filters patch
#
Ask an LLM
“Can I rename a filter without resending its whole definition?”
“Is there a partial update for tweaking just one setting of a filter?”
Tell an agent
Patch filter {filter} in account {account} to rename it {name}.
Change only the type of filter {filter} in account {account} to {filter_type}.
PUT
/management/accounts/{accountId}/filters/{filterId}
Replace a filter's full definition · Analytics management filters update
#
Ask an LLM
“Can I overwrite an existing filter's whole definition in one request?”
“Which call replaces every setting of a filter instead of just a few fields?”
Tell an agent
Replace filter {filter} in account {account} with a {filter_type} filter named {name}.
Overwrite the full definition of filter {filter} in account {account}.
GET
/management/accounts/{accountId}/webproperties
List an account's web properties · Analytics management webproperties list
#
Ask an LLM
“What web properties exist under my Analytics account?”
“Can I list every tracked site (UA property) in one account?”
Tell an agent
List the web properties in account {account}.
Show {max} properties from account {account} starting at {start}.
POST
/management/accounts/{accountId}/webproperties
Create a web property · Analytics management webproperties insert
#
Ask an LLM
“How do I create a new Analytics property for a website?”
“Is there a limit on how many properties an account can have when I create one?”
Tell an agent
Create a web property named {name} for {website} in account {account}.
Add a property for site {website} in account {account} with industry {industry}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}
Get a web property's details · Analytics management webproperties get
#
Ask an LLM
“Can I look up the settings of one specific Analytics property?”
“What is the default view and data retention of a given property?”
Tell an agent
Get web property {property} in account {account}.
Show the details of property {property} from account {account}.
PATCH
/management/accounts/{accountId}/webproperties/{webPropertyId}
Change selected fields of a web property · Analytics management webproperties patch
#
Ask an LLM
“How can I change just the data retention period of a property?”
“Can I star a property or rename it without sending all its fields?”
Tell an agent
Patch property {property} in account {account} to set data retention to {retention}.
Rename property {property} in account {account} to {name} and leave everything else.
PUT
/management/accounts/{accountId}/webproperties/{webPropertyId}
Replace a web property's settings · Analytics management webproperties update
#
Ask an LLM
“Can I overwrite all settings of an existing web property at once?”
“Which call does a full replace of a property's name, URL and retention?”
Tell an agent
Replace the settings of property {property} in account {account} with name {name} and URL {website}.
Fully update property {property} in account {account} with data retention {retention}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources
List a property's custom data sources · Analytics management custom data sources list
#
Ask an LLM
“Which data import sources are set up on my Analytics property?”
“Where do I find the ID of a custom data source so I can upload data to it?”
Tell an agent
List the custom data sources for property {property} in account {account}.
Show {max} data import sources on property {property} of account {account}.
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData
Delete data from previous data-import uploads · Analytics management uploads delete upload data
#
Ask an LLM
“How do I remove data I uploaded to a custom data source by mistake?”
“Can I delete several data imports at once by their upload IDs?”
Tell an agent destructive · confirm first
Delete upload data {imports} from data source {source} on property {property} in account {account}.
Purge the imported data {imports} from custom data source {source} of property {property}, account {account}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads
List uploads to a custom data source · Analytics management uploads list
#
Ask an LLM
“What files have been uploaded to a given data import source?”
“Can I see the history of uploads to one custom data source?”
Tell an agent
List uploads for data source {source} on property {property} in account {account}.
Show the last {max} uploads to custom data source {source} of property {property}, account {account}.
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads
Upload a file to a custom data source · Analytics management uploads upload data
#
Ask an LLM
“How do I push a data import file into an Analytics custom data source?”
“Can I upload cost or product data to a data source through the API?”
Tell an agent
Upload data to custom data source {source} on property {property} in account {account}.
Send a new data import file to source {source} for property {property}, account {account}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}
Check the status of one data upload · Analytics management uploads get
#
Ask an LLM
“Can I check whether a specific data import upload finished or failed?”
“What errors were reported for one upload to my custom data source?”
Tell an agent
Get upload {upload} for data source {source} on property {property} in account {account}.
Check the status of upload {upload} in source {source}, property {property}, account {account}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions
List a property's custom dimensions · Analytics management custom dimensions list
#
Ask an LLM
“What custom dimensions are configured on my property?”
“Can I see the index and scope of each custom dimension?”
Tell an agent
List custom dimensions for property {property} in account {account}.
Show {max} custom dimensions of property {property}, account {account}, from {start}.
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions
Create a custom dimension · Analytics management custom dimensions insert
#
Ask an LLM
“How do I add a new custom dimension like membership level to my property?”
“Can I choose hit, session, user or product scope when creating a custom dimension?”
Tell an agent
Create a custom dimension named {name} with scope {scope} on property {property} in account {account}.
Add custom dimension {name} to property {property}, account {account}, as active {active}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}
Get one custom dimension · Analytics management custom dimensions get
#
Ask an LLM
“Can I look up a single custom dimension's name, index and scope?”
“Is a particular custom dimension still active?”
Tell an agent
Get custom dimension {dimension} on property {property} in account {account}.
Show details for custom dimension {dimension} of property {property}, account {account}.
PATCH
/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}
Change selected fields of a custom dimension · Analytics management custom dimensions patch
#
Ask an LLM
“How can I deactivate a custom dimension without resending its other fields?”
“Can I rename just one custom dimension with a partial update?”
Tell an agent
Patch custom dimension {dimension} on property {property} in account {account} to set active {active}.
Rename custom dimension {dimension} of property {property}, account {account}, to {name} only.
PUT
/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}
Replace a custom dimension's settings · Analytics management custom dimensions update
#
Ask an LLM
“Can I overwrite all of a custom dimension's settings at once?”
“What does the flag to ignore custom data source links do when fully updating a dimension?”
Tell an agent
Replace custom dimension {dimension} on property {property}, account {account}, with name {name} and scope {scope}.
Fully update custom dimension {dimension} of property {property} in account {account}, ignoring data source links {ignore_links}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics
List a property's custom metrics · Analytics management custom metrics list
#
Ask an LLM
“What custom metrics have been set up on my Analytics property?”
“Can I see each custom metric's type and scope?”
Tell an agent
List custom metrics for property {property} in account {account}.
Show {max} custom metrics of property {property}, account {account}, from {start}.
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics
Create a custom metric · Analytics management custom metrics insert
#
Ask an LLM
“How do I create a custom metric that counts in currency or time?”
“Can I set a minimum and maximum value on a new custom metric?”
Tell an agent
Create a custom metric named {name} of type {metric_type} on property {property} in account {account}.
Add custom metric {name} to property {property}, account {account}, with range {min_value} to {max_value}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}
Get one custom metric · Analytics management custom metrics get
#
Ask an LLM
“Can I look up the definition of one custom metric?”
“What index and type does a specific custom metric have?”
Tell an agent
Get custom metric {metric} on property {property} in account {account}.
Show custom metric {metric} of property {property}, account {account}.
PATCH
/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}
Change selected fields of a custom metric · Analytics management custom metrics patch
#
Ask an LLM
“How do I switch off a custom metric without touching its other settings?”
“Can I change only the max value of a custom metric?”
Tell an agent
Patch custom metric {metric} on property {property} in account {account} to set active {active}.
Change only the maximum of custom metric {metric} on property {property}, account {account}, to {max_value}.
PUT
/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}
Replace a custom metric's settings · Analytics management custom metrics update
#
Ask an LLM
“Can I overwrite every setting of a custom metric in one call?”
“Which request fully replaces a custom metric's name, type and value range?”
Tell an agent
Replace custom metric {metric} on property {property}, account {account}, with name {name} and type {metric_type}.
Fully update custom metric {metric} of property {property} in account {account}, ignoring data source links {ignore_links}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks
List a property's Google Ads links · Analytics management web property ad words links list
#
Ask an LLM
“Which Google Ads accounts are linked to my Analytics property?”
“Can I list all Google Ads links on one web property?”
Tell an agent
List Google Ads links for property {property} in account {account}.
Show {max} Google Ads links on property {property}, account {account}.
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks
Link Google Ads accounts to a property · Analytics management web property ad words links insert
#
Ask an LLM
“How do I link a Google Ads account to my Analytics property?”
“Can I choose which views receive data when creating a Google Ads link?”
Tell an agent
Link Google Ads accounts {ads_accounts} to property {property} in account {account} as {name}.
Create a Google Ads link on property {property}, account {account}, for views {view_ids} and Ads accounts {ads_accounts}.
DELETE
/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}
Unlink a Google Ads link from a property · Analytics management web property ad words links delete
#
Ask an LLM
“How do I unlink Google Ads from my Analytics property?”
“What happens to data sharing when I delete a Google Ads link?”
Tell an agent destructive · confirm first
Delete Google Ads link {ads_link} from property {property} in account {account}.
Unlink Google Ads link {ads_link} on property {property}, account {account}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}
Get one Google Ads link · Analytics management web property ad words links get
#
Ask an LLM
“Can I see which Ads accounts and views are in one specific Google Ads link?”
“What are the details of a single property-to-Google Ads link?”
Tell an agent
Get Google Ads link {ads_link} on property {property} in account {account}.
Show the Google Ads link {ads_link} for property {property}, account {account}.
PATCH
/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}
Change selected fields of a Google Ads link · Analytics management web property ad words links patch
#
Ask an LLM
“Can I rename a Google Ads link without resending its accounts?”
“Is there a partial update to change only the views on a Google Ads link?”
Tell an agent
Patch Google Ads link {ads_link} on property {property} in account {account} to rename it {name}.
Change only the linked views of Google Ads link {ads_link} on property {property}, account {account}, to {view_ids}.
PUT
/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}
Replace a Google Ads link's settings · Analytics management web property ad words links update
#
Ask an LLM
“Can I overwrite an existing Google Ads link's full set of Ads accounts and views?”
“Which call fully replaces a property's Google Ads link?”
Tell an agent
Replace Google Ads link {ads_link} on property {property}, account {account}, with Ads accounts {ads_accounts}.
Fully update Google Ads link {ads_link} of property {property} in account {account} to name {name} and views {view_ids}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks
List users with access to a property · Analytics management webproperty user links list
#
Ask an LLM
“Who has been granted access directly on a specific web property?”
“Which permissions do users hold at the property level?”
Tell an agent
List the users linked to property {property} in account {account}.
Show {max} property-level user links on property {property}, account {account}.
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks
Grant a user access to a property · Analytics management webproperty user links insert
#
Ask an LLM
“Can I give someone access to a single property rather than the whole account?”
“How would I add a collaborator to only one web property?”
Tell an agent
Add user {user} to property {property} in account {account} with permissions {permissions}.
Grant {user} access to web property {property} under account {account}.
DELETE
/management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}
Remove a user from a property · Analytics management webproperty user links delete
#
Ask an LLM
“How do I take away a user's access to just one web property?”
“Does removing a property user link affect their account-level access?”
Tell an agent destructive · confirm first
Remove user link {link} from property {property} in account {account}.
Revoke property {property} access for user link {link} in account {account}.
PUT
/management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}
Change a user's property-level permissions · Analytics management webproperty user links update
#
Ask an LLM
“Can I change what a user may do on one web property?”
“Which call edits an existing property-level user permission?”
Tell an agent
Update property user link {link} on property {property}, account {account}, to permissions {permissions}.
Change property {property} user link {link} in account {account} so the user has {permissions}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles
List a property's views · Analytics management profiles list
#
Ask an LLM
“What reporting views exist under my web property?”
“Can I list all views (profiles) for a property with their IDs?”
Tell an agent
List the views for property {property} in account {account}.
Show {max} views of property {property}, account {account}, from index {start}.
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles
Create a reporting view · Analytics management profiles insert
#
Ask an LLM
“How do I create a new reporting view with its own timezone and currency?”
“Can I turn on bot filtering or ecommerce tracking when creating a view?”
Tell an agent
Create a view named {name} on property {property} in account {account} with timezone {timezone}.
Add a view {name} to property {property}, account {account}, using currency {currency}.
DELETE
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}
Delete a reporting view · Analytics management profiles delete
#
Ask an LLM
“How do I permanently delete a reporting view?”
“What is lost when a view (profile) is deleted?”
Tell an agent destructive · confirm first
Delete view {view} from property {property} in account {account}.
Remove reporting view {view} of property {property}, account {account}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}
Get a view's settings · Analytics management profiles get
#
Ask an LLM
“Can I look up the timezone, currency and default page of one view?”
“Is ecommerce tracking enabled on a particular view?”
Tell an agent
Get view {view} on property {property} in account {account}.
Show the settings of view {view} for property {property}, account {account}.
PATCH
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}
Change selected fields of a view · Analytics management profiles patch
#
Ask an LLM
“How can I switch on bot filtering for a view without resending the rest?”
“Can I change only a view's default page?”
Tell an agent
Patch view {view} on property {property} in account {account} to set bot filtering {bot_filtering}.
Change only the default page of view {view} on property {property}, account {account}, to {default_page}.
PUT
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}
Replace a view's settings · Analytics management profiles update
#
Ask an LLM
“Can I overwrite all of a view's settings in a single request?”
“Which call fully replaces a view's name, timezone and excluded query parameters?”
Tell an agent
Replace the settings of view {view} on property {property}, account {account}, with name {name} and timezone {timezone}.
Fully update view {view} of property {property} in account {account}, excluding query parameters {excluded_params}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks
List users with access to a view · Analytics management profile user links list
#
Ask an LLM
“Who has access to one particular reporting view?”
“What permissions do users have at the view level?”
Tell an agent
List the users linked to view {view} on property {property} in account {account}.
Page through who can access reporting view {view} (property {property}, account {account}), {max} per page.
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks
Grant a user access to a view · Analytics management profile user links insert
#
Ask an LLM
“Can I give a client read access to only one reporting view?”
“How would I add a user at the view level instead of the property?”
Tell an agent
Add user {user} to view {view} on property {property}, account {account}, with permissions {permissions}.
Grant {user} access to reporting view {view} of property {property} in account {account}.
DELETE
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}
Remove a user from a view · Analytics management profile user links delete
#
Ask an LLM
“How do I remove someone's access to a single reporting view?”
“Can I revoke view-level access without touching property access?”
Tell an agent destructive · confirm first
Remove user link {link} from view {view} on property {property} in account {account}.
Revoke access for view user link {link} on view {view}, property {property}, account {account}.
PUT
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}
Change a user's view-level permissions · Analytics management profile user links update
#
Ask an LLM
“Can I change a user's permissions on one view?”
“Which call edits an existing view-level user permission?”
Tell an agent
Update view user link {link} on view {view}, property {property}, account {account}, to {permissions}.
Change view {view} user link {link} on property {property}, account {account}, to permissions {permissions}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments
List a view's content experiments · Analytics management experiments list
#
Ask an LLM
“What content experiments are running or finished in a view?”
“Can I list all A/B experiments configured on a reporting view?”
Tell an agent
List experiments for view {view} on property {property} in account {account}.
Show {max} experiments in view {view}, property {property}, account {account}.
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments
Create a content experiment · Analytics management experiments insert
#
Ask an LLM
“How do I set up an A/B content experiment with page variations?”
“Can I pick the objective metric and traffic share when creating an experiment?”
Tell an agent
Create an experiment named {name} in view {view}, property {property}, account {account}, with objective {objective}.
Add an experiment {name} to view {view} of property {property}, account {account}, with variations {variations}.
DELETE
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}
Delete a content experiment · Analytics management experiments delete
#
Ask an LLM
“How do I delete a content experiment I no longer need?”
“Is removing an experiment from a view permanent?”
Tell an agent destructive · confirm first
Delete experiment {experiment} from view {view} on property {property}, account {account}.
Remove content experiment {experiment} in view {view}, property {property}, account {account}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}
Get one content experiment · Analytics management experiments get
#
Ask an LLM
“Has my content experiment found a winner yet?”
“Can I see the status and variations of a single experiment?”
Tell an agent
Get experiment {experiment} in view {view}, property {property}, account {account}.
Show the results and status of experiment {experiment} on view {view}, property {property}, account {account}.
PATCH
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}
Change selected fields of an experiment · Analytics management experiments patch
#
Ask an LLM
“Can I end a running experiment by changing only its status?”
“Is there a partial update to change just an experiment's traffic coverage?”
Tell an agent
Patch experiment {experiment} in view {view}, property {property}, account {account}, to status {status}.
Change only the traffic coverage of experiment {experiment} on view {view}, property {property}, account {account}, to {traffic}.
PUT
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}
Replace a content experiment's settings · Analytics management experiments update
#
Ask an LLM
“Can I overwrite an experiment's whole configuration in one call?”
“Which request fully replaces an experiment's variations and objective?”
Tell an agent
Replace experiment {experiment} in view {view}, property {property}, account {account}, with objective {objective}.
Fully update experiment {experiment} on view {view} of property {property}, account {account}, with variations {variations}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals
List a view's goals · Analytics management goals list
#
Ask an LLM
“What conversion goals are defined on my reporting view?”
“Can I list all destination and event goals for a view?”
Tell an agent
List goals for view {view} on property {property} in account {account}.
Show {max} goals in view {view}, property {property}, account {account}.
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals
Create a conversion goal · Analytics management goals insert
#
Ask an LLM
“How do I create a destination goal for my thank-you page?”
“Can I assign a monetary value to a new goal?”
Tell an agent
Create a goal named {name} of type {goal_type} in view {view}, property {property}, account {account}.
Add a goal {name} worth {value} to view {view} of property {property}, account {account}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}
Get one goal's configuration · Analytics management goals get
#
Ask an LLM
“Can I see how a specific goal is configured?”
“What value and match type does one of my goals use?”
Tell an agent
Get goal {goal} in view {view}, property {property}, account {account}.
Show goal {goal} for view {view} on property {property}, account {account}.
PATCH
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}
Change selected fields of a goal · Analytics management goals patch
#
Ask an LLM
“How can I deactivate a goal without resending its setup?”
“Can I change only a goal's value?”
Tell an agent
Patch goal {goal} in view {view}, property {property}, account {account}, to set active {active}.
Change only the value of goal {goal} on view {view}, property {property}, account {account}, to {value}.
PUT
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}
Replace a goal's configuration · Analytics management goals update
#
Ask an LLM
“Can I overwrite a goal's entire definition in one request?”
“Which call fully replaces a goal's type, value and details?”
Tell an agent
Replace goal {goal} in view {view}, property {property}, account {account}, with a {goal_type} goal named {name}.
Fully update goal {goal} on view {view} of property {property}, account {account}, with value {value}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks
List filters applied to a view · Analytics management profile filter links list
#
Ask an LLM
“Which account filters are applied to a given view, and in what order?”
“Can I see the ranking of filters on one reporting view?”
Tell an agent
List the filter links on view {view} of property {property} in account {account}.
Show {max} filters applied to view {view}, property {property}, account {account}.
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks
Apply a filter to a view · Analytics management profile filter links insert
#
Ask an LLM
“How do I attach an existing account filter to a reporting view?”
“Can I set the position of a filter when applying it to a view?”
Tell an agent
Apply filter {filter_ref} to view {view} on property {property}, account {account}.
Link filter {filter_ref} to view {view} of property {property}, account {account}, at rank {rank}.
DELETE
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}
Stop applying a filter to a view · Analytics management profile filter links delete
#
Ask an LLM
“How do I remove a filter from a view without deleting the filter itself?”
“Can I unlink one filter from a single reporting view?”
Tell an agent destructive · confirm first
Delete filter link {link} from view {view} on property {property}, account {account}.
Unapply view filter link {link} on view {view}, property {property}, account {account}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}
Get one view filter link · Analytics management profile filter links get
#
Ask an LLM
“Can I look up a single filter link and its rank on a view?”
“Which filter does a specific view filter link point to?”
Tell an agent
Get filter link {link} on view {view}, property {property}, account {account}.
Show view filter link {link} for view {view} of property {property}, account {account}.
PATCH
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}
Reorder a filter on a view · Analytics management profile filter links patch
#
Ask an LLM
“How can I change the order a filter runs in on a view?”
“Can I move a filter to first position without resending the link?”
Tell an agent
Patch filter link {link} on view {view}, property {property}, account {account}, to rank {rank}.
Move view filter link {link} on view {view} of property {property}, account {account}, to position {rank}.
PUT
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}
Replace a view filter link · Analytics management profile filter links update
#
Ask an LLM
“Can I overwrite a view filter link completely, including which filter it references?”
“Which call fully replaces the filter and rank of a view filter link?”
Tell an agent
Replace filter link {link} on view {view}, property {property}, account {account}, with filter {filter_ref} at rank {rank}.
Fully update view filter link {link} of view {view}, property {property}, account {account}, to filter {filter_ref}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports
List a view's unsampled reports · Analytics management unsampled reports list
#
Ask an LLM
“What unsampled reports have been requested for my view?”
“Can I see which unsampled reports are still pending or completed?”
Tell an agent
List unsampled reports for view {view} on property {property} in account {account}.
Show {max} unsampled reports in view {view}, property {property}, account {account}.
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports
Request an unsampled report · Analytics management unsampled reports insert
#
Ask an LLM
“How do I request an unsampled report for a date range?”
“Can I choose the metrics and dimensions for an unsampled report?”
Tell an agent
Create an unsampled report titled {title} for view {view}, property {property}, account {account}, from {start_date} to {end_date}.
Request an unsampled report of {metrics} by {dimensions} on view {view}, property {property}, account {account}.
DELETE
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}
Delete an unsampled report · Analytics management unsampled reports delete
#
Ask an LLM
“How do I delete an unsampled report I no longer need?”
“Can an unsampled report be removed from a view?”
Tell an agent destructive · confirm first
Delete unsampled report {report} from view {view} on property {property}, account {account}.
Remove unsampled report {report} in view {view}, property {property}, account {account}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}
Get an unsampled report's status · Analytics management unsampled reports get
#
Ask an LLM
“Is my unsampled report ready to download yet?”
“Where can I download a finished unsampled report, Drive or Cloud Storage?”
Tell an agent
Get unsampled report {report} in view {view}, property {property}, account {account}.
Check the status of unsampled report {report} on view {view}, property {property}, account {account}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences
List a property's remarketing audiences · Analytics management remarketing audience list
#
Ask an LLM
“Which remarketing audiences are defined on my property?”
“Can I filter remarketing audiences by audience type?”
Tell an agent
List remarketing audiences for property {property} in account {account}.
Show remarketing audiences of type {audience_type} on property {property}, account {account}.
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences
Create a remarketing audience · Analytics management remarketing audience insert
#
Ask an LLM
“How do I build a remarketing audience from my Analytics data?”
“Can I share a new audience with linked ad accounts when I create it?”
Tell an agent
Create a remarketing audience named {name} on property {property} in account {account}.
Add audience {name} to property {property}, account {account}, shared with ad accounts {linked_ad_accounts}.
DELETE
/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}
Delete a remarketing audience · Analytics management remarketing audience delete
#
Ask an LLM
“How do I delete a remarketing audience?”
“Does deleting an audience stop it being shared with linked ad accounts?”
Tell an agent destructive · confirm first
Delete remarketing audience {audience} from property {property} in account {account}.
Remove audience {audience} on property {property}, account {account}.
GET
/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}
Get one remarketing audience · Analytics management remarketing audience get
#
Ask an LLM
“Can I see the definition of a single remarketing audience?”
“Which views and ad accounts is a given audience linked to?”
Tell an agent
Get remarketing audience {audience} on property {property} in account {account}.
Show remarketing audience {audience} for property {property}, account {account}.
PATCH
/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}
Change selected fields of an audience · Analytics management remarketing audience patch
#
Ask an LLM
“Can I rename a remarketing audience without resending its definition?”
“Is there a partial update for just an audience's description?”
Tell an agent
Patch remarketing audience {audience} on property {property}, account {account}, to rename it {name}.
Change only the description of audience {audience} on property {property}, account {account}, to {description}.
PUT
/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}
Replace a remarketing audience · Analytics management remarketing audience update
#
Ask an LLM
“Can I overwrite an audience's full definition and linked accounts at once?”
“Which call fully replaces a remarketing audience?”
Tell an agent
Replace remarketing audience {audience} on property {property}, account {account}, with name {name}.
Fully update audience {audience} of property {property} in account {account}, linking ad accounts {linked_ad_accounts}.
POST
/management/clientId:hashClientId
Hash a Client ID · Analytics management client id hash client id
#
Ask an LLM
“How do I get the hashed version of an Analytics Client ID?”
“Can the API hash a cookie Client ID for a specific tracking property?”
Tell an agent
Hash Client ID {client_id} for property {tracking_id}.
Compute the hashed form of client ID {client_id}.
Ask an LLM
“Which segments can I use to slice my Analytics reports?”
“Can I page through all built-in and custom segments I have access to?”
Tell an agent
List all segments I have access to.
Show {max} segments starting at index {start}.
Documentation
📖
Documentation
https://developers.google.com/analytics/devguides/reporting/data/v1
📖
APIReference
https://developers.google.com/analytics/devguides/reporting/data/v1/rest
📖
GettingStarted
https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart
📖
Authentication
https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries
📖
RateLimits
https://developers.google.com/analytics/devguides/reporting/data/v1/quotas
📖
Documentation
https://developers.google.com/analytics/devguides/config/admin/v1
📖
APIReference
https://developers.google.com/analytics/devguides/config/admin/v1/rest
📖
GettingStarted
https://developers.google.com/analytics/devguides/config/admin/v1/quickstart
📖
Documentation
https://developers.google.com/analytics/devguides/collection/protocol/ga4
📖
APIReference
https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference
📖
GettingStarted
https://developers.google.com/analytics/devguides/collection/protocol/ga4/sending-events
📖
Troubleshooting
https://developers.google.com/analytics/devguides/collection/protocol/ga4/troubleshooting
📖
Documentation
https://developers.google.com/analytics/devguides/config/userdeletion/v3
📖
APIReference
https://developers.google.com/analytics/devguides/config/userdeletion/v3/reference
📖
Authentication
https://developers.google.com/analytics/devguides/config/userdeletion/v3/authorization
📖
Documentation
https://developers.google.com/analytics/devguides/reporting/core/v4
📖
GettingStarted
https://developers.google.com/analytics/devguides/migration/api/reporting-ua-to-ga4
📖
Documentation
https://developers.google.com/analytics/devguides/config/mgmt/v3
📖
APIReference
https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference
Specifications
Code Examples
💻
CodeExamples
https://github.com/googleanalytics/python-docs-samples
💻
CodeExamples
https://github.com/googleanalytics/java-docs-samples
💻
CodeExamples
https://github.com/googleanalytics/nodejs-docs-samples
💻
CodeExamples
https://github.com/googleanalytics/dotnet-docs-samples
💻
CodeExamples
https://github.com/googleanalytics/php-docs-samples
💻
CodeExamples
https://github.com/googleanalytics/analytics-data-curl-examples
💻
CodeExamples
https://github.com/googleanalytics/analytics-data-javascript-examples
💻
CodeExamples
https://github.com/googleanalytics/analytics-samples-config
Other Resources
🔗
SDKs
https://pypi.org/project/google-analytics-data/
🔗
SDKs
https://www.npmjs.com/package/@google-analytics/data
🔗
SDKs
https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data
🔗
SDKs
https://www.nuget.org/packages/Google.Analytics.Data.V1Beta
🔗
SDKs
https://packagist.org/packages/google/analytics-data
🔗
SDKs
https://developers.google.com/analytics/devguides/config/admin/v1/client-libraries
🔗
SDKs
https://pypi.org/project/google-analytics-admin/
🔗
SDKs
https://www.npmjs.com/package/@google-analytics/admin
🔗
SDKs
https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin
🔗
SDKs
https://www.nuget.org/packages/Google.Analytics.Admin.V1Beta
🔗
SDKs
https://packagist.org/packages/google/analytics-admin