Class AdxExt.BidExt.SKAdNetworkResponse

  • All Implemented Interfaces:
    AdxExt.BidExt.SKAdNetworkResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
    Enclosing class:
    AdxExt.BidExt

    public static final class AdxExt.BidExt.SKAdNetworkResponse
    extends com.google.protobuf.GeneratedMessageV3
    implements AdxExt.BidExt.SKAdNetworkResponseOrBuilder
     Advertiser's SKAdNetwork information to support app installation
     attribution for iOS 14 and later.  Apple's SKAdNetwork API helps
     advertisers measure ad-driven app installation by sending a postback
     to the ad network after a successful install. Ad networks will need
     to send their network ID and signed advertiser information to allow
     an install to be attributed to the ad impression.
     For more info visit:
     https://developer.apple.com/documentation/storekit/skadnetwork
     
    Protobuf type com.google.doubleclick.BidExt.SKAdNetworkResponse
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasVersion

        public boolean hasVersion()
         Version of SKAdNetwork supported by the advertiser. Also used to
         specify how the signature was generated by the advertiser. This
         should match the version from BidRequest.imp.ext.skad.version.
         
        optional string version = 1;
        Specified by:
        hasVersion in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        Whether the version field is set.
      • getVersion

        public String getVersion()
         Version of SKAdNetwork supported by the advertiser. Also used to
         specify how the signature was generated by the advertiser. This
         should match the version from BidRequest.imp.ext.skad.version.
         
        optional string version = 1;
        Specified by:
        getVersion in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        The version.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         Version of SKAdNetwork supported by the advertiser. Also used to
         specify how the signature was generated by the advertiser. This
         should match the version from BidRequest.imp.ext.skad.version.
         
        optional string version = 1;
        Specified by:
        getVersionBytes in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        The bytes for version.
      • hasNetwork

        public boolean hasNetwork()
         Ad network identifier used in signature. This should match one of the
         items in BidRequest.imp.ext.skad.skadnetids.
         
        optional string network = 2;
        Specified by:
        hasNetwork in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        Whether the network field is set.
      • getNetwork

        public String getNetwork()
         Ad network identifier used in signature. This should match one of the
         items in BidRequest.imp.ext.skad.skadnetids.
         
        optional string network = 2;
        Specified by:
        getNetwork in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        The network.
      • getNetworkBytes

        public com.google.protobuf.ByteString getNetworkBytes()
         Ad network identifier used in signature. This should match one of the
         items in BidRequest.imp.ext.skad.skadnetids.
         
        optional string network = 2;
        Specified by:
        getNetworkBytes in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        The bytes for network.
      • hasNonce

        public boolean hasNonce()
         A unique all-lowercase UUID generated by the advertiser to use for
         generating the signature.
         Note:  This field will be deprecated in favor of the
         BidResponse.bid.ext.skadn.fidelities.nonce field to support multiple
         fidelity types.
         
        optional string nonce = 5;
        Specified by:
        hasNonce in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        Whether the nonce field is set.
      • getNonce

        public String getNonce()
         A unique all-lowercase UUID generated by the advertiser to use for
         generating the signature.
         Note:  This field will be deprecated in favor of the
         BidResponse.bid.ext.skadn.fidelities.nonce field to support multiple
         fidelity types.
         
        optional string nonce = 5;
        Specified by:
        getNonce in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        The nonce.
      • getNonceBytes

        public com.google.protobuf.ByteString getNonceBytes()
         A unique all-lowercase UUID generated by the advertiser to use for
         generating the signature.
         Note:  This field will be deprecated in favor of the
         BidResponse.bid.ext.skadn.fidelities.nonce field to support multiple
         fidelity types.
         
        optional string nonce = 5;
        Specified by:
        getNonceBytes in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        The bytes for nonce.
      • hasSourceapp

        public boolean hasSourceapp()
         ID of publisher's app in Apple's app store. This should match the ID
         from BidRequest.imp.ext.skad.sourceapp.
         
        optional string sourceapp = 6;
        Specified by:
        hasSourceapp in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        Whether the sourceapp field is set.
      • getSourceappBytes

        public com.google.protobuf.ByteString getSourceappBytes()
         ID of publisher's app in Apple's app store. This should match the ID
         from BidRequest.imp.ext.skad.sourceapp.
         
        optional string sourceapp = 6;
        Specified by:
        getSourceappBytes in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        The bytes for sourceapp.
      • hasTimestamp

        public boolean hasTimestamp()
         Unix time in millis used at the time of signature generation.
         Note:  This field will be deprecated in favor of the
         BidResponse.bid.ext.skadn.fidelities.timestamp field to support multiple
         fidelity types.
         
        optional string timestamp = 7;
        Specified by:
        hasTimestamp in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        Whether the timestamp field is set.
      • getTimestamp

        public String getTimestamp()
         Unix time in millis used at the time of signature generation.
         Note:  This field will be deprecated in favor of the
         BidResponse.bid.ext.skadn.fidelities.timestamp field to support multiple
         fidelity types.
         
        optional string timestamp = 7;
        Specified by:
        getTimestamp in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        The timestamp.
      • getTimestampBytes

        public com.google.protobuf.ByteString getTimestampBytes()
         Unix time in millis used at the time of signature generation.
         Note:  This field will be deprecated in favor of the
         BidResponse.bid.ext.skadn.fidelities.timestamp field to support multiple
         fidelity types.
         
        optional string timestamp = 7;
        Specified by:
        getTimestampBytes in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        The bytes for timestamp.
      • hasSignature

        public boolean hasSignature()
         SKAdNetwork signature as specified by Apple.
         Note:  This field will be deprecated in favor of the
         BidResponse.bid.ext.skadn.fidelities.signature field to support multiple
         fidelity types.
         
        optional string signature = 8;
        Specified by:
        hasSignature in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        Whether the signature field is set.
      • getSignature

        public String getSignature()
         SKAdNetwork signature as specified by Apple.
         Note:  This field will be deprecated in favor of the
         BidResponse.bid.ext.skadn.fidelities.signature field to support multiple
         fidelity types.
         
        optional string signature = 8;
        Specified by:
        getSignature in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        The signature.
      • getSignatureBytes

        public com.google.protobuf.ByteString getSignatureBytes()
         SKAdNetwork signature as specified by Apple.
         Note:  This field will be deprecated in favor of the
         BidResponse.bid.ext.skadn.fidelities.signature field to support multiple
         fidelity types.
         
        optional string signature = 8;
        Specified by:
        getSignatureBytes in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        The bytes for signature.
      • hasSkadnOpts

        public boolean hasSkadnOpts()
         [AdX: BidResponse.Ad.skadn_options]
         
        optional .com.google.doubleclick.BidExt.SKAdNetworkResponse.SKAdNetworkOptions skadn_opts = 10;
        Specified by:
        hasSkadnOpts in interface AdxExt.BidExt.SKAdNetworkResponseOrBuilder
        Returns:
        Whether the skadnOpts field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static AdxExt.BidExt.SKAdNetworkResponse parseFrom​(ByteBuffer data,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdxExt.BidExt.SKAdNetworkResponse parseFrom​(com.google.protobuf.ByteString data)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdxExt.BidExt.SKAdNetworkResponse parseFrom​(com.google.protobuf.ByteString data,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdxExt.BidExt.SKAdNetworkResponse parseFrom​(byte[] data)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AdxExt.BidExt.SKAdNetworkResponse parseFrom​(byte[] data,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public AdxExt.BidExt.SKAdNetworkResponse.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public AdxExt.BidExt.SKAdNetworkResponse.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected AdxExt.BidExt.SKAdNetworkResponse.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<AdxExt.BidExt.SKAdNetworkResponse> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public AdxExt.BidExt.SKAdNetworkResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder