Interface ProductAccountOrBuilder (0.1.0)

public interface ProductAccountOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccountId()

public abstract String getAccountId()

Required. The ID of the account. For example, your Google Ads account ID.

string account_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The accountId.

getAccountIdBytes()

public abstract ByteString getAccountIdBytes()

Required. The ID of the account. For example, your Google Ads account ID.

string account_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for accountId.

getAccountType()

public abstract ProductAccount.AccountType getAccountType()

Optional. The type of the account. For example, GOOGLE_ADS. Either account_type or the deprecated product is required. If both are set, the values must match.

.google.ads.datamanager.v1.ProductAccount.AccountType account_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProductAccount.AccountType

The accountType.

getAccountTypeValue()

public abstract int getAccountTypeValue()

Optional. The type of the account. For example, GOOGLE_ADS. Either account_type or the deprecated product is required. If both are set, the values must match.

.google.ads.datamanager.v1.ProductAccount.AccountType account_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for accountType.

getProduct() (deprecated)

public abstract Product getProduct()

Deprecated. google.ads.datamanager.v1.ProductAccount.product is deprecated. See google/ads/datamanager/v1/destination.proto;l=90

Deprecated. Use account_type instead.

.google.ads.datamanager.v1.Product product = 1 [deprecated = true];

Returns
Type Description
Product

The product.

getProductValue() (deprecated)

public abstract int getProductValue()

Deprecated. google.ads.datamanager.v1.ProductAccount.product is deprecated. See google/ads/datamanager/v1/destination.proto;l=90

Deprecated. Use account_type instead.

.google.ads.datamanager.v1.Product product = 1 [deprecated = true];

Returns
Type Description
int

The enum numeric value on the wire for product.