Skip to main content

Sites

M
Written by Megan Pratt
Updated over a month ago

Site targets include package, publisher, publication, and placement which can be targeted by a budget or an ad. These endpoints return the options available for targeting (include or exclude) within a given marketplace.

Endpoint
GET /v3/search/targeting/sites/<entity>

Path Parameters

Description

entity

  • Required_. Filters results by entity type.

Options include packages, publishers, publications, and placements.

Some entity options may not be available based on account permissions. If an entity is queried but the user does not have access, a 403 status code will be returned with a descriptive error message.

Query String Parameters

Description

marketplace_id

  • Required_. Filters results by marketplace.

ad_type

  • Optional_. Filters results by ad type.

Default: No ad type filtering.

Options include native_article and native_display.

query

  • Optional_. Filters results by name and url (if applicable)

Default: None

page

  • Optional_. Sets page number of result set.

Default: 1

page_size

  • Optional_. Sets page size of result set.

Default: 1,000
Maximum: 10,000

Example

GET https://api.nativo.com/v3/search/targeting/sites/publications?marketplace_id=1&page=1&page_size=1000&query=latimes

JSON

{ "data": [ { "id": 11601, "name": "LA Times", "url": "https://www.latimes.com/" } ], "meta": { "page": 1, "page_size": 1000, "total_count": 1 } }
Did this answer your question?