Method: properties.audiences.create
Eine Zielgruppe wird erstellt.
HTTP-Anfrage
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/audiences
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Erforderlich. Beispielformat: Properties/1234
|
Anfragetext
Der Anfragetext enthält eine Instanz von Audience
.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von Audience
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/analytics.edit
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-05-06 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-05-06 (UTC)."],[[["Creates a new Audience using an HTTP POST request to the specified endpoint."],["Requires providing the parent property ID in the URL path and an `Audience` object in the request body."],["A successful response will return the newly created `Audience` object."],["Requires the `analytics.edit` OAuth scope for authorization."]]],["A POST request is made to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/audiences` to create an Audience. The `parent` path parameter, a string in the format `properties/1234`, is required. The request body uses the `Audience` resource, and the successful response returns a new `Audience` instance. This operation requires the `https://www.googleapis.com/auth/analytics.edit` authorization scope. The url uses gRPC Transcoding syntax.\n"]]