--- v15/services/product_link_invitation_service.proto 2024-02-20 20:29:01.000000000 +0000 +++ v16/services/product_link_invitation_service.proto 2024-02-20 20:29:04.000000000 +0000 @@ -31,12 +31,24 @@ + // This service allows management of product link invitations from Google Ads // accounts to other accounts. service ProductLinkInvitationService { option (google.api.default_host) = "googleads.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + // Creates a product link invitation. + rpc CreateProductLinkInvitation(CreateProductLinkInvitationRequest) + returns (CreateProductLinkInvitationResponse) { + option (google.api.http) = { + post: "/v16/customers/{customer_id=*}/productLinkInvitations:create" + body: "*" + }; + option (google.api.method_signature) = + "customer_id,product_link_invitation"; + } + // Update a product link invitation. rpc UpdateProductLinkInvitation(UpdateProductLinkInvitationRequest) returns (UpdateProductLinkInvitationResponse) { @@ -41,16 +53,45 @@ rpc UpdateProductLinkInvitation(UpdateProductLinkInvitationRequest) returns (UpdateProductLinkInvitationResponse) { option (google.api.http) = { - post: "/v15/customers/{customer_id=*}/productLinkInvitations:update" + post: "/v16/customers/{customer_id=*}/productLinkInvitations:update" body: "*" }; option (google.api.method_signature) = "customer_id,product_link_invitation_status,resource_name"; } + + // Remove a product link invitation. + rpc RemoveProductLinkInvitation(RemoveProductLinkInvitationRequest) + returns (RemoveProductLinkInvitationResponse) { + option (google.api.http) = { + post: "/v16/customers/{customer_id=*}/productLinkInvitations:remove" + body: "*" + }; + option (google.api.method_signature) = "customer_id,resource_name"; + } } // Request message for -// [ProductLinkInvitationService.UpdateProductLinkInvitation][google.ads.googleads.v15.services.ProductLinkInvitationService.UpdateProductLinkInvitation]. +// [ProductLinkInvitationService.CreateProductLinkInvitation][google.ads.googleads.v16.services.ProductLinkInvitationService.CreateProductLinkInvitation]. +message CreateProductLinkInvitationRequest { + // Required. The ID of the customer being modified. + string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The product link invitation to be created. + google.ads.googleads.v16.resources.ProductLinkInvitation + product_link_invitation = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for product link invitation create. +message CreateProductLinkInvitationResponse { + // Resource name of the product link invitation. + string resource_name = 1 [(google.api.resource_reference) = { + type: "googleads.googleapis.com/ProductLinkInvitation" + }]; +} + +// Request message for +// [ProductLinkInvitationService.UpdateProductLinkInvitation][google.ads.googleads.v16.services.ProductLinkInvitationService.UpdateProductLinkInvitation]. message UpdateProductLinkInvitationRequest { // Required. The ID of the customer being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -75,4 +116,30 @@ string resource_name = 1 [(google.api.resource_reference) = { type: "googleads.googleapis.com/ProductLinkInvitation" }]; +} + +// Request message for +// [ProductLinkinvitationService.RemoveProductLinkInvitation][]. +message RemoveProductLinkInvitationRequest { + // Required. The ID of the product link invitation being removed. + string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The resource name of the product link invitation being removed. + // expected, in this format: + // + // ` ` + string resource_name = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/ProductLinkInvitation" + } + ]; +} + +// Response message for product link invitation removeal. +message RemoveProductLinkInvitationResponse { + // Result for the remove request. + string resource_name = 1 [(google.api.resource_reference) = { + type: "googleads.googleapis.com/ProductLinkInvitation" + }]; }
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-02-21 UTC.
[]
[]