Overview
Summary
Contact
Donate
Imprint
Prompt for the
AdView
Please create a React-JS view called "AdView" for the fields of the Ad entity. The AdView must contain the following fields: - name: AdvertiserName type: STRING - name: BudgetInfoJson type: STRING - name: CampaignName type: STRING - name: CreatedAt type: DATE - name: Format type: STRING - name: MediaUrl type: STRING - name: TargetingJson type: STRING An existing Ad entity should be loaded from the relative URL: "/AdService/ad/{id}" (HTTP-GET) If a new Ad entity has been created, the new entity should be posted to the relative URL: "/AdService/ad" (HTTP-POST) If an existing Ad entity has been updated, the modified entity should be sent to the relative URL: "/AdService/ad/{id}" (HTTP-PUT) If an existing Ad entity has to be deleted, the following relative URL should be called: "/AdService/ad/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AdImpression columns: - column: Video - column: Ad - column: RevenueMicros - column: ClickedAt - column: User - column: ImpressionAt - column: Device The table should have the title "AdImpressions" und the data must be loaded from the server with the following relative URL: "/UserService/adimpression/ad/{id}" Add a HTML table to the view with the following VideoAd columns: - column: Video - column: Ad - column: CreatedAt - column: Position - column: InsertTimeSeconds The table should have the title "VideoAds" und the data must be loaded from the server with the following relative URL: "/AdService/videoad/ad/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint