From b4771b17d48844799d73f88f51de0bf5b7bb05ca Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 27 Mar 2024 08:06:04 -0700 Subject: [PATCH] feat: Add DEMAND_GEN_ADS and DEMAND_GEN_ADS_DISCOVER_SURFACE in ReportingContextEnum docs: Deprecate DISCOVERY_ADS and document the new enum values PiperOrigin-RevId: 619534137 --- google/shopping/type/BUILD.bazel | 9 +++++++++ google/shopping/type/types.proto | 12 ++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/google/shopping/type/BUILD.bazel b/google/shopping/type/BUILD.bazel index d454578061f7b..d4f867871518d 100644 --- a/google/shopping/type/BUILD.bazel +++ b/google/shopping/type/BUILD.bazel @@ -1,5 +1,7 @@ # This file was automatically generated by BuildFileGenerator +# buildifier: disable=load-on-top + # This is an API workspace, having public visibility by default makes perfect sense. package(default_visibility = ["//visibility:public"]) @@ -20,6 +22,7 @@ proto_library( ############################################################################## # Java ############################################################################## +# buildifier: disable=same-origin-load load( "@com_google_googleapis_imports//:imports.bzl", "java_proto_library", @@ -43,6 +46,7 @@ java_gapic_assembly_gradle_pkg( ############################################################################## # Go ############################################################################## +# buildifier: disable=same-origin-load load( "@com_google_googleapis_imports//:imports.bzl", "go_proto_library", @@ -68,6 +72,7 @@ go_gapic_assembly_pkg( ############################################################################## # Python ############################################################################## +# buildifier: disable=same-origin-load load( "@com_google_googleapis_imports//:imports.bzl", "moved_proto_library", @@ -113,6 +118,7 @@ py_gapic_assembly_pkg( ############################################################################## # PHP ############################################################################## +# buildifier: disable=same-origin-load load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", @@ -134,6 +140,7 @@ php_gapic_assembly_pkg( ############################################################################## # Ruby ############################################################################## +# buildifier: disable=same-origin-load load( "@com_google_googleapis_imports//:imports.bzl", "ruby_grpc_library", @@ -154,6 +161,7 @@ ruby_grpc_library( ############################################################################## # C# ############################################################################## +# buildifier: disable=same-origin-load load( "@com_google_googleapis_imports//:imports.bzl", "csharp_proto_library", @@ -178,6 +186,7 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## +# buildifier: disable=same-origin-load load( "@com_google_googleapis_imports//:imports.bzl", "cc_grpc_library", diff --git a/google/shopping/type/types.proto b/google/shopping/type/types.proto index f2e842724a8a0..c23bf52d6261a 100644 --- a/google/shopping/type/types.proto +++ b/google/shopping/type/types.proto @@ -89,7 +89,7 @@ message Destination { // Reporting contexts are groups of surfaces and formats for product results on // Google. They can represent the entire destination (for example, [Shopping // ads](https://support.google.com/merchants/answer/6149970)) or a subset of -// formats within a destination (for example, [Discovery +// formats within a destination (for example, [Demand Gen // ads](https://support.google.com/merchants/answer/13389785)). // message ReportingContext { @@ -101,9 +101,17 @@ message ReportingContext { // [Shopping ads](https://support.google.com/merchants/answer/6149970). SHOPPING_ADS = 1; + // Deprecated: Use `DEMAND_GEN_ADS` instead. // [Discovery and Demand Gen // ads](https://support.google.com/merchants/answer/13389785). - DISCOVERY_ADS = 2; + DISCOVERY_ADS = 2 [deprecated = true]; + + // [Demand Gen ads](https://support.google.com/merchants/answer/13389785). + DEMAND_GEN_ADS = 13; + + // [Demand Gen ads on Discover + // surface](https://support.google.com/merchants/answer/13389785). + DEMAND_GEN_ADS_DISCOVER_SURFACE = 14; // [Video ads](https://support.google.com/google-ads/answer/6340491). VIDEO_ADS = 3;