attribution_model.proto 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // Copyright 2021 Google LLC
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. syntax = "proto3";
  15. package google.ads.googleads.v6.enums;
  16. import "google/api/annotations.proto";
  17. option csharp_namespace = "Google.Ads.GoogleAds.V6.Enums";
  18. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums";
  19. option java_multiple_files = true;
  20. option java_outer_classname = "AttributionModelProto";
  21. option java_package = "com.google.ads.googleads.v6.enums";
  22. option objc_class_prefix = "GAA";
  23. option php_namespace = "Google\\Ads\\GoogleAds\\V6\\Enums";
  24. option ruby_package = "Google::Ads::GoogleAds::V6::Enums";
  25. // Container for enum representing the attribution model that describes how to
  26. // distribute credit for a particular conversion across potentially many prior
  27. // interactions.
  28. message AttributionModelEnum {
  29. // The attribution model that describes how to distribute credit for a
  30. // particular conversion across potentially many prior interactions.
  31. enum AttributionModel {
  32. // Not specified.
  33. UNSPECIFIED = 0;
  34. // Used for return value only. Represents value unknown in this version.
  35. UNKNOWN = 1;
  36. // Uses external attribution.
  37. EXTERNAL = 100;
  38. // Attributes all credit for a conversion to its last click.
  39. GOOGLE_ADS_LAST_CLICK = 101;
  40. // Attributes all credit for a conversion to its first click using Google
  41. // Search attribution.
  42. GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK = 102;
  43. // Attributes credit for a conversion equally across all of its clicks using
  44. // Google Search attribution.
  45. GOOGLE_SEARCH_ATTRIBUTION_LINEAR = 103;
  46. // Attributes exponentially more credit for a conversion to its more recent
  47. // clicks using Google Search attribution (half-life is 1 week).
  48. GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY = 104;
  49. // Attributes 40% of the credit for a conversion to its first and last
  50. // clicks. Remaining 20% is evenly distributed across all other clicks. This
  51. // uses Google Search attribution.
  52. GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED = 105;
  53. // Flexible model that uses machine learning to determine the appropriate
  54. // distribution of credit among clicks using Google Search attribution.
  55. GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106;
  56. }
  57. }