--- v18/services/data_link_service.proto 2025-08-05 14:36:13.000000000 +0000 +++ v19/services/data_link_service.proto 2025-08-05 14:36:21.000000000 +0000 @@ -55,11 +56,54 @@ // [RequestError]() rpc CreateDataLink(CreateDataLinkRequest) returns (CreateDataLinkResponse) { option (google.api.http) = { - post: "/v18/customers/{customer_id=*}/dataLinks:create" + post: "/v19/customers/{customer_id=*}/dataLinks:create" body: "*" }; option (google.api.method_signature) = "customer_id,data_link"; } + + // Remove a data link. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [DatabaseError]() + // [DataLinkError]() + // [FieldError]() + // [HeaderError]() + // [InternalError]() + // [MutateError]() + // [QuotaError]() + // [RequestError]() + rpc RemoveDataLink(RemoveDataLinkRequest) returns (RemoveDataLinkResponse) { + option (google.api.http) = { + post: "/v19/customers/{customer_id=*}/dataLinks:remove" + body: "*" + }; + option (google.api.method_signature) = "customer_id,resource_name"; + } + + // Update a data link. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [DatabaseError]() + // [DataLinkError]() + // [FieldError]() + // [HeaderError]() + // [InternalError]() + // [MutateError]() + // [QuotaError]() + // [RequestError]() + rpc UpdateDataLink(UpdateDataLinkRequest) returns (UpdateDataLinkResponse) { + option (google.api.http) = { + post: "/v19/customers/{customer_id=*}/dataLinks:update" + body: "*" + }; + option (google.api.method_signature) = + "customer_id,data_link_status,resource_name"; + } } // Request message for @@ -74,10 +118,62 @@ } // Response message for -// [DataLinkService.CreateDataLink][google.ads.googleads.v18.services.DataLinkService.CreateDataLink]. +// [DataLinkService.CreateDataLink][google.ads.googleads.v19.services.DataLinkService.CreateDataLink]. message CreateDataLinkResponse { // Returned for successful operations. Resource name of the data link. string resource_name = 1 [(google.api.resource_reference) = { type: "googleads.googleapis.com/DataLink" + }]; +} + +// Request message for +// [DataLinkService.RemoveDataLink][google.ads.googleads.v19.services.DataLinkService.RemoveDataLink]. +message RemoveDataLinkRequest { + // Required. The ID of the customer for which the data link is updated. + string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The data link is expected to have a valid resource name. + string resource_name = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/DataLink" + } + ]; +} + +// Response message for +// [DataLinkService.RemoveDataLink][google.ads.googleads.v19.services.DataLinkService.RemoveDataLink]. +message RemoveDataLinkResponse { + // Result for the remove request. + string resource_name = 1 [(google.api.resource_reference) = { + type: "googleads.googleapis.com/DataLink" + }]; +} + +// Request message for +// [DataLinkService.UpdateDataLink][google.ads.googleads.v19.services.DataLinkService.UpdateDataLink]. +message UpdateDataLinkRequest { + // Required. The ID of the customer for which the data link is created. + string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The data link status to be updated to. + google.ads.googleads.v19.enums.DataLinkStatusEnum.DataLinkStatus + data_link_status = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The data link is expected to have a valid resource name. + string resource_name = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/DataLink" + } + ]; +} + +// Response message for +// [DataLinkService.UpdateDataLink][google.ads.googleads.v19.services.DataLinkService.UpdateDataLink]. +message UpdateDataLinkResponse { + // Returned for successful operations. Resource name of the data link. + string resource_name = 1 [(google.api.resource_reference) = { + type: "googleads.googleapis.com/DataLink" }]; }
/services/data_link_service.proto
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 2025-08-21 UTC.
[null,null,["Ultimo aggiornamento 2025-08-21 UTC."],[],[],null,[]]