lib/google/ads/google_ads/v3/resources/ad_pb.rb in google-ads-googleads-6.0.0 vs lib/google/ads/google_ads/v3/resources/ad_pb.rb in google-ads-googleads-7.0.0
- old
+ new
@@ -1,7 +1,7 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/ads/google_ads/v3/resources/ad.proto
+# source: google/ads/googleads/v3/resources/ad.proto
require 'google/protobuf'
require 'google/ads/google_ads/v3/common/ad_type_infos_pb'
require 'google/ads/google_ads/v3/common/custom_parameter_pb'
@@ -13,47 +13,57 @@
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/protobuf/wrappers_pb'
require 'google/api/annotations_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
- add_message "google.ads.googleads.v3.resources.Ad" do
- optional :resource_name, :string, 37
- optional :id, :message, 1, "google.protobuf.Int64Value"
- repeated :final_urls, :message, 2, "google.protobuf.StringValue"
- repeated :final_app_urls, :message, 35, "google.ads.googleads.v3.common.FinalAppUrl"
- repeated :final_mobile_urls, :message, 16, "google.protobuf.StringValue"
- optional :tracking_url_template, :message, 12, "google.protobuf.StringValue"
- optional :final_url_suffix, :message, 38, "google.protobuf.StringValue"
- repeated :url_custom_parameters, :message, 10, "google.ads.googleads.v3.common.CustomParameter"
- optional :display_url, :message, 4, "google.protobuf.StringValue"
- optional :type, :enum, 5, "google.ads.googleads.v3.enums.AdTypeEnum.AdType"
- optional :added_by_google_ads, :message, 19, "google.protobuf.BoolValue"
- optional :device_preference, :enum, 20, "google.ads.googleads.v3.enums.DeviceEnum.Device"
- repeated :url_collections, :message, 26, "google.ads.googleads.v3.common.UrlCollection"
- optional :name, :message, 23, "google.protobuf.StringValue"
- optional :system_managed_resource_source, :enum, 27, "google.ads.googleads.v3.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource"
- oneof :ad_data do
- optional :text_ad, :message, 6, "google.ads.googleads.v3.common.TextAdInfo"
- optional :expanded_text_ad, :message, 7, "google.ads.googleads.v3.common.ExpandedTextAdInfo"
- optional :call_only_ad, :message, 13, "google.ads.googleads.v3.common.CallOnlyAdInfo"
- optional :expanded_dynamic_search_ad, :message, 14, "google.ads.googleads.v3.common.ExpandedDynamicSearchAdInfo"
- optional :hotel_ad, :message, 15, "google.ads.googleads.v3.common.HotelAdInfo"
- optional :shopping_smart_ad, :message, 17, "google.ads.googleads.v3.common.ShoppingSmartAdInfo"
- optional :shopping_product_ad, :message, 18, "google.ads.googleads.v3.common.ShoppingProductAdInfo"
- optional :gmail_ad, :message, 21, "google.ads.googleads.v3.common.GmailAdInfo"
- optional :image_ad, :message, 22, "google.ads.googleads.v3.common.ImageAdInfo"
- optional :video_ad, :message, 24, "google.ads.googleads.v3.common.VideoAdInfo"
- optional :responsive_search_ad, :message, 25, "google.ads.googleads.v3.common.ResponsiveSearchAdInfo"
- optional :legacy_responsive_display_ad, :message, 28, "google.ads.googleads.v3.common.LegacyResponsiveDisplayAdInfo"
- optional :app_ad, :message, 29, "google.ads.googleads.v3.common.AppAdInfo"
- optional :legacy_app_install_ad, :message, 30, "google.ads.googleads.v3.common.LegacyAppInstallAdInfo"
- optional :responsive_display_ad, :message, 31, "google.ads.googleads.v3.common.ResponsiveDisplayAdInfo"
- optional :display_upload_ad, :message, 33, "google.ads.googleads.v3.common.DisplayUploadAdInfo"
- optional :app_engagement_ad, :message, 34, "google.ads.googleads.v3.common.AppEngagementAdInfo"
- optional :shopping_comparison_listing_ad, :message, 36, "google.ads.googleads.v3.common.ShoppingComparisonListingAdInfo"
+ add_file("google/ads/googleads/v3/resources/ad.proto", :syntax => :proto3) do
+ add_message "google.ads.googleads.v3.resources.Ad" do
+ optional :resource_name, :string, 37
+ optional :id, :message, 1, "google.protobuf.Int64Value"
+ repeated :final_urls, :message, 2, "google.protobuf.StringValue"
+ repeated :final_app_urls, :message, 35, "google.ads.googleads.v3.common.FinalAppUrl"
+ repeated :final_mobile_urls, :message, 16, "google.protobuf.StringValue"
+ optional :tracking_url_template, :message, 12, "google.protobuf.StringValue"
+ optional :final_url_suffix, :message, 38, "google.protobuf.StringValue"
+ repeated :url_custom_parameters, :message, 10, "google.ads.googleads.v3.common.CustomParameter"
+ optional :display_url, :message, 4, "google.protobuf.StringValue"
+ optional :type, :enum, 5, "google.ads.googleads.v3.enums.AdTypeEnum.AdType"
+ optional :added_by_google_ads, :message, 19, "google.protobuf.BoolValue"
+ optional :device_preference, :enum, 20, "google.ads.googleads.v3.enums.DeviceEnum.Device"
+ repeated :url_collections, :message, 26, "google.ads.googleads.v3.common.UrlCollection"
+ optional :name, :message, 23, "google.protobuf.StringValue"
+ optional :system_managed_resource_source, :enum, 27, "google.ads.googleads.v3.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource"
+ oneof :ad_data do
+ optional :text_ad, :message, 6, "google.ads.googleads.v3.common.TextAdInfo"
+ optional :expanded_text_ad, :message, 7, "google.ads.googleads.v3.common.ExpandedTextAdInfo"
+ optional :call_only_ad, :message, 13, "google.ads.googleads.v3.common.CallOnlyAdInfo"
+ optional :expanded_dynamic_search_ad, :message, 14, "google.ads.googleads.v3.common.ExpandedDynamicSearchAdInfo"
+ optional :hotel_ad, :message, 15, "google.ads.googleads.v3.common.HotelAdInfo"
+ optional :shopping_smart_ad, :message, 17, "google.ads.googleads.v3.common.ShoppingSmartAdInfo"
+ optional :shopping_product_ad, :message, 18, "google.ads.googleads.v3.common.ShoppingProductAdInfo"
+ optional :gmail_ad, :message, 21, "google.ads.googleads.v3.common.GmailAdInfo"
+ optional :image_ad, :message, 22, "google.ads.googleads.v3.common.ImageAdInfo"
+ optional :video_ad, :message, 24, "google.ads.googleads.v3.common.VideoAdInfo"
+ optional :responsive_search_ad, :message, 25, "google.ads.googleads.v3.common.ResponsiveSearchAdInfo"
+ optional :legacy_responsive_display_ad, :message, 28, "google.ads.googleads.v3.common.LegacyResponsiveDisplayAdInfo"
+ optional :app_ad, :message, 29, "google.ads.googleads.v3.common.AppAdInfo"
+ optional :legacy_app_install_ad, :message, 30, "google.ads.googleads.v3.common.LegacyAppInstallAdInfo"
+ optional :responsive_display_ad, :message, 31, "google.ads.googleads.v3.common.ResponsiveDisplayAdInfo"
+ optional :display_upload_ad, :message, 33, "google.ads.googleads.v3.common.DisplayUploadAdInfo"
+ optional :app_engagement_ad, :message, 34, "google.ads.googleads.v3.common.AppEngagementAdInfo"
+ optional :shopping_comparison_listing_ad, :message, 36, "google.ads.googleads.v3.common.ShoppingComparisonListingAdInfo"
+ end
end
end
end
-module Google::Ads::GoogleAds::V3::Resources
- Ad = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.resources.Ad").msgclass
+module Google
+ module Ads
+ module GoogleAds
+ module V3
+ module Resources
+ Ad = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.resources.Ad").msgclass
+ end
+ end
+ end
+ end
end