Deal sections

Returns information about all deal sections.

Response values

Returns an array of deal section objects, ordered by sectionID.

Parameter

Type

Description

userID

integer

Provides the ID of the user account that has access to the deal section.

sectionID

integer

Provides the ID of the associated deal section.

name

string

Provides the name of the deal section.

percent

integer

Provides the coverage percentage the deal section has.

entireSite

integer

Specifies a binary that specifies whether the main domain must be matched (partially or in full) for the advertisement to serve, where:
0 = full or partial URL match is required
1 = URL match is not required

matches

array of objects

Specifies an array containing one or more values if the entireSite parameter is set to 0. The objects in the array contain a URL and match type, where matchType:
1 = full match type
2 = partial match type

siteID

array of integers

Provides the ID of the associated sites.

frequencyRestrictions

array of integers

Provides any frequency restrictions by ID.

audienceRestrictions

array of integers

Provides any audience restrictions by ID.

countryRestrictions

array of strings

Provides any country restrictions by ID.

adUnitRestrictions

array of integers

Provides any ad units restrictions by ID.

Language