Webhook notification
Last updated
Last updated
Webhooks are only used for native ads and are optional.
From the Adrop console, go to project, then select Project settings in the left navigation menu to provide a webhook URL. By providing a webhook URL, You can receive real-time notifications whenever advertiser information or ad creatives are created, updated or deleted.
Register your webhook URL and provide client credentials.
To register a webhook URL:
From the left navigation menu, select Project settings.
Click the pencil icon in the Webhook URL field.
Type your webhook URL to receive.
Press "Save".
You will be able to see the Client Credentials card after registering your webhook URL. It is optional. After you provide the Client Credentials, the Adrop server will send a POST request using those credentials.
To provide a client credential:
Click the pencil icon in the Client Credentials field.
Type your client credential.
Press "Save".
Once you provide a webhook URL, you will be able to receive information about advertiser accounts and creatives in real time whenever they are created, updated, or deleted. This information will be sent to your webhook URL.
You can register additional information (tag) you want about the Account ID or Creative ID received through a webhook in JSON format on the Adrop server.
You can check the tag data through the accountTag or creativeTag field when receiving advertisement.
You need an access token to make a POST request for tagging. You can find your access token in the Authorization card after registering your webhook URL.
To request to register tag information:
Include your access token in the request header as Authorization.
POST request by the following POST https://api-rest.adrop.io/tag Docs.
You can now receive the information you tagged in the accountTag or creativeTag field whenever you retrieve an ad.