Essayez le serveur MCP pour Google Analytics. Installez-le depuis
GitHub et consultez l'
annonce pour en savoir plus.
Method: properties.displayVideo360AdvertiserLinkProposals.approve
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Approuve une proposition DisplayVideo360AdvertiserLink. La proposition DisplayVideo360AdvertiserLinkProposition sera supprimée et un autre élément DisplayVideo360AdvertiserLink sera créé.
Requête HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve
L'URL utilise la syntaxe de transcodage gRPC.
Paramètres de chemin d'accès
Paramètres |
name |
string
Obligatoire. Nom de la proposition DisplayVideo360AdvertiserLinkProposition à approuver. Exemple de format: Properties/1234/displayVideo360AdvertiserLinkPropositions/5678
|
Corps de la requête
Le corps de la requête doit être vide.
Corps de la réponse
Message de réponse pour le RPC displayVideo360AdvertiserLinkPropositions.approve.
Si la requête aboutit, le corps de la réponse contient des données qui ont la structure suivante :
Champs |
displayVideo360AdvertiserLink |
object (DisplayVideo360AdvertiserLink )
Élément DisplayVideo360AdvertiserLink créé suite à l'approbation de la proposition.
|
Champs d'application des autorisations
Requiert le niveau d'accès OAuth suivant :
https://www.googleapis.com/auth/analytics.edit
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\u003cp\u003eApproves a DisplayVideo360AdvertiserLinkProposal, deleting the proposal and creating a new DisplayVideo360AdvertiserLink.\u003c/p\u003e\n"],["\u003cp\u003eSends an empty request body to the endpoint \u003ccode\u003ePOST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.edit\u003c/code\u003e authorization scope for access.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful approval, the response includes the newly created DisplayVideo360AdvertiserLink object.\u003c/p\u003e\n"]]],["This describes the process for approving a DisplayVideo360AdvertiserLinkProposal. A POST request is sent to `https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve`, with the `name` path parameter specifying the proposal to approve. The request body must be empty. Upon success, the proposal is deleted and a new DisplayVideo360AdvertiserLink is created, with the details returned in the response body, in JSON format under the `displayVideo360AdvertiserLink` key. The request requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope.\n"],null,["# Method: properties.displayVideo360AdvertiserLinkProposals.approve\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ApproveDisplayVideo360AdvertiserLinkProposalResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nApproves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.\n\n### HTTP request\n\n`POST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for displayVideo360AdvertiserLinkProposals.approve RPC.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"displayVideo360AdvertiserLink\": { object (/analytics/devguides/config/admin/v1/rest/v1alpha/properties.displayVideo360AdvertiserLinks#DisplayVideo360AdvertiserLink) } } ``` |\n\n| Fields ||\n|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `displayVideo360AdvertiserLink` | `object (`[DisplayVideo360AdvertiserLink](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.displayVideo360AdvertiserLinks#DisplayVideo360AdvertiserLink)`)` The DisplayVideo360AdvertiserLink created as a result of approving the proposal. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.edit`"]]