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
ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER
public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER
Field Value
ADVERTISER_DISPLAY_NAME_FIELD_NUMBER
public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER
Field Value
ADVERTISER_ID_FIELD_NUMBER
public static final int ADVERTISER_ID_FIELD_NUMBER
Field Value
CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER
public static final int CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER
Field Value
COST_DATA_SHARING_ENABLED_FIELD_NUMBER
public static final int COST_DATA_SHARING_ENABLED_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DisplayVideo360AdvertiserLink getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DisplayVideo360AdvertiserLink.Builder newBuilder()
Returns
newBuilder(DisplayVideo360AdvertiserLink prototype)
public static DisplayVideo360AdvertiserLink.Builder newBuilder(DisplayVideo360AdvertiserLink prototype)
Parameter
Returns
public static DisplayVideo360AdvertiserLink parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DisplayVideo360AdvertiserLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DisplayVideo360AdvertiserLink parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DisplayVideo360AdvertiserLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DisplayVideo360AdvertiserLink parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DisplayVideo360AdvertiserLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DisplayVideo360AdvertiserLink parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DisplayVideo360AdvertiserLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DisplayVideo360AdvertiserLink parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DisplayVideo360AdvertiserLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DisplayVideo360AdvertiserLink parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DisplayVideo360AdvertiserLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DisplayVideo360AdvertiserLink> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAdsPersonalizationEnabled()
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.
|
getAdsPersonalizationEnabledOrBuilder()
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
getAdvertiserDisplayName()
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.
|
getAdvertiserDisplayNameBytes()
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.
|
getAdvertiserId()
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.
|
getAdvertiserIdBytes()
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.
|
getCampaignDataSharingEnabled()
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.
|
getCampaignDataSharingEnabledOrBuilder()
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
getCostDataSharingEnabled()
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.
|
getCostDataSharingEnabledOrBuilder()
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
getDefaultInstanceForType()
public DisplayVideo360AdvertiserLink getDefaultInstanceForType()
Returns
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.
|
getNameBytes()
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
getParserForType()
public Parser<DisplayVideo360AdvertiserLink> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasAdsPersonalizationEnabled()
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.
|
hasCampaignDataSharingEnabled()
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.
|
hasCostDataSharingEnabled()
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DisplayVideo360AdvertiserLink.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DisplayVideo360AdvertiserLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DisplayVideo360AdvertiserLink.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions