Class AdxExt.ImpExt.SKAdNetworkRequest

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

    public static final class AdxExt.ImpExt.SKAdNetworkRequest
    extends com.google.protobuf.GeneratedMessageV3
    implements AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
     Publisher'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. Publishers will need
     to configure supported ad networks in their app's property list
     (Info.plist) 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.ImpExt.SKAdNetworkRequest
    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. Dependent on both the OS version
         and the SDK version.
         Note:  This field will be replaced by the
         BidRequest.mobile.skadn.versions field to support a list of version
         numbers.
         
        optional string version = 1;
        Specified by:
        hasVersion in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        Whether the version field is set.
      • getVersion

        public String getVersion()
         Version of SKAdNetwork supported. Dependent on both the OS version
         and the SDK version.
         Note:  This field will be replaced by the
         BidRequest.mobile.skadn.versions field to support a list of version
         numbers.
         
        optional string version = 1;
        Specified by:
        getVersion in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        The version.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         Version of SKAdNetwork supported. Dependent on both the OS version
         and the SDK version.
         Note:  This field will be replaced by the
         BidRequest.mobile.skadn.versions field to support a list of version
         numbers.
         
        optional string version = 1;
        Specified by:
        getVersionBytes in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        The bytes for version.
      • getVersionsList

        public com.google.protobuf.ProtocolStringList getVersionsList()
         List of SKAdNetwork versions supported, depending on the OS version
         and the SDK version.
         
        repeated string versions = 4;
        Specified by:
        getVersionsList in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        A list containing the versions.
      • getVersionsCount

        public int getVersionsCount()
         List of SKAdNetwork versions supported, depending on the OS version
         and the SDK version.
         
        repeated string versions = 4;
        Specified by:
        getVersionsCount in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        The count of versions.
      • getVersions

        public String getVersions​(int index)
         List of SKAdNetwork versions supported, depending on the OS version
         and the SDK version.
         
        repeated string versions = 4;
        Specified by:
        getVersions in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The versions at the given index.
      • getVersionsBytes

        public com.google.protobuf.ByteString getVersionsBytes​(int index)
         List of SKAdNetwork versions supported, depending on the OS version
         and the SDK version.
         
        repeated string versions = 4;
        Specified by:
        getVersionsBytes in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the versions at the given index.
      • getSkadnetidsList

        public com.google.protobuf.ProtocolStringList getSkadnetidsList()
         SKAdNetworkIdentifier entries in the publisher app's Info.plist.
         
        repeated string skadnetids = 3;
        Specified by:
        getSkadnetidsList in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        A list containing the skadnetids.
      • getSkadnetids

        public String getSkadnetids​(int index)
         SKAdNetworkIdentifier entries in the publisher app's Info.plist.
         
        repeated string skadnetids = 3;
        Specified by:
        getSkadnetids in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The skadnetids at the given index.
      • getSkadnetidsBytes

        public com.google.protobuf.ByteString getSkadnetidsBytes​(int index)
         SKAdNetworkIdentifier entries in the publisher app's Info.plist.
         
        repeated string skadnetids = 3;
        Specified by:
        getSkadnetidsBytes in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the skadnetids at the given index.
      • getFidelitiesCount

        public int getFidelitiesCount()
         List of fidelity types supported, depending on the SKAdNetwork API
         version supported by the operating system and SDK as well as ad slot
         properties.
         
        repeated .com.google.doubleclick.SKAdNetworkFidelityType fidelities = 5 [packed = true];
        Specified by:
        getFidelitiesCount in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Returns:
        The count of fidelities.
      • getFidelities

        public AdxExt.SKAdNetworkFidelityType getFidelities​(int index)
         List of fidelity types supported, depending on the SKAdNetwork API
         version supported by the operating system and SDK as well as ad slot
         properties.
         
        repeated .com.google.doubleclick.SKAdNetworkFidelityType fidelities = 5 [packed = true];
        Specified by:
        getFidelities in interface AdxExt.ImpExt.SKAdNetworkRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The fidelities at the given index.
      • 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.ImpExt.SKAdNetworkRequest parseFrom​(ByteBuffer data,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

        public static AdxExt.ImpExt.SKAdNetworkRequest 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.ImpExt.SKAdNetworkRequest parseFrom​(byte[] data)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public com.google.protobuf.Parser<AdxExt.ImpExt.SKAdNetworkRequest> 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.ImpExt.SKAdNetworkRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder