Skip to main content

sites

Overview

Namesites
TypeResource
Idgoogleads.dfareporting.sites

Fields

NameDatatypeDescription
idstringID of this site. This is a read-only, auto-generated field.
namestringName of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.
subaccountIdstringSubaccount ID of this site. This is a read-only field that can be left blank.
idDimensionValueobjectRepresents a DimensionValue resource.
accountIdstringAccount ID of this site. This is a read-only field that can be left blank.
approvedbooleanWhether this site is approved.
keyNamestringKey name of this site. This is a read-only, auto-generated field.
siteSettingsobjectSite Settings
siteContactsarraySite contacts.
videoSettingsobjectVideo Settings
kindstringIdentifies what kind of resource this is. Value: the fixed string "dfareporting#site".
directorySiteIdDimensionValueobjectRepresents a DimensionValue resource.
directorySiteIdstringDirectory site associated with this site. This is a required field that is read-only after insertion.

Methods

NameAccessible byRequired ParamsDescription
getSELECTid, profileIdGets one site by ID.
listSELECTprofileIdRetrieves a list of sites, possibly filtered. This method supports paging.
insertINSERTprofileIdInserts a new site.
patchEXECid, profileIdUpdates an existing site. This method supports patch semantics.
updateEXECprofileIdUpdates an existing site.