Class DisplayVideo360AdvertiserLink.Builder (0.64.0)

public static final class DisplayVideo360AdvertiserLink.Builder extends GeneratedMessageV3.Builder<DisplayVideo360AdvertiserLink.Builder> implements DisplayVideo360AdvertiserLinkOrBuilder

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

Protobuf type google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink

Static Methods

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

public DisplayVideo360AdvertiserLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
Overrides
public DisplayVideo360AdvertiserLink build()
Returns
Type Description
DisplayVideo360AdvertiserLink
public DisplayVideo360AdvertiserLink buildPartial()
Returns
Type Description
DisplayVideo360AdvertiserLink
public DisplayVideo360AdvertiserLink.Builder clear()
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
Overrides
public DisplayVideo360AdvertiserLink.Builder clearAdsPersonalizationEnabled()

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
Type Description
DisplayVideo360AdvertiserLink.Builder
public DisplayVideo360AdvertiserLink.Builder clearAdvertiserDisplayName()

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

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

Returns
Type Description
DisplayVideo360AdvertiserLink.Builder

This builder for chaining.

public DisplayVideo360AdvertiserLink.Builder clearAdvertiserId()

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

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

Returns
Type Description
DisplayVideo360AdvertiserLink.Builder

This builder for chaining.

public DisplayVideo360AdvertiserLink.Builder clearCampaignDataSharingEnabled()

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
Type Description
DisplayVideo360AdvertiserLink.Builder
public DisplayVideo360AdvertiserLink.Builder clearCostDataSharingEnabled()

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
Type Description
DisplayVideo360AdvertiserLink.Builder
public DisplayVideo360AdvertiserLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
Overrides
public DisplayVideo360AdvertiserLink.Builder clearName()

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
Type Description
DisplayVideo360AdvertiserLink.Builder

This builder for chaining.

public DisplayVideo360AdvertiserLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
Overrides
public DisplayVideo360AdvertiserLink.Builder clone()
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
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
Type Description
BoolValue

The adsPersonalizationEnabled.

public BoolValue.Builder getAdsPersonalizationEnabledBuilder()

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
Type Description
Builder
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
BoolValue

The campaignDataSharingEnabled.

public BoolValue.Builder getCampaignDataSharingEnabledBuilder()

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
Type Description
Builder
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
Type Description
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
Type Description
BoolValue

The costDataSharingEnabled.

public BoolValue.Builder getCostDataSharingEnabledBuilder()

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
Type Description
Builder
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
Type Description
BoolValueOrBuilder
public DisplayVideo360AdvertiserLink getDefaultInstanceForType()
Returns
Type Description
DisplayVideo360AdvertiserLink
public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
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
Type Description
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
Type Description
ByteString

The bytes for name.

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
Type Description
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
Type Description
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
Type Description
boolean

Whether the costDataSharingEnabled field is set.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public DisplayVideo360AdvertiserLink.Builder mergeAdsPersonalizationEnabled(BoolValue value)

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;

Parameter
Name Description
value BoolValue
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
public DisplayVideo360AdvertiserLink.Builder mergeCampaignDataSharingEnabled(BoolValue value)

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];

Parameter
Name Description
value BoolValue
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
public DisplayVideo360AdvertiserLink.Builder mergeCostDataSharingEnabled(BoolValue value)

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];

Parameter
Name Description
value BoolValue
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
public DisplayVideo360AdvertiserLink.Builder mergeFrom(DisplayVideo360AdvertiserLink other)
Parameter
Name Description
other DisplayVideo360AdvertiserLink
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
public DisplayVideo360AdvertiserLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
Overrides
Exceptions
Type Description
IOException
public DisplayVideo360AdvertiserLink.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
Overrides
public final DisplayVideo360AdvertiserLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
Overrides
public DisplayVideo360AdvertiserLink.Builder setAdsPersonalizationEnabled(BoolValue value)

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;

Parameter
Name Description
value BoolValue
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
public DisplayVideo360AdvertiserLink.Builder setAdsPersonalizationEnabled(BoolValue.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
public DisplayVideo360AdvertiserLink.Builder setAdvertiserDisplayName(String value)

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

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

Parameter
Name Description
value String

The advertiserDisplayName to set.

Returns
Type Description
DisplayVideo360AdvertiserLink.Builder

This builder for chaining.

public DisplayVideo360AdvertiserLink.Builder setAdvertiserDisplayNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for advertiserDisplayName to set.

Returns
Type Description
DisplayVideo360AdvertiserLink.Builder

This builder for chaining.

public DisplayVideo360AdvertiserLink.Builder setAdvertiserId(String value)

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

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

Parameter
Name Description
value String

The advertiserId to set.

Returns
Type Description
DisplayVideo360AdvertiserLink.Builder

This builder for chaining.

public DisplayVideo360AdvertiserLink.Builder setAdvertiserIdBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for advertiserId to set.

Returns
Type Description
DisplayVideo360AdvertiserLink.Builder

This builder for chaining.

public DisplayVideo360AdvertiserLink.Builder setCampaignDataSharingEnabled(BoolValue value)

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];

Parameter
Name Description
value BoolValue
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
public DisplayVideo360AdvertiserLink.Builder setCampaignDataSharingEnabled(BoolValue.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
public DisplayVideo360AdvertiserLink.Builder setCostDataSharingEnabled(BoolValue value)

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];

Parameter
Name Description
value BoolValue
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
public DisplayVideo360AdvertiserLink.Builder setCostDataSharingEnabled(BoolValue.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
public DisplayVideo360AdvertiserLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
Overrides
public DisplayVideo360AdvertiserLink.Builder setName(String value)

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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DisplayVideo360AdvertiserLink.Builder

This builder for chaining.

public DisplayVideo360AdvertiserLink.Builder setNameBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DisplayVideo360AdvertiserLink.Builder

This builder for chaining.

public DisplayVideo360AdvertiserLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
Overrides
public final DisplayVideo360AdvertiserLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DisplayVideo360AdvertiserLink.Builder
Overrides