Show / Hide Table of Contents

Class YieldAdSource

Represents an opportunity for a third party network to be mediated on a segment of inventory described in a YieldGroup.

Inheritance
object
YieldAdSource
Implements
IMessage<YieldAdSource>
IEquatable<YieldAdSource>
IDeepCloneable<YieldAdSource>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class YieldAdSource : IMessage<YieldAdSource>, IEquatable<YieldAdSource>, IDeepCloneable<YieldAdSource>, IBufferMessage, IMessage

Constructors

YieldAdSource()

Declaration
public YieldAdSource()

YieldAdSource(YieldAdSource)

Declaration
public YieldAdSource(YieldAdSource other)
Parameters
Type Name Description
YieldAdSource other

Properties

AdSourceId

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.

Declaration
public long AdSourceId { get; set; }
Property Value
Type Description
long

Company

Required. Immutable. The resource name of the Company. Format: networks/{network_code}/companies/{company_id}

Declaration
public string Company { get; set; }
Property Value
Type Description
string

CompanyAsCompanyName

CompanyName-typed view over the Company resource name property.

Declaration
public CompanyName CompanyAsCompanyName { get; set; }
Property Value
Type Description
CompanyName

DisplaySettingsCase

Declaration
public YieldAdSource.DisplaySettingsOneofCase DisplaySettingsCase { get; }
Property Value
Type Description
YieldAdSource.DisplaySettingsOneofCase

HasAdSourceId

Gets whether the "ad_source_id" field is set

Declaration
public bool HasAdSourceId { get; }
Property Value
Type Description
bool

HasCompany

Gets whether the "company" field is set

Declaration
public bool HasCompany { get; }
Property Value
Type Description
bool

HasOverrideDynamicCpm

Gets whether the "override_dynamic_cpm" field is set

Declaration
public bool HasOverrideDynamicCpm { get; }
Property Value
Type Description
bool

HasStatus

Gets whether the "status" field is set

Declaration
public bool HasStatus { get; }
Property Value
Type Description
bool

ManualCpm

Optional. CPM manually assigned to this source.

Declaration
public Money ManualCpm { get; set; }
Property Value
Type Description
Money

OpenBiddingSettings

Settings for Open Bidding.

Declaration
public YieldAdSource.Types.OpenBiddingSettings OpenBiddingSettings { get; set; }
Property Value
Type Description
YieldAdSource.Types.OpenBiddingSettings

OverrideDynamicCpm

Optional. If true, then the automatically collected CPM is ignored in favor of manualCpm.

Declaration
public bool OverrideDynamicCpm { get; set; }
Property Value
Type Description
bool

SdkMediationSettings

Settings for mobile app display.

Declaration
public YieldAdSource.Types.SdkMediationSettings SdkMediationSettings { get; set; }
Property Value
Type Description
YieldAdSource.Types.SdkMediationSettings

Status

Optional. User-assigned status of the ad source.

Declaration
public YieldEntityStatusEnum.Types.YieldEntityStatus Status { get; set; }
Property Value
Type Description
YieldEntityStatusEnum.Types.YieldEntityStatus
In this article
Back to top Generated by DocFX