123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- syntax = "proto3";
- package google.ads.googleads.v10.services;
- import "google/ads/googleads/v10/resources/ad_group_label.proto";
- import "google/api/annotations.proto";
- import "google/api/client.proto";
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/rpc/status.proto";
- option csharp_namespace = "Google.Ads.GoogleAds.V10.Services";
- option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v10/services;services";
- option java_multiple_files = true;
- option java_outer_classname = "AdGroupLabelServiceProto";
- option java_package = "com.google.ads.googleads.v10.services";
- option objc_class_prefix = "GAA";
- option php_namespace = "Google\\Ads\\GoogleAds\\V10\\Services";
- option ruby_package = "Google::Ads::GoogleAds::V10::Services";
- service AdGroupLabelService {
- option (google.api.default_host) = "googleads.googleapis.com";
- option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords";
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- rpc MutateAdGroupLabels(MutateAdGroupLabelsRequest) returns (MutateAdGroupLabelsResponse) {
- option (google.api.http) = {
- post: "/v10/customers/{customer_id=*}/adGroupLabels:mutate"
- body: "*"
- };
- option (google.api.method_signature) = "customer_id,operations";
- }
- }
- message MutateAdGroupLabelsRequest {
-
- string customer_id = 1 [(google.api.field_behavior) = REQUIRED];
-
- repeated AdGroupLabelOperation operations = 2 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
- bool partial_failure = 3;
-
-
- bool validate_only = 4;
- }
- message AdGroupLabelOperation {
-
- oneof operation {
-
-
- google.ads.googleads.v10.resources.AdGroupLabel create = 1;
-
-
-
-
- string remove = 2 [(google.api.resource_reference) = {
- type: "googleads.googleapis.com/AdGroupLabel"
- }];
- }
- }
- message MutateAdGroupLabelsResponse {
-
-
-
-
- google.rpc.Status partial_failure_error = 3;
-
- repeated MutateAdGroupLabelResult results = 2;
- }
- message MutateAdGroupLabelResult {
-
- string resource_name = 1 [(google.api.resource_reference) = {
- type: "googleads.googleapis.com/AdGroupLabel"
- }];
- }
|