Class Campaign.NetworkSettings
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.Campaign.NetworkSettings
- All Implemented Interfaces:
Campaign.NetworkSettingsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Campaign
public static final class Campaign.NetworkSettings
extends com.google.protobuf.GeneratedMessageV3
implements Campaign.NetworkSettingsOrBuilder
The network settings for the campaign.Protobuf type
google.ads.googleads.v18.resources.Campaign.NetworkSettings- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe network settings for the campaign.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Campaign.NetworkSettingsstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Campaign.NetworkSettings>intbooleanWhether ads will be served on specified placements in the Google Display Network.booleanWhether ads will be served with google.com search results.booleanWhether ads will be served on the Google TV network.booleanWhether ads will be served on the Google Partner Network.booleanWhether ads will be served on partner sites in the Google Search Network (requires `target_google_search` to also be `true`).booleanWhether ads will be served on YouTube.inthashCode()booleanWhether ads will be served on specified placements in the Google Display Network.booleanWhether ads will be served with google.com search results.booleanWhether ads will be served on the Google TV network.booleanWhether ads will be served on the Google Partner Network.booleanWhether ads will be served on partner sites in the Google Search Network (requires `target_google_search` to also be `true`).booleanWhether ads will be served on YouTube.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Campaign.NetworkSettings prototype) protected Campaign.NetworkSettings.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Campaign.NetworkSettingsparseDelimitedFrom(InputStream input) static Campaign.NetworkSettingsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Campaign.NetworkSettingsparseFrom(byte[] data) static Campaign.NetworkSettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Campaign.NetworkSettingsparseFrom(com.google.protobuf.ByteString data) static Campaign.NetworkSettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Campaign.NetworkSettingsparseFrom(com.google.protobuf.CodedInputStream input) static Campaign.NetworkSettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Campaign.NetworkSettingsparseFrom(InputStream input) static Campaign.NetworkSettingsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Campaign.NetworkSettingsparseFrom(ByteBuffer data) static Campaign.NetworkSettingsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Campaign.NetworkSettings>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TARGET_GOOGLE_SEARCH_FIELD_NUMBER
public static final int TARGET_GOOGLE_SEARCH_FIELD_NUMBER- See Also:
-
TARGET_SEARCH_NETWORK_FIELD_NUMBER
public static final int TARGET_SEARCH_NETWORK_FIELD_NUMBER- See Also:
-
TARGET_CONTENT_NETWORK_FIELD_NUMBER
public static final int TARGET_CONTENT_NETWORK_FIELD_NUMBER- See Also:
-
TARGET_PARTNER_SEARCH_NETWORK_FIELD_NUMBER
public static final int TARGET_PARTNER_SEARCH_NETWORK_FIELD_NUMBER- See Also:
-
TARGET_YOUTUBE_FIELD_NUMBER
public static final int TARGET_YOUTUBE_FIELD_NUMBER- See Also:
-
TARGET_GOOGLE_TV_NETWORK_FIELD_NUMBER
public static final int TARGET_GOOGLE_TV_NETWORK_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasTargetGoogleSearch
public boolean hasTargetGoogleSearch()Whether ads will be served with google.com search results.
optional bool target_google_search = 5;- Specified by:
hasTargetGoogleSearchin interfaceCampaign.NetworkSettingsOrBuilder- Returns:
- Whether the targetGoogleSearch field is set.
-
getTargetGoogleSearch
public boolean getTargetGoogleSearch()Whether ads will be served with google.com search results.
optional bool target_google_search = 5;- Specified by:
getTargetGoogleSearchin interfaceCampaign.NetworkSettingsOrBuilder- Returns:
- The targetGoogleSearch.
-
hasTargetSearchNetwork
public boolean hasTargetSearchNetwork()Whether ads will be served on partner sites in the Google Search Network (requires `target_google_search` to also be `true`).
optional bool target_search_network = 6;- Specified by:
hasTargetSearchNetworkin interfaceCampaign.NetworkSettingsOrBuilder- Returns:
- Whether the targetSearchNetwork field is set.
-
getTargetSearchNetwork
public boolean getTargetSearchNetwork()Whether ads will be served on partner sites in the Google Search Network (requires `target_google_search` to also be `true`).
optional bool target_search_network = 6;- Specified by:
getTargetSearchNetworkin interfaceCampaign.NetworkSettingsOrBuilder- Returns:
- The targetSearchNetwork.
-
hasTargetContentNetwork
public boolean hasTargetContentNetwork()Whether ads will be served on specified placements in the Google Display Network. Placements are specified using the Placement criterion.
optional bool target_content_network = 7;- Specified by:
hasTargetContentNetworkin interfaceCampaign.NetworkSettingsOrBuilder- Returns:
- Whether the targetContentNetwork field is set.
-
getTargetContentNetwork
public boolean getTargetContentNetwork()Whether ads will be served on specified placements in the Google Display Network. Placements are specified using the Placement criterion.
optional bool target_content_network = 7;- Specified by:
getTargetContentNetworkin interfaceCampaign.NetworkSettingsOrBuilder- Returns:
- The targetContentNetwork.
-
hasTargetPartnerSearchNetwork
public boolean hasTargetPartnerSearchNetwork()Whether ads will be served on the Google Partner Network. This is available only to some select Google partner accounts.
optional bool target_partner_search_network = 8;- Specified by:
hasTargetPartnerSearchNetworkin interfaceCampaign.NetworkSettingsOrBuilder- Returns:
- Whether the targetPartnerSearchNetwork field is set.
-
getTargetPartnerSearchNetwork
public boolean getTargetPartnerSearchNetwork()Whether ads will be served on the Google Partner Network. This is available only to some select Google partner accounts.
optional bool target_partner_search_network = 8;- Specified by:
getTargetPartnerSearchNetworkin interfaceCampaign.NetworkSettingsOrBuilder- Returns:
- The targetPartnerSearchNetwork.
-
hasTargetYoutube
public boolean hasTargetYoutube()Whether ads will be served on YouTube.
optional bool target_youtube = 9;- Specified by:
hasTargetYoutubein interfaceCampaign.NetworkSettingsOrBuilder- Returns:
- Whether the targetYoutube field is set.
-
getTargetYoutube
public boolean getTargetYoutube()Whether ads will be served on YouTube.
optional bool target_youtube = 9;- Specified by:
getTargetYoutubein interfaceCampaign.NetworkSettingsOrBuilder- Returns:
- The targetYoutube.
-
hasTargetGoogleTvNetwork
public boolean hasTargetGoogleTvNetwork()Whether ads will be served on the Google TV network.
optional bool target_google_tv_network = 10;- Specified by:
hasTargetGoogleTvNetworkin interfaceCampaign.NetworkSettingsOrBuilder- Returns:
- Whether the targetGoogleTvNetwork field is set.
-
getTargetGoogleTvNetwork
public boolean getTargetGoogleTvNetwork()Whether ads will be served on the Google TV network.
optional bool target_google_tv_network = 10;- Specified by:
getTargetGoogleTvNetworkin interfaceCampaign.NetworkSettingsOrBuilder- Returns:
- The targetGoogleTvNetwork.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Campaign.NetworkSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Campaign.NetworkSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Campaign.NetworkSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Campaign.NetworkSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Campaign.NetworkSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Campaign.NetworkSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Campaign.NetworkSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Campaign.NetworkSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Campaign.NetworkSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Campaign.NetworkSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Campaign.NetworkSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-