public interface YieldAdSourceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAdSourceId()
public abstract long getAdSourceId()Optional. Non-empty default. The ID of the ad source. This field is assigned by Google when the ad source is created. Provide this ID when updating an existing ad source; omit it when adding a new ad source.
optional int64 ad_source_id = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT];
| Returns | |
|---|---|
| Type | Description |
long |
The adSourceId. |
getCompany()
public abstract String getCompany() Required. Immutable. The resource name of the Company.
Format: networks/{network_code}/companies/{company_id}
optional string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The company. |
getCompanyBytes()
public abstract ByteString getCompanyBytes() Required. Immutable. The resource name of the Company.
Format: networks/{network_code}/companies/{company_id}
optional string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for company. |
getDisplaySettingsCase()
public abstract YieldAdSource.DisplaySettingsCase getDisplaySettingsCase()| Returns | |
|---|---|
| Type | Description |
YieldAdSource.DisplaySettingsCase |
|
getManualCpm()
public abstract Money getManualCpm()Optional. CPM manually assigned to this source.
optional .google.type.Money manual_cpm = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.Money |
The manualCpm. |
getManualCpmOrBuilder()
public abstract MoneyOrBuilder getManualCpmOrBuilder()Optional. CPM manually assigned to this source.
optional .google.type.Money manual_cpm = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.MoneyOrBuilder |
|
getOpenBiddingSettings()
public abstract YieldAdSource.OpenBiddingSettings getOpenBiddingSettings()Settings for Open Bidding.
.google.ads.admanager.v1.YieldAdSource.OpenBiddingSettings open_bidding_settings = 6;
| Returns | |
|---|---|
| Type | Description |
YieldAdSource.OpenBiddingSettings |
The openBiddingSettings. |
getOpenBiddingSettingsOrBuilder()
public abstract YieldAdSource.OpenBiddingSettingsOrBuilder getOpenBiddingSettingsOrBuilder()Settings for Open Bidding.
.google.ads.admanager.v1.YieldAdSource.OpenBiddingSettings open_bidding_settings = 6;
| Returns | |
|---|---|
| Type | Description |
YieldAdSource.OpenBiddingSettingsOrBuilder |
|
getOverrideDynamicCpm()
public abstract boolean getOverrideDynamicCpm() Optional. If true, then the automatically collected CPM is ignored in favor
of manualCpm.
optional bool override_dynamic_cpm = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The overrideDynamicCpm. |
getSdkMediationSettings()
public abstract YieldAdSource.SdkMediationSettings getSdkMediationSettings()Settings for mobile app display.
.google.ads.admanager.v1.YieldAdSource.SdkMediationSettings sdk_mediation_settings = 7;
| Returns | |
|---|---|
| Type | Description |
YieldAdSource.SdkMediationSettings |
The sdkMediationSettings. |
getSdkMediationSettingsOrBuilder()
public abstract YieldAdSource.SdkMediationSettingsOrBuilder getSdkMediationSettingsOrBuilder()Settings for mobile app display.
.google.ads.admanager.v1.YieldAdSource.SdkMediationSettings sdk_mediation_settings = 7;
| Returns | |
|---|---|
| Type | Description |
YieldAdSource.SdkMediationSettingsOrBuilder |
|
getStatus()
public abstract YieldEntityStatusEnum.YieldEntityStatus getStatus()Optional. User-assigned status of the ad source.
optional .google.ads.admanager.v1.YieldEntityStatusEnum.YieldEntityStatus status = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
YieldEntityStatusEnum.YieldEntityStatus |
The status. |
getStatusValue()
public abstract int getStatusValue()Optional. User-assigned status of the ad source.
optional .google.ads.admanager.v1.YieldEntityStatusEnum.YieldEntityStatus status = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for status. |
hasAdSourceId()
public abstract boolean hasAdSourceId()Optional. Non-empty default. The ID of the ad source. This field is assigned by Google when the ad source is created. Provide this ID when updating an existing ad source; omit it when adding a new ad source.
optional int64 ad_source_id = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adSourceId field is set. |
hasCompany()
public abstract boolean hasCompany() Required. Immutable. The resource name of the Company.
Format: networks/{network_code}/companies/{company_id}
optional string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the company field is set. |
hasManualCpm()
public abstract boolean hasManualCpm()Optional. CPM manually assigned to this source.
optional .google.type.Money manual_cpm = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the manualCpm field is set. |
hasOpenBiddingSettings()
public abstract boolean hasOpenBiddingSettings()Settings for Open Bidding.
.google.ads.admanager.v1.YieldAdSource.OpenBiddingSettings open_bidding_settings = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the openBiddingSettings field is set. |
hasOverrideDynamicCpm()
public abstract boolean hasOverrideDynamicCpm() Optional. If true, then the automatically collected CPM is ignored in favor
of manualCpm.
optional bool override_dynamic_cpm = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the overrideDynamicCpm field is set. |
hasSdkMediationSettings()
public abstract boolean hasSdkMediationSettings()Settings for mobile app display.
.google.ads.admanager.v1.YieldAdSource.SdkMediationSettings sdk_mediation_settings = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sdkMediationSettings field is set. |
hasStatus()
public abstract boolean hasStatus()Optional. User-assigned status of the ad source.
optional .google.ads.admanager.v1.YieldEntityStatusEnum.YieldEntityStatus status = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the status field is set. |