v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13217260568.5 KB
sites

Updates an existing site. This method supports patch semantics.

patch/userprofiles/{+profileId}/sites

Path parameters

profileIdstring required

User profile ID associated with this request.

Query parameters

idstring required

Required. Site ID.

Request body

namestring

Name 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.

accountIdstring int64

Account ID of this site. This is a read-only field that can be left blank.

approvedboolean

Whether this site is approved.

idstring int64

ID of this site. This is a read-only, auto-generated field.

keyNamestring

Key name of this site. This is a read-only, auto-generated field.

adServingPlatformIdstring int64

Optional. Ad serving platform ID to identify the ad serving platform used by the site. Measurement partners can use this field to add ad-server specific macros. If set, this value acts as the default during placement creation. Possible values are: * 1, Adelphic * 2, Adform * 3, Adobe * 4, Amobee * 5, Basis (Centro) * 6, Beeswax * 7, Amazon * 8, DV360 (DBM) * 9, Innovid * 10, MediaMath * 11, Roku OneView DSP * 12, TabMo Hawk * 13, The Trade Desk * 14, Xandr Invest DSP * 15, Yahoo DSP * 16, Zeta Global * 17, Scaleout * 18, Bidtellect * 19, Unicorn * 20, Teads * 21, Quantcast * 22, Cognitiv * 23, AdTheorent * 24, DeepIntent * 25, Pulsepoint

directorySiteIdstring int64

Directory site associated with this site. This is a required field that is read-only after insertion.

kindstring

Identifies what kind of resource this is. Value: the fixed string "dfareporting#site".

subaccountIdstring int64

Subaccount ID of this site. This is a read-only field that can be left blank.

Response

Successful response