ads
target

Retrieve a target

Changed on
get/ads/{connection_id}/target/{id}

Request

  • Base URL: https://api.unified.to
  • URL: https://api.unified.to/ads/{connection_id}/target/{id}
  • Auth: API key in header authorization

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Target

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Response

Successful

idstring required
namestring
type'INTEREST' | 'BEHAVIOR' | 'LOCALE' | 'COUNTRY' | 'REGION' | 'CITY' | 'ZIP' | 'US_DMA' | 'TOPIC' | 'USER_LIST' | 'CARRIER' | 'DEVICE_MODEL' | 'OS_VERSION'

Targeting search types for ads_target list endpoint (Meta: adinterest, adbehavior, adlocale, adgeolocation; Google: geoTargetConstants, user_interest, topic_constant, language_constant)

is_activeboolean
parent_idstring
audience_count_minnumber
audience_count_maxnumber
rawobject

Changes

    • info

      added the enum value metadata to the property items/ of the query request parameter fields

    • info

      added the optional property to the response with the status