POST api/v1/adnotice/tag

Pulls the ad notice tags for the passed in notice types and ad sizes.

Request Information

URI Parameters

None.

Body Parameters

Ghostery.Privacy.Api.Models.AdNotice.TagRequestModel
NameDescriptionTypeAdditional information
AdNoticeId

integer

None.

TagType

integer

None.

AdSize

integer

None.

Macros

Collection of integer

None.

CampaignId

integer

None.

AdvertiserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "adNoticeId": 1,
  "tagType": 2,
  "adSize": 3,
  "macros": [
    1,
    2
  ],
  "campaignId": 1,
  "advertiserId": 1
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'Ghostery.Privacy.Api.Models.AdNotice.TagRequestModel'.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.