public interface ProgrammaticBuyerOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAgency()
public abstract boolean getAgency()Output only. Whether the buyer is an advertising agency.
optional bool agency = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The agency. |
getBuyerAccountId()
public abstract long getBuyerAccountId()Output only. The buyer account ID of the buyer.
optional int64 buyer_account_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The buyerAccountId. |
getDisplayName()
public abstract String getDisplayName()Output only. The display name of the buyer.
optional string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()Output only. The display name of the buyer.
optional string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getName()
public abstract String getName() Identifier. The resource name of the ProgrammaticBuyer.
Format:
networks/{network_code}/programmaticBuyers/{buyer_account_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Identifier. The resource name of the ProgrammaticBuyer.
Format:
networks/{network_code}/programmaticBuyers/{buyer_account_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParentAccountId()
public abstract long getParentAccountId()Output only. The ID of the programmatic buyer's sponsor. If the buyer has no sponsor, this field will be -1.
optional int64 parent_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The parentAccountId. |
getPartnerClientId()
public abstract String getPartnerClientId()Output only. ID of the Display & Video 360 client buyer partner ID (if Display & Video 360) or Authorized Buyers client buyer account ID.
optional string partner_client_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The partnerClientId. |
getPartnerClientIdBytes()
public abstract ByteString getPartnerClientIdBytes()Output only. ID of the Display & Video 360 client buyer partner ID (if Display & Video 360) or Authorized Buyers client buyer account ID.
optional string partner_client_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for partnerClientId. |
getPreferredDealsEnabled()
public abstract boolean getPreferredDealsEnabled()Output only. Whether the buyer is enabled for preferred deals.
optional bool preferred_deals_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The preferredDealsEnabled. |
getProgrammaticGuaranteedEnabled()
public abstract boolean getProgrammaticGuaranteedEnabled()Output only. Whether the buyer is enabled for programmatic guaranteed deals.
optional bool programmatic_guaranteed_enabled = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The programmaticGuaranteedEnabled. |
hasAgency()
public abstract boolean hasAgency()Output only. Whether the buyer is an advertising agency.
optional bool agency = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the agency field is set. |
hasBuyerAccountId()
public abstract boolean hasBuyerAccountId()Output only. The buyer account ID of the buyer.
optional int64 buyer_account_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the buyerAccountId field is set. |
hasDisplayName()
public abstract boolean hasDisplayName()Output only. The display name of the buyer.
optional string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasParentAccountId()
public abstract boolean hasParentAccountId()Output only. The ID of the programmatic buyer's sponsor. If the buyer has no sponsor, this field will be -1.
optional int64 parent_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the parentAccountId field is set. |
hasPartnerClientId()
public abstract boolean hasPartnerClientId()Output only. ID of the Display & Video 360 client buyer partner ID (if Display & Video 360) or Authorized Buyers client buyer account ID.
optional string partner_client_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the partnerClientId field is set. |
hasPreferredDealsEnabled()
public abstract boolean hasPreferredDealsEnabled()Output only. Whether the buyer is enabled for preferred deals.
optional bool preferred_deals_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the preferredDealsEnabled field is set. |
hasProgrammaticGuaranteedEnabled()
public abstract boolean hasProgrammaticGuaranteedEnabled()Output only. Whether the buyer is enabled for programmatic guaranteed deals.
optional bool programmatic_guaranteed_enabled = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the programmaticGuaranteedEnabled field is set. |