Update the setting for an advertiser's status

HTTP method Endpoint
PATCH /v1/advertisers/{advertiser_id}

Path parameters

Parameter Description
advertiser_id The unique id for the advertiser.
status Status Can choose is active·blocked·deleted.

Response body parameters

Field Type Description
advertiser
id integer A string that uniquely identifies this advertiser.
first_name string The first_name of the this Advertiser.
last_name string The last_name of the this Advertiser.
email string The email of the this Advertiser.
company string The company of the this Advertiser.
country string The country of the Advertiser's physical address.
status string Advertiser status.
instant_message_account string Instant messaging account.
instant_message_type integer types of instant messaging.
manager_id integer Account Manager ID.
phone string The phone number of the Advertiser.
website string
security_mode integer selection to activate security code.
0:close ;
1:open
security_code string conversion security code
create_time integer Create time

Example request

Request PATCH https://{networkname}.api.offerslook.com/v1/advertisers/4865?status=active


Request PATCH http://{networkname}.api.offerslook.com/v1/advertisers/4865?status=active


Example response


    {
      "code": 0,
      "message": "Success",
      "data": {
        "advertiser": {
          "id": 4865,
          "email": "test@test.com",
          "first_name": "advertiser",
          "last_name": "test",
          "country": "Asia/Pacific Region",
          "status": "active",
          "website": "http://www.baidu.com",
          "create_time": 1458648895,
          "company": "UC Union",
          "phone": "11122223333",
          "manager_id": 7,
          "instant_message_type": 3,
          "instant_message_account": "test@facebook.com",
          "security_mode": 0,
          "security_code": ""
        }
      }
    }

results matching ""

    No results matching ""