Method: properties.audiences.archive
Bir mülkte kitle arşivler.
HTTP isteği
POST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/audiences/*}:archive
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Zorunlu. Örnek biçim: properties/1234/audiences/5678
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
Başarılı olursa yanıt metni boş bir JSON nesnesi olur.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/analytics.edit
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-01-14 UTC.
[null,null,["Son güncelleme tarihi: 2025-01-14 UTC."],[[["Archives an Audience on a specified Google Analytics 4 property."],["Requires an empty request body and returns an empty response body upon successful completion."],["Utilizes the `POST` method with the URL format: `https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/audiences/*}:archive`, where `{name}` represents the property and audience IDs."],["Needs the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization."]]],["The core function is archiving an Audience on a property via a POST request to a specific URL: `https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/audiences/*}:archive`. The required `name` path parameter identifies the Audience to be archived (e.g., `properties/1234/audiences/5678`). The request body must be empty, and a successful response returns an empty JSON object. The `analytics.edit` OAuth scope is required for authorization.\n"]]