Overview
Summary
Contact
Donate
Imprint
Prompt for the
AdCampaignView
Please create a React-JS view called "AdCampaignView" for the fields of the AdCampaign entity. The AdCampaignView must contain the following fields: - name: AdvertiserName type: STRING - name: Budget type: STRING - name: CreatedAt type: DATE - name: EndDate type: DATE - name: Name type: STRING - name: Objective type: STRING - name: StartDate type: DATE An existing AdCampaign entity should be loaded from the relative URL: "/ReelService/adcampaign/{id}" (HTTP-GET) If a new AdCampaign entity has been created, the new entity should be posted to the relative URL: "/ReelService/adcampaign" (HTTP-POST) If an existing AdCampaign entity has been updated, the modified entity should be sent to the relative URL: "/ReelService/adcampaign/{id}" (HTTP-PUT) If an existing AdCampaign entity has to be deleted, the following relative URL should be called: "/ReelService/adcampaign/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AdPlacement columns: - column: Post - column: Clicks - column: Impressions - column: CreatedAt - column: Reel - column: AdCampaign - column: PlacementType - column: Story The table should have the title "AdPlacements" und the data must be loaded from the server with the following relative URL: "/StoryService/adplacement/adcampaign/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint