public final class Site
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Campaign Manager 360 API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Site() |
Modifier and Type | Method and Description |
---|---|
Site |
clone() |
Long |
getAccountId()
Account ID of this site.
|
Long |
getAdServingPlatformId()
Optional.
|
Boolean |
getApproved()
Whether this site is approved.
|
Long |
getDirectorySiteId()
Directory site associated with this site.
|
DimensionValue |
getDirectorySiteIdDimensionValue()
Dimension value for the ID of the directory site.
|
Long |
getId()
ID of this site.
|
DimensionValue |
getIdDimensionValue()
Dimension value for the ID of this site.
|
String |
getKeyName()
Key name of this site.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getName()
Name of this site.This is a required field.
|
List<SiteContact> |
getSiteContacts()
Site contacts.
|
SiteSettings |
getSiteSettings()
Site-wide settings.
|
Long |
getSubaccountId()
Subaccount ID of this site.
|
SiteVideoSettings |
getVideoSettings()
Default video settings for new placements created under this site.
|
Site |
set(String fieldName,
Object value) |
Site |
setAccountId(Long accountId)
Account ID of this site.
|
Site |
setAdServingPlatformId(Long adServingPlatformId)
Optional.
|
Site |
setApproved(Boolean approved)
Whether this site is approved.
|
Site |
setDirectorySiteId(Long directorySiteId)
Directory site associated with this site.
|
Site |
setDirectorySiteIdDimensionValue(DimensionValue directorySiteIdDimensionValue)
Dimension value for the ID of the directory site.
|
Site |
setId(Long id)
ID of this site.
|
Site |
setIdDimensionValue(DimensionValue idDimensionValue)
Dimension value for the ID of this site.
|
Site |
setKeyName(String keyName)
Key name of this site.
|
Site |
setKind(String kind)
Identifies what kind of resource this is.
|
Site |
setName(String name)
Name of this site.This is a required field.
|
Site |
setSiteContacts(List<SiteContact> siteContacts)
Site contacts.
|
Site |
setSiteSettings(SiteSettings siteSettings)
Site-wide settings.
|
Site |
setSubaccountId(Long subaccountId)
Subaccount ID of this site.
|
Site |
setVideoSettings(SiteVideoSettings videoSettings)
Default video settings for new placements created under this site.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Long getAccountId()
null
for nonepublic Site setAccountId(Long accountId)
accountId
- accountId or null
for nonepublic Long getAdServingPlatformId()
null
for nonepublic Site setAdServingPlatformId(Long adServingPlatformId)
adServingPlatformId
- adServingPlatformId or null
for nonepublic Boolean getApproved()
null
for nonepublic Site setApproved(Boolean approved)
approved
- approved or null
for nonepublic Long getDirectorySiteId()
null
for nonepublic Site setDirectorySiteId(Long directorySiteId)
directorySiteId
- directorySiteId or null
for nonepublic DimensionValue getDirectorySiteIdDimensionValue()
null
for nonepublic Site setDirectorySiteIdDimensionValue(DimensionValue directorySiteIdDimensionValue)
directorySiteIdDimensionValue
- directorySiteIdDimensionValue or null
for nonepublic Long getId()
null
for nonepublic Site setId(Long id)
id
- id or null
for nonepublic DimensionValue getIdDimensionValue()
null
for nonepublic Site setIdDimensionValue(DimensionValue idDimensionValue)
idDimensionValue
- idDimensionValue or null
for nonepublic String getKeyName()
null
for nonepublic Site setKeyName(String keyName)
keyName
- keyName or null
for nonepublic String getKind()
null
for nonepublic Site setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic Site setName(String name)
name
- name or null
for nonepublic List<SiteContact> getSiteContacts()
null
for nonepublic Site setSiteContacts(List<SiteContact> siteContacts)
siteContacts
- siteContacts or null
for nonepublic SiteSettings getSiteSettings()
null
for nonepublic Site setSiteSettings(SiteSettings siteSettings)
siteSettings
- siteSettings or null
for nonepublic Long getSubaccountId()
null
for nonepublic Site setSubaccountId(Long subaccountId)
subaccountId
- subaccountId or null
for nonepublic SiteVideoSettings getVideoSettings()
null
for nonepublic Site setVideoSettings(SiteVideoSettings videoSettings)
videoSettings
- videoSettings or null
for nonepublic Site set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Site clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.