Overview

Summary

ContactDonateImprint


Appendix E-34: AD PLACEMENT (UI prompt)


AdPlacementStoryModuleInstagram

Properties (8)

PropertyTypeEntityReferenceModule
(1) AdCampaignLONGAdPlacementAdCampaignReelModule
(2) ClicksLONGAdPlacement
(3) CreatedAtDATEAdPlacement
(4) ImpressionsLONGAdPlacement
(5) PlacementTypeSTRINGAdPlacement
(6) PostLONGAdPlacementPostUserAccountModule
(7) ReelLONGAdPlacementReelReelModule
(8) StoryLONGAdPlacementStoryStoryModule


Module Interfaces (9)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /adplacement/adcampaign/{id}findAllAdPlacementOfAdCampaign(id)StoryModuleGETAdCampaign AdPlacement
(2) /adplacementinsertAdPlacement(adplacement)StoryModulePOSTAdPlacement
(3) /adplacement/{id}updateAdPlacementById(adplacement)StoryModulePUTAdPlacement
(4) /adplacementfindAllAdPlacement()StoryModuleGETAdPlacement
(5) /adplacement/{id}findAdPlacementById(id)StoryModuleGETAdPlacement
(6) /adplacement/story/{id}findAllAdPlacementOfStory(id)StoryModuleGETStory AdPlacement
(7) /adplacement/reel/{id}findAllAdPlacementOfReel(id)StoryModuleGETReel AdPlacement
(8) /adplacement/post/{id}findAllAdPlacementOfPost(id)StoryModuleGETPost AdPlacement
(9) /adplacement/{id}deleteAdPlacementById(id)StoryModuleDELETEAdPlacement





Example:

final AdPlacement adplacement = (AdPlacement) invokeModule(STORY_MODULE + "/adplacement/" + id, AdPlacement.class);
if (adplacement != null) {
    final Post post1 = (Post) invokeModule(USER_ACCOUNT_MODULE + "/post/" + adplacement.getPost().getId(), Post.class);
    if (post1 != null) {
        final Location location2 = (Location) invokeModule(FEATURE_FLAG_MODULE + "/location/" + post1.getLocation().getId(), Location.class);
        if (location2 != null) {
        }
        final UserAccount useraccount3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + post1.getUserAccount().getId(), UserAccount.class);
        if (useraccount3 != null) {
        }
    }
    final Reel reel4 = (Reel) invokeModule(REEL_MODULE + "/reel/" + adplacement.getReel().getId(), Reel.class);
    if (reel4 != null) {
        final UserAccount useraccount5 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + reel4.getUserAccount().getId(), UserAccount.class);
        if (useraccount5 != null) {
        }
    }
    final AdCampaign adcampaign6 = (AdCampaign) invokeModule(REEL_MODULE + "/adcampaign/" + adplacement.getAdCampaign().getId(), AdCampaign.class);
    if (adcampaign6 != null) {
    }
    final Story story7 = (Story) invokeModule(STORY_MODULE + "/story/" + adplacement.getStory().getId(), Story.class);
    if (story7 != null) {
        final UserAccount useraccount8 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + story7.getUserAccount().getId(), UserAccount.class);
        if (useraccount8 != null) {
        }
    }
}
return adplacement;


Overview

Summary

ContactDonateImprint