Class AdGroupAdAssetCombinationView

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.AdGroupAdAssetCombinationView
All Implemented Interfaces:
AdGroupAdAssetCombinationViewOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class AdGroupAdAssetCombinationView extends com.google.protobuf.GeneratedMessageV3 implements AdGroupAdAssetCombinationViewOrBuilder
 A view on the usage of ad group ad asset combination.
 Now we only support AdGroupAdAssetCombinationView for Responsive Search Ads,
 with more ad types planned for the future.
 
Protobuf type google.ads.googleads.v18.resources.AdGroupAdAssetCombinationView
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • SERVED_ASSETS_FIELD_NUMBER

      public static final int SERVED_ASSETS_FIELD_NUMBER
      See Also:
    • ENABLED_FIELD_NUMBER

      public static final int ENABLED_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance 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
    • getResourceName

      public String getResourceName()
       Output only. The resource name of the ad group ad asset combination view.
       The combination ID is 128 bits long, where the upper 64 bits are stored in
       asset_combination_id_high, and the lower 64 bits are stored in
       asset_combination_id_low.
       AdGroupAd Asset Combination view resource names have the form:
       `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface AdGroupAdAssetCombinationViewOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Output only. The resource name of the ad group ad asset combination view.
       The combination ID is 128 bits long, where the upper 64 bits are stored in
       asset_combination_id_high, and the lower 64 bits are stored in
       asset_combination_id_low.
       AdGroupAd Asset Combination view resource names have the form:
       `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface AdGroupAdAssetCombinationViewOrBuilder
      Returns:
      The bytes for resourceName.
    • getServedAssetsList

      public List<AssetUsage> getServedAssetsList()
       Output only. Served assets.
       
      repeated .google.ads.googleads.v18.common.AssetUsage served_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServedAssetsList in interface AdGroupAdAssetCombinationViewOrBuilder
    • getServedAssetsOrBuilderList

      public List<? extends AssetUsageOrBuilder> getServedAssetsOrBuilderList()
       Output only. Served assets.
       
      repeated .google.ads.googleads.v18.common.AssetUsage served_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServedAssetsOrBuilderList in interface AdGroupAdAssetCombinationViewOrBuilder
    • getServedAssetsCount

      public int getServedAssetsCount()
       Output only. Served assets.
       
      repeated .google.ads.googleads.v18.common.AssetUsage served_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServedAssetsCount in interface AdGroupAdAssetCombinationViewOrBuilder
    • getServedAssets

      public AssetUsage getServedAssets(int index)
       Output only. Served assets.
       
      repeated .google.ads.googleads.v18.common.AssetUsage served_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServedAssets in interface AdGroupAdAssetCombinationViewOrBuilder
    • getServedAssetsOrBuilder

      public AssetUsageOrBuilder getServedAssetsOrBuilder(int index)
       Output only. Served assets.
       
      repeated .google.ads.googleads.v18.common.AssetUsage served_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getServedAssetsOrBuilder in interface AdGroupAdAssetCombinationViewOrBuilder
    • hasEnabled

      public boolean hasEnabled()
       Output only. The status between the asset combination and the latest
       version of the ad. If true, the asset combination is linked to the latest
       version of the ad. If false, it means the link once existed but has been
       removed and is no longer present in the latest version of the ad.
       
      optional bool enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEnabled in interface AdGroupAdAssetCombinationViewOrBuilder
      Returns:
      Whether the enabled field is set.
    • getEnabled

      public boolean getEnabled()
       Output only. The status between the asset combination and the latest
       version of the ad. If true, the asset combination is linked to the latest
       version of the ad. If false, it means the link once existed but has been
       removed and is no longer present in the latest version of the ad.
       
      optional bool enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEnabled in interface AdGroupAdAssetCombinationViewOrBuilder
      Returns:
      The enabled.
    • 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 AdGroupAdAssetCombinationView parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdGroupAdAssetCombinationView parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdGroupAdAssetCombinationView parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdGroupAdAssetCombinationView parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdGroupAdAssetCombinationView parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdGroupAdAssetCombinationView parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AdGroupAdAssetCombinationView parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdGroupAdAssetCombinationView parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AdGroupAdAssetCombinationView parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AdGroupAdAssetCombinationView parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdGroupAdAssetCombinationView parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AdGroupAdAssetCombinationView parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AdGroupAdAssetCombinationView.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AdGroupAdAssetCombinationView.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AdGroupAdAssetCombinationView.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static AdGroupAdAssetCombinationView getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AdGroupAdAssetCombinationView> parser()
    • getParserForType

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