attribution_model.proto 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // Copyright 2022 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.v10.enums;
  16. option csharp_namespace = "Google.Ads.GoogleAds.V10.Enums";
  17. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v10/enums;enums";
  18. option java_multiple_files = true;
  19. option java_outer_classname = "AttributionModelProto";
  20. option java_package = "com.google.ads.googleads.v10.enums";
  21. option objc_class_prefix = "GAA";
  22. option php_namespace = "Google\\Ads\\GoogleAds\\V10\\Enums";
  23. option ruby_package = "Google::Ads::GoogleAds::V10::Enums";
  24. // Container for enum representing the attribution model that describes how to
  25. // distribute credit for a particular conversion across potentially many prior
  26. // interactions.
  27. message AttributionModelEnum {
  28. // The attribution model that describes how to distribute credit for a
  29. // particular conversion across potentially many prior interactions.
  30. enum AttributionModel {
  31. // Not specified.
  32. UNSPECIFIED = 0;
  33. // Used for return value only. Represents value unknown in this version.
  34. UNKNOWN = 1;
  35. // Uses external attribution.
  36. EXTERNAL = 100;
  37. // Attributes all credit for a conversion to its last click.
  38. GOOGLE_ADS_LAST_CLICK = 101;
  39. // Attributes all credit for a conversion to its first click using Google
  40. // Search attribution.
  41. GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK = 102;
  42. // Attributes credit for a conversion equally across all of its clicks using
  43. // Google Search attribution.
  44. GOOGLE_SEARCH_ATTRIBUTION_LINEAR = 103;
  45. // Attributes exponentially more credit for a conversion to its more recent
  46. // clicks using Google Search attribution (half-life is 1 week).
  47. GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY = 104;
  48. // Attributes 40% of the credit for a conversion to its first and last
  49. // clicks. Remaining 20% is evenly distributed across all other clicks. This
  50. // uses Google Search attribution.
  51. GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED = 105;
  52. // Flexible model that uses machine learning to determine the appropriate
  53. // distribution of credit among clicks using Google Search attribution.
  54. GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106;
  55. }
  56. }