You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found, or is not a GA4 Property.</p>
<pclass="firstline">Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. The property must be in Google Analytics 360. This method is only available to Administrators. These data access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).</p>
<pre>Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
302
+
303
+
Args:
304
+
body: object, The request body.
305
+
The object takes the form of:
306
+
307
+
{ # Request for fetching the opt out status for the automated GA4 setup process.
308
+
"property": "A String", # Required. The UA property to get the opt out status. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internalWebPropertyId} Example: properties/1234
309
+
}
310
+
311
+
x__xgafv: string, V1 error format.
312
+
Allowed values
313
+
1 - v1 error format
314
+
2 - v2 error format
315
+
316
+
Returns:
317
+
An object of the form:
318
+
319
+
{ # Response message for fetching the opt out status for the automated GA4 setup process.
320
+
"optOut": True or False, # The opt out status for the UA property.
<pre>Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.
717
+
718
+
Args:
719
+
body: object, The request body.
720
+
The object takes the form of:
721
+
722
+
{ # Request for setting the opt out status for the automated GA4 setup process.
723
+
"optOut": True or False, # The status to set.
724
+
"property": "A String", # Required. The UA property to set the opt out status. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internalWebPropertyId} Example: properties/1234
725
+
}
726
+
727
+
x__xgafv: string, V1 error format.
728
+
Allowed values
729
+
1 - v1 error format
730
+
2 - v2 error format
731
+
732
+
Returns:
733
+
An object of the form:
734
+
735
+
{ # Response message for setting the opt out status for the automated GA4 setup process.
0 commit comments