--- v15/resources/ad.proto 2023-10-18 20:10:59.000000000 +0000 +++ v16/resources/ad.proto 2024-02-20 20:02:50.000000000 +0000 @@ -1,217 +1,221 @@ // Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. syntax = "proto3"; -package google.ads.googleads.v15.resources; +package google.ads.googleads.v16.resources; -import "google/ads/googleads/v15/common/ad_type_infos.proto"; -import "google/ads/googleads/v15/common/custom_parameter.proto"; -import "google/ads/googleads/v15/common/final_app_url.proto"; -import "google/ads/googleads/v15/common/url_collection.proto"; -import "google/ads/googleads/v15/enums/ad_type.proto"; -import "google/ads/googleads/v15/enums/device.proto"; -import "google/ads/googleads/v15/enums/system_managed_entity_source.proto"; +import "google/ads/googleads/v16/common/ad_type_infos.proto"; +import "google/ads/googleads/v16/common/custom_parameter.proto"; +import "google/ads/googleads/v16/common/final_app_url.proto"; +import "google/ads/googleads/v16/common/url_collection.proto"; +import "google/ads/googleads/v16/enums/ad_type.proto"; +import "google/ads/googleads/v16/enums/device.proto"; +import "google/ads/googleads/v16/enums/system_managed_entity_source.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; +option csharp_namespace = "Google.Ads.GoogleAds.V16.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v16/resources;resources"; option java_multiple_files = true; option java_outer_classname = "AdProto"; -option java_package = "com.google.ads.googleads.v15.resources"; +option java_package = "com.google.ads.googleads.v16.resources"; option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; +option php_namespace = "Google\\Ads\\GoogleAds\\V16\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V16::Resources"; // Proto file describing the ad type. // An ad. message Ad { option (google.api.resource) = { type: "googleads.googleapis.com/Ad" pattern: "customers/{customer_id}/ads/{ad_id}" }; // Immutable. The resource name of the ad. // Ad resource names have the form: // // `customers/{customer_id}/ads/{ad_id}` string resource_name = 37 [ (google.api.field_behavior) = IMMUTABLE, (google.api.resource_reference) = { type: "googleads.googleapis.com/Ad" } ]; // Output only. The ID of the ad. optional int64 id = 40 [(google.api.field_behavior) = OUTPUT_ONLY]; // The list of possible final URLs after all cross-domain redirects for the // ad. repeated string final_urls = 41; // A list of final app URLs that will be used on mobile if the user has the // specific app installed. - repeated google.ads.googleads.v15.common.FinalAppUrl final_app_urls = 35; + repeated google.ads.googleads.v16.common.FinalAppUrl final_app_urls = 35; // The list of possible final mobile URLs after all cross-domain redirects // for the ad. repeated string final_mobile_urls = 42; // The URL template for constructing a tracking URL. optional string tracking_url_template = 43; // The suffix to use when constructing a final URL. optional string final_url_suffix = 44; // The list of mappings that can be used to substitute custom parameter tags // in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. // For mutates, use url custom parameter operations. - repeated google.ads.googleads.v15.common.CustomParameter + repeated google.ads.googleads.v16.common.CustomParameter url_custom_parameters = 10; // The URL that appears in the ad description for some ad formats. optional string display_url = 45; // Output only. The type of ad. - google.ads.googleads.v15.enums.AdTypeEnum.AdType type = 5 + google.ads.googleads.v16.enums.AdTypeEnum.AdType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Indicates if this ad was automatically added by Google Ads and // not by a user. For example, this could happen when ads are automatically // created as suggestions for new ads based on knowledge of how existing ads // are performing. optional bool added_by_google_ads = 46 [(google.api.field_behavior) = OUTPUT_ONLY]; // The device preference for the ad. You can only specify a preference for // mobile devices. When this preference is set the ad will be preferred over // other ads when being displayed on a mobile device. The ad can still be // displayed on other device types, for example, if no other ads are // available. If unspecified (no device preference), all devices are targeted. // This is only supported by some ad types. - google.ads.googleads.v15.enums.DeviceEnum.Device device_preference = 20; + google.ads.googleads.v16.enums.DeviceEnum.Device device_preference = 20; // Additional URLs for the ad that are tagged with a unique identifier that // can be referenced from other fields in the ad. - repeated google.ads.googleads.v15.common.UrlCollection url_collections = 26; + repeated google.ads.googleads.v16.common.UrlCollection url_collections = 26; // Immutable. The name of the ad. This is only used to be able to identify the // ad. It does not need to be unique and does not affect the served ad. The // name field is currently only supported for DisplayUploadAd, ImageAd, // ShoppingComparisonListingAd and VideoAd. optional string name = 47 [(google.api.field_behavior) = IMMUTABLE]; // Output only. If this ad is system managed, then this field will indicate // the source. This field is read-only. - google.ads.googleads.v15.enums.SystemManagedResourceSourceEnum + google.ads.googleads.v16.enums.SystemManagedResourceSourceEnum .SystemManagedResourceSource system_managed_resource_source = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; // Details pertinent to the ad type. Exactly one value must be set. oneof ad_data { // Immutable. Details pertaining to a text ad. - google.ads.googleads.v15.common.TextAdInfo text_ad = 6 + google.ads.googleads.v16.common.TextAdInfo text_ad = 6 [(google.api.field_behavior) = IMMUTABLE]; // Details pertaining to an expanded text ad. - google.ads.googleads.v15.common.ExpandedTextAdInfo expanded_text_ad = 7; + google.ads.googleads.v16.common.ExpandedTextAdInfo expanded_text_ad = 7; // Details pertaining to a call ad. - google.ads.googleads.v15.common.CallAdInfo call_ad = 49; + google.ads.googleads.v16.common.CallAdInfo call_ad = 49; // Immutable. Details pertaining to an Expanded Dynamic Search Ad. // This type of ad has its headline, final URLs, and display URL // auto-generated at serving time according to domain name specific // information provided by `dynamic_search_ads_setting` linked at the // campaign level. - google.ads.googleads.v15.common.ExpandedDynamicSearchAdInfo + google.ads.googleads.v16.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(google.api.field_behavior) = IMMUTABLE]; // Details pertaining to a hotel ad. - google.ads.googleads.v15.common.HotelAdInfo hotel_ad = 15; + google.ads.googleads.v16.common.HotelAdInfo hotel_ad = 15; // Details pertaining to a Smart Shopping ad. - google.ads.googleads.v15.common.ShoppingSmartAdInfo shopping_smart_ad = 17; + google.ads.googleads.v16.common.ShoppingSmartAdInfo shopping_smart_ad = 17; // Details pertaining to a Shopping product ad. - google.ads.googleads.v15.common.ShoppingProductAdInfo shopping_product_ad = + google.ads.googleads.v16.common.ShoppingProductAdInfo shopping_product_ad = 18; // Immutable. Details pertaining to an Image ad. - google.ads.googleads.v15.common.ImageAdInfo image_ad = 22 + google.ads.googleads.v16.common.ImageAdInfo image_ad = 22 [(google.api.field_behavior) = IMMUTABLE]; // Details pertaining to a Video ad. - google.ads.googleads.v15.common.VideoAdInfo video_ad = 24; + google.ads.googleads.v16.common.VideoAdInfo video_ad = 24; // Details pertaining to a Video responsive ad. - google.ads.googleads.v15.common.VideoResponsiveAdInfo video_responsive_ad = + google.ads.googleads.v16.common.VideoResponsiveAdInfo video_responsive_ad = 39; // Details pertaining to a responsive search ad. - google.ads.googleads.v15.common.ResponsiveSearchAdInfo + google.ads.googleads.v16.common.ResponsiveSearchAdInfo responsive_search_ad = 25; // Details pertaining to a legacy responsive display ad. - google.ads.googleads.v15.common.LegacyResponsiveDisplayAdInfo + google.ads.googleads.v16.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28; // Details pertaining to an app ad. - google.ads.googleads.v15.common.AppAdInfo app_ad = 29; + google.ads.googleads.v16.common.AppAdInfo app_ad = 29; // Immutable. Details pertaining to a legacy app install ad. - google.ads.googleads.v15.common.LegacyAppInstallAdInfo + google.ads.googleads.v16.common.LegacyAppInstallAdInfo legacy_app_install_ad = 30 [(google.api.field_behavior) = IMMUTABLE]; // Details pertaining to a responsive display ad. - google.ads.googleads.v15.common.ResponsiveDisplayAdInfo + google.ads.googleads.v16.common.ResponsiveDisplayAdInfo responsive_display_ad = 31; // Details pertaining to a local ad. - google.ads.googleads.v15.common.LocalAdInfo local_ad = 32; + google.ads.googleads.v16.common.LocalAdInfo local_ad = 32; // Details pertaining to a display upload ad. - google.ads.googleads.v15.common.DisplayUploadAdInfo display_upload_ad = 33; + google.ads.googleads.v16.common.DisplayUploadAdInfo display_upload_ad = 33; // Details pertaining to an app engagement ad. - google.ads.googleads.v15.common.AppEngagementAdInfo app_engagement_ad = 34; + google.ads.googleads.v16.common.AppEngagementAdInfo app_engagement_ad = 34; // Details pertaining to a Shopping Comparison Listing ad. - google.ads.googleads.v15.common.ShoppingComparisonListingAdInfo + google.ads.googleads.v16.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36; // Details pertaining to a Smart campaign ad. - google.ads.googleads.v15.common.SmartCampaignAdInfo smart_campaign_ad = 48; + google.ads.googleads.v16.common.SmartCampaignAdInfo smart_campaign_ad = 48; // Details pertaining to an app pre-registration ad. - google.ads.googleads.v15.common.AppPreRegistrationAdInfo + google.ads.googleads.v16.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50; // Details pertaining to a discovery multi asset ad. - google.ads.googleads.v15.common.DiscoveryMultiAssetAdInfo + google.ads.googleads.v16.common.DiscoveryMultiAssetAdInfo discovery_multi_asset_ad = 51; // Details pertaining to a discovery carousel ad. - google.ads.googleads.v15.common.DiscoveryCarouselAdInfo + google.ads.googleads.v16.common.DiscoveryCarouselAdInfo discovery_carousel_ad = 52; // Details pertaining to a discovery video responsive ad. - google.ads.googleads.v15.common.DiscoveryVideoResponsiveAdInfo + google.ads.googleads.v16.common.DiscoveryVideoResponsiveAdInfo discovery_video_responsive_ad = 60; + // Details pertaining to a Demand Gen product ad. + google.ads.googleads.v16.common.DemandGenProductAdInfo + demand_gen_product_ad = 61; + // Details pertaining to a travel ad. - google.ads.googleads.v15.common.TravelAdInfo travel_ad = 54; + google.ads.googleads.v16.common.TravelAdInfo travel_ad = 54; } }
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/10/14 (UTC).
[null,null,["Dernière mise à jour le 2024/10/14 (UTC)."],[],[]]