123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- syntax = "proto3";
- package google.ads.googleads.v11.resources;
- import "google/ads/googleads/v11/enums/account_link_status.proto";
- import "google/ads/googleads/v11/enums/linked_account_type.proto";
- import "google/ads/googleads/v11/enums/mobile_app_vendor.proto";
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources";
- option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources";
- option java_multiple_files = true;
- option java_outer_classname = "AccountLinkProto";
- option java_package = "com.google.ads.googleads.v11.resources";
- option objc_class_prefix = "GAA";
- option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources";
- option ruby_package = "Google::Ads::GoogleAds::V11::Resources";
- message AccountLink {
- option (google.api.resource) = {
- type: "googleads.googleapis.com/AccountLink"
- pattern: "customers/{customer_id}/accountLinks/{account_link_id}"
- };
-
-
-
- string resource_name = 1 [
- (google.api.field_behavior) = IMMUTABLE,
- (google.api.resource_reference) = {
- type: "googleads.googleapis.com/AccountLink"
- }
- ];
-
-
- optional int64 account_link_id = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.ads.googleads.v11.enums.AccountLinkStatusEnum.AccountLinkStatus status = 3;
-
- google.ads.googleads.v11.enums.LinkedAccountTypeEnum.LinkedAccountType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- oneof linked_account {
-
- ThirdPartyAppAnalyticsLinkIdentifier third_party_app_analytics = 5 [(google.api.field_behavior) = IMMUTABLE];
-
- DataPartnerLinkIdentifier data_partner = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- GoogleAdsLinkIdentifier google_ads = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- HotelCenterLinkIdentifier hotel_center = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- }
- message ThirdPartyAppAnalyticsLinkIdentifier {
-
-
-
-
- optional int64 app_analytics_provider_id = 4 [(google.api.field_behavior) = IMMUTABLE];
-
-
-
-
-
-
-
-
-
-
-
- optional string app_id = 5 [(google.api.field_behavior) = IMMUTABLE];
-
-
-
-
- google.ads.googleads.v11.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(google.api.field_behavior) = IMMUTABLE];
- }
- message DataPartnerLinkIdentifier {
-
-
-
-
- optional int64 data_partner_id = 1 [(google.api.field_behavior) = IMMUTABLE];
- }
- message HotelCenterLinkIdentifier {
-
- int64 hotel_center_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message GoogleAdsLinkIdentifier {
-
-
-
-
- optional string customer = 3 [
- (google.api.field_behavior) = IMMUTABLE,
- (google.api.resource_reference) = {
- type: "googleads.googleapis.com/Customer"
- }
- ];
- }
|