directorySites

POST /userprofiles/{userprofilesId}/directorySites

Inserts a new directory site.

Request

  • Base URL
    https://dfareporting.googleapis.com/dfareporting/v5
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/dfatrafficking
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/dfatrafficking
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

userprofilesIdstring required

Request body

idstring int64

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

inpageTagFormatsstring[]

Tag types for regular placements. Acceptable values are: - "STANDARD" - "IFRAME_JAVASCRIPT_INPAGE" - "INTERNAL_REDIRECT_INPAGE" - "JAVASCRIPT_INPAGE"

interstitialTagFormatsstring[]

Tag types for interstitial placements. Acceptable values are: - "IFRAME_JAVASCRIPT_INTERSTITIAL" - "INTERNAL_REDIRECT_INTERSTITIAL" - "JAVASCRIPT_INTERSTITIAL"

kindstring

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

namestring

Name of this directory site.

publisherSpecificationIdstring int64

Output only. Default publisher specification ID of video placements under this directory site. Possible values are: * 1, Hulu * 2, NBC * 3, CBS * 4, CBS Desktop * 5, Discovery * 6, VEVO HD * 7, VEVO Vertical * 8, Fox * 9, CW Network * 10, Disney * 11, IGN * 12, NFL.com * 13, Turner Broadcasting * 14, Tubi on Fox * 15, Hearst Corporation * 16, Twitch Desktop * 17, ABC * 18, Univision * 19, MLB.com * 20, MLB.com Mobile * 21, MLB.com OTT * 22, Polsat * 23, TVN * 24, Mediaset * 25, Antena 3 * 26, Mediamond * 27, Sky Italia * 28, Tubi on CBS * 29, Spotify * 30, Paramount * 31, Max

urlstring

URL of this directory site.

Response

Successful response

idstring int64

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

inpageTagFormatsstring[]

Tag types for regular placements. Acceptable values are: - "STANDARD" - "IFRAME_JAVASCRIPT_INPAGE" - "INTERNAL_REDIRECT_INPAGE" - "JAVASCRIPT_INPAGE"

interstitialTagFormatsstring[]

Tag types for interstitial placements. Acceptable values are: - "IFRAME_JAVASCRIPT_INTERSTITIAL" - "INTERNAL_REDIRECT_INTERSTITIAL" - "JAVASCRIPT_INTERSTITIAL"

kindstring

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

namestring

Name of this directory site.

publisherSpecificationIdstring int64

Output only. Default publisher specification ID of video placements under this directory site. Possible values are: * 1, Hulu * 2, NBC * 3, CBS * 4, CBS Desktop * 5, Discovery * 6, VEVO HD * 7, VEVO Vertical * 8, Fox * 9, CW Network * 10, Disney * 11, IGN * 12, NFL.com * 13, Turner Broadcasting * 14, Tubi on Fox * 15, Hearst Corporation * 16, Twitch Desktop * 17, ABC * 18, Univision * 19, MLB.com * 20, MLB.com Mobile * 21, MLB.com OTT * 22, Polsat * 23, TVN * 24, Mediaset * 25, Antena 3 * 26, Mediamond * 27, Sky Italia * 28, Tubi on CBS * 29, Spotify * 30, Paramount * 31, Max

urlstring

URL of this directory site.

Changes

No recorded changes to this operation across all 5 revisions of this API.