aboutsummaryrefslogtreecommitdiff
path: root/google/ads/googleads/v16/services/customer_sk_ad_network_conversion_value_schema_service.proto
blob: c60f9ba81bd8ec508b7bf20cfd5cef2d353d906c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

syntax = "proto3";

package google.ads.googleads.v16.services;

import "google/ads/googleads/v16/resources/customer_sk_ad_network_conversion_value_schema.proto";
import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/resource.proto";

option csharp_namespace = "Google.Ads.GoogleAds.V16.Services";
option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v16/services;services";
option java_multiple_files = true;
option java_outer_classname = "CustomerSkAdNetworkConversionValueSchemaServiceProto";
option java_package = "com.google.ads.googleads.v16.services";
option objc_class_prefix = "GAA";
option php_namespace = "Google\\Ads\\GoogleAds\\V16\\Services";
option ruby_package = "Google::Ads::GoogleAds::V16::Services";

// Proto file describing the Customer Negative Criterion service.

// Service to manage CustomerSkAdNetworkConversionValueSchema.
service CustomerSkAdNetworkConversionValueSchemaService {
  option (google.api.default_host) = "googleads.googleapis.com";
  option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords";

  // Creates or updates the CustomerSkAdNetworkConversionValueSchema.
  //
  // List of thrown errors:
  //   [AuthenticationError]()
  //   [AuthorizationError]()
  //   [FieldError]()
  //   [InternalError]()
  //   [MutateError]()
  rpc MutateCustomerSkAdNetworkConversionValueSchema(
      MutateCustomerSkAdNetworkConversionValueSchemaRequest)
      returns (MutateCustomerSkAdNetworkConversionValueSchemaResponse) {
    option (google.api.http) = {
      post: "/v16/customers/{customer_id=*}/customerSkAdNetworkConversionValueSchemas:mutate"
      body: "*"
    };
  }
}

// A single update operation for a CustomerSkAdNetworkConversionValueSchema.
message CustomerSkAdNetworkConversionValueSchemaOperation {
  // Update operation: The schema is expected to have a valid resource name.
  google.ads.googleads.v16.resources.CustomerSkAdNetworkConversionValueSchema
      update = 1;
}

// Request message for
// [CustomerSkAdNetworkConversionValueSchemaService.MutateCustomerSkAdNetworkConversionValueSchema][google.ads.googleads.v16.services.CustomerSkAdNetworkConversionValueSchemaService.MutateCustomerSkAdNetworkConversionValueSchema].
message MutateCustomerSkAdNetworkConversionValueSchemaRequest {
  // The ID of the customer whose shared sets are being modified.
  string customer_id = 1;

  // The operation to perform.
  CustomerSkAdNetworkConversionValueSchemaOperation operation = 2;

  // If true, the request is validated but not executed. Only errors are
  // returned, not results.
  bool validate_only = 3;
}

// The result for the CustomerSkAdNetworkConversionValueSchema mutate.
message MutateCustomerSkAdNetworkConversionValueSchemaResult {
  // Resource name of the customer that was modified.
  string resource_name = 1 [(google.api.resource_reference) = {
    type: "googleads.googleapis.com/CustomerSkAdNetworkConversionValueSchema"
  }];

  // App ID of the SkanConversionValue modified.
  string app_id = 2;
}

// Response message for MutateCustomerSkAdNetworkConversionValueSchema.
message MutateCustomerSkAdNetworkConversionValueSchemaResponse {
  // All results for the mutate.
  MutateCustomerSkAdNetworkConversionValueSchemaResult result = 1;
}