google-ads-node
Version:
Google Ads API client library
1,201 lines (1,200 loc) • 2.34 MB
JSON
{
"nested": {
"google": {
"nested": {
"ads": {
"nested": {
"googleads": {
"nested": {
"v8": {
"nested": {
"common": {
"options": {
"csharp_namespace": "Google.Ads.GoogleAds.V8.Common",
"go_package": "google.golang.org/genproto/googleapis/ads/googleads/v8/common;common",
"java_multiple_files": true,
"java_outer_classname": "ValueProto",
"java_package": "com.google.ads.googleads.v8.common",
"objc_class_prefix": "GAA",
"php_namespace": "Google\\Ads\\GoogleAds\\V8\\Common",
"ruby_package": "Google::Ads::GoogleAds::V8::Common"
},
"nested": {
"AdTextAsset": {
"oneofs": {
"_text": {
"oneof": [
"text"
]
}
},
"fields": {
"text": {
"type": "string",
"id": 4,
"options": {
"proto3_optional": true
}
},
"pinned_field": {
"type": "google.ads.googleads.v8.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType",
"id": 2
},
"asset_performance_label": {
"type": "google.ads.googleads.v8.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel",
"id": 5
},
"policy_summary_info": {
"type": "AdAssetPolicySummary",
"id": 6
}
}
},
"AdImageAsset": {
"oneofs": {
"_asset": {
"oneof": [
"asset"
]
}
},
"fields": {
"asset": {
"type": "string",
"id": 2,
"options": {
"proto3_optional": true
}
}
}
},
"AdVideoAsset": {
"oneofs": {
"_asset": {
"oneof": [
"asset"
]
}
},
"fields": {
"asset": {
"type": "string",
"id": 2,
"options": {
"proto3_optional": true
}
}
}
},
"AdMediaBundleAsset": {
"oneofs": {
"_asset": {
"oneof": [
"asset"
]
}
},
"fields": {
"asset": {
"type": "string",
"id": 2,
"options": {
"proto3_optional": true
}
}
}
},
"AdAssetPolicySummary": {
"fields": {
"policy_topic_entries": {
"rule": "repeated",
"type": "PolicyTopicEntry",
"id": 1
},
"review_status": {
"type": "google.ads.googleads.v8.enums.PolicyReviewStatusEnum.PolicyReviewStatus",
"id": 2
},
"approval_status": {
"type": "google.ads.googleads.v8.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus",
"id": 3
}
}
},
"PolicyViolationKey": {
"oneofs": {
"_policy_name": {
"oneof": [
"policy_name"
]
},
"_violating_text": {
"oneof": [
"violating_text"
]
}
},
"fields": {
"policy_name": {
"type": "string",
"id": 3,
"options": {
"proto3_optional": true
}
},
"violating_text": {
"type": "string",
"id": 4,
"options": {
"proto3_optional": true
}
}
}
},
"PolicyValidationParameter": {
"fields": {
"ignorable_policy_topics": {
"rule": "repeated",
"type": "string",
"id": 3
},
"exempt_policy_violation_keys": {
"rule": "repeated",
"type": "PolicyViolationKey",
"id": 2
}
}
},
"PolicyTopicEntry": {
"oneofs": {
"_topic": {
"oneof": [
"topic"
]
}
},
"fields": {
"topic": {
"type": "string",
"id": 5,
"options": {
"proto3_optional": true
}
},
"type": {
"type": "google.ads.googleads.v8.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType",
"id": 2
},
"evidences": {
"rule": "repeated",
"type": "PolicyTopicEvidence",
"id": 3
},
"constraints": {
"rule": "repeated",
"type": "PolicyTopicConstraint",
"id": 4
}
}
},
"PolicyTopicEvidence": {
"oneofs": {
"value": {
"oneof": [
"website_list",
"text_list",
"language_code",
"destination_text_list",
"destination_mismatch",
"destination_not_working"
]
}
},
"fields": {
"website_list": {
"type": "WebsiteList",
"id": 3
},
"text_list": {
"type": "TextList",
"id": 4
},
"language_code": {
"type": "string",
"id": 9
},
"destination_text_list": {
"type": "DestinationTextList",
"id": 6
},
"destination_mismatch": {
"type": "DestinationMismatch",
"id": 7
},
"destination_not_working": {
"type": "DestinationNotWorking",
"id": 8
}
},
"nested": {
"TextList": {
"fields": {
"texts": {
"rule": "repeated",
"type": "string",
"id": 2
}
}
},
"WebsiteList": {
"fields": {
"websites": {
"rule": "repeated",
"type": "string",
"id": 2
}
}
},
"DestinationTextList": {
"fields": {
"destination_texts": {
"rule": "repeated",
"type": "string",
"id": 2
}
}
},
"DestinationMismatch": {
"fields": {
"url_types": {
"rule": "repeated",
"type": "google.ads.googleads.v8.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType",
"id": 1
}
}
},
"DestinationNotWorking": {
"oneofs": {
"_expanded_url": {
"oneof": [
"expanded_url"
]
},
"_last_checked_date_time": {
"oneof": [
"last_checked_date_time"
]
},
"reason": {
"oneof": [
"dns_error_type",
"http_error_code"
]
}
},
"fields": {
"expanded_url": {
"type": "string",
"id": 7,
"options": {
"proto3_optional": true
}
},
"device": {
"type": "google.ads.googleads.v8.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice",
"id": 4
},
"last_checked_date_time": {
"type": "string",
"id": 8,
"options": {
"proto3_optional": true
}
},
"dns_error_type": {
"type": "google.ads.googleads.v8.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType",
"id": 1
},
"http_error_code": {
"type": "int64",
"id": 6
}
}
}
}
},
"PolicyTopicConstraint": {
"oneofs": {
"value": {
"oneof": [
"country_constraint_list",
"reseller_constraint",
"certificate_missing_in_country_list",
"certificate_domain_mismatch_in_country_list"
]
}
},
"fields": {
"country_constraint_list": {
"type": "CountryConstraintList",
"id": 1
},
"reseller_constraint": {
"type": "ResellerConstraint",
"id": 2
},
"certificate_missing_in_country_list": {
"type": "CountryConstraintList",
"id": 3
},
"certificate_domain_mismatch_in_country_list": {
"type": "CountryConstraintList",
"id": 4
}
},
"nested": {
"CountryConstraintList": {
"oneofs": {
"_total_targeted_countries": {
"oneof": [
"total_targeted_countries"
]
}
},
"fields": {
"total_targeted_countries": {
"type": "int32",
"id": 3,
"options": {
"proto3_optional": true
}
},
"countries": {
"rule": "repeated",
"type": "CountryConstraint",
"id": 2
}
}
},
"ResellerConstraint": {
"fields": {}
},
"CountryConstraint": {
"oneofs": {
"_country_criterion": {
"oneof": [
"country_criterion"
]
}
},
"fields": {
"country_criterion": {
"type": "string",
"id": 2,
"options": {
"proto3_optional": true
}
}
}
}
}
},
"TextAdInfo": {
"oneofs": {
"_headline": {
"oneof": [
"headline"
]
},
"_description1": {
"oneof": [
"description1"
]
},
"_description2": {
"oneof": [
"description2"
]
}
},
"fields": {
"headline": {
"type": "string",
"id": 4,
"options": {
"proto3_optional": true
}
},
"description1": {
"type": "string",
"id": 5,
"options": {
"proto3_optional": true
}
},
"description2": {
"type": "string",
"id": 6,
"options": {
"proto3_optional": true
}
}
}
},
"ExpandedTextAdInfo": {
"oneofs": {
"_headline_part1": {
"oneof": [
"headline_part1"
]
},
"_headline_part2": {
"oneof": [
"headline_part2"
]
},
"_headline_part3": {
"oneof": [
"headline_part3"
]
},
"_description": {
"oneof": [
"description"
]
},
"_description2": {
"oneof": [
"description2"
]
},
"_path1": {
"oneof": [
"path1"
]
},
"_path2": {
"oneof": [
"path2"
]
}
},
"fields": {
"headline_part1": {
"type": "string",
"id": 8,
"options": {
"proto3_optional": true
}
},
"headline_part2": {
"type": "string",
"id": 9,
"options": {
"proto3_optional": true
}
},
"headline_part3": {
"type": "string",
"id": 10,
"options": {
"proto3_optional": true
}
},
"description": {
"type": "string",
"id": 11,
"options": {
"proto3_optional": true
}
},
"description2": {
"type": "string",
"id": 12,
"options": {
"proto3_optional": true
}
},
"path1": {
"type": "string",
"id": 13,
"options": {
"proto3_optional": true
}
},
"path2": {
"type": "string",
"id": 14,
"options": {
"proto3_optional": true
}
}
}
},
"ExpandedDynamicSearchAdInfo": {
"oneofs": {
"_description": {
"oneof": [
"description"
]
},
"_description2": {
"oneof": [
"description2"
]
}
},
"fields": {
"description": {
"type": "string",
"id": 3,
"options": {
"proto3_optional": true
}
},
"description2": {
"type": "string",
"id": 4,
"options": {
"proto3_optional": true
}
}
}
},
"HotelAdInfo": {
"fields": {}
},
"ShoppingSmartAdInfo": {
"fields": {}
},
"ShoppingProductAdInfo": {
"fields": {}
},
"ShoppingComparisonListingAdInfo": {
"oneofs": {
"_headline": {
"oneof": [
"headline"
]
}
},
"fields": {
"headline": {
"type": "string",
"id": 2,
"options": {
"proto3_optional": true
}
}
}
},
"GmailAdInfo": {
"oneofs": {
"_header_image": {
"oneof": [
"header_image"
]
},
"_marketing_image": {
"oneof": [
"marketing_image"
]
},
"_marketing_image_headline": {
"oneof": [
"marketing_image_headline"
]
},
"_marketing_image_description": {
"oneof": [
"marketing_image_description"
]
}
},
"fields": {
"teaser": {
"type": "GmailTeaser",
"id": 1
},
"header_image": {
"type": "string",
"id": 10,
"options": {
"proto3_optional": true
}
},
"marketing_image": {
"type": "string",
"id": 11,
"options": {
"proto3_optional": true
}
},
"marketing_image_headline": {
"type": "string",
"id": 12,
"options": {
"proto3_optional": true
}
},
"marketing_image_description": {
"type": "string",
"id": 13,
"options": {
"proto3_optional": true
}
},
"marketing_image_display_call_to_action": {
"type": "DisplayCallToAction",
"id": 6
},
"product_images": {
"rule": "repeated",
"type": "ProductImage",
"id": 7
},
"product_videos": {
"rule": "repeated",
"type": "ProductVideo",
"id": 8
}
}
},
"GmailTeaser": {
"oneofs": {
"_headline": {
"oneof": [
"headline"
]
},
"_description": {
"oneof": [
"description"
]
},
"_business_name": {
"oneof": [
"business_name"
]
},
"_logo_image": {
"oneof": [
"logo_image"
]
}
},
"fields": {
"headline": {
"type": "string",
"id": 5,
"options": {
"proto3_optional": true
}
},
"description": {
"type": "string",
"id": 6,
"options": {
"proto3_optional": true
}
},
"business_name": {
"type": "string",
"id": 7,
"options": {
"proto3_optional": true
}
},
"logo_image": {
"type": "string",
"id": 8,
"options": {
"proto3_optional": true
}
}
}
},
"DisplayCallToAction": {
"oneofs": {
"_text": {
"oneof": [
"text"
]
},
"_text_color": {
"oneof": [
"text_color"
]
},
"_url_collection_id": {
"oneof": [
"url_collection_id"
]
}
},
"fields": {
"text": {
"type": "string",
"id": 5,
"options": {
"proto3_optional": true
}
},
"text_color": {
"type": "string",
"id": 6,
"options": {
"proto3_optional": true
}
},
"url_collection_id": {
"type": "string",
"id": 7,
"options": {
"proto3_optional": true
}
}
}
},
"ProductImage": {
"oneofs": {
"_product_image": {
"oneof": [
"product_image"
]
},
"_description": {
"oneof": [
"description"
]
}
},
"fields": {
"product_image": {
"type": "string",
"id": 4,
"options": {
"proto3_optional": true
}
},
"description": {
"type": "string",
"id": 5,
"options": {
"proto3_optional": true
}
},
"display_call_to_action": {
"type": "DisplayCallToAction",
"id": 3
}
}
},
"ProductVideo": {
"oneofs": {
"_product_video": {
"oneof": [
"product_video"
]
}
},
"fields": {
"product_video": {
"type": "string",
"id": 2,
"options": {
"proto3_optional": true
}
}
}
},
"ImageAdInfo": {
"oneofs": {
"_pixel_width": {
"oneof": [
"pixel_width"
]
},
"_pixel_height": {
"oneof": [
"pixel_height"
]
},
"_image_url": {
"oneof": [
"image_url"
]
},
"_preview_pixel_width": {
"oneof": [
"preview_pixel_width"
]
},
"_preview_pixel_height": {
"oneof": [
"preview_pixel_height"
]
},
"_preview_image_url": {
"oneof": [
"preview_image_url"
]
},
"_name": {
"oneof": [
"name"
]
},
"image": {
"oneof": [
"media_file",
"data",
"ad_id_to_copy_image_from"
]
}
},
"fields": {
"pixel_width": {
"type": "int64",
"id": 15,
"options": {
"proto3_optional": true
}
},
"pixel_height": {
"type": "int64",
"id": 16,
"options": {
"proto3_optional": true
}
},
"image_url": {
"type": "string",
"id": 17,
"options": {
"proto3_optional": true
}
},
"preview_pixel_width": {
"type": "int64",
"id": 18,
"options": {
"proto3_optional": true
}
},
"preview_pixel_height": {
"type": "int64",
"id": 19,
"options": {
"proto3_optional": true
}
},
"preview_image_url": {
"type": "string",
"id": 20,
"options": {
"proto3_optional": true
}
},
"mime_type": {
"type": "google.ads.googleads.v8.enums.MimeTypeEnum.MimeType",
"id": 10
},
"name": {
"type": "string",
"id": 21,
"options": {
"proto3_optional": true
}
},
"media_file": {
"type": "string",
"id": 12
},
"data": {
"type": "bytes",
"id": 13
},
"ad_id_to_copy_image_from": {
"type": "int64",
"id": 14
}
}
},
"VideoBumperInStreamAdInfo": {
"oneofs": {
"_companion_banner": {
"oneof": [
"companion_banner"
]
}
},
"fields": {
"companion_banner": {
"type": "string",
"id": 2,
"options": {
"proto3_optional": true
}
}
}
},
"VideoNonSkippableInStreamAdInfo": {
"oneofs": {
"_companion_banner": {
"oneof": [
"companion_banner"
]
}
},
"fields": {
"companion_banner": {
"type": "string",
"id": 2,
"options": {
"proto3_optional": true
}
}
}
},
"VideoTrueViewInStreamAdInfo": {
"oneofs": {
"_action_button_label": {
"oneof": [
"action_button_label"
]
},
"_action_headline": {
"oneof": [
"action_headline"
]
},
"_companion_banner": {
"oneof": [
"companion_banner"
]
}
},
"fields": {
"action_button_label": {
"type": "string",
"id": 4,
"options": {
"proto3_optional": true
}
},
"action_headline": {
"type": "string",
"id": 5,
"options": {
"proto3_optional": true
}
},
"companion_banner": {
"type": "string",
"id": 6,
"options": {
"proto3_optional": true
}
}
}
},
"VideoOutstreamAdInfo": {
"oneofs": {
"_headline": {
"oneof": [
"headline"
]
},
"_description": {
"oneof": [
"description"
]
}
},
"fields": {
"headline": {
"type": "string",
"id": 3,
"options": {
"proto3_optional": true
}
},
"description": {
"type": "string",
"id": 4,
"options": {
"proto3_optional": true
}
}
}
},
"VideoTrueViewDiscoveryAdInfo": {
"oneofs": {
"_headline": {
"oneof": [
"headline"
]
},
"_description1": {
"oneof": [
"description1"
]
},
"_description2": {
"oneof": [
"description2"
]
}
},
"fields": {
"headline": {
"type": "string",
"id": 4,
"options": {
"proto3_optional": true
}
},
"description1": {
"type": "string",
"id": 5,
"options": {
"proto3_optional": true
}
},
"description2": {
"type": "string",
"id": 6,
"options": {
"proto3_optional": true
}
}
}
},
"VideoAdInfo": {
"oneofs": {
"_media_file": {
"oneof": [
"media_file"
]
},
"format": {
"oneof": [
"in_stream",
"bumper",
"out_stream",
"non_skippable",
"discovery"
]
}
},
"fields": {
"media_file": {
"type": "string",
"id": 7,
"options": {
"proto3_optional": true
}
},
"in_stream": {
"type": "VideoTrueViewInStreamAdInfo",
"id": 2
},
"bumper": {
"type": "VideoBumperInStreamAdInfo",
"id": 3
},
"out_stream": {
"type": "VideoOutstreamAdInfo",
"id": 4
},
"non_skippable": {
"type": "VideoNonSkippableInStreamAdInfo",
"id": 5
},
"discovery": {
"type": "VideoTrueViewDiscoveryAdInfo",
"id": 6
}
}
},
"VideoResponsiveAdInfo": {
"fields": {
"headlines": {
"rule": "repeated",
"type": "AdTextAsset",
"id": 1
},
"long_headlines": {
"rule": "repeated",
"type": "AdTextAsset",
"id": 2
},
"descriptions": {
"rule": "repeated",
"type": "AdTextAsset",
"id": 3
},
"call_to_actions": {
"rule": "repeated",
"type": "AdTextAsset",
"id": 4
},
"videos": {
"rule": "repeated",
"type": "AdVideoAsset",
"id": 5
},
"companion_banners": {
"rule": "repeated",
"type": "AdImageAsset",
"id": 6
}
}
},
"ResponsiveSearchAdInfo": {
"oneofs": {
"_path1": {
"oneof": [
"path1"
]
},
"_path2": {
"oneof": [
"path2"
]
}
},
"fields": {
"headlines": {
"rule": "repeated",
"type": "AdTextAsset",
"id": 1
},
"descriptions": {
"rule": "repeated",
"type": "AdTextAsset",
"id": 2
},
"path1": {
"type": "string",
"id": 5,
"options": {
"proto3_optional": true
}
},
"path2": {
"type": "string",
"id": 6,
"options": {
"proto3_optional": true
}
}
}
},
"LegacyResponsiveDisplayAdInfo": {
"oneofs": {
"_short_headline": {
"oneof": [
"short_headline"
]