Method: accounts.provisionAccountTicket
Er bittet um ein Ticket für die Kontoerstellung.
HTTP-Anfrage
POST https://analyticsadmin.googleapis.com/v1alpha/accounts:provisionAccountTicket
Die URL verwendet die Syntax der gRPC-Transcodierung.
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung |
{
"account": {
object (Account )
},
"redirectUri": string
} |
Felder |
account |
object (Account )
Das zu erstellende Konto.
|
redirectUri |
string
Weiterleitungs-URI, an den der Nutzer weitergeleitet wird, nachdem er die Nutzungsbedingungen akzeptiert hat. Muss in der Cloud Console als Weiterleitungs-URI konfiguriert werden.
|
Antworttext
Antwortnachricht für den RPC „accounts.provisionAccountTicket“
Bei Erfolg enthält der Antworttext Daten mit der folgenden Struktur:
JSON-Darstellung |
{
"accountTicketId": string
} |
Felder |
accountTicketId |
string
Der Parameter, der im Link zu den Nutzungsbedingungen übergeben werden soll.
|
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: 2025-01-14 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-01-14 (UTC)."],[[["This document explains how to request a ticket for creating a Google Analytics account using the `provisionAccountTicket` method."],["The request body should contain the account details and a redirect URI for user redirection after accepting Terms of Service."],["A successful response will include an `accountTicketId` used for the Terms of Service link."],["This operation requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization."]]],["The core action is to request a ticket for account creation via a POST request to a specified URL. The request body must include an `account` object and a `redirectUri`. Successful requests return a response body containing an `accountTicketId`. This process uses gRPC Transcoding syntax, and requires the OAuth scope `https://www.googleapis.com/auth/analytics.edit` for authorization. The redirect URI must be configured in the Cloud Console.\n"]]