@prefix : <https://ontology.inferal.com/profiles/relay-advertising/pinterest/> .
@prefix abg: <https://ontology.inferal.com/modules/advertising-budget/> .
@prefix adel: <https://ontology.inferal.com/modules/advertising-delivery-state/> .
@prefix aent: <https://ontology.inferal.com/modules/advertising-entity/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix mod: <https://w3id.org/mod#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix prof: <http://www.w3.org/ns/dx/prof/> .
@prefix pubacc: <https://ontology.inferal.com/modules/publication-access/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix voaf: <http://purl.org/vocommons/voaf#> .

:
    a owl:Ontology, prof:Profile, mod:SemanticArtefact, voaf:Vocabulary,
      pubacc:PublicationManagedOntology ;
    dcterms:accessRights pubacc:PublicAccess ;
    owl:imports aent: , abg: , adel: ;
    dcterms:title "Relay Advertising Profile: Pinterest" ;
    dcterms:description "Links Pinterest's campaign objectives, ad group budget types and pacing, and ad review and summary status values, as Relay publishes them, to the shared objective, budget period, delivery method and hold kind concepts." ;
    dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:source aent: , abg: , adel: ;
    vann:preferredNamespacePrefix "pin-adv" ;
    vann:preferredNamespaceUri "https://ontology.inferal.com/profiles/relay-advertising/pinterest/" ;
    mod:status "draft" ;
    rdfs:comment "Relay publishes each value of Pinterest's objective, budget type and pacing delivery type lists as a concept carrying its token as skos:notation. Each value whose name states its meaning falls under one shared concept by skos:broadMatch. CONSIDERATION names a funnel stage rather than an outcome, and CBO_ADGROUP names an ad group drawing on its campaign's budget rather than a period, so both stay unmapped. The hold links rest on the definition of the rejected-reasons property for that list, and on each value's name for the review and summary lists, since Pinterest defines none of those values; a value whose name states no single cause, such as ADVERTISER_DISABLED, the pin-promotion summary PENDING or the review OTHER, stays unmapped." ;
    owl:versionInfo "0.2.0" .


# --- Objectives ----------------------------------------------------------------
#
# Pinterest.CampaignResponse/objectiveType and the request models carrying the
# same list. Pinterest recommends VIDEO_COMPLETION in place of its deprecated
# VIDEO_VIEW objective.

<https://relay.inferal.com/ontology/pinterest/ObjectiveType/awareness> skos:broadMatch aent:awarenessObjective .
<https://relay.inferal.com/ontology/pinterest/ObjectiveType/catalogSales> skos:broadMatch aent:salesObjective .
<https://relay.inferal.com/ontology/pinterest/ObjectiveType/videoCompletion> skos:broadMatch aent:videoViewsObjective .
<https://relay.inferal.com/ontology/pinterest/ObjectiveType/webConversion> skos:broadMatch aent:conversionsObjective .


# --- Budget period and pacing --------------------------------------------------
#
# Pinterest.AdGroupResponse/budgetType and pacingDeliveryType.

<https://relay.inferal.com/ontology/pinterest/BudgetType/daily> skos:broadMatch abg:dailyPeriod .
<https://relay.inferal.com/ontology/pinterest/BudgetType/lifetime> skos:broadMatch abg:lifetimePeriod .
<https://relay.inferal.com/ontology/pinterest/PacingDeliveryType/standard> skos:broadMatch abg:standardDelivery .
<https://relay.inferal.com/ontology/pinterest/PacingDeliveryType/accelerated> skos:broadMatch abg:acceleratedDelivery .


# --- Hold kinds ------------------------------------------------------------------
#
# Pinterest.AdResponse/rejectedReasons. The property is defined as the "reason why
# the pin was rejected", so every value is a review rejection.
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/ALCOHOL> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/ALCOHOL_NO_SALE> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/APP> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/AUTHENTICITY> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/CAPS_AND_SYMBOLS> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/CLICKBAIT> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/CONFUSING_DESIGN> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/CONTESTS> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/EXAGGERATED_CLAIMS> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/FAKE_BUTTONS> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/HASHTAGS> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/ILLEGAL_RECREATIONAL_DRUG> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/IMAGE> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/IMAGE_BEFORE_AFTER> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/IMAGE_BUSY> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/IMAGE_LOW_QUALITY> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/IMAGE_POORLY_EDITED> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/INCONSISTENT> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/INCONSISTENT_LANG_FR> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/LANDING_PAGE> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/LANDING_PAGE_BROKEN> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/LANDING_PAGE_HARDWALL> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/LANDING_PAGE_QUALITY> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/LANDING_PAGE_SPEED> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/LOW_QUALITY> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/LOW_QUALITY_LANDING_PAGE> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/NAR> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/NO_DESCRIPTION> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/NUDITY> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/OTHER> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/OUT_OF_STOCK> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/PHARMA> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/PINTEREST_BRAND> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/POLITICAL> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/PROHIBITED_PRODUCT> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/PROMOTIONS_AND_PRICES> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/RATINGS> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/RESTRICTED_HEALTHCARE> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/SENSITIVE> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/SHOCKING> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/SUSPICIOUS_CLAIMS> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/SUSPICIOUS_SUPPLEMENTS> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/TARGETING> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/UGC> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/UNACCEPTABLE_BUSINESS> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/URGENCY> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/WEAPONS> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/rejectedReasons/WEIGHT_LOSS> skos:broadMatch adel:policyReviewHold .

# Pinterest.AdResponse/reviewStatus. The list names the ad's review, so REJECTED
# and PENDING name a review outcome by their names.
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/reviewStatus/PENDING> skos:broadMatch adel:policyReviewHold .
<https://relay.inferal.com/ontology/pinterest/property/Pinterest.AdResponse/reviewStatus/REJECTED> skos:broadMatch adel:policyReviewHold .

# Pinterest.AdResponse/summaryStatus. REJECTED names a review rejection by its name.
<https://relay.inferal.com/ontology/pinterest/PinPromotionSummaryStatus/rejected> skos:broadMatch adel:policyReviewHold .

# Pinterest.CampaignResponse/summaryStatus. NOT_STARTED and COMPLETED name the
# schedule by their names.
<https://relay.inferal.com/ontology/pinterest/CampaignSummaryStatus/completed> skos:broadMatch adel:outsideScheduleHold .
<https://relay.inferal.com/ontology/pinterest/CampaignSummaryStatus/notStarted> skos:broadMatch adel:outsideScheduleHold .

# Pinterest.AdGroupResponse/summaryStatus, with the same reading.
<https://relay.inferal.com/ontology/pinterest/AdGroupSummaryStatus/completed> skos:broadMatch adel:outsideScheduleHold .
<https://relay.inferal.com/ontology/pinterest/AdGroupSummaryStatus/notStarted> skos:broadMatch adel:outsideScheduleHold .

