Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
6744 lines (5944 sloc) 198 KB
/* Autogenerated File! Do Not Edit. */
/* .google.ads.googleads.v1.common.AdTextAsset */
export interface AdTextAsset {
text?: string;
pinned_field?: ServedAssetFieldType;
}
/* .google.ads.googleads.v1.common.AdImageAsset */
export interface AdImageAsset {
asset?: string;
}
/* .google.ads.googleads.v1.common.AdVideoAsset */
export interface AdVideoAsset {
asset?: string;
}
/* .google.ads.googleads.v1.common.AdMediaBundleAsset */
export interface AdMediaBundleAsset {
asset?: string;
}
/* .google.ads.googleads.v1.common.TextAdInfo */
export interface TextAdInfo {
headline?: string;
description1?: string;
description2?: string;
}
/* .google.ads.googleads.v1.common.ExpandedTextAdInfo */
export interface ExpandedTextAdInfo {
headline_part1?: string;
headline_part2?: string;
headline_part3?: string;
description?: string;
description2?: string;
path1?: string;
path2?: string;
}
/* .google.ads.googleads.v1.common.CallOnlyAdInfo */
export interface CallOnlyAdInfo {
country_code?: string;
phone_number?: string;
business_name?: string;
headline1?: string;
headline2?: string;
description1?: string;
description2?: string;
call_tracked?: boolean;
disable_call_conversion?: boolean;
phone_number_verification_url?: string;
conversion_action?: string;
conversion_reporting_state?: CallConversionReportingState;
}
/* .google.ads.googleads.v1.common.ExpandedDynamicSearchAdInfo */
export interface ExpandedDynamicSearchAdInfo {
description?: string;
}
/* .google.ads.googleads.v1.common.HotelAdInfo */
export interface HotelAdInfo {}
/* .google.ads.googleads.v1.common.ShoppingSmartAdInfo */
export interface ShoppingSmartAdInfo {}
/* .google.ads.googleads.v1.common.ShoppingProductAdInfo */
export interface ShoppingProductAdInfo {}
/* .google.ads.googleads.v1.common.ShoppingComparisonListingAdInfo */
export interface ShoppingComparisonListingAdInfo {
headline?: string;
}
/* .google.ads.googleads.v1.common.GmailAdInfo */
export interface GmailAdInfo {
teaser?: GmailTeaser;
header_image?: string;
marketing_image?: string;
marketing_image_headline?: string;
marketing_image_description?: string;
marketing_image_display_call_to_action?: DisplayCallToAction;
product_images?: ProductImage[];
product_videos?: ProductVideo[];
}
/* .google.ads.googleads.v1.common.GmailTeaser */
export interface GmailTeaser {
headline?: string;
description?: string;
business_name?: string;
logo_image?: string;
}
/* .google.ads.googleads.v1.common.DisplayCallToAction */
export interface DisplayCallToAction {
text?: string;
text_color?: string;
url_collection_id?: string;
}
/* .google.ads.googleads.v1.common.ProductImage */
export interface ProductImage {
product_image?: string;
description?: string;
display_call_to_action?: DisplayCallToAction;
}
/* .google.ads.googleads.v1.common.ProductVideo */
export interface ProductVideo {
product_video?: string;
}
/* .google.ads.googleads.v1.common.ImageAdInfo */
export interface ImageAdInfo {
pixel_width?: number;
pixel_height?: number;
image_url?: string;
preview_pixel_width?: number;
preview_pixel_height?: number;
preview_image_url?: string;
mime_type?: MimeType;
name?: string;
media_file?: string;
data?: string;
ad_id_to_copy_image_from?: number;
}
/* .google.ads.googleads.v1.common.VideoBumperInStreamAdInfo */
export interface VideoBumperInStreamAdInfo {}
/* .google.ads.googleads.v1.common.VideoNonSkippableInStreamAdInfo */
export interface VideoNonSkippableInStreamAdInfo {}
/* .google.ads.googleads.v1.common.VideoTrueViewInStreamAdInfo */
export interface VideoTrueViewInStreamAdInfo {
action_button_label?: string;
action_headline?: string;
companion_banner?: string;
}
/* .google.ads.googleads.v1.common.VideoOutstreamAdInfo */
export interface VideoOutstreamAdInfo {
headline?: string;
description?: string;
}
/* .google.ads.googleads.v1.common.VideoAdInfo */
export interface VideoAdInfo {
media_file?: string;
in_stream?: VideoTrueViewInStreamAdInfo;
bumper?: VideoBumperInStreamAdInfo;
out_stream?: VideoOutstreamAdInfo;
non_skippable?: VideoNonSkippableInStreamAdInfo;
}
/* .google.ads.googleads.v1.common.ResponsiveSearchAdInfo */
export interface ResponsiveSearchAdInfo {
headlines?: AdTextAsset[];
descriptions?: AdTextAsset[];
path1?: string;
path2?: string;
}
/* .google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo */
export interface LegacyResponsiveDisplayAdInfo {
short_headline?: string;
long_headline?: string;
description?: string;
business_name?: string;
allow_flexible_color?: boolean;
accent_color?: string;
main_color?: string;
call_to_action_text?: string;
logo_image?: string;
square_logo_image?: string;
marketing_image?: string;
square_marketing_image?: string;
format_setting?: DisplayAdFormatSetting;
price_prefix?: string;
promo_text?: string;
}
/* .google.ads.googleads.v1.common.AppAdInfo */
export interface AppAdInfo {
mandatory_ad_text?: AdTextAsset;
headlines?: AdTextAsset[];
descriptions?: AdTextAsset[];
images?: AdImageAsset[];
youtube_videos?: AdVideoAsset[];
html_5_media_bundles?: AdMediaBundleAsset[];
}
/* .google.ads.googleads.v1.common.AppEngagementAdInfo */
export interface AppEngagementAdInfo {
headlines?: AdTextAsset[];
descriptions?: AdTextAsset[];
images?: AdImageAsset[];
videos?: AdVideoAsset[];
}
/* .google.ads.googleads.v1.common.LegacyAppInstallAdInfo */
export interface LegacyAppInstallAdInfo {
app_id?: string;
app_store?: LegacyAppInstallAdAppStore;
headline?: string;
description1?: string;
description2?: string;
}
/* .google.ads.googleads.v1.common.ResponsiveDisplayAdInfo */
export interface ResponsiveDisplayAdInfo {
marketing_images?: AdImageAsset[];
square_marketing_images?: AdImageAsset[];
logo_images?: AdImageAsset[];
square_logo_images?: AdImageAsset[];
headlines?: AdTextAsset[];
long_headline?: AdTextAsset;
descriptions?: AdTextAsset[];
youtube_videos?: AdVideoAsset[];
business_name?: string;
main_color?: string;
accent_color?: string;
allow_flexible_color?: boolean;
call_to_action_text?: string;
price_prefix?: string;
promo_text?: string;
format_setting?: DisplayAdFormatSetting;
}
/* .google.ads.googleads.v1.common.DisplayUploadAdInfo */
export interface DisplayUploadAdInfo {
display_upload_product_type?: DisplayUploadProductType;
media_bundle?: AdMediaBundleAsset;
}
/* .google.ads.googleads.v1.common.YoutubeVideoAsset */
export interface YoutubeVideoAsset {
youtube_video_id?: string;
}
/* .google.ads.googleads.v1.common.MediaBundleAsset */
export interface MediaBundleAsset {
data?: string;
}
/* .google.ads.googleads.v1.common.ImageAsset */
export interface ImageAsset {
data?: string;
file_size?: number;
mime_type?: MimeType;
full_size?: ImageDimension;
}
/* .google.ads.googleads.v1.common.ImageDimension */
export interface ImageDimension {
height_pixels?: number;
width_pixels?: number;
url?: string;
}
/* .google.ads.googleads.v1.common.TextAsset */
export interface TextAsset {
text?: string;
}
/* .google.ads.googleads.v1.common.Commission */
export interface Commission {
commission_rate_micros?: number;
}
/* .google.ads.googleads.v1.common.EnhancedCpc */
export interface EnhancedCpc {}
/* .google.ads.googleads.v1.common.ManualCpc */
export interface ManualCpc {
enhanced_cpc_enabled?: boolean;
}
/* .google.ads.googleads.v1.common.ManualCpm */
export interface ManualCpm {}
/* .google.ads.googleads.v1.common.ManualCpv */
export interface ManualCpv {}
/* .google.ads.googleads.v1.common.MaximizeConversions */
export interface MaximizeConversions {}
/* .google.ads.googleads.v1.common.MaximizeConversionValue */
export interface MaximizeConversionValue {
target_roas?: number;
}
/* .google.ads.googleads.v1.common.PageOnePromoted */
export interface PageOnePromoted {
strategy_goal?: PageOnePromotedStrategyGoal;
cpc_bid_ceiling_micros?: number;
bid_modifier?: number;
only_raise_cpc_bids?: boolean;
raise_cpc_bid_when_budget_constrained?: boolean;
raise_cpc_bid_when_quality_score_is_low?: boolean;
}
/* .google.ads.googleads.v1.common.TargetCpa */
export interface TargetCpa {
target_cpa_micros?: number;
cpc_bid_ceiling_micros?: number;
cpc_bid_floor_micros?: number;
}
/* .google.ads.googleads.v1.common.TargetCpm */
export interface TargetCpm {}
/* .google.ads.googleads.v1.common.TargetImpressionShare */
export interface TargetImpressionShare {
location?: TargetImpressionShareLocation;
location_fraction_micros?: number;
cpc_bid_ceiling_micros?: number;
}
/* .google.ads.googleads.v1.common.TargetOutrankShare */
export interface TargetOutrankShare {
target_outrank_share_micros?: number;
competitor_domain?: string;
cpc_bid_ceiling_micros?: number;
only_raise_cpc_bids?: boolean;
raise_cpc_bid_when_quality_score_is_low?: boolean;
}
/* .google.ads.googleads.v1.common.TargetRoas */
export interface TargetRoas {
target_roas?: number;
cpc_bid_ceiling_micros?: number;
cpc_bid_floor_micros?: number;
}
/* .google.ads.googleads.v1.common.TargetSpend */
export interface TargetSpend {
target_spend_micros?: number;
cpc_bid_ceiling_micros?: number;
}
/* .google.ads.googleads.v1.common.PercentCpc */
export interface PercentCpc {
cpc_bid_ceiling_micros?: number;
enhanced_cpc_enabled?: boolean;
}
/* .google.ads.googleads.v1.common.ClickLocation */
export interface ClickLocation {
city?: string;
country?: string;
metro?: string;
most_specific?: string;
region?: string;
}
/* .google.ads.googleads.v1.common.KeywordInfo */
export interface KeywordInfo {
text?: string;
match_type?: KeywordMatchType;
}
/* .google.ads.googleads.v1.common.PlacementInfo */
export interface PlacementInfo {
url?: string;
}
/* .google.ads.googleads.v1.common.MobileAppCategoryInfo */
export interface MobileAppCategoryInfo {
mobile_app_category_constant?: string;
}
/* .google.ads.googleads.v1.common.MobileApplicationInfo */
export interface MobileApplicationInfo {
app_id?: string;
name?: string;
}
/* .google.ads.googleads.v1.common.LocationInfo */
export interface LocationInfo {
geo_target_constant?: string;
}
/* .google.ads.googleads.v1.common.DeviceInfo */
export interface DeviceInfo {
type?: Device;
}
/* .google.ads.googleads.v1.common.PreferredContentInfo */
export interface PreferredContentInfo {
type?: PreferredContentType;
}
/* .google.ads.googleads.v1.common.ListingGroupInfo */
export interface ListingGroupInfo {
type?: ListingGroupType;
case_value?: ListingDimensionInfo;
parent_ad_group_criterion?: string;
}
/* .google.ads.googleads.v1.common.ListingScopeInfo */
export interface ListingScopeInfo {
dimensions?: ListingDimensionInfo[];
}
/* .google.ads.googleads.v1.common.ListingDimensionInfo */
export interface ListingDimensionInfo {
listing_brand?: ListingBrandInfo;
hotel_id?: HotelIdInfo;
hotel_class?: HotelClassInfo;
hotel_country_region?: HotelCountryRegionInfo;
hotel_state?: HotelStateInfo;
hotel_city?: HotelCityInfo;
listing_custom_attribute?: ListingCustomAttributeInfo;
product_bidding_category?: ProductBiddingCategoryInfo;
product_channel?: ProductChannelInfo;
product_channel_exclusivity?: ProductChannelExclusivityInfo;
product_condition?: ProductConditionInfo;
product_item_id?: ProductItemIdInfo;
product_type?: ProductTypeInfo;
unknown_listing_dimension?: UnknownListingDimensionInfo;
}
/* .google.ads.googleads.v1.common.ListingBrandInfo */
export interface ListingBrandInfo {
value?: string;
}
/* .google.ads.googleads.v1.common.HotelIdInfo */
export interface HotelIdInfo {
value?: string;
}
/* .google.ads.googleads.v1.common.HotelClassInfo */
export interface HotelClassInfo {
value?: number;
}
/* .google.ads.googleads.v1.common.HotelCountryRegionInfo */
export interface HotelCountryRegionInfo {
country_region_criterion?: string;
}
/* .google.ads.googleads.v1.common.HotelStateInfo */
export interface HotelStateInfo {
state_criterion?: string;
}
/* .google.ads.googleads.v1.common.HotelCityInfo */
export interface HotelCityInfo {
city_criterion?: string;
}
/* .google.ads.googleads.v1.common.ListingCustomAttributeInfo */
export interface ListingCustomAttributeInfo {
value?: string;
index?: ListingCustomAttributeIndex;
}
/* .google.ads.googleads.v1.common.ProductBiddingCategoryInfo */
export interface ProductBiddingCategoryInfo {
id?: number;
country_code?: string;
level?: ProductBiddingCategoryLevel;
}
/* .google.ads.googleads.v1.common.ProductChannelInfo */
export interface ProductChannelInfo {
channel?: ProductChannel;
}
/* .google.ads.googleads.v1.common.ProductChannelExclusivityInfo */
export interface ProductChannelExclusivityInfo {
channel_exclusivity?: ProductChannelExclusivity;
}
/* .google.ads.googleads.v1.common.ProductConditionInfo */
export interface ProductConditionInfo {
condition?: ProductCondition;
}
/* .google.ads.googleads.v1.common.ProductItemIdInfo */
export interface ProductItemIdInfo {
value?: string;
}
/* .google.ads.googleads.v1.common.ProductTypeInfo */
export interface ProductTypeInfo {
value?: string;
level?: ProductTypeLevel;
}
/* .google.ads.googleads.v1.common.UnknownListingDimensionInfo */
export interface UnknownListingDimensionInfo {}
/* .google.ads.googleads.v1.common.HotelDateSelectionTypeInfo */
export interface HotelDateSelectionTypeInfo {
type?: HotelDateSelectionType;
}
/* .google.ads.googleads.v1.common.HotelAdvanceBookingWindowInfo */
export interface HotelAdvanceBookingWindowInfo {
min_days?: number;
max_days?: number;
}
/* .google.ads.googleads.v1.common.HotelLengthOfStayInfo */
export interface HotelLengthOfStayInfo {
min_nights?: number;
max_nights?: number;
}
/* .google.ads.googleads.v1.common.HotelCheckInDayInfo */
export interface HotelCheckInDayInfo {
day_of_week?: DayOfWeek;
}
/* .google.ads.googleads.v1.common.InteractionTypeInfo */
export interface InteractionTypeInfo {
type?: InteractionType;
}
/* .google.ads.googleads.v1.common.AdScheduleInfo */
export interface AdScheduleInfo {
start_minute?: MinuteOfHour;
end_minute?: MinuteOfHour;
start_hour?: number;
end_hour?: number;
day_of_week?: DayOfWeek;
}
/* .google.ads.googleads.v1.common.AgeRangeInfo */
export interface AgeRangeInfo {
type?: AgeRangeType;
}
/* .google.ads.googleads.v1.common.GenderInfo */
export interface GenderInfo {
type?: GenderType;
}
/* .google.ads.googleads.v1.common.IncomeRangeInfo */
export interface IncomeRangeInfo {
type?: IncomeRangeType;
}
/* .google.ads.googleads.v1.common.ParentalStatusInfo */
export interface ParentalStatusInfo {
type?: ParentalStatusType;
}
/* .google.ads.googleads.v1.common.YouTubeVideoInfo */
export interface YouTubeVideoInfo {
video_id?: string;
}
/* .google.ads.googleads.v1.common.YouTubeChannelInfo */
export interface YouTubeChannelInfo {
channel_id?: string;
}
/* .google.ads.googleads.v1.common.UserListInfo */
export interface UserListInfo {
user_list?: string;
}
/* .google.ads.googleads.v1.common.ProximityInfo */
export interface ProximityInfo {
geo_point?: GeoPointInfo;
radius?: number;
radius_units?: ProximityRadiusUnits;
address?: AddressInfo;
}
/* .google.ads.googleads.v1.common.GeoPointInfo */
export interface GeoPointInfo {
longitude_in_micro_degrees?: number;
latitude_in_micro_degrees?: number;
}
/* .google.ads.googleads.v1.common.AddressInfo */
export interface AddressInfo {
postal_code?: string;
province_code?: string;
country_code?: string;
province_name?: string;
street_address?: string;
street_address2?: string;
city_name?: string;
}
/* .google.ads.googleads.v1.common.TopicInfo */
export interface TopicInfo {
topic_constant?: string;
path?: string[];
}
/* .google.ads.googleads.v1.common.LanguageInfo */
export interface LanguageInfo {
language_constant?: string;
}
/* .google.ads.googleads.v1.common.IpBlockInfo */
export interface IpBlockInfo {
ip_address?: string;
}
/* .google.ads.googleads.v1.common.ContentLabelInfo */
export interface ContentLabelInfo {
type?: ContentLabelType;
}
/* .google.ads.googleads.v1.common.CarrierInfo */
export interface CarrierInfo {
carrier_constant?: string;
}
/* .google.ads.googleads.v1.common.UserInterestInfo */
export interface UserInterestInfo {
user_interest_category?: string;
}
/* .google.ads.googleads.v1.common.WebpageInfo */
export interface WebpageInfo {
criterion_name?: string;
conditions?: WebpageConditionInfo[];
}
/* .google.ads.googleads.v1.common.WebpageConditionInfo */
export interface WebpageConditionInfo {
operand?: WebpageConditionOperand;
operator?: WebpageConditionOperator;
argument?: string;
}
/* .google.ads.googleads.v1.common.OperatingSystemVersionInfo */
export interface OperatingSystemVersionInfo {
operating_system_version_constant?: string;
}
/* .google.ads.googleads.v1.common.AppPaymentModelInfo */
export interface AppPaymentModelInfo {
type?: AppPaymentModelType;
}
/* .google.ads.googleads.v1.common.MobileDeviceInfo */
export interface MobileDeviceInfo {
mobile_device_constant?: string;
}
/* .google.ads.googleads.v1.common.CustomAffinityInfo */
export interface CustomAffinityInfo {
custom_affinity?: string;
}
/* .google.ads.googleads.v1.common.CustomIntentInfo */
export interface CustomIntentInfo {
custom_intent?: string;
}
/* .google.ads.googleads.v1.common.LocationGroupInfo */
export interface LocationGroupInfo {
feed?: string;
geo_target_constants?: string[];
radius?: number;
radius_units?: LocationGroupRadiusUnits;
}
/* .google.ads.googleads.v1.common.CriterionCategoryAvailability */
export interface CriterionCategoryAvailability {
channel?: CriterionCategoryChannelAvailability;
locale?: CriterionCategoryLocaleAvailability[];
}
/* .google.ads.googleads.v1.common.CriterionCategoryChannelAvailability */
export interface CriterionCategoryChannelAvailability {
availability_mode?: CriterionCategoryChannelAvailabilityMode;
advertising_channel_type?: AdvertisingChannelType;
advertising_channel_sub_type?: AdvertisingChannelSubType[];
include_default_channel_sub_type?: boolean;
}
/* .google.ads.googleads.v1.common.CriterionCategoryLocaleAvailability */
export interface CriterionCategoryLocaleAvailability {
availability_mode?: CriterionCategoryLocaleAvailabilityMode;
country_code?: string;
language_code?: string;
}
/* .google.ads.googleads.v1.common.CustomParameter */
export interface CustomParameter {
key?: string;
value?: string;
}
/* .google.ads.googleads.v1.common.DateRange */
export interface DateRange {
start_date?: string;
end_date?: string;
}
/* .google.ads.googleads.v1.common.ExplorerAutoOptimizerSetting */
export interface ExplorerAutoOptimizerSetting {
opt_in?: boolean;
}
/* .google.ads.googleads.v1.common.AppFeedItem */
export interface AppFeedItem {
link_text?: string;
app_id?: string;
app_store?: AppStore;
final_urls?: string[];
final_mobile_urls?: string[];
tracking_url_template?: string;
url_custom_parameters?: CustomParameter[];
final_url_suffix?: string;
}
/* .google.ads.googleads.v1.common.CallFeedItem */
export interface CallFeedItem {
phone_number?: string;
country_code?: string;
call_tracking_enabled?: boolean;
call_conversion_action?: string;
call_conversion_tracking_disabled?: boolean;
call_conversion_reporting_state?: CallConversionReportingState;
}
/* .google.ads.googleads.v1.common.CalloutFeedItem */
export interface CalloutFeedItem {
callout_text?: string;
}
/* .google.ads.googleads.v1.common.LocationFeedItem */
export interface LocationFeedItem {
business_name?: string;
address_line1?: string;
address_line2?: string;
city?: string;
province?: string;
postal_code?: string;
country_code?: string;
phone_number?: string;
}
/* .google.ads.googleads.v1.common.AffiliateLocationFeedItem */
export interface AffiliateLocationFeedItem {
business_name?: string;
address_line1?: string;
address_line2?: string;
city?: string;
province?: string;
postal_code?: string;
country_code?: string;
phone_number?: string;
chain_id?: number;
chain_name?: string;
}
/* .google.ads.googleads.v1.common.TextMessageFeedItem */
export interface TextMessageFeedItem {
business_name?: string;
country_code?: string;
phone_number?: string;
text?: string;
extension_text?: string;
}
/* .google.ads.googleads.v1.common.PriceFeedItem */
export interface PriceFeedItem {
type?: PriceExtensionType;
price_qualifier?: PriceExtensionPriceQualifier;
tracking_url_template?: string;
language_code?: string;
price_offerings?: PriceOffer[];
final_url_suffix?: string;
}
/* .google.ads.googleads.v1.common.PriceOffer */
export interface PriceOffer {
header?: string;
description?: string;
price?: Money;
unit?: PriceExtensionPriceUnit;
final_urls?: string[];
final_mobile_urls?: string[];
}
/* .google.ads.googleads.v1.common.PromotionFeedItem */
export interface PromotionFeedItem {
promotion_target?: string;
discount_modifier?: PromotionExtensionDiscountModifier;
promotion_start_date?: string;
promotion_end_date?: string;
occasion?: PromotionExtensionOccasion;
final_urls?: string[];
final_mobile_urls?: string[];
tracking_url_template?: string;
url_custom_parameters?: CustomParameter[];
final_url_suffix?: string;
language_code?: string;
percent_off?: number;
money_amount_off?: Money;
promotion_code?: string;
orders_over_amount?: Money;
}
/* .google.ads.googleads.v1.common.StructuredSnippetFeedItem */
export interface StructuredSnippetFeedItem {
header?: string;
values?: string[];
}
/* .google.ads.googleads.v1.common.SitelinkFeedItem */
export interface SitelinkFeedItem {
link_text?: string;
line1?: string;
line2?: string;
final_urls?: string[];
final_mobile_urls?: string[];
tracking_url_template?: string;
url_custom_parameters?: CustomParameter[];
final_url_suffix?: string;
}
/* .google.ads.googleads.v1.common.Money */
export interface Money {
currency_code?: string;
amount_micros?: number;
}
/* .google.ads.googleads.v1.common.FinalAppUrl */
export interface FinalAppUrl {
os_type?: AppUrlOperatingSystemType;
url?: string;
}
/* .google.ads.googleads.v1.common.FrequencyCapEntry */
export interface FrequencyCapEntry {
key?: FrequencyCapKey;
cap?: number;
}
/* .google.ads.googleads.v1.common.FrequencyCapKey */
export interface FrequencyCapKey {
level?: FrequencyCapLevel;
event_type?: FrequencyCapEventType;
time_unit?: FrequencyCapTimeUnit;
time_length?: number;
}
/* .google.ads.googleads.v1.common.KeywordPlanHistoricalMetrics */
export interface KeywordPlanHistoricalMetrics {
avg_monthly_searches?: number;
competition?: KeywordPlanCompetitionLevel;
}
/* .google.ads.googleads.v1.common.MatchingFunction */
export interface MatchingFunction {
function_string?: string;
operator?: MatchingFunctionOperator;
left_operands?: Operand[];
right_operands?: Operand[];
}
/* .google.ads.googleads.v1.common.Operand.ConstantOperand */
export interface ConstantOperand {
string_value?: string;
long_value?: number;
boolean_value?: boolean;
double_value?: number;
}
/* .google.ads.googleads.v1.common.Operand.FeedAttributeOperand */
export interface FeedAttributeOperand {
feed_id?: number;
feed_attribute_id?: number;
}
/* .google.ads.googleads.v1.common.Operand.FunctionOperand */
export interface FunctionOperand {
matching_function?: MatchingFunction;
}
/* .google.ads.googleads.v1.common.Operand.RequestContextOperand */
export interface RequestContextOperand {
context_type?: MatchingFunctionContextType;
}
/* .google.ads.googleads.v1.common.Operand */
export interface Operand {
constant_operand?: ConstantOperand;
feed_attribute_operand?: FeedAttributeOperand;
function_operand?: FunctionOperand;
request_context_operand?: RequestContextOperand;
}
/* .google.ads.googleads.v1.common.Metrics */
export interface Metrics {
absolute_top_impression_percentage?: number;
active_view_cpm?: number;
active_view_ctr?: number;
active_view_impressions?: number;
active_view_measurability?: number;
active_view_measurable_cost_micros?: number;
active_view_measurable_impressions?: number;
active_view_viewability?: number;
all_conversions_from_interactions_rate?: number;
all_conversions_value?: number;
all_conversions?: number;
all_conversions_value_per_cost?: number;
all_conversions_from_click_to_call?: number;
all_conversions_from_directions?: number;
all_conversions_from_interactions_value_per_interaction?: number;
all_conversions_from_menu?: number;
all_conversions_from_order?: number;
all_conversions_from_other_engagement?: number;
all_conversions_from_store_visit?: number;
all_conversions_from_store_website?: number;
average_cost?: number;
average_cpc?: number;
average_cpe?: number;
average_cpm?: number;
average_cpv?: number;
average_frequency?: number;
average_page_views?: number;
average_position?: number;
average_time_on_site?: number;
benchmark_average_max_cpc?: number;
benchmark_ctr?: number;
bounce_rate?: number;
clicks?: number;
combined_clicks?: number;
combined_clicks_per_query?: number;
combined_queries?: number;
content_budget_lost_impression_share?: number;
content_impression_share?: number;
conversion_last_received_request_date_time?: string;
conversion_last_conversion_date?: string;
content_rank_lost_impression_share?: number;
conversions_from_interactions_rate?: number;
conversions_value?: number;
conversions_value_per_cost?: number;
conversions_from_interactions_value_per_interaction?: number;
conversions?: number;
cost_micros?: number;
cost_per_all_conversions?: number;
cost_per_conversion?: number;
cost_per_current_model_attributed_conversion?: number;
cross_device_conversions?: number;
ctr?: number;
current_model_attributed_conversions?: number;
current_model_attributed_conversions_from_interactions_rate?: number;
current_model_attributed_conversions_from_interactions_value_per_interaction?: number;
current_model_attributed_conversions_value?: number;
current_model_attributed_conversions_value_per_cost?: number;
engagement_rate?: number;
engagements?: number;
hotel_average_lead_value_micros?: number;
historical_creative_quality_score?: QualityScoreBucket;
historical_landing_page_quality_score?: QualityScoreBucket;
historical_quality_score?: number;
historical_search_predicted_ctr?: QualityScoreBucket;
gmail_forwards?: number;
gmail_saves?: number;
gmail_secondary_clicks?: number;
impression_reach?: number;
impressions_from_store_reach?: number;
impressions?: number;
interaction_rate?: number;
interactions?: number;
interaction_event_types?: InteractionEventType[];
invalid_click_rate?: number;
invalid_clicks?: number;
mobile_friendly_clicks_percentage?: number;
organic_clicks?: number;
organic_clicks_per_query?: number;
organic_impressions?: number;
organic_impressions_per_query?: number;
organic_queries?: number;
percent_new_visitors?: number;
phone_calls?: number;
phone_impressions?: number;
phone_through_rate?: number;
relative_ctr?: number;
search_absolute_top_impression_share?: number;
search_budget_lost_absolute_top_impression_share?: number;
search_budget_lost_impression_share?: number;
search_budget_lost_top_impression_share?: number;
search_click_share?: number;
search_exact_match_impression_share?: number;
search_impression_share?: number;
search_rank_lost_absolute_top_impression_share?: number;
search_rank_lost_impression_share?: number;
search_rank_lost_top_impression_share?: number;
search_top_impression_share?: number;
speed_score?: number;
top_impression_percentage?: number;
valid_accelerated_mobile_pages_clicks_percentage?: number;
value_per_all_conversions?: number;
value_per_conversion?: number;
value_per_current_model_attributed_conversion?: number;
video_quartile_100_rate?: number;
video_quartile_25_rate?: number;
video_quartile_50_rate?: number;
video_quartile_75_rate?: number;
video_view_rate?: number;
video_views?: number;
view_through_conversions?: number;
}
/* .google.ads.googleads.v1.common.PolicyViolationKey */
export interface PolicyViolationKey {
policy_name?: string;
violating_text?: string;
}
/* .google.ads.googleads.v1.common.PolicyValidationParameter */
export interface PolicyValidationParameter {
ignorable_policy_topics?: string[];
exempt_policy_violation_keys?: PolicyViolationKey[];
}
/* .google.ads.googleads.v1.common.PolicyTopicEntry */
export interface PolicyTopicEntry {
topic?: string;
type?: PolicyTopicEntryType;
evidences?: PolicyTopicEvidence[];
constraints?: PolicyTopicConstraint[];
}
export type PolicyTopicEvidence =
| { http_code?: number }
| { website_list?: { websites?: string[] } }
| { text_list?: { texts?: string[] } }
| { language_code?: string }
| { destination_text_list?: { destination_texts?: string[] } }
| {
destination_mismatch?: {
url_types?: PolicyTopicEvidenceDestinationMismatchUrlType[];
};
}
| {
destination_not_working?: {
expanded_url?: string;
device?: PolicyTopicEvidenceDestinationNotWorkingDevice;
last_checked_date_time?: string;
};
};
export type PolicyTopicConstraint =
| {
country_constraint_list?: {
total_targeted_countries?: number;
countries?: { country_criterion?: string }[];
};
}
| { reseller_constraint?: {} }
| {
certificate_missing_in_country_list?: {
total_targeted_countries?: number;
countries?: { country_criterion?: string }[];
};
}
| {
certificate_domain_mismatch_in_country_list?: {
total_targeted_countries?: number;
countries?: { country_criterion?: string }[];
};
};
/* .google.ads.googleads.v1.common.RealTimeBiddingSetting */
export interface RealTimeBiddingSetting {
opt_in?: boolean;
}
/* .google.ads.googleads.v1.common.Segments */
export interface Segments {
ad_network_type?: AdNetworkType;
click_type?: ClickType;
conversion_action?: string;
conversion_action_category?: ConversionActionCategory;
conversion_action_name?: string;
conversion_adjustment?: boolean;
conversion_attribution_event_type?: ConversionAttributionEventType;
conversion_lag_bucket?: ConversionLagBucket;
conversion_or_adjustment_lag_bucket?: ConversionOrAdjustmentLagBucket;
date?: string;
day_of_week?: DayOfWeek;
device?: Device;
external_conversion_source?: ExternalConversionSource;
geo_target_airport?: string;
geo_target_city?: string;
geo_target_county?: string;
geo_target_district?: string;
geo_target_metro?: string;
geo_target_most_specific_location?: string;
geo_target_postal_code?: string;
geo_target_province?: string;
geo_target_region?: string;
geo_target_state?: string;
hotel_booking_window_days?: number;
hotel_center_id?: number;
hotel_check_in_date?: string;
hotel_check_in_day_of_week?: DayOfWeek;
hotel_city?: string;
hotel_class?: number;
hotel_country?: string;
hotel_date_selection_type?: HotelDateSelectionType;
hotel_length_of_stay?: number;
hotel_rate_rule_id?: string;
hotel_rate_type?: HotelRateType;
hotel_state?: string;
hour?: number;
interaction_on_this_extension?: boolean;
keyword?: Keyword;
month?: string;
month_of_year?: MonthOfYear;
partner_hotel_id?: string;
placeholder_type?: PlaceholderType;
product_aggregator_id?: number;
product_bidding_category_level1?: string;
product_bidding_category_level2?: string;
product_bidding_category_level3?: string;
product_bidding_category_level4?: string;
product_bidding_category_level5?: string;
product_brand?: string;
product_channel?: ProductChannel;
product_channel_exclusivity?: ProductChannelExclusivity;
product_condition?: ProductCondition;
product_country?: string;
product_custom_attribute0?: string;
product_custom_attribute1?: string;
product_custom_attribute2?: string;
product_custom_attribute3?: string;
product_custom_attribute4?: string;
product_item_id?: string;
product_language?: string;
product_merchant_id?: number;
product_store_id?: string;
product_title?: string;
product_type_l1?: string;
product_type_l2?: string;
product_type_l3?: string;
product_type_l4?: string;
product_type_l5?: string;
quarter?: string;
search_engine_results_page_type?: SearchEngineResultsPageType;
search_term_match_type?: SearchTermMatchType;
slot?: Slot;
webpage?: string;
week?: string;
year?: number;
}
/* .google.ads.googleads.v1.common.Keyword */
export interface Keyword {
ad_group_criterion?: string;
info?: KeywordInfo;
}
/* .google.ads.googleads.v1.common.BidModifierSimulationPointList */
export interface BidModifierSimulationPointList {
points?: BidModifierSimulationPoint[];
}
/* .google.ads.googleads.v1.common.CpcBidSimulationPointList */
export interface CpcBidSimulationPointList {
points?: CpcBidSimulationPoint[];
}
/* .google.ads.googleads.v1.common.CpvBidSimulationPointList */
export interface CpvBidSimulationPointList {
points?: CpvBidSimulationPoint[];
}
/* .google.ads.googleads.v1.common.TargetCpaSimulationPointList */
export interface TargetCpaSimulationPointList {
points?: TargetCpaSimulationPoint[];
}
/* .google.ads.googleads.v1.common.BidModifierSimulationPoint */
export interface BidModifierSimulationPoint {
bid_modifier?: number;
biddable_conversions?: number;
biddable_conversions_value?: number;
clicks?: number;
cost_micros?: number;
impressions?: number;
top_slot_impressions?: number;
parent_biddable_conversions?: number;
parent_biddable_conversions_value?: number;
parent_clicks?: number;
parent_cost_micros?: number;
parent_impressions?: number;
parent_top_slot_impressions?: number;
}
/* .google.ads.googleads.v1.common.CpcBidSimulationPoint */
export interface CpcBidSimulationPoint {
cpc_bid_micros?: number;
biddable_conversions?: number;
biddable_conversions_value?: number;
clicks?: number;
cost_micros?: number;
impressions?: number;
top_slot_impressions?: number;
}
/* .google.ads.googleads.v1.common.CpvBidSimulationPoint */
export interface CpvBidSimulationPoint {
cpv_bid_micros?: number;
cost_micros?: number;
impressions?: number;
}
/* .google.ads.googleads.v1.common.TargetCpaSimulationPoint */
export interface TargetCpaSimulationPoint {
target_cpa_micros?: number;
biddable_conversions?: number;
biddable_conversions_value?: number;
clicks?: number;
cost_micros?: number;
impressions?: number;
top_slot_impressions?: number;
}
/* .google.ads.googleads.v1.common.TagSnippet */
export interface TagSnippet {
type?: TrackingCodeType;
page_format?: TrackingCodePageFormat;
global_site_tag?: string;
event_snippet?: string;
}
/* .google.ads.googleads.v1.common.TargetingSetting */
export interface TargetingSetting {
target_restrictions?: TargetRestriction[];
}
/* .google.ads.googleads.v1.common.TargetRestriction */
export interface TargetRestriction {
targeting_dimension?: TargetingDimension;
bid_only?: boolean;
}
/* .google.ads.googleads.v1.common.TextLabel */
export interface TextLabel {
background_color?: string;
description?: string;
}
/* .google.ads.googleads.v1.common.UrlCollection */
export interface UrlCollection {
url_collection_id?: string;
final_urls?: string[];
final_mobile_urls?: string[];
tracking_url_template?: string;
}
/* .google.ads.googleads.v1.common.SimilarUserListInfo */
export interface SimilarUserListInfo {
seed_user_list?: string;
}
/* .google.ads.googleads.v1.common.CrmBasedUserListInfo */
export interface CrmBasedUserListInfo {
app_id?: string;
upload_key_type?: CustomerMatchUploadKeyType;
data_source_type?: UserListCrmDataSourceType;
}
/* .google.ads.googleads.v1.common.UserListRuleInfo */
export interface UserListRuleInfo {
rule_type?: UserListRuleType;
rule_item_groups?: UserListRuleItemGroupInfo[];
}
/* .google.ads.googleads.v1.common.UserListRuleItemGroupInfo */
export interface UserListRuleItemGroupInfo {
rule_items?: UserListRuleItemInfo[];
}
/* .google.ads.googleads.v1.common.UserListRuleItemInfo */
export interface UserListRuleItemInfo {
name?: string;
number_rule_item?: UserListNumberRuleItemInfo;
string_rule_item?: UserListStringRuleItemInfo;
date_rule_item?: UserListDateRuleItemInfo;
}
/* .google.ads.googleads.v1.common.UserListDateRuleItemInfo */
export interface UserListDateRuleItemInfo {
operator?: UserListDateRuleItemOperator;
value?: string;
offset_in_days?: number;
}
/* .google.ads.googleads.v1.common.UserListNumberRuleItemInfo */
export interface UserListNumberRuleItemInfo {
operator?: UserListNumberRuleItemOperator;
value?: number;
}
/* .google.ads.googleads.v1.common.UserListStringRuleItemInfo */
export interface UserListStringRuleItemInfo {
operator?: UserListStringRuleItemOperator;
value?: string;
}
/* .google.ads.googleads.v1.common.CombinedRuleUserListInfo */
export interface CombinedRuleUserListInfo {
left_operand?: UserListRuleInfo;
right_operand?: UserListRuleInfo;
rule_operator?: UserListCombinedRuleOperator;
}
/* .google.ads.googleads.v1.common.DateSpecificRuleUserListInfo */
export interface DateSpecificRuleUserListInfo {
rule?: UserListRuleInfo;
start_date?: string;
end_date?: string;
}
/* .google.ads.googleads.v1.common.ExpressionRuleUserListInfo */
export interface ExpressionRuleUserListInfo {
rule?: UserListRuleInfo;
}
/* .google.ads.googleads.v1.common.RuleBasedUserListInfo */
export interface RuleBasedUserListInfo {
prepopulation_status?: UserListPrepopulationStatus;
combined_rule_user_list?: CombinedRuleUserListInfo;
date_specific_rule_user_list?: DateSpecificRuleUserListInfo;
expression_rule_user_list?: ExpressionRuleUserListInfo;
}
/* .google.ads.googleads.v1.common.LogicalUserListInfo */
export interface LogicalUserListInfo {
rules?: UserListLogicalRuleInfo[];
}
/* .google.ads.googleads.v1.common.UserListLogicalRuleInfo */
export interface UserListLogicalRuleInfo {
operator?: UserListLogicalRuleOperator;
rule_operands?: LogicalUserListOperandInfo[];
}
/* .google.ads.googleads.v1.common.LogicalUserListOperandInfo */
export interface LogicalUserListOperandInfo {
user_list?: string;
}
/* .google.ads.googleads.v1.common.BasicUserListInfo */
export interface BasicUserListInfo {
actions?: UserListActionInfo[];
}
/* .google.ads.googleads.v1.common.UserListActionInfo */
export interface UserListActionInfo {
conversion_action?: string;
remarketing_action?: string;
}
export type Value =
| { boolean_value?: boolean }
| { int_64_value?: number }
| { float_value?: number }
| { double_value?: number }
| { string_value?: string };
/* .google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal */
export interface PendingAccountBudgetProposal {
account_budget_proposal?: string;
proposal_type?: AccountBudgetProposalType;
name?: string;
start_date_time?: string;
purchase_order_number?: string;
notes?: string;
creation_date_time?: string;
end_date_time?: string;
end_time_type?: TimeType;
spending_limit_micros?: number;
spending_limit_type?: SpendingLimitType;
}
/* .google.ads.googleads.v1.resources.AccountBudget */
export interface AccountBudget {
resource_name?: string;
id?: number;
billing_setup?: string;
status?: AccountBudgetStatus;
name?: string;
proposed_start_date_time?: string;
approved_start_date_time?: string;
total_adjustments_micros?: number;
amount_served_micros?: number;
purchase_order_number?: string;
notes?: string;
pending_proposal?: PendingAccountBudgetProposal;
proposed_end_date_time?: string;
proposed_end_time_type?: TimeType;
approved_end_date_time?: string;
approved_end_time_type?: TimeType;
proposed_spending_limit_micros?: number;
proposed_spending_limit_type?: SpendingLimitType;
approved_spending_limit_micros?: number;
approved_spending_limit_type?: SpendingLimitType;
adjusted_spending_limit_micros?: number;
adjusted_spending_limit_type?: SpendingLimitType;
}
/* .google.ads.googleads.v1.resources.AccountBudgetProposal */
export interface AccountBudgetProposal {
resource_name?: string;
id?: number;
billing_setup?: string;
account_budget?: string;
proposal_type?: AccountBudgetProposalType;
status?: AccountBudgetProposalStatus;
proposed_name?: string;
approved_start_date_time?: string;
proposed_purchase_order_number?: string;
proposed_notes?: string;
creation_date_time?: string;
approval_date_time?: string;
proposed_start_date_time?: string;
proposed_start_time_type?: TimeType;
proposed_end_date_time?: string;
proposed_end_time_type?: TimeType;
approved_end_date_time?: string;
approved_end_time_type?: TimeType;
proposed_spending_limit_micros?: number;
proposed_spending_limit_type?: SpendingLimitType;
approved_spending_limit_micros?: number;
approved_spending_limit_type?: SpendingLimitType;
}
/* .google.ads.googleads.v1.resources.Ad */
export interface Ad {
id?: number;
final_urls?: string[];
final_app_urls?: FinalAppUrl[];
final_mobile_urls?: string[];
tracking_url_template?: string;
url_custom_parameters?: CustomParameter[];
display_url?: string;
type?: AdType;
added_by_google_ads?: boolean;
device_preference?: Device;
url_collections?: UrlCollection[];
name?: string;
system_managed_resource_source?: SystemManagedResourceSource;
text_ad?: TextAdInfo;
expanded_text_ad?: ExpandedTextAdInfo;
call_only_ad?: CallOnlyAdInfo;
expanded_dynamic_search_ad?: ExpandedDynamicSearchAdInfo;
hotel_ad?: HotelAdInfo;
shopping_smart_ad?: ShoppingSmartAdInfo;
shopping_product_ad?: ShoppingProductAdInfo;
gmail_ad?: GmailAdInfo;
image_ad?: ImageAdInfo;
video_ad?: VideoAdInfo;
responsive_search_ad?: ResponsiveSearchAdInfo;
legacy_responsive_display_ad?: LegacyResponsiveDisplayAdInfo;
app_ad?: AppAdInfo;
legacy_app_install_ad?: LegacyAppInstallAdInfo;
responsive_display_ad?: ResponsiveDisplayAdInfo;
display_upload_ad?: DisplayUploadAdInfo;
app_engagement_ad?: AppEngagementAdInfo;
shopping_comparison_listing_ad?: ShoppingComparisonListingAdInfo;
}
/* .google.ads.googleads.v1.resources.AdGroup */
export interface AdGroup {
resource_name?: string;
id?: number;
name?: string;
status?: AdGroupStatus;
type?: AdGroupType;
ad_rotation_mode?: AdGroupAdRotationMode;
base_ad_group?: string;
tracking_url_template?: string;
url_custom_parameters?: CustomParameter[];
campaign?: string;
cpc_bid_micros?: number;
cpm_bid_micros?: number;
target_cpa_micros?: number;
cpv_bid_micros?: number;
target_cpm_micros?: number;
target_roas?: number;
percent_cpc_bid_micros?: number;
explorer_auto_optimizer_setting?: ExplorerAutoOptimizerSetting;
display_custom_bid_dimension?: TargetingDimension;
final_url_suffix?: string;
targeting_setting?: TargetingSetting;
effective_target_cpa_micros?: number;
effective_target_cpa_source?: BiddingSource;
effective_target_roas?: number;
effective_target_roas_source?: BiddingSource;
}
/* .google.ads.googleads.v1.resources.AdGroupAd */
export interface AdGroupAd {
resource_name?: string;
status?: AdGroupAdStatus;
ad_group?: string;
ad?: Ad;
policy_summary?: {
policy_topic_entries?: PolicyTopicEntry[];
review_status?: PolicyReviewStatus;
approval_status?: PolicyApprovalStatus;
};
ad_strength?: AdStrength;
}
/* .google.ads.googleads.v1.resources.AdGroupAdPolicySummary */
export interface AdGroupAdPolicySummary {
policy_topic_entries?: PolicyTopicEntry[];
review_status?: PolicyReviewStatus;
approval_status?: PolicyApprovalStatus;
}
/* .google.ads.googleads.v1.resources.AdGroupAdLabel */
export interface AdGroupAdLabel {
resource_name?: string;
ad_group_ad?: string;
label?: string;
}
/* .google.ads.googleads.v1.resources.AdGroupAudienceView */
export interface AdGroupAudienceView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.AdGroupBidModifier */
export interface AdGroupBidModifier {
resource_name?: string;
ad_group?: string;
criterion_id?: number;
bid_modifier?: number;
base_ad_group?: string;
bid_modifier_source?: BidModifierSource;
hotel_date_selection_type?: HotelDateSelectionTypeInfo;
hotel_advance_booking_window?: HotelAdvanceBookingWindowInfo;
hotel_length_of_stay?: HotelLengthOfStayInfo;
hotel_check_in_day?: HotelCheckInDayInfo;
device?: DeviceInfo;
preferred_content?: PreferredContentInfo;
}
/* .google.ads.googleads.v1.resources.AdGroupCriterion.QualityInfo */
export interface QualityInfo {
quality_score?: number;
creative_quality_score?: QualityScoreBucket;
post_click_quality_score?: QualityScoreBucket;
search_predicted_ctr?: QualityScoreBucket;
}
/* .google.ads.googleads.v1.resources.AdGroupCriterion.PositionEstimates */
export interface PositionEstimates {
first_page_cpc_micros?: number;
first_position_cpc_micros?: number;
top_of_page_cpc_micros?: number;
estimated_add_clicks_at_first_position_cpc?: number;
estimated_add_cost_at_first_position_cpc?: number;
}
/* .google.ads.googleads.v1.resources.AdGroupCriterion */
export interface AdGroupCriterion {
resource_name?: string;
criterion_id?: number;
status?: AdGroupCriterionStatus;
quality_info?: QualityInfo;
ad_group?: string;
type?: CriterionType;
negative?: boolean;
system_serving_status?: CriterionSystemServingStatus;
approval_status?: AdGroupCriterionApprovalStatus;
bid_modifier?: number;
cpc_bid_micros?: number;
cpm_bid_micros?: number;
cpv_bid_micros?: number;
percent_cpc_bid_micros?: number;
effective_cpc_bid_micros?: number;
effective_cpm_bid_micros?: number;
effective_cpv_bid_micros?: number;
effective_percent_cpc_bid_micros?: number;
effective_cpc_bid_source?: BiddingSource;
effective_cpm_bid_source?: BiddingSource;
effective_cpv_bid_source?: BiddingSource;
effective_percent_cpc_bid_source?: BiddingSource;
position_estimates?: PositionEstimates;
final_urls?: string[];
final_mobile_urls?: string[];
final_url_suffix?: string;
tracking_url_template?: string;
url_custom_parameters?: CustomParameter[];
keyword?: KeywordInfo;
placement?: PlacementInfo;
mobile_app_category?: MobileAppCategoryInfo;
mobile_application?: MobileApplicationInfo;
listing_group?: ListingGroupInfo;
age_range?: AgeRangeInfo;
gender?: GenderInfo;
income_range?: IncomeRangeInfo;
parental_status?: ParentalStatusInfo;
user_list?: UserListInfo;
youtube_video?: YouTubeVideoInfo;
youtube_channel?: YouTubeChannelInfo;
topic?: TopicInfo;
user_interest?: UserInterestInfo;
webpage?: WebpageInfo;
app_payment_model?: AppPaymentModelInfo;
custom_affinity?: CustomAffinityInfo;
custom_intent?: CustomIntentInfo;
}
/* .google.ads.googleads.v1.resources.AdGroupCriterionLabel */
export interface AdGroupCriterionLabel {
resource_name?: string;
ad_group_criterion?: string;
label?: string;
}
/* .google.ads.googleads.v1.resources.AdGroupCriterionSimulation */
export interface AdGroupCriterionSimulation {
resource_name?: string;
ad_group_id?: number;
criterion_id?: number;
type?: SimulationType;
modification_method?: SimulationModificationMethod;
start_date?: string;
end_date?: string;
cpc_bid_point_list?: CpcBidSimulationPointList;
}
/* .google.ads.googleads.v1.resources.AdGroupExtensionSetting */
export interface AdGroupExtensionSetting {
resource_name?: string;
extension_type?: ExtensionType;
ad_group?: string;
extension_feed_items?: string[];
device?: ExtensionSettingDevice;
}
/* .google.ads.googleads.v1.resources.AdGroupFeed */
export interface AdGroupFeed {
resource_name?: string;
feed?: string;
ad_group?: string;
placeholder_types?: PlaceholderType[];
matching_function?: MatchingFunction;
status?: FeedLinkStatus;
}
/* .google.ads.googleads.v1.resources.AdGroupLabel */
export interface AdGroupLabel {
resource_name?: string;
ad_group?: string;
label?: string;
}
/* .google.ads.googleads.v1.resources.AdGroupSimulation */
export interface AdGroupSimulation {
resource_name?: string;
ad_group_id?: number;
type?: SimulationType;
modification_method?: SimulationModificationMethod;
start_date?: string;
end_date?: string;
cpc_bid_point_list?: CpcBidSimulationPointList;
cpv_bid_point_list?: CpvBidSimulationPointList;
target_cpa_point_list?: TargetCpaSimulationPointList;
}
/* .google.ads.googleads.v1.resources.AdParameter */
export interface AdParameter {
resource_name?: string;
ad_group_criterion?: string;
parameter_index?: number;
insertion_text?: string;
}
/* .google.ads.googleads.v1.resources.AdScheduleView */
export interface AdScheduleView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.AgeRangeView */
export interface AgeRangeView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.Asset */
export interface Asset {
resource_name?: string;
id?: number;
name?: string;
type?: AssetType;
youtube_video_asset?: YoutubeVideoAsset;
media_bundle_asset?: MediaBundleAsset;
image_asset?: ImageAsset;
text_asset?: TextAsset;
}
/* .google.ads.googleads.v1.resources.BiddingStrategy */
export interface BiddingStrategy {
resource_name?: string;
id?: number;
name?: string;
status?: BiddingStrategyStatus;
type?: BiddingStrategyType;
campaign_count?: number;
non_removed_campaign_count?: number;
enhanced_cpc?: EnhancedCpc;
page_one_promoted?: PageOnePromoted;
target_cpa?: TargetCpa;
target_impression_share?: TargetImpressionShare;
target_outrank_share?: TargetOutrankShare;
target_roas?: TargetRoas;
target_spend?: TargetSpend;
}
/* .google.ads.googleads.v1.resources.BillingSetup.PaymentsAccountInfo */
export interface PaymentsAccountInfo {
payments_account_id?: string;
payments_account_name?: string;
payments_profile_id?: string;
payments_profile_name?: string;
secondary_payments_profile_id?: string;
}
/* .google.ads.googleads.v1.resources.BillingSetup */
export interface BillingSetup {
resource_name?: string;
id?: number;
status?: BillingSetupStatus;
payments_account?: string;
payments_account_info?: PaymentsAccountInfo;
start_date_time?: string;
start_time_type?: TimeType;
end_date_time?: string;
end_time_type?: TimeType;
}
/* .google.ads.googleads.v1.resources.Campaign.NetworkSettings */
export interface NetworkSettings {
target_google_search?: boolean;
target_search_network?: boolean;
target_content_network?: boolean;
target_partner_search_network?: boolean;
}
/* .google.ads.googleads.v1.resources.Campaign.HotelSettingInfo */
export interface HotelSettingInfo {
hotel_center_id?: number;
}
/* .google.ads.googleads.v1.resources.Campaign.VanityPharma */
export interface VanityPharma {
vanity_pharma_display_url_mode?: VanityPharmaDisplayUrlMode;
vanity_pharma_text?: VanityPharmaText;
}
/* .google.ads.googleads.v1.resources.Campaign.DynamicSearchAdsSetting */
export interface DynamicSearchAdsSetting {
domain_name?: string;
language_code?: string;
use_supplied_urls_only?: boolean;
feeds?: string[];
}
/* .google.ads.googleads.v1.resources.Campaign.ShoppingSetting */
export interface ShoppingSetting {
merchant_id?: number;
sales_country?: string;
campaign_priority?: number;
enable_local?: boolean;
}
/* .google.ads.googleads.v1.resources.Campaign.TrackingSetting */
export interface TrackingSetting {
tracking_url?: string;
}
/* .google.ads.googleads.v1.resources.Campaign.SelectiveOptimization */
export interface SelectiveOptimization {
conversion_actions?: string[];
}
/* .google.ads.googleads.v1.resources.Campaign.AppCampaignSetting */
export interface AppCampaignSetting {
bidding_strategy_goal_type?: AppCampaignBiddingStrategyGoalType;
app_id?: string;
app_store?: AppCampaignAppStore;
}
/* .google.ads.googleads.v1.resources.Campaign.GeoTargetTypeSetting */
export interface GeoTargetTypeSetting {
positive_geo_target_type?: PositiveGeoTargetType;
negative_geo_target_type?: NegativeGeoTargetType;
}
/* .google.ads.googleads.v1.resources.Campaign */
export interface Campaign {
resource_name?: string;
id?: number;
name?: string;
status?: CampaignStatus;
serving_status?: CampaignServingStatus;
ad_serving_optimization_status?: AdServingOptimizationStatus;
advertising_channel_type?: AdvertisingChannelType;
advertising_channel_sub_type?: AdvertisingChannelSubType;
tracking_url_template?: string;
url_custom_parameters?: CustomParameter[];
real_time_bidding_setting?: RealTimeBiddingSetting;
network_settings?: NetworkSettings;
hotel_setting?: HotelSettingInfo;
dynamic_search_ads_setting?: DynamicSearchAdsSetting;
shopping_setting?: ShoppingSetting;
targeting_setting?: TargetingSetting;
geo_target_type_setting?: GeoTargetTypeSetting;
app_campaign_setting?: AppCampaignSetting;
labels?: string[];
experiment_type?: CampaignExperimentType;
base_campaign?: string;
campaign_budget?: string;
bidding_strategy_type?: BiddingStrategyType;
start_date?: string;
end_date?: string;
final_url_suffix?: string;
frequency_caps?: FrequencyCapEntry[];
video_brand_safety_suitability?: BrandSafetySuitability;
vanity_pharma?: VanityPharma;
selective_optimization?: SelectiveOptimization;
tracking_setting?: TrackingSetting;
payment_mode?: PaymentMode;
bidding_strategy?: string;
commission?: Commission;
manual_cpc?: ManualCpc;
manual_cpm?: ManualCpm;
manual_cpv?: ManualCpv;
maximize_conversions?: MaximizeConversions;
maximize_conversion_value?: MaximizeConversionValue;
target_cpa?: TargetCpa;
target_impression_share?: TargetImpressionShare;
target_roas?: TargetRoas;
target_spend?: TargetSpend;
percent_cpc?: PercentCpc;
target_cpm?: TargetCpm;
}
/* .google.ads.googleads.v1.resources.CampaignAudienceView */
export interface CampaignAudienceView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.CampaignBidModifier */
export interface CampaignBidModifier {
resource_name?: string;
campaign?: string;
criterion_id?: number;
bid_modifier?: number;
interaction_type?: InteractionTypeInfo;
}
/* .google.ads.googleads.v1.resources.CampaignBudget */
export interface CampaignBudget {
resource_name?: string;
id?: number;
name?: string;
amount_micros?: number;
total_amount_micros?: number;
status?: BudgetStatus;
delivery_method?: BudgetDeliveryMethod;
explicitly_shared?: boolean;
reference_count?: number;
has_recommended_budget?: boolean;
recommended_budget_amount_micros?: number;
period?: BudgetPeriod;
recommended_budget_estimated_change_weekly_clicks?: number;
recommended_budget_estimated_change_weekly_cost_micros?: number;
recommended_budget_estimated_change_weekly_interactions?: number;
recommended_budget_estimated_change_weekly_views?: number;
type?: BudgetType;
}
/* .google.ads.googleads.v1.resources.CampaignCriterion */
export interface CampaignCriterion {
resource_name?: string;
campaign?: string;
criterion_id?: number;
bid_modifier?: { value?: number };
negative?: boolean;
type?: CriterionType;
status?: CampaignCriterionStatus;
keyword?: KeywordInfo;
placement?: PlacementInfo;
mobile_app_category?: MobileAppCategoryInfo;
mobile_application?: MobileApplicationInfo;
location?: LocationInfo;
device?: DeviceInfo;
ad_schedule?: AdScheduleInfo;
age_range?: AgeRangeInfo;
gender?: GenderInfo;
income_range?: IncomeRangeInfo;
parental_status?: ParentalStatusInfo;
user_list?: UserListInfo;
youtube_video?: YouTubeVideoInfo;
youtube_channel?: YouTubeChannelInfo;
proximity?: ProximityInfo;
topic?: TopicInfo;
listing_scope?: ListingScopeInfo;
language?: LanguageInfo;
ip_block?: IpBlockInfo;
content_label?: ContentLabelInfo;
carrier?: CarrierInfo;
user_interest?: UserInterestInfo;
webpage?: WebpageInfo;
operating_system_version?: OperatingSystemVersionInfo;
mobile_device?: MobileDeviceInfo;
location_group?: LocationGroupInfo;
}
/* .google.ads.googleads.v1.resources.CampaignCriterionSimulation */
export interface CampaignCriterionSimulation {
resource_name?: string;
campaign_id?: number;
criterion_id?: number;
type?: SimulationType;
modification_method?: SimulationModificationMethod;
start_date?: string;
end_date?: string;
bid_modifier_point_list?: BidModifierSimulationPointList;
}
/* .google.ads.googleads.v1.resources.CampaignDraft */
export interface CampaignDraft {
resource_name?: string;
draft_id?: number;
base_campaign?: string;
name?: string;
draft_campaign?: string;
status?: CampaignDraftStatus;
has_experiment_running?: boolean;
long_running_operation?: string;
}
/* .google.ads.googleads.v1.resources.CampaignExperiment */
export interface CampaignExperiment {
resource_name?: string;
id?: number;
campaign_draft?: string;
name?: string;
description?: string;
traffic_split_percent?: number;
traffic_split_type?: CampaignExperimentTrafficSplitType;
experiment_campaign?: string;
status?: CampaignExperimentStatus;
long_running_operation?: string;
start_date?: string;
end_date?: string;
}
/* .google.ads.googleads.v1.resources.CampaignExtensionSetting */
export interface CampaignExtensionSetting {
resource_name?: string;
extension_type?: ExtensionType;
campaign?: string;
extension_feed_items?: string[];
device?: ExtensionSettingDevice;
}
/* .google.ads.googleads.v1.resources.CampaignFeed */
export interface CampaignFeed {
resource_name?: string;
feed?: string;
campaign?: string;
placeholder_types?: PlaceholderType[];
matching_function?: MatchingFunction;
status?: FeedLinkStatus;
}
/* .google.ads.googleads.v1.resources.CampaignLabel */
export interface CampaignLabel {
resource_name?: string;
campaign?: string;
label?: string;
}
/* .google.ads.googleads.v1.resources.CampaignSharedSet */
export interface CampaignSharedSet {
resource_name?: string;
campaign?: string;
shared_set?: string;
status?: CampaignSharedSetStatus;
}
/* .google.ads.googleads.v1.resources.CarrierConstant */
export interface CarrierConstant {
resource_name?: string;
id?: number;
name?: string;
country_code?: string;
}
/* .google.ads.googleads.v1.resources.ChangeStatus */
export interface ChangeStatus {
resource_name?: string;
last_change_date_time?: string;
resource_type?: ChangeStatusResourceType;
campaign?: string;
ad_group?: string;
resource_status?: ChangeStatusOperation;
ad_group_ad?: string;
ad_group_criterion?: string;
campaign_criterion?: string;
feed?: string;
feed_item?: string;
ad_group_feed?: string;
campaign_feed?: string;
ad_group_bid_modifier?: string;
}
/* .google.ads.googleads.v1.resources.ClickView */
export interface ClickView {
resource_name?: string;
gclid?: string;
area_of_interest?: ClickLocation;
location_of_presence?: ClickLocation;
page_number?: number;
}
/* .google.ads.googleads.v1.resources.ConversionAction.AttributionModelSettings */
export interface AttributionModelSettings {
attribution_model?: AttributionModel;
data_driven_model_status?: DataDrivenModelStatus;
}
/* .google.ads.googleads.v1.resources.ConversionAction.ValueSettings */
export interface ValueSettings {
default_value?: number;
default_currency_code?: string;
always_use_default_value?: boolean;
}
/* .google.ads.googleads.v1.resources.ConversionAction */
export interface ConversionAction {
resource_name?: string;
id?: number;
name?: string;
status?: ConversionActionStatus;
type?: ConversionActionType;
category?: ConversionActionCategory;
owner_customer?: string;
include_in_conversions_metric?: boolean;
click_through_lookback_window_days?: number;
view_through_lookback_window_days?: number;
value_settings?: ValueSettings;
counting_type?: ConversionActionCountingType;
attribution_model_settings?: AttributionModelSettings;
tag_snippets?: TagSnippet[];
phone_call_duration_seconds?: number;
app_id?: string;
}
/* .google.ads.googleads.v1.resources.CustomInterest */
export interface CustomInterest {
resource_name?: string;
id?: number;
status?: CustomInterestStatus;
name?: string;
type?: CustomInterestType;
description?: string;
members?: { member_type?: CustomInterestMemberType; parameter?: string }[];
}
/* .google.ads.googleads.v1.resources.CustomInterestMember */
export interface CustomInterestMember {
member_type?: CustomInterestMemberType;
parameter?: string;
}
/* .google.ads.googleads.v1.resources.Customer */
export interface Customer {
resource_name?: string;
id?: number;
descriptive_name?: string;
currency_code?: string;
time_zone?: string;
tracking_url_template?: string;
final_url_suffix?: string;
auto_tagging_enabled?: boolean;
has_partners_badge?: boolean;
manager?: boolean;
test_account?: boolean;
call_reporting_setting?: {
call_reporting_enabled?: boolean;
call_conversion_reporting_enabled?: boolean;
call_conversion_action?: string;
};
conversion_tracking_setting?: {
conversion_tracking_id?: number;
cross_account_conversion_tracking_id?: number;
};
remarketing_setting?: { google_global_site_tag?: string };
pay_per_conversion_eligibility_failure_reasons?: CustomerPayPerConversionEligibilityFailureReason[];
}
/* .google.ads.googleads.v1.resources.CallReportingSetting */
export interface CallReportingSetting {
call_reporting_enabled?: boolean;
call_conversion_reporting_enabled?: boolean;
call_conversion_action?: string;
}
/* .google.ads.googleads.v1.resources.ConversionTrackingSetting */
export interface ConversionTrackingSetting {
conversion_tracking_id?: number;
cross_account_conversion_tracking_id?: number;
}
/* .google.ads.googleads.v1.resources.RemarketingSetting */
export interface RemarketingSetting {
google_global_site_tag?: string;
}
/* .google.ads.googleads.v1.resources.CustomerClient */
export interface CustomerClient {
resource_name?: string;
client_customer?: string;
hidden?: boolean;
level?: number;
}
/* .google.ads.googleads.v1.resources.CustomerClientLink */
export interface CustomerClientLink {
resource_name?: string;
client_customer?: string;
manager_link_id?: number;
status?: ManagerLinkStatus;
hidden?: boolean;
}
/* .google.ads.googleads.v1.resources.CustomerExtensionSetting */
export interface CustomerExtensionSetting {
resource_name?: string;
extension_type?: ExtensionType;
extension_feed_items?: string[];
device?: ExtensionSettingDevice;
}
/* .google.ads.googleads.v1.resources.CustomerFeed */
export interface CustomerFeed {
resource_name?: string;
feed?: string;
placeholder_types?: PlaceholderType[];
matching_function?: MatchingFunction;
status?: FeedLinkStatus;
}
/* .google.ads.googleads.v1.resources.CustomerLabel */
export interface CustomerLabel {
resource_name?: string;
customer?: string;
label?: string;
}
/* .google.ads.googleads.v1.resources.CustomerManagerLink */
export interface CustomerManagerLink {
resource_name?: string;
manager_customer?: string;
manager_link_id?: number;
status?: ManagerLinkStatus;
}
/* .google.ads.googleads.v1.resources.CustomerNegativeCriterion */
export interface CustomerNegativeCriterion {
resource_name?: string;
id?: number;
type?: CriterionType;
content_label?: ContentLabelInfo;
mobile_application?: MobileApplicationInfo;
mobile_app_category?: MobileAppCategoryInfo;
placement?: PlacementInfo;
youtube_video?: YouTubeVideoInfo;
youtube_channel?: YouTubeChannelInfo;
}
/* .google.ads.googleads.v1.resources.DetailPlacementView */
export interface DetailPlacementView {
resource_name?: string;
placement?: string;
display_name?: string;
group_placement_target_url?: string;
target_url?: string;
placement_type?: PlacementType;
}
/* .google.ads.googleads.v1.resources.DisplayKeywordView */
export interface DisplayKeywordView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.DomainCategory */
export interface DomainCategory {
resource_name?: string;
campaign?: string;
category?: string;
language_code?: string;
domain?: string;
coverage_fraction?: number;
category_rank?: number;
has_children?: boolean;
recommended_cpc_bid_micros?: number;
}
/* .google.ads.googleads.v1.resources.DynamicSearchAdsSearchTermView */
export interface DynamicSearchAdsSearchTermView {
resource_name?: string;
search_term?: string;
headline?: string;
landing_page?: string;
page_url?: string;
}
/* .google.ads.googleads.v1.resources.ExpandedLandingPageView */
export interface ExpandedLandingPageView {
resource_name?: string;
expanded_final_url?: string;
}
/* .google.ads.googleads.v1.resources.ExtensionFeedItem */
export interface ExtensionFeedItem {
resource_name?: string;
extension_type?: ExtensionType;
start_date_time?: string;
end_date_time?: string;
ad_schedules?: AdScheduleInfo[];
device?: FeedItemTargetDevice;
targeted_geo_target_constant?: string;
status?: FeedItemStatus;
sitelink_feed_item?: SitelinkFeedItem;
structured_snippet_feed_item?: StructuredSnippetFeedItem;
app_feed_item?: AppFeedItem;
call_feed_item?: CallFeedItem;
callout_feed_item?: CalloutFeedItem;
text_message_feed_item?: TextMessageFeedItem;
price_feed_item?: PriceFeedItem;
promotion_feed_item?: PromotionFeedItem;
location_feed_item?: LocationFeedItem;
affiliate_location_feed_item?: AffiliateLocationFeedItem;
targeted_campaign?: string;
targeted_ad_group?: string;
}
/* .google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.OAuthInfo */
export interface OAuthInfo {
http_method?: string;
http_request_url?: string;
http_authorization_header?: string;
}
/* .google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData */
export interface PlacesLocationFeedData {
oauth_info?: OAuthInfo;
email_address?: string;
business_account_id?: string;
business_name_filter?: string;
category_filters?: string[];
label_filters?: string[];
}
/* .google.ads.googleads.v1.resources.Feed.AffiliateLocationFeedData */
export interface AffiliateLocationFeedData {
chain_ids?: number[];
relationship_type?: AffiliateLocationFeedRelationshipType;
}
/* .google.ads.googleads.v1.resources.Feed */
export interface Feed {
resource_name?: string;
id?: number;
name?: string;
attributes?: {
id?: number;
name?: string;
type?: FeedAttributeType;
is_part_of_key?: boolean;
}[];
attribute_operations?: {
operator?: undefined;
value?: {
id?: number;
name?: string;
type?: FeedAttributeType;
is_part_of_key?: boolean;
};
}[];
origin?: FeedOrigin;
status?: FeedStatus;
places_location_feed_data?: PlacesLocationFeedData;
affiliate_location_feed_data?: AffiliateLocationFeedData;
}
/* .google.ads.googleads.v1.resources.FeedAttribute */
export interface FeedAttribute {
id?: number;
name?: string;
type?: FeedAttributeType;
is_part_of_key?: boolean;
}
/* .google.ads.googleads.v1.resources.FeedAttributeOperation.Operator */
export interface Operator {}
/* .google.ads.googleads.v1.resources.FeedAttributeOperation */
export interface FeedAttributeOperation {
operator?: Operator;
value?: FeedAttribute;
}
/* .google.ads.googleads.v1.resources.FeedItem */
export interface FeedItem {
resource_name?: string;
feed?: string;
id?: number;
start_date_time?: string;
end_date_time?: string;
attribute_values?: {
feed_attribute_id?: number;
integer_value?: number;
boolean_value?: boolean;
string_value?: string;
double_value?: number;
price_value?: Money;
integer_values?: number[];
boolean_values?: boolean[];
string_values?: string[];
double_values?: number[];
}[];
geo_targeting_restriction?: GeoTargetingRestriction;
url_custom_parameters?: CustomParameter[];
status?: FeedItemStatus;
policy_infos?: {
placeholder_type?: number;
feed_mapping_resource_name?: string;
review_status?: PolicyReviewStatus;
approval_status?: PolicyApprovalStatus;
policy_topic_entries?: PolicyTopicEntry[];
validation_status?: FeedItemValidationStatus;
validation_errors?: undefined[];
quality_approval_status?: FeedItemQualityApprovalStatus;
quality_disapproval_reasons?: FeedItemQualityDisapprovalReason[];
}[];
}
/* .google.ads.googleads.v1.resources.FeedItemAttributeValue */
export interface FeedItemAttributeValue {
feed_attribute_id?: number;
integer_value?: number;
boolean_value?: boolean;
string_value?: string;
double_value?: number;
price_value?: Money;
integer_values?: number[];
boolean_values?: boolean[];
string_values?: string[];
double_values?: number[];
}
/* .google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo */
export interface FeedItemPlaceholderPolicyInfo {
placeholder_type?: number;
feed_mapping_resource_name?: string;
review_status?: PolicyReviewStatus;
approval_status?: PolicyApprovalStatus;
policy_topic_entries?: PolicyTopicEntry[];
validation_status?: FeedItemValidationStatus;
validation_errors?: undefined[];
quality_approval_status?: FeedItemQualityApprovalStatus;
quality_disapproval_reasons?: FeedItemQualityDisapprovalReason[];
}
/* .google.ads.googleads.v1.errors.FeedItemValidationErrorEnum.FeedItemValidationError */
export interface FeedItemValidationError {}
/* .google.ads.googleads.v1.resources.FeedItemTarget */
export interface FeedItemTarget {
resource_name?: string;
feed_item?: string;
feed_item_target_type?: FeedItemTargetType;
feed_item_target_id?: number;
campaign?: string;
ad_group?: string;
keyword?: KeywordInfo;
geo_target_constant?: string;
device?: FeedItemTargetDevice;
ad_schedule?: AdScheduleInfo;
}
/* .google.ads.googleads.v1.resources.FeedMapping */
export interface FeedMapping {
resource_name?: string;
feed?: string;
attribute_field_mappings?: {
feed_attribute_id?: number;
field_id?: number;
sitelink_field?: SitelinkPlaceholderField;
call_field?: CallPlaceholderField;
app_field?: AppPlaceholderField;
location_field?: LocationPlaceholderField;
affiliate_location_field?: AffiliateLocationPlaceholderField;
callout_field?: CalloutPlaceholderField;
structured_snippet_field?: StructuredSnippetPlaceholderField;
message_field?: MessagePlaceholderField;
price_field?: PricePlaceholderField;
promotion_field?: PromotionPlaceholderField;
ad_customizer_field?: AdCustomizerPlaceholderField;
dsa_page_feed_field?: DsaPageFeedCriterionField;
location_extension_targeting_field?: LocationExtensionTargetingCriterionField;
education_field?: EducationPlaceholderField;
flight_field?: FlightPlaceholderField;
custom_field?: CustomPlaceholderField;
hotel_field?: HotelPlaceholderField;
real_estate_field?: RealEstatePlaceholderField;
travel_field?: TravelPlaceholderField;
local_field?: LocalPlaceholderField;
job_field?: JobPlaceholderField;
}[];
status?: FeedMappingStatus;
placeholder_type?: PlaceholderType;
criterion_type?: FeedMappingCriterionType;
}
/* .google.ads.googleads.v1.resources.AttributeFieldMapping */
export interface AttributeFieldMapping {
feed_attribute_id?: number;
field_id?: number;
sitelink_field?: SitelinkPlaceholderField;
call_field?: CallPlaceholderField;
app_field?: AppPlaceholderField;
location_field?: LocationPlaceholderField;
affiliate_location_field?: AffiliateLocationPlaceholderField;
callout_field?: CalloutPlaceholderField;
structured_snippet_field?: StructuredSnippetPlaceholderField;
message_field?: MessagePlaceholderField;
price_field?: PricePlaceholderField;
promotion_field?: PromotionPlaceholderField;
ad_customizer_field?: AdCustomizerPlaceholderField;
dsa_page_feed_field?: DsaPageFeedCriterionField;
location_extension_targeting_field?: LocationExtensionTargetingCriterionField;
education_field?: EducationPlaceholderField;
flight_field?: FlightPlaceholderField;
custom_field?: CustomPlaceholderField;
hotel_field?: HotelPlaceholderField;
real_estate_field?: RealEstatePlaceholderField;
travel_field?: TravelPlaceholderField;
local_field?: LocalPlaceholderField;
job_field?: JobPlaceholderField;
}
/* .google.ads.googleads.v1.resources.FeedPlaceholderView */
export interface FeedPlaceholderView {
resource_name?: string;
placeholder_type?: PlaceholderType;
}
/* .google.ads.googleads.v1.resources.GenderView */
export interface GenderView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.GeoTargetConstant */
export interface GeoTargetConstant {
resource_name?: string;
id?: number;
name?: string;
country_code?: string;
target_type?: string;
status?: GeoTargetConstantStatus;
canonical_name?: string;
}
/* .google.ads.googleads.v1.resources.GeographicView */
export interface GeographicView {
resource_name?: string;
country_geo_target_constant?: string;
location_type?: GeoTargetingType;
}
/* .google.ads.googleads.v1.resources.GoogleAdsField */
export interface GoogleAdsField {
resource_name?: string;
name?: string;
category?: GoogleAdsFieldCategory;
selectable?: boolean;
filterable?: boolean;
sortable?: boolean;
selectable_with?: string[];
attribute_resources?: string[];
metrics?: string[];
segments?: string[];
enum_values?: string[];
data_type?: GoogleAdsFieldDataType;
type_url?: string;
is_repeated?: boolean;
}
/* .google.ads.googleads.v1.resources.GroupPlacementView */
export interface GroupPlacementView {
resource_name?: string;
placement?: string;
display_name?: string;
target_url?: string;
placement_type?: PlacementType;
}
/* .google.ads.googleads.v1.resources.HotelGroupView */
export interface HotelGroupView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.HotelPerformanceView */
export interface HotelPerformanceView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.KeywordPlan */
export interface KeywordPlan {
resource_name?: string;
id?: number;
name?: string;
forecast_period?: {
date_interval?: KeywordPlanForecastInterval;
date_range?: DateRange;
};
}
/* .google.ads.googleads.v1.resources.KeywordPlanForecastPeriod */
export interface KeywordPlanForecastPeriod {
date_interval?: KeywordPlanForecastInterval;
date_range?: DateRange;
}
/* .google.ads.googleads.v1.resources.KeywordPlanAdGroup */
export interface KeywordPlanAdGroup {
resource_name?: string;
keyword_plan_campaign?: string;
id?: number;
name?: string;
cpc_bid_micros?: number;
}
/* .google.ads.googleads.v1.resources.KeywordPlanCampaign */
export interface KeywordPlanCampaign {
resource_name?: string;
keyword_plan?: string;
id?: number;
name?: string;
language_constants?: string[];
keyword_plan_network?: KeywordPlanNetwork;
cpc_bid_micros?: number;
geo_targets?: { geo_target_constant?: string }[];
}
/* .google.ads.googleads.v1.resources.KeywordPlanGeoTarget */
export interface KeywordPlanGeoTarget {
geo_target_constant?: string;
}
/* .google.ads.googleads.v1.resources.KeywordPlanKeyword */
export interface KeywordPlanKeyword {
resource_name?: string;
keyword_plan_ad_group?: string;
id?: number;
text?: string;
match_type?: KeywordMatchType;
cpc_bid_micros?: number;
}
/* .google.ads.googleads.v1.resources.KeywordPlanNegativeKeyword */
export interface KeywordPlanNegativeKeyword {
resource_name?: string;
keyword_plan_campaign?: string;
id?: number;
text?: string;
match_type?: KeywordMatchType;
}
/* .google.ads.googleads.v1.resources.KeywordView */
export interface KeywordView {
resource_name?: string;
}
/* .google.protobuf.FieldDescriptorProto.Label */
export interface Label {}
/* .google.ads.googleads.v1.resources.LandingPageView */
export interface LandingPageView {
resource_name?: string;
unexpanded_final_url?: string;
}
/* .google.ads.googleads.v1.resources.LanguageConstant */
export interface LanguageConstant {
resource_name?: string;
id?: number;
code?: string;
name?: string;
targetable?: boolean;
}
/* .google.ads.googleads.v1.resources.LocationView */
export interface LocationView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.ManagedPlacementView */
export interface ManagedPlacementView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.MediaFile */
export interface MediaFile {
resource_name?: string;
id?: number;
type?: MediaType;
mime_type?: MimeType;
source_url?: string;
name?: string;
file_size?: number;
image?: { data?: string };
media_bundle?: { data?: string };
audio?: { ad_duration_millis?: number };
video?: {
ad_duration_millis?: number;
youtube_video_id?: string;
advertising_id_code?: string;
isci_code?: string;
};
}
/* .google.ads.googleads.v1.resources.MediaImage */
export interface MediaImage {
data?: string;
}
/* .google.ads.googleads.v1.resources.MediaBundle */
export interface MediaBundle {
data?: string;
}
/* .google.ads.googleads.v1.resources.MediaAudio */
export interface MediaAudio {
ad_duration_millis?: number;
}
/* .google.ads.googleads.v1.resources.MediaVideo */
export interface MediaVideo {
ad_duration_millis?: number;
youtube_video_id?: string;
advertising_id_code?: string;
isci_code?: string;
}
/* .google.ads.googleads.v1.resources.MerchantCenterLink */
export interface MerchantCenterLink {
resource_name?: string;
id?: number;
merchant_center_account_name?: string;
status?: MerchantCenterLinkStatus;
}
/* .google.ads.googleads.v1.resources.MobileAppCategoryConstant */
export interface MobileAppCategoryConstant {
resource_name?: string;
id?: number;
name?: string;
}
/* .google.ads.googleads.v1.resources.MobileDeviceConstant */
export interface MobileDeviceConstant {
resource_name?: string;
id?: number;
name?: string;
manufacturer_name?: string;
operating_system_name?: string;
type?: MobileDeviceType;
}
/* .google.ads.googleads.v1.resources.MutateJob.MutateJobMetadata */
export interface MutateJobMetadata {
creation_date_time?: string;
completion_date_time?: string;
estimated_completion_ratio?: number;
operation_count?: number;
executed_operation_count?: number;
}
/* .google.ads.googleads.v1.resources.MutateJob */
export interface MutateJob {
resource_name?: string;
id?: number;
next_add_sequence_token?: string;
metadata?: MutateJobMetadata;
status?: MutateJobStatus;
long_running_operation?: string;
}
/* .google.ads.googleads.v1.resources.OperatingSystemVersionConstant */
export interface OperatingSystemVersionConstant {
resource_name?: string;
id?: number;
name?: string;
os_major_version?: number;
os_minor_version?: number;
operator_type?: OperatingSystemVersionOperatorType;
}
/* .google.ads.googleads.v1.resources.PaidOrganicSearchTermView */
export interface PaidOrganicSearchTermView {
resource_name?: string;
search_term?: string;
}
/* .google.ads.googleads.v1.resources.ParentalStatusView */
export interface ParentalStatusView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.PaymentsAccount */
export interface PaymentsAccount {
resource_name?: string;
payments_account_id?: string;
name?: string;
currency_code?: string;
payments_profile_id?: string;
secondary_payments_profile_id?: string;
}
/* .google.ads.googleads.v1.resources.ProductBiddingCategoryConstant */
export interface ProductBiddingCategoryConstant {
resource_name?: string;
id?: number;
country_code?: string;
product_bidding_category_constant_parent?: string;
level?: ProductBiddingCategoryLevel;
status?: ProductBiddingCategoryStatus;
language_code?: string;
localized_name?: string;
}
/* .google.ads.googleads.v1.resources.ProductGroupView */
export interface ProductGroupView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.Recommendation.RecommendationImpact */
export interface RecommendationImpact {
base_metrics?: {
impressions?: number;
clicks?: number;
cost_micros?: number;
conversions?: number;
video_views?: number;
};
potential_metrics?: {
impressions?: number;
clicks?: number;
cost_micros?: number;
conversions?: number;
video_views?: number;
};
}
/* .google.ads.googleads.v1.resources.Recommendation.RecommendationMetrics */
export interface RecommendationMetrics {
impressions?: number;
clicks?: number;
cost_micros?: number;
conversions?: number;
video_views?: number;
}
/* .google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption */
export interface CampaignBudgetRecommendationOption {
budget_amount_micros?: number;
impact?: RecommendationImpact;
}
/* .google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation */
export interface CampaignBudgetRecommendation {
current_budget_amount_micros?: number;
recommended_budget_amount_micros?: number;
budget_options?: CampaignBudgetRecommendationOption[];
}
/* .google.ads.googleads.v1.resources.Recommendation.KeywordRecommendation */
export interface KeywordRecommendation {
keyword?: KeywordInfo;
recommended_cpc_bid_micros?: number;
}
/* .google.ads.googleads.v1.resources.Recommendation.KeywordMatchTypeRecommendation */
export interface KeywordMatchTypeRecommendation {
keyword?: KeywordInfo;
recommended_match_type?: KeywordMatchType;
}
/* .google.ads.googleads.v1.resources.Recommendation.TextAdRecommendation */
export interface TextAdRecommendation {
ad?: Ad;
creation_date?: string;
auto_apply_date?: string;
}
/* .google.ads.googleads.v1.resources.Recommendation.SearchPartnersOptInRecommendation */
export interface SearchPartnersOptInRecommendation {}
/* .google.ads.googleads.v1.resources.Recommendation.MaximizeClicksOptInRecommendation */
export interface MaximizeClicksOptInRecommendation {
recommended_budget_amount_micros?: number;
}
/* .google.ads.googleads.v1.resources.Recommendation.CalloutExtensionRecommendation */
export interface CalloutExtensionRecommendation {
recommended_extensions?: CalloutFeedItem[];
}
/* .google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption */
export interface TargetCpaOptInRecommendationOption {
goal?: TargetCpaOptInRecommendationGoal;
target_cpa_micros?: number;
required_campaign_budget_amount_micros?: number;
impact?: RecommendationImpact;
}
/* .google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation */
export interface TargetCpaOptInRecommendation {
options?: TargetCpaOptInRecommendationOption[];
recommended_target_cpa_micros?: number;
}
/* .google.ads.googleads.v1.resources.Recommendation.MaximizeConversionsOptInRecommendation */
export interface MaximizeConversionsOptInRecommendation {
recommended_budget_amount_micros?: number;
}
/* .google.ads.googleads.v1.resources.Recommendation.EnhancedCpcOptInRecommendation */
export interface EnhancedCpcOptInRecommendation {}
/* .google.ads.googleads.v1.resources.Recommendation.OptimizeAdRotationRecommendation */
export interface OptimizeAdRotationRecommendation {}
/* .google.ads.googleads.v1.resources.Recommendation.SitelinkExtensionRecommendation */
export interface SitelinkExtensionRecommendation {
recommended_extensions?: SitelinkFeedItem[];
}
/* .google.ads.googleads.v1.resources.Recommendation.CallExtensionRecommendation */
export interface CallExtensionRecommendation {
recommended_extensions?: CallFeedItem[];
}
/* .google.ads.googleads.v1.resources.Recommendation.MoveUnusedBudgetRecommendation */
export interface MoveUnusedBudgetRecommendation {
excess_campaign_budget?: string;
budget_recommendation?: CampaignBudgetRecommendation;
}
/* .google.ads.googleads.v1.resources.Recommendation */
export interface Recommendation {
resource_name?: string;
type?: RecommendationType;
impact?: RecommendationImpact;
campaign_budget?: string;
campaign?: string;
ad_group?: string;
dismissed?: boolean;
campaign_budget_recommendation?: CampaignBudgetRecommendation;
keyword_recommendation?: KeywordRecommendation;
text_ad_recommendation?: TextAdRecommendation;
target_cpa_opt_in_recommendation?: TargetCpaOptInRecommendation;
maximize_conversions_opt_in_recommendation?: MaximizeConversionsOptInRecommendation;
enhanced_cpc_opt_in_recommendation?: EnhancedCpcOptInRecommendation;
search_partners_opt_in_recommendation?: SearchPartnersOptInRecommendation;
maximize_clicks_opt_in_recommendation?: MaximizeClicksOptInRecommendation;
optimize_ad_rotation_recommendation?: OptimizeAdRotationRecommendation;
callout_extension_recommendation?: CalloutExtensionRecommendation;
sitelink_extension_recommendation?: SitelinkExtensionRecommendation;
call_extension_recommendation?: CallExtensionRecommendation;
keyword_match_type_recommendation?: KeywordMatchTypeRecommendation;
move_unused_budget_recommendation?: MoveUnusedBudgetRecommendation;
}
/* .google.ads.googleads.v1.resources.RemarketingAction */
export interface RemarketingAction {
resource_name?: string;
id?: number;
name?: string;
tag_snippets?: TagSnippet[];
}
/* .google.ads.googleads.v1.resources.SearchTermView */
export interface SearchTermView {
resource_name?: string;
search_term?: string;
ad_group?: string;
status?: SearchTermTargetingStatus;
}
/* .google.ads.googleads.v1.resources.SharedCriterion */
export interface SharedCriterion {
resource_name?: string;
shared_set?: string;
criterion_id?: number;
type?: CriterionType;
keyword?: KeywordInfo;
youtube_video?: YouTubeVideoInfo;
youtube_channel?: YouTubeChannelInfo;
placement?: PlacementInfo;
mobile_app_category?: MobileAppCategoryInfo;
mobile_application?: MobileApplicationInfo;
}
/* .google.ads.googleads.v1.resources.SharedSet */
export interface SharedSet {
resource_name?: string;
id?: number;
type?: SharedSetType;
name?: string;
status?: SharedSetStatus;
member_count?: number;
reference_count?: number;
}
/* .google.ads.googleads.v1.resources.ShoppingPerformanceView */
export interface ShoppingPerformanceView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.TopicConstant */
export interface TopicConstant {
resource_name?: string;
id?: number;
topic_constant_parent?: string;
path?: string[];
}
/* .google.ads.googleads.v1.resources.TopicView */
export interface TopicView {
resource_name?: string;
}
/* .google.ads.googleads.v1.resources.UserInterest */
export interface UserInterest {
resource_name?: string;
taxonomy_type?: UserInterestTaxonomyType;
user_interest_id?: number;
name?: string;
user_interest_parent?: string;
launched_to_all?: boolean;
availabilities?: CriterionCategoryAvailability[];
}
/* .google.ads.googleads.v1.resources.UserList */
export interface UserList {
resource_name?: string;
id?: number;
read_only?: boolean;
name?: string;
description?: string;
membership_status?: UserListMembershipStatus;
integration_code?: string;
membership_life_span?: number;
size_for_display?: number;
size_range_for_display?: UserListSizeRange;
size_for_search?: number;
size_range_for_search?: UserListSizeRange;
type?: UserListType;
closing_reason?: UserListClosingReason;
access_reason?: AccessReason;
account_user_list_status?: UserListAccessStatus;
eligible_for_search?: boolean;
eligible_for_display?: boolean;
crm_based_user_list?: CrmBasedUserListInfo;
similar_user_list?: SimilarUserListInfo;
rule_based_user_list?: RuleBasedUserListInfo;
logical_user_list?: LogicalUserListInfo;
basic_user_list?: BasicUserListInfo;
}
/* .google.ads.googleads.v1.resources.Video */
export interface Video {
resource_name?: string;
id?: string;
channel_id?: string;
duration_millis?: number;
title?: string;
}
/* .google.ads.googleads.v1.services.AccountBudgetProposalService */
export interface AccountBudgetProposalService {}
/* .google.ads.googleads.v1.services.GetAccountBudgetProposalRequest */
export interface GetAccountBudgetProposalRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateAccountBudgetProposalRequest */
export interface MutateAccountBudgetProposalRequest {
customer_id?: string;
operation?: {
update_mask?: { paths?: string[] };
create?: AccountBudgetProposal;
remove?: string;
};
validate_only?: boolean;
}
/* .google.ads.googleads.v1.services.AccountBudgetProposalOperation */
export interface AccountBudgetProposalOperation {
update_mask?: { paths?: string[] };
create?: AccountBudgetProposal;
remove?: string;
}
/* .google.ads.googleads.v1.services.MutateAccountBudgetProposalResponse */
export interface MutateAccountBudgetProposalResponse {
result?: { resource_name?: string };
}
/* .google.ads.googleads.v1.services.MutateAccountBudgetProposalResult */
export interface MutateAccountBudgetProposalResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AccountBudgetService */
export interface AccountBudgetService {}
/* .google.ads.googleads.v1.services.GetAccountBudgetRequest */
export interface GetAccountBudgetRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdGroupAdLabelService */
export interface AdGroupAdLabelService {}
/* .google.ads.googleads.v1.services.GetAdGroupAdLabelRequest */
export interface GetAdGroupAdLabelRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupAdLabelsRequest */
export interface MutateAdGroupAdLabelsRequest {
customer_id?: string;
operations?: { create?: AdGroupAdLabel; remove?: string }[];
partial_failure?: boolean;
validate_only?: boolean;
}
/* .google.ads.googleads.v1.services.AdGroupAdLabelOperation */
export interface AdGroupAdLabelOperation {
create?: AdGroupAdLabel;
remove?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupAdLabelsResponse */
export interface MutateAdGroupAdLabelsResponse {
partial_failure_error?: {
code?: number;
message?: string;
details?: { type_url?: string; value?: string }[];
};
results?: { resource_name?: string }[];
}
/* .google.ads.googleads.v1.services.MutateAdGroupAdLabelResult */
export interface MutateAdGroupAdLabelResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdGroupAdService */
export interface AdGroupAdService {}
/* .google.ads.googleads.v1.services.GetAdGroupAdRequest */
export interface GetAdGroupAdRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupAdsRequest */
export interface MutateAdGroupAdsRequest {
customer_id?: string;
operations?: {
update_mask?: { paths?: string[] };
policy_validation_parameter?: PolicyValidationParameter;
create?: AdGroupAd;
update?: AdGroupAd;
remove?: string;
}[];
partial_failure?: boolean;
validate_only?: boolean;
}
/* .google.ads.googleads.v1.services.AdGroupAdOperation */
export interface AdGroupAdOperation {
update_mask?: { paths?: string[] };
policy_validation_parameter?: PolicyValidationParameter;
create?: AdGroupAd;
update?: AdGroupAd;
remove?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupAdsResponse */
export interface MutateAdGroupAdsResponse {
partial_failure_error?: {
code?: number;
message?: string;
details?: { type_url?: string; value?: string }[];
};
results?: { resource_name?: string }[];
}
/* .google.ads.googleads.v1.services.MutateAdGroupAdResult */
export interface MutateAdGroupAdResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdGroupAudienceViewService */
export interface AdGroupAudienceViewService {}
/* .google.ads.googleads.v1.services.GetAdGroupAudienceViewRequest */
export interface GetAdGroupAudienceViewRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdGroupBidModifierService */
export interface AdGroupBidModifierService {}
/* .google.ads.googleads.v1.services.GetAdGroupBidModifierRequest */
export interface GetAdGroupBidModifierRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupBidModifiersRequest */
export interface MutateAdGroupBidModifiersRequest {
customer_id?: string;
operations?: {
update_mask?: { paths?: string[] };
create?: AdGroupBidModifier;
update?: AdGroupBidModifier;
remove?: string;
}[];
partial_failure?: boolean;
validate_only?: boolean;
}
/* .google.ads.googleads.v1.services.AdGroupBidModifierOperation */
export interface AdGroupBidModifierOperation {
update_mask?: { paths?: string[] };
create?: AdGroupBidModifier;
update?: AdGroupBidModifier;
remove?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupBidModifiersResponse */
export interface MutateAdGroupBidModifiersResponse {
partial_failure_error?: {
code?: number;
message?: string;
details?: { type_url?: string; value?: string }[];
};
results?: { resource_name?: string }[];
}
/* .google.ads.googleads.v1.services.MutateAdGroupBidModifierResult */
export interface MutateAdGroupBidModifierResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdGroupCriterionLabelService */
export interface AdGroupCriterionLabelService {}
/* .google.ads.googleads.v1.services.GetAdGroupCriterionLabelRequest */
export interface GetAdGroupCriterionLabelRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsRequest */
export interface MutateAdGroupCriterionLabelsRequest {
customer_id?: string;
operations?: { create?: AdGroupCriterionLabel; remove?: string }[];
partial_failure?: boolean;
validate_only?: boolean;
}
/* .google.ads.googleads.v1.services.AdGroupCriterionLabelOperation */
export interface AdGroupCriterionLabelOperation {
create?: AdGroupCriterionLabel;
remove?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsResponse */
export interface MutateAdGroupCriterionLabelsResponse {
partial_failure_error?: {
code?: number;
message?: string;
details?: { type_url?: string; value?: string }[];
};
results?: { resource_name?: string }[];
}
/* .google.ads.googleads.v1.services.MutateAdGroupCriterionLabelResult */
export interface MutateAdGroupCriterionLabelResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdGroupCriterionService */
export interface AdGroupCriterionService {}
/* .google.ads.googleads.v1.services.GetAdGroupCriterionRequest */
export interface GetAdGroupCriterionRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupCriteriaRequest */
export interface MutateAdGroupCriteriaRequest {
customer_id?: string;
operations?: {
update_mask?: { paths?: string[] };
exempt_policy_violation_keys?: PolicyViolationKey[];
create?: AdGroupCriterion;
update?: AdGroupCriterion;
remove?: string;
}[];
partial_failure?: boolean;
validate_only?: boolean;
}
/* .google.ads.googleads.v1.services.AdGroupCriterionOperation */
export interface AdGroupCriterionOperation {
update_mask?: { paths?: string[] };
exempt_policy_violation_keys?: PolicyViolationKey[];
create?: AdGroupCriterion;
update?: AdGroupCriterion;
remove?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupCriteriaResponse */
export interface MutateAdGroupCriteriaResponse {
partial_failure_error?: {
code?: number;
message?: string;
details?: { type_url?: string; value?: string }[];
};
results?: { resource_name?: string }[];
}
/* .google.ads.googleads.v1.services.MutateAdGroupCriterionResult */
export interface MutateAdGroupCriterionResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdGroupCriterionSimulationService */
export interface AdGroupCriterionSimulationService {}
/* .google.ads.googleads.v1.services.GetAdGroupCriterionSimulationRequest */
export interface GetAdGroupCriterionSimulationRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdGroupExtensionSettingService */
export interface AdGroupExtensionSettingService {}
/* .google.ads.googleads.v1.services.GetAdGroupExtensionSettingRequest */
export interface GetAdGroupExtensionSettingRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsRequest */
export interface MutateAdGroupExtensionSettingsRequest {
customer_id?: string;
operations?: {
update_mask?: { paths?: string[] };
create?: AdGroupExtensionSetting;
update?: AdGroupExtensionSetting;
remove?: string;
}[];
partial_failure?: boolean;
validate_only?: boolean;
}
/* .google.ads.googleads.v1.services.AdGroupExtensionSettingOperation */
export interface AdGroupExtensionSettingOperation {
update_mask?: { paths?: string[] };
create?: AdGroupExtensionSetting;
update?: AdGroupExtensionSetting;
remove?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsResponse */
export interface MutateAdGroupExtensionSettingsResponse {
partial_failure_error?: {
code?: number;
message?: string;
details?: { type_url?: string; value?: string }[];
};
results?: { resource_name?: string }[];
}
/* .google.ads.googleads.v1.services.MutateAdGroupExtensionSettingResult */
export interface MutateAdGroupExtensionSettingResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdGroupFeedService */
export interface AdGroupFeedService {}
/* .google.ads.googleads.v1.services.GetAdGroupFeedRequest */
export interface GetAdGroupFeedRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupFeedsRequest */
export interface MutateAdGroupFeedsRequest {
customer_id?: string;
operations?: {
update_mask?: { paths?: string[] };
create?: AdGroupFeed;
update?: AdGroupFeed;
remove?: string;
}[];
partial_failure?: boolean;
validate_only?: boolean;
}
/* .google.ads.googleads.v1.services.AdGroupFeedOperation */
export interface AdGroupFeedOperation {
update_mask?: { paths?: string[] };
create?: AdGroupFeed;
update?: AdGroupFeed;
remove?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupFeedsResponse */
export interface MutateAdGroupFeedsResponse {
partial_failure_error?: {
code?: number;
message?: string;
details?: { type_url?: string; value?: string }[];
};
results?: { resource_name?: string }[];
}
/* .google.ads.googleads.v1.services.MutateAdGroupFeedResult */
export interface MutateAdGroupFeedResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdGroupLabelService */
export interface AdGroupLabelService {}
/* .google.ads.googleads.v1.services.GetAdGroupLabelRequest */
export interface GetAdGroupLabelRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupLabelsRequest */
export interface MutateAdGroupLabelsRequest {
customer_id?: string;
operations?: { create?: AdGroupLabel; remove?: string }[];
partial_failure?: boolean;
validate_only?: boolean;
}
/* .google.ads.googleads.v1.services.AdGroupLabelOperation */
export interface AdGroupLabelOperation {
create?: AdGroupLabel;
remove?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupLabelsResponse */
export interface MutateAdGroupLabelsResponse {
partial_failure_error?: {
code?: number;
message?: string;
details?: { type_url?: string; value?: string }[];
};
results?: { resource_name?: string }[];
}
/* .google.ads.googleads.v1.services.MutateAdGroupLabelResult */
export interface MutateAdGroupLabelResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdGroupService */
export interface AdGroupService {}
/* .google.ads.googleads.v1.services.GetAdGroupRequest */
export interface GetAdGroupRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupsRequest */
export interface MutateAdGroupsRequest {
customer_id?: string;
operations?: {
update_mask?: { paths?: string[] };
create?: AdGroup;
update?: AdGroup;
remove?: string;
}[];
partial_failure?: boolean;
validate_only?: boolean;
}
/* .google.ads.googleads.v1.services.AdGroupOperation */
export interface AdGroupOperation {
update_mask?: { paths?: string[] };
create?: AdGroup;
update?: AdGroup;
remove?: string;
}
/* .google.ads.googleads.v1.services.MutateAdGroupsResponse */
export interface MutateAdGroupsResponse {
partial_failure_error?: {
code?: number;
message?: string;
details?: { type_url?: string; value?: string }[];
};
results?: { resource_name?: string }[];
}
/* .google.ads.googleads.v1.services.MutateAdGroupResult */
export interface MutateAdGroupResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdGroupSimulationService */
export interface AdGroupSimulationService {}
/* .google.ads.googleads.v1.services.GetAdGroupSimulationRequest */
export interface GetAdGroupSimulationRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdParameterService */
export interface AdParameterService {}
/* .google.ads.googleads.v1.services.GetAdParameterRequest */
export interface GetAdParameterRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateAdParametersRequest */
export interface MutateAdParametersRequest {
customer_id?: string;
operations?: {
update_mask?: { paths?: string[] };
create?: AdParameter;
update?: AdParameter;
remove?: string;
}[];
partial_failure?: boolean;
validate_only?: boolean;
}
/* .google.ads.googleads.v1.services.AdParameterOperation */
export interface AdParameterOperation {
update_mask?: { paths?: string[] };
create?: AdParameter;
update?: AdParameter;
remove?: string;
}
/* .google.ads.googleads.v1.services.MutateAdParametersResponse */
export interface MutateAdParametersResponse {
partial_failure_error?: {
code?: number;
message?: string;
details?: { type_url?: string; value?: string }[];
};
results?: { resource_name?: string }[];
}
/* .google.ads.googleads.v1.services.MutateAdParameterResult */
export interface MutateAdParameterResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AdScheduleViewService */
export interface AdScheduleViewService {}
/* .google.ads.googleads.v1.services.GetAdScheduleViewRequest */
export interface GetAdScheduleViewRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AgeRangeViewService */
export interface AgeRangeViewService {}
/* .google.ads.googleads.v1.services.GetAgeRangeViewRequest */
export interface GetAgeRangeViewRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.AssetService */
export interface AssetService {}
/* .google.ads.googleads.v1.services.GetAssetRequest */
export interface GetAssetRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateAssetsRequest */
export interface MutateAssetsRequest {
customer_id?: string;
operations?: { create?: Asset }[];
}
/* .google.ads.googleads.v1.services.AssetOperation */
export interface AssetOperation {
create?: Asset;
}
/* .google.ads.googleads.v1.services.MutateAssetsResponse */
export interface MutateAssetsResponse {
results?: { resource_name?: string }[];
}
/* .google.ads.googleads.v1.services.MutateAssetResult */
export interface MutateAssetResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.BiddingStrategyService */
export interface BiddingStrategyService {}
/* .google.ads.googleads.v1.services.GetBiddingStrategyRequest */
export interface GetBiddingStrategyRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateBiddingStrategiesRequest */
export interface MutateBiddingStrategiesRequest {
customer_id?: string;
operations?: {
update_mask?: { paths?: string[] };
create?: BiddingStrategy;
update?: BiddingStrategy;
remove?: string;
}[];
partial_failure?: boolean;
validate_only?: boolean;
}
/* .google.ads.googleads.v1.services.BiddingStrategyOperation */
export interface BiddingStrategyOperation {
update_mask?: { paths?: string[] };
create?: BiddingStrategy;
update?: BiddingStrategy;
remove?: string;
}
/* .google.ads.googleads.v1.services.MutateBiddingStrategiesResponse */
export interface MutateBiddingStrategiesResponse {
partial_failure_error?: {
code?: number;
message?: string;
details?: { type_url?: string; value?: string }[];
};
results?: { resource_name?: string }[];
}
/* .google.ads.googleads.v1.services.MutateBiddingStrategyResult */
export interface MutateBiddingStrategyResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.BillingSetupService */
export interface BillingSetupService {}
/* .google.ads.googleads.v1.services.GetBillingSetupRequest */
export interface GetBillingSetupRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.MutateBillingSetupRequest */
export interface MutateBillingSetupRequest {
customer_id?: string;
operation?: { create?: BillingSetup; remove?: string };
}
/* .google.ads.googleads.v1.services.BillingSetupOperation */
export interface BillingSetupOperation {
create?: BillingSetup;
remove?: string;
}
/* .google.ads.googleads.v1.services.MutateBillingSetupResponse */
export interface MutateBillingSetupResponse {
result?: { resource_name?: string };
}
/* .google.ads.googleads.v1.services.MutateBillingSetupResult */
export interface MutateBillingSetupResult {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.CampaignAudienceViewService */
export interface CampaignAudienceViewService {}
/* .google.ads.googleads.v1.services.GetCampaignAudienceViewRequest */
export interface GetCampaignAudienceViewRequest {
resource_name?: string;
}
/* .google.ads.googleads.v1.services.CampaignBidModifierService */
export interface CampaignBidModifierService {}
/* .google.ads.googleads.v1.services.GetCampaignB