targeting_dimension.proto 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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.v11.enums;
  16. option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums";
  17. option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums";
  18. option java_multiple_files = true;
  19. option java_outer_classname = "TargetingDimensionProto";
  20. option java_package = "com.google.ads.googleads.v11.enums";
  21. option objc_class_prefix = "GAA";
  22. option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums";
  23. option ruby_package = "Google::Ads::GoogleAds::V11::Enums";
  24. // Proto file describing criteria types.
  25. // The dimensions that can be targeted.
  26. message TargetingDimensionEnum {
  27. // Enum describing possible targeting dimensions.
  28. enum TargetingDimension {
  29. // Not specified.
  30. UNSPECIFIED = 0;
  31. // Used for return value only. Represents value unknown in this version.
  32. UNKNOWN = 1;
  33. // Keyword criteria, for example, 'mars cruise'. KEYWORD may be used as a
  34. // custom bid dimension. Keywords are always a targeting dimension, so may
  35. // not be set as a target "ALL" dimension with TargetRestriction.
  36. KEYWORD = 2;
  37. // Audience criteria, which include user list, user interest, custom
  38. // affinity, and custom in market.
  39. AUDIENCE = 3;
  40. // Topic criteria for targeting categories of content, for example,
  41. // 'category::Animals>Pets' Used for Display and Video targeting.
  42. TOPIC = 4;
  43. // Criteria for targeting gender.
  44. GENDER = 5;
  45. // Criteria for targeting age ranges.
  46. AGE_RANGE = 6;
  47. // Placement criteria, which include websites like 'www.flowers4sale.com',
  48. // as well as mobile applications, mobile app categories, YouTube videos,
  49. // and YouTube channels.
  50. PLACEMENT = 7;
  51. // Criteria for parental status targeting.
  52. PARENTAL_STATUS = 8;
  53. // Criteria for income range targeting.
  54. INCOME_RANGE = 9;
  55. }
  56. }