PageRenderTime 50ms CodeModel.GetById 4ms RepoModel.GetById 1ms app.codeStats 0ms

/wp-content/plugins/google-listings-and-ads/vendor/googleads/google-ads-php/src/Google/Ads/GoogleAds/V9/Enums/RecommendationTypeEnum/RecommendationType.php

https://gitlab.com/remyvianne/krowkaramel
PHP | 197 lines | 66 code | 9 blank | 122 comment | 2 complexity | 8240e3a324626cf2951d7817295b2337 MD5 | raw file
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: google/ads/googleads/v9/enums/recommendation_type.proto
  4. namespace Google\Ads\GoogleAds\V9\Enums\RecommendationTypeEnum;
  5. use UnexpectedValueException;
  6. /**
  7. * Types of recommendations.
  8. *
  9. * Protobuf type <code>google.ads.googleads.v9.enums.RecommendationTypeEnum.RecommendationType</code>
  10. */
  11. class RecommendationType
  12. {
  13. /**
  14. * Not specified.
  15. *
  16. * Generated from protobuf enum <code>UNSPECIFIED = 0;</code>
  17. */
  18. const UNSPECIFIED = 0;
  19. /**
  20. * Used for return value only. Represents value unknown in this version.
  21. *
  22. * Generated from protobuf enum <code>UNKNOWN = 1;</code>
  23. */
  24. const UNKNOWN = 1;
  25. /**
  26. * Budget recommendation for campaigns that are currently budget-constrained
  27. * (as opposed to the FORECASTING_CAMPAIGN_BUDGET recommendation, which
  28. * applies to campaigns that are expected to become budget-constrained in
  29. * the future).
  30. *
  31. * Generated from protobuf enum <code>CAMPAIGN_BUDGET = 2;</code>
  32. */
  33. const CAMPAIGN_BUDGET = 2;
  34. /**
  35. * Keyword recommendation.
  36. *
  37. * Generated from protobuf enum <code>KEYWORD = 3;</code>
  38. */
  39. const KEYWORD = 3;
  40. /**
  41. * Recommendation to add a new text ad.
  42. *
  43. * Generated from protobuf enum <code>TEXT_AD = 4;</code>
  44. */
  45. const TEXT_AD = 4;
  46. /**
  47. * Recommendation to update a campaign to use a Target CPA bidding strategy.
  48. *
  49. * Generated from protobuf enum <code>TARGET_CPA_OPT_IN = 5;</code>
  50. */
  51. const TARGET_CPA_OPT_IN = 5;
  52. /**
  53. * Recommendation to update a campaign to use the Maximize Conversions
  54. * bidding strategy.
  55. *
  56. * Generated from protobuf enum <code>MAXIMIZE_CONVERSIONS_OPT_IN = 6;</code>
  57. */
  58. const MAXIMIZE_CONVERSIONS_OPT_IN = 6;
  59. /**
  60. * Recommendation to enable Enhanced Cost Per Click for a campaign.
  61. *
  62. * Generated from protobuf enum <code>ENHANCED_CPC_OPT_IN = 7;</code>
  63. */
  64. const ENHANCED_CPC_OPT_IN = 7;
  65. /**
  66. * Recommendation to start showing your campaign's ads on Google Search
  67. * Partners Websites.
  68. *
  69. * Generated from protobuf enum <code>SEARCH_PARTNERS_OPT_IN = 8;</code>
  70. */
  71. const SEARCH_PARTNERS_OPT_IN = 8;
  72. /**
  73. * Recommendation to update a campaign to use a Maximize Clicks bidding
  74. * strategy.
  75. *
  76. * Generated from protobuf enum <code>MAXIMIZE_CLICKS_OPT_IN = 9;</code>
  77. */
  78. const MAXIMIZE_CLICKS_OPT_IN = 9;
  79. /**
  80. * Recommendation to start using the "Optimize" ad rotation setting for the
  81. * given ad group.
  82. *
  83. * Generated from protobuf enum <code>OPTIMIZE_AD_ROTATION = 10;</code>
  84. */
  85. const OPTIMIZE_AD_ROTATION = 10;
  86. /**
  87. * Recommendation to add callout extensions to a campaign.
  88. *
  89. * Generated from protobuf enum <code>CALLOUT_EXTENSION = 11;</code>
  90. */
  91. const CALLOUT_EXTENSION = 11;
  92. /**
  93. * Recommendation to add sitelink extensions to a campaign.
  94. *
  95. * Generated from protobuf enum <code>SITELINK_EXTENSION = 12;</code>
  96. */
  97. const SITELINK_EXTENSION = 12;
  98. /**
  99. * Recommendation to add call extensions to a campaign.
  100. *
  101. * Generated from protobuf enum <code>CALL_EXTENSION = 13;</code>
  102. */
  103. const CALL_EXTENSION = 13;
  104. /**
  105. * Recommendation to change an existing keyword from one match type to a
  106. * broader match type.
  107. *
  108. * Generated from protobuf enum <code>KEYWORD_MATCH_TYPE = 14;</code>
  109. */
  110. const KEYWORD_MATCH_TYPE = 14;
  111. /**
  112. * Recommendation to move unused budget from one budget to a constrained
  113. * budget.
  114. *
  115. * Generated from protobuf enum <code>MOVE_UNUSED_BUDGET = 15;</code>
  116. */
  117. const MOVE_UNUSED_BUDGET = 15;
  118. /**
  119. * Budget recommendation for campaigns that are expected to become
  120. * budget-constrained in the future (as opposed to the CAMPAIGN_BUDGET
  121. * recommendation, which applies to campaigns that are currently
  122. * budget-constrained).
  123. *
  124. * Generated from protobuf enum <code>FORECASTING_CAMPAIGN_BUDGET = 16;</code>
  125. */
  126. const FORECASTING_CAMPAIGN_BUDGET = 16;
  127. /**
  128. * Recommendation to update a campaign to use a Target ROAS bidding
  129. * strategy.
  130. *
  131. * Generated from protobuf enum <code>TARGET_ROAS_OPT_IN = 17;</code>
  132. */
  133. const TARGET_ROAS_OPT_IN = 17;
  134. /**
  135. * Recommendation to add a new responsive search ad.
  136. *
  137. * Generated from protobuf enum <code>RESPONSIVE_SEARCH_AD = 18;</code>
  138. */
  139. const RESPONSIVE_SEARCH_AD = 18;
  140. /**
  141. * Budget recommendation for campaigns whose ROI is predicted to increase
  142. * with a budget adjustment.
  143. *
  144. * Generated from protobuf enum <code>MARGINAL_ROI_CAMPAIGN_BUDGET = 19;</code>
  145. */
  146. const MARGINAL_ROI_CAMPAIGN_BUDGET = 19;
  147. private static $valueToName = [
  148. self::UNSPECIFIED => 'UNSPECIFIED',
  149. self::UNKNOWN => 'UNKNOWN',
  150. self::CAMPAIGN_BUDGET => 'CAMPAIGN_BUDGET',
  151. self::KEYWORD => 'KEYWORD',
  152. self::TEXT_AD => 'TEXT_AD',
  153. self::TARGET_CPA_OPT_IN => 'TARGET_CPA_OPT_IN',
  154. self::MAXIMIZE_CONVERSIONS_OPT_IN => 'MAXIMIZE_CONVERSIONS_OPT_IN',
  155. self::ENHANCED_CPC_OPT_IN => 'ENHANCED_CPC_OPT_IN',
  156. self::SEARCH_PARTNERS_OPT_IN => 'SEARCH_PARTNERS_OPT_IN',
  157. self::MAXIMIZE_CLICKS_OPT_IN => 'MAXIMIZE_CLICKS_OPT_IN',
  158. self::OPTIMIZE_AD_ROTATION => 'OPTIMIZE_AD_ROTATION',
  159. self::CALLOUT_EXTENSION => 'CALLOUT_EXTENSION',
  160. self::SITELINK_EXTENSION => 'SITELINK_EXTENSION',
  161. self::CALL_EXTENSION => 'CALL_EXTENSION',
  162. self::KEYWORD_MATCH_TYPE => 'KEYWORD_MATCH_TYPE',
  163. self::MOVE_UNUSED_BUDGET => 'MOVE_UNUSED_BUDGET',
  164. self::FORECASTING_CAMPAIGN_BUDGET => 'FORECASTING_CAMPAIGN_BUDGET',
  165. self::TARGET_ROAS_OPT_IN => 'TARGET_ROAS_OPT_IN',
  166. self::RESPONSIVE_SEARCH_AD => 'RESPONSIVE_SEARCH_AD',
  167. self::MARGINAL_ROI_CAMPAIGN_BUDGET => 'MARGINAL_ROI_CAMPAIGN_BUDGET',
  168. ];
  169. public static function name($value)
  170. {
  171. if (!isset(self::$valueToName[$value])) {
  172. throw new UnexpectedValueException(sprintf(
  173. 'Enum %s has no name defined for value %s', __CLASS__, $value));
  174. }
  175. return self::$valueToName[$value];
  176. }
  177. public static function value($name)
  178. {
  179. $const = __CLASS__ . '::' . strtoupper($name);
  180. if (!defined($const)) {
  181. throw new UnexpectedValueException(sprintf(
  182. 'Enum %s has no value defined for name %s', __CLASS__, $name));
  183. }
  184. return constant($const);
  185. }
  186. }
  187. // Adding a class alias for backwards compatibility with the previous class name.
  188. class_alias(RecommendationType::class, \Google\Ads\GoogleAds\V9\Enums\RecommendationTypeEnum_RecommendationType::class);