--- v16/services/ad_service.proto 2024-05-29 16:00:44.000000000 +0000 +++ v17/services/ad_service.proto 2024-05-29 16:00:50.000000000 +0000 @@ -42,22 +42,6 @@ option (google.api.default_host) = "googleads.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - // Returns the requested ad in full detail. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GetAd(GetAdRequest) returns (google.ads.googleads.v16.resources.Ad) { - option (google.api.http) = { - get: "/v16/{resource_name=customers/*/ads/*}" - }; - option (google.api.method_signature) = "resource_name"; - } - // Updates ads. Operation statuses are returned. Updating ads is not supported // for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd. // @@ -110,17 +94,7 @@ } // Request message for -// [AdService.GetAd][google.ads.googleads.v16.services.AdService.GetAd]. -message GetAdRequest { - // Required. The resource name of the ad to fetch. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Ad" } - ]; -} - -// Request message for -// [AdService.MutateAds][google.ads.googleads.v16.services.AdService.MutateAds]. +// [AdService.MutateAds][google.ads.googleads.v17.services.AdService.MutateAds]. message MutateAdsRequest { // Required. The ID of the customer whose ads are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED];
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-14。
[null,null,["最后更新时间 (UTC):2024-10-14。"],[],[]]