Link Search Menu Expand Document

PDF

site object

Platform API


Represents a collection of ad unit inventory. The site object has the following calls:

CallDescription
GET /siteList all sites.
GET /site/available_fields?account_uid=publisher_account_UIDList the available_fields to create or update a site for the specified publisher account.
GET /site/list_ad_tagsList ad tags and other information for the specified sites.

Parameters:
   • site_uids (Required): A comma-separated string of site UIDs.
   • format (Optional): Set format=txt to export ad tags in a text file.
GET /site/site_UIDRead the specified site.
GET /site/site_UID/list_ad_unit_groupsList ad unit groups for the specified site.
GET /site/site_UID/list_ad_unitsList ad units for the specified site.
GET /site/site_UID/list_site_sectionsList sections of the specified site.
POST /siteCreate a site.
POST /site/list_ad_tagsList ad tags and other information for the specified sites.

Parameters:
   • site_uids (Required): A comma-separated string of site UIDs.
   • format (Optional): Set format=txt to export ad tags in a text file.
POST /site/site_UID/cloneClone the specified site.
PUT /siteUpdate the specified sites.
PUT /site/site_UIDUpdate the specified site.
DELETE /siteDelete the specified sites.
DELETE /site/site_UIDDelete the specified site.

See also Creating a Site.