Promotion

POST /v1/promotions/{id}/settings

Changed on

Request

  • Base URL
    https://app.adhook.io (the document declares no server; this is the origin it was published from)
  • URL
    https://app.adhook.io/v1/promotions/{id}/settings
  • Auth
    none declared

Path parameters

idstring required

Headers

If-Matchstring

Request body

namestring
colorstring
type'TRAFFIC' | 'CONVERSIONS' | 'RETARGETING' | 'SHOPPING' | 'CARS' | 'REAL_ESTATE' | 'JOBS' | 'EVENTS' | 'APP' | 'ENGAGEMENT' | 'VIDEO_VIEWS' | 'CALLS' | 'REACH' | 'FOLLOWERS' | 'PROFILE_VIEWS' | 'LEADS' | 'PERFORMANCE_MAX' | 'DEMAND_GEN' | 'SMART'
customGoalstring
marginPercentagenumber double

Response

default response

Changes

    • info

      added the new INFLUENCER_COLLABORATION enum value to the request property ///

    • info

      added the new INSTAGRAM_REACH_FOLLOW_TYPE enum value to the request property ///

    • info

      added the new INSTAGRAM_REACH_MEDIA_PRODUCT_TYPE enum value to the request property ///

    • info

      added the new LINKED_IN_FOLLOWER_DEMOGRAPHICS_ASSOCIATION_TYPE enum value to the request property ///

    • info

      added the new LINKED_IN_FOLLOWER_DEMOGRAPHICS_COMPANY_SIZE enum value to the request property ///

    • info

      added the new LINKED_IN_FOLLOWER_DEMOGRAPHICS_COUNTRY enum value to the request property ///

    • info

      added the new LINKED_IN_FOLLOWER_DEMOGRAPHICS_INDUSTRY enum value to the request property ///

    • info

      added the new LINKED_IN_FOLLOWER_DEMOGRAPHICS_JOB_FUNCTION enum value to the request property ///

    • info

      added the new LINKED_IN_FOLLOWER_DEMOGRAPHICS_REGION enum value to the request property ///

    • info

      added the new LINKED_IN_FOLLOWER_DEMOGRAPHICS_SENIORITY enum value to the request property ///

    • info

      added the new SNAPCHAT_FOLLOWER_DEMOGRAPHICS_AGE enum value to the request property ///

    • info

      added the new SNAPCHAT_FOLLOWER_DEMOGRAPHICS_COUNTRY enum value to the request property ///

    • info

      added the new SNAPCHAT_FOLLOWER_DEMOGRAPHICS_GENDER enum value to the request property ///

    • info

      added the new SNAPCHAT_VIEWER_DEMOGRAPHICS_AGE enum value to the request property ///

    • info

      added the new SNAPCHAT_VIEWER_DEMOGRAPHICS_COUNTRY enum value to the request property ///

    • info

      added the new SNAPCHAT_VIEWER_DEMOGRAPHICS_GENDER enum value to the request property ///

    • info

      added the new SNAPCHAT_VIEWER_SUBSCRIPTION enum value to the request property ///

    • info

      added the new TIKTOK_FOLLOWER_ACTIVITY enum value to the request property ///

    • info

      added the new TIKTOK_FOLLOWER_DEMOGRAPHICS_AGE enum value to the request property ///

    • info

      added the new TIKTOK_FOLLOWER_DEMOGRAPHICS_CITY enum value to the request property ///

    • info

      added the new TIKTOK_FOLLOWER_DEMOGRAPHICS_COUNTRY enum value to the request property ///

    • info

      added the new TIKTOK_FOLLOWER_DEMOGRAPHICS_GENDER enum value to the request property ///

    • info

      added the new TIKTOK_VIEWER_DEMOGRAPHICS_CITY enum value to the request property ///

    • info

      added the new TIKTOK_VIEWER_DEMOGRAPHICS_COUNTRY enum value to the request property ///

    • info

      added the new TIKTOK_VIEWER_DEMOGRAPHICS_GENDER enum value to the request property ///

    • info

      added the new TIKTOK_VIEWER_NEW_RETURNING enum value to the request property ///

    • info

      added the new TIKTOK_VIEWER_TRAFFIC_SOURCE enum value to the request property ///

    • info

      added the new TIKTOK_VIEWER_TYPE enum value to the request property ///