|
1 | | -// Copyright 2025 Google LLC |
| 1 | +// Copyright 2026 Google LLC |
2 | 2 | // |
3 | 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
4 | 4 | // you may not use this file except in compliance with the License. |
|
14 | 14 |
|
15 | 15 | syntax = "proto3"; |
16 | 16 |
|
17 | | -package google.ads.googleads.v22.common; |
| 17 | +package google.ads.googleads.v23.common; |
18 | 18 |
|
19 | | -import "google/ads/googleads/v22/common/ad_asset.proto"; |
20 | | -import "google/ads/googleads/v22/enums/call_conversion_reporting_state.proto"; |
21 | | -import "google/ads/googleads/v22/enums/display_ad_format_setting.proto"; |
22 | | -import "google/ads/googleads/v22/enums/display_upload_product_type.proto"; |
23 | | -import "google/ads/googleads/v22/enums/legacy_app_install_ad_app_store.proto"; |
24 | | -import "google/ads/googleads/v22/enums/mime_type.proto"; |
25 | | -import "google/ads/googleads/v22/enums/video_thumbnail.proto"; |
| 19 | +import "google/ads/googleads/v23/common/ad_asset.proto"; |
| 20 | +import "google/ads/googleads/v23/enums/display_ad_format_setting.proto"; |
| 21 | +import "google/ads/googleads/v23/enums/display_upload_product_type.proto"; |
| 22 | +import "google/ads/googleads/v23/enums/legacy_app_install_ad_app_store.proto"; |
| 23 | +import "google/ads/googleads/v23/enums/mime_type.proto"; |
| 24 | +import "google/ads/googleads/v23/enums/video_thumbnail.proto"; |
26 | 25 | import "google/api/field_behavior.proto"; |
27 | 26 |
|
28 | | -option csharp_namespace = "Google.Ads.GoogleAds.V22.Common"; |
29 | | -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v22/common;common"; |
| 27 | +option csharp_namespace = "Google.Ads.GoogleAds.V23.Common"; |
| 28 | +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v23/common;common"; |
30 | 29 | option java_multiple_files = true; |
31 | 30 | option java_outer_classname = "AdTypeInfosProto"; |
32 | | -option java_package = "com.google.ads.googleads.v22.common"; |
| 31 | +option java_package = "com.google.ads.googleads.v23.common"; |
33 | 32 | option objc_class_prefix = "GAA"; |
34 | | -option php_namespace = "Google\\Ads\\GoogleAds\\V22\\Common"; |
35 | | -option ruby_package = "Google::Ads::GoogleAds::V22::Common"; |
| 33 | +option php_namespace = "Google\\Ads\\GoogleAds\\V23\\Common"; |
| 34 | +option ruby_package = "Google::Ads::GoogleAds::V23::Common"; |
36 | 35 |
|
37 | 36 | // Proto file containing info messages for specific ad types. |
38 | 37 |
|
@@ -121,7 +120,7 @@ message ImageAdInfo { |
121 | 120 | optional string preview_image_url = 20; |
122 | 121 |
|
123 | 122 | // The mime type of the image. |
124 | | - google.ads.googleads.v22.enums.MimeTypeEnum.MimeType mime_type = 10; |
| 123 | + google.ads.googleads.v23.enums.MimeTypeEnum.MimeType mime_type = 10; |
125 | 124 |
|
126 | 125 | // The name of the image. If the image was created from a MediaFile, this is |
127 | 126 | // the MediaFile's name. If the image was created from bytes, this is empty. |
@@ -212,7 +211,7 @@ message InFeedVideoAdInfo { |
212 | 211 | string description2 = 3; |
213 | 212 |
|
214 | 213 | // Video thumbnail image to use. |
215 | | - google.ads.googleads.v22.enums.VideoThumbnailEnum.VideoThumbnail thumbnail = |
| 214 | + google.ads.googleads.v23.enums.VideoThumbnailEnum.VideoThumbnail thumbnail = |
216 | 215 | 4; |
217 | 216 | } |
218 | 217 |
|
@@ -268,6 +267,13 @@ message VideoResponsiveAdInfo { |
268 | 267 | // Currently, only a single value for the YouTube video asset is supported. |
269 | 268 | repeated AdVideoAsset videos = 5; |
270 | 269 |
|
| 270 | + // Optional advertiser/brand name. Maximum display width is 25 characters. |
| 271 | + AdTextAsset business_name = 9; |
| 272 | + |
| 273 | + // Optional logo image to be used in the ad. The minimum size is 128x128 and |
| 274 | + // the aspect ratio must be 1:1(+-1%). |
| 275 | + repeated AdImageAsset logo_images = 10; |
| 276 | + |
271 | 277 | // List of image assets used for the companion banner. |
272 | 278 | // Currently, only a single value for the companion banner asset is supported. |
273 | 279 | repeated AdImageAsset companion_banners = 6; |
@@ -355,7 +361,7 @@ message LegacyResponsiveDisplayAdInfo { |
355 | 361 | optional string square_marketing_image = 27; |
356 | 362 |
|
357 | 363 | // Specifies which format the ad will be served in. Default is ALL_FORMATS. |
358 | | - google.ads.googleads.v22.enums.DisplayAdFormatSettingEnum |
| 364 | + google.ads.googleads.v23.enums.DisplayAdFormatSettingEnum |
359 | 365 | .DisplayAdFormatSetting format_setting = 13; |
360 | 366 |
|
361 | 367 | // Prefix before price. For example, 'as low as'. |
@@ -439,7 +445,7 @@ message LegacyAppInstallAdInfo { |
439 | 445 | optional string app_id = 6; |
440 | 446 |
|
441 | 447 | // The app store the mobile app is available in. |
442 | | - google.ads.googleads.v22.enums.LegacyAppInstallAdAppStoreEnum |
| 448 | + google.ads.googleads.v23.enums.LegacyAppInstallAdAppStoreEnum |
443 | 449 | .LegacyAppInstallAdAppStore app_store = 2; |
444 | 450 |
|
445 | 451 | // The headline of the ad. |
@@ -521,7 +527,7 @@ message ResponsiveDisplayAdInfo { |
521 | 527 | optional string promo_text = 23; |
522 | 528 |
|
523 | 529 | // Specifies which format the ad will be served in. Default is ALL_FORMATS. |
524 | | - google.ads.googleads.v22.enums.DisplayAdFormatSettingEnum |
| 530 | + google.ads.googleads.v23.enums.DisplayAdFormatSettingEnum |
525 | 531 | .DisplayAdFormatSetting format_setting = 16; |
526 | 532 |
|
527 | 533 | // Specification for various creative controls. |
@@ -572,7 +578,7 @@ message LocalAdInfo { |
572 | 578 | // need to be included with the ad. |
573 | 579 | message DisplayUploadAdInfo { |
574 | 580 | // The product type of this ad. See comments on the enum for details. |
575 | | - google.ads.googleads.v22.enums.DisplayUploadProductTypeEnum |
| 581 | + google.ads.googleads.v23.enums.DisplayUploadProductTypeEnum |
576 | 582 | .DisplayUploadProductType display_upload_product_type = 1; |
577 | 583 |
|
578 | 584 | // The asset data that makes up the ad. |
@@ -608,60 +614,6 @@ message SmartCampaignAdInfo { |
608 | 614 | repeated AdTextAsset descriptions = 2; |
609 | 615 | } |
610 | 616 |
|
611 | | -// A call ad. |
612 | | -message CallAdInfo { |
613 | | - // The country code in the ad. |
614 | | - string country_code = 1; |
615 | | - |
616 | | - // The phone number in the ad. |
617 | | - string phone_number = 2; |
618 | | - |
619 | | - // The business name in the ad. |
620 | | - string business_name = 3; |
621 | | - |
622 | | - // First headline in the ad. |
623 | | - string headline1 = 11; |
624 | | - |
625 | | - // Second headline in the ad. |
626 | | - string headline2 = 12; |
627 | | - |
628 | | - // The first line of the ad's description. |
629 | | - string description1 = 4; |
630 | | - |
631 | | - // The second line of the ad's description. |
632 | | - string description2 = 5; |
633 | | - |
634 | | - // Whether to enable call tracking for the creative. Enabling call |
635 | | - // tracking also enables call conversions. |
636 | | - bool call_tracked = 6; |
637 | | - |
638 | | - // Whether to disable call conversion for the creative. |
639 | | - // If set to `true`, disables call conversions even when `call_tracked` is |
640 | | - // `true`. |
641 | | - // If `call_tracked` is `false`, this field is ignored. |
642 | | - bool disable_call_conversion = 7; |
643 | | - |
644 | | - // The URL to be used for phone number verification. |
645 | | - string phone_number_verification_url = 8; |
646 | | - |
647 | | - // The conversion action to attribute a call conversion to. If not set a |
648 | | - // default conversion action is used. This field only has effect if |
649 | | - // `call_tracked` is set to `true`. Otherwise this field is ignored. |
650 | | - string conversion_action = 9; |
651 | | - |
652 | | - // The call conversion behavior of this call ad. It can use its own call |
653 | | - // conversion setting, inherit the account level setting, or be disabled. |
654 | | - google.ads.googleads.v22.enums.CallConversionReportingStateEnum |
655 | | - .CallConversionReportingState conversion_reporting_state = 10; |
656 | | - |
657 | | - // First part of text that can be appended to the URL in the ad. Optional. |
658 | | - string path1 = 13; |
659 | | - |
660 | | - // Second part of text that can be appended to the URL in the ad. This field |
661 | | - // can only be set when `path1` is also set. Optional. |
662 | | - string path2 = 14; |
663 | | -} |
664 | | - |
665 | 617 | // A Demand Gen multi asset ad. |
666 | 618 | message DemandGenMultiAssetAdInfo { |
667 | 619 | // Marketing image assets to be used in the ad. Valid image types are GIF, |
@@ -711,9 +663,6 @@ message DemandGenMultiAssetAdInfo { |
711 | 663 |
|
712 | 664 | // Call to action text. |
713 | 665 | optional string call_to_action_text = 8; |
714 | | - |
715 | | - // Boolean option that indicates if this ad must be served with lead form. |
716 | | - optional bool lead_form_only = 9; |
717 | 666 | } |
718 | 667 |
|
719 | 668 | // A Demand Gen carousel ad. |
@@ -757,6 +706,10 @@ message DemandGenVideoResponsiveAdInfo { |
757 | 706 | // The minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%). |
758 | 707 | repeated AdImageAsset logo_images = 5; |
759 | 708 |
|
| 709 | + // List of image assets used for the companion banner. |
| 710 | + // Currently, only a single value for the companion banner asset is supported. |
| 711 | + repeated AdImageAsset companion_banners = 10; |
| 712 | + |
760 | 713 | // First part of text that appears in the ad with the displayed URL. |
761 | 714 | string breadcrumb1 = 6; |
762 | 715 |
|
|
0 commit comments