123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- syntax = "proto3";
- package google.ads.googleads.v10.services;
- import "google/ads/googleads/v10/enums/response_content_type.proto";
- import "google/ads/googleads/v10/resources/custom_conversion_goal.proto";
- import "google/api/annotations.proto";
- import "google/api/client.proto";
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/protobuf/field_mask.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 = "CustomConversionGoalServiceProto";
- 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 CustomConversionGoalService {
- option (google.api.default_host) = "googleads.googleapis.com";
- option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords";
-
-
- rpc MutateCustomConversionGoals(MutateCustomConversionGoalsRequest) returns (MutateCustomConversionGoalsResponse) {
- option (google.api.http) = {
- post: "/v10/customers/{customer_id=*}/customConversionGoals:mutate"
- body: "*"
- };
- option (google.api.method_signature) = "customer_id,operations";
- }
- }
- message MutateCustomConversionGoalsRequest {
-
- string customer_id = 1 [(google.api.field_behavior) = REQUIRED];
-
- repeated CustomConversionGoalOperation operations = 2 [(google.api.field_behavior) = REQUIRED];
-
-
- bool validate_only = 3;
-
-
- google.ads.googleads.v10.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4;
- }
- message CustomConversionGoalOperation {
-
- google.protobuf.FieldMask update_mask = 4;
-
- oneof operation {
-
-
- google.ads.googleads.v10.resources.CustomConversionGoal create = 1;
-
-
- google.ads.googleads.v10.resources.CustomConversionGoal update = 2;
-
-
-
-
- string remove = 3 [(google.api.resource_reference) = {
- type: "googleads.googleapis.com/CustomConversionGoal"
- }];
- }
- }
- message MutateCustomConversionGoalsResponse {
-
- repeated MutateCustomConversionGoalResult results = 1;
- }
- message MutateCustomConversionGoalResult {
-
- string resource_name = 1 [(google.api.resource_reference) = {
- type: "googleads.googleapis.com/CustomConversionGoal"
- }];
-
-
-
- google.ads.googleads.v10.resources.CustomConversionGoal custom_conversion_goal = 2;
- }
|