payment_mode.proto 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 = "PaymentModeProto";
  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. // Proto file describing payment modes.
  26. // Container for enum describing possible payment modes.
  27. message PaymentModeEnum {
  28. // Enum describing possible payment modes.
  29. enum PaymentMode {
  30. // Not specified.
  31. UNSPECIFIED = 0;
  32. // Used for return value only. Represents value unknown in this version.
  33. UNKNOWN = 1;
  34. // Pay per click.
  35. CLICKS = 4;
  36. // Pay per conversion value. This mode is only supported by campaigns with
  37. // AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and
  38. // BudgetType.HOTEL_ADS_COMMISSION.
  39. CONVERSION_VALUE = 5;
  40. // Pay per conversion. This mode is only supported by campaigns with
  41. // AdvertisingChannelType.DISPLAY (excluding
  42. // AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA,
  43. // and BudgetType.FIXED_CPA. The customer must also be eligible for this
  44. // mode. See Customer.eligibility_failure_reasons for details.
  45. CONVERSIONS = 6;
  46. // Pay per guest stay value. This mode is only supported by campaigns with
  47. // AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and
  48. // BudgetType.STANDARD.
  49. GUEST_STAY = 7;
  50. }
  51. }