Class DisplayVideo360AdvertiserLink (0.49.0)

public final class DisplayVideo360AdvertiserLink extends GeneratedMessageV3 implements DisplayVideo360AdvertiserLinkOrBuilder

A link between a GA4 property and a Display & Video 360 advertiser.

Protobuf type google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink

Static Fields

public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int ADVERTISER_ID_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int COST_DATA_SHARING_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

public static DisplayVideo360AdvertiserLink getDefaultInstance()
Returns
TypeDescription
DisplayVideo360AdvertiserLink
public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor
public static DisplayVideo360AdvertiserLink.Builder newBuilder()
Returns
TypeDescription
DisplayVideo360AdvertiserLink.Builder
public static DisplayVideo360AdvertiserLink.Builder newBuilder(DisplayVideo360AdvertiserLink prototype)
Parameter
NameDescription
prototypeDisplayVideo360AdvertiserLink
Returns
TypeDescription
DisplayVideo360AdvertiserLink.Builder
public static DisplayVideo360AdvertiserLink parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DisplayVideo360AdvertiserLink
Exceptions
TypeDescription
IOException
public static DisplayVideo360AdvertiserLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DisplayVideo360AdvertiserLink
Exceptions
TypeDescription
IOException
public static DisplayVideo360AdvertiserLink parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DisplayVideo360AdvertiserLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static DisplayVideo360AdvertiserLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DisplayVideo360AdvertiserLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static DisplayVideo360AdvertiserLink parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DisplayVideo360AdvertiserLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static DisplayVideo360AdvertiserLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DisplayVideo360AdvertiserLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static DisplayVideo360AdvertiserLink parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DisplayVideo360AdvertiserLink
Exceptions
TypeDescription
IOException
public static DisplayVideo360AdvertiserLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DisplayVideo360AdvertiserLink
Exceptions
TypeDescription
IOException
public static DisplayVideo360AdvertiserLink parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DisplayVideo360AdvertiserLink
Exceptions
TypeDescription
IOException
public static DisplayVideo360AdvertiserLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DisplayVideo360AdvertiserLink
Exceptions
TypeDescription
IOException
public static DisplayVideo360AdvertiserLink parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DisplayVideo360AdvertiserLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static DisplayVideo360AdvertiserLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DisplayVideo360AdvertiserLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static Parser<DisplayVideo360AdvertiserLink> parser()
Returns
TypeDescription
Parser<DisplayVideo360AdvertiserLink>

Methods

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides
public BoolValue getAdsPersonalizationEnabled()

Enables personalized advertising features with this integration. If this field is not set on create/update, it will be defaulted to true.

.google.protobuf.BoolValue ads_personalization_enabled = 4;

Returns
TypeDescription
BoolValue

The adsPersonalizationEnabled.

public BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder()

Enables personalized advertising features with this integration. If this field is not set on create/update, it will be defaulted to true.

.google.protobuf.BoolValue ads_personalization_enabled = 4;

Returns
TypeDescription
BoolValueOrBuilder
public String getAdvertiserDisplayName()

Output only. The display name of the Display & Video 360 Advertiser.

string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The advertiserDisplayName.

public ByteString getAdvertiserDisplayNameBytes()

Output only. The display name of the Display & Video 360 Advertiser.

string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for advertiserDisplayName.

public String getAdvertiserId()

Immutable. The Display & Video 360 Advertiser's advertiser ID.

string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The advertiserId.

public ByteString getAdvertiserIdBytes()

Immutable. The Display & Video 360 Advertiser's advertiser ID.

string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for advertiserId.

public BoolValue getCampaignDataSharingEnabled()

Immutable. Enables the import of campaign data from Display & Video 360 into the GA4 property. After link creation, this can only be updated from the Display & Video 360 product. If this field is not set on create, it will be defaulted to true.

.google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
BoolValue

The campaignDataSharingEnabled.

public BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder()

Immutable. Enables the import of campaign data from Display & Video 360 into the GA4 property. After link creation, this can only be updated from the Display & Video 360 product. If this field is not set on create, it will be defaulted to true.

.google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
BoolValueOrBuilder
public BoolValue getCostDataSharingEnabled()

Immutable. Enables the import of cost data from Display & Video 360 into the GA4 property. This can only be enabled if campaign_data_sharing_enabled is enabled. After link creation, this can only be updated from the Display & Video 360 product. If this field is not set on create, it will be defaulted to true.

.google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
BoolValue

The costDataSharingEnabled.

public BoolValueOrBuilder getCostDataSharingEnabledOrBuilder()

Immutable. Enables the import of cost data from Display & Video 360 into the GA4 property. This can only be enabled if campaign_data_sharing_enabled is enabled. After link creation, this can only be updated from the Display & Video 360 product. If this field is not set on create, it will be defaulted to true.

.google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
BoolValueOrBuilder
public DisplayVideo360AdvertiserLink getDefaultInstanceForType()
Returns
TypeDescription
DisplayVideo360AdvertiserLink
public String getName()

Output only. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}

Note: linkId is not the Display & Video 360 Advertiser ID

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

public ByteString getNameBytes()

Output only. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}

Note: linkId is not the Display & Video 360 Advertiser ID

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

public Parser<DisplayVideo360AdvertiserLink> getParserForType()
Returns
TypeDescription
Parser<DisplayVideo360AdvertiserLink>
Overrides
public int getSerializedSize()
Returns
TypeDescription
int
Overrides
public boolean hasAdsPersonalizationEnabled()

Enables personalized advertising features with this integration. If this field is not set on create/update, it will be defaulted to true.

.google.protobuf.BoolValue ads_personalization_enabled = 4;

Returns
TypeDescription
boolean

Whether the adsPersonalizationEnabled field is set.

public boolean hasCampaignDataSharingEnabled()

Immutable. Enables the import of campaign data from Display & Video 360 into the GA4 property. After link creation, this can only be updated from the Display & Video 360 product. If this field is not set on create, it will be defaulted to true.

.google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the campaignDataSharingEnabled field is set.

public boolean hasCostDataSharingEnabled()

Immutable. Enables the import of cost data from Display & Video 360 into the GA4 property. This can only be enabled if campaign_data_sharing_enabled is enabled. After link creation, this can only be updated from the Display & Video 360 product. If this field is not set on create, it will be defaulted to true.

.google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the costDataSharingEnabled field is set.

public int hashCode()
Returns
TypeDescription
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
public DisplayVideo360AdvertiserLink.Builder newBuilderForType()
Returns
TypeDescription
DisplayVideo360AdvertiserLink.Builder
protected DisplayVideo360AdvertiserLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DisplayVideo360AdvertiserLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides
public DisplayVideo360AdvertiserLink.Builder toBuilder()
Returns
TypeDescription
DisplayVideo360AdvertiserLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException