Skip to Content

Facebook Campaigns with success and cost tracking

Using SAP Hybris Marketing you can create Facebook custom audience campaigns, assign a budget and track the success:

  • Manage campaigns which automatically create Facebook custom audiences
  • Plan the spend of your campaign
  • Analyze planned spend, people reached and objective dependent KPIs such as clicks, impressions or page likes
  • With our on-premise deployment you can additionally build your own reports on the aggregated success data using e.g. SAP Lumira.

Here you can see videos also for facebook, paid search and other topics.

You must be Logged on to comment or reply to a post.
    • Hi Ajit,

      the banners are designed with the Facebook Ad Manager. The Hybris marketing campaign submits the target groups to the facebook campaign only and receives the success, so the content itself is done in Facebook.



      • Is there a standard interfaces to send and receive data from Facebook or it has to be custom built?

        Do we get Facebook campaign success analysis out-of-the-box or it should be custom built either?

          • In the response data that comes back from Facebook, do we get an interaction created against the contact if the contact clicks on a link or views a video etc or is it just aggregated success data?


            Hi Jan,

            How can we get the Facebook campaign success in our Hybris Marketing system. Is the call for success data initiated from Hybris Marketing or Facebook send the success data on certain intervals to Hybris Marketing?
            Is there any step we need to perform to get the success data?

            The Link shared above is not working. Please suggest.



            Govinda Parate

          • Hi Govinda Parate,

            if the Facebook campaign is assigned to the SAP Marketing campaign or created out of SAP Marketing, then we automatically query Facebook to retrieve the success data. That is part of the standard integration.



  • Hi Jan,

    We are following the installation guide and we are having some trouble getting the SHA2 certificate from facebook.

    From the installaiton guide:

    "Go to and click on the lock symbol next to the URL to get the site information.○

    Locate the certificate as indicated in note above and export it to a file. "

    We couldnt locate the certificate there. Are we missing something?



    • Hello Ajit,

      please follow these steps:

      Go to and click to lock symbol.Go to  ‚Your Connection to this site …. Details.

      Click Details.You get Screen with Security Overview. Click button 'View certificate'.

      Go to Certification Path.You will see DigiCert->DigiSert SHA2 High Assurance Server CA.

      Go to Details and choose Cetificate for Copy to File..

      In cloud landscape the certificates should be already available in the systems.

      Regards, Galina

    • Hi Ajit,

      when using Chrome latest, you can right-click the lock, go to "Details" and in the security tab at the bottom (in dev tools) click view certificate. Then a dialog with the certificate details opens.

      Hope this helps.

      Kind regards


      /wp-content/uploads/2016/07/lock_987451.pngview certificate.jpgcertficate path.pngcertficate details.png

  • Thanks for the Article,

    Could you please let us know what we need to provide for Target Endpoint in transaction code OA2C_CONFIG in the 'Access Settings' section? We had provided the below endpoint as per the standard SAP document. But this is not working. It is not returning to the campaign.


    • Hi Pratik,

      the target endpoint is correct.

      Some questions that might help to clarify what's wrong:

      Where exactly does the process stop? Do you get an error message in dev tools in your browser? Are you able to authorize to Hybris Marketing to use Facebook Marketing API when pressing "Authenticate"?

      Thanks & kind regards


  • Hi Svend,

    Thanks for the reply.

    When we try to authenticate a particular campaign, it takes us to the face book screen for authentication. Post this when it comes back to marketing, it is not landing to the corresponding campaign. But a screen where we get a message to close the browser if we are not automatically redirected. The authentication is not happening for the campaign.

    We are able to authenticate only if we change the Target Endpoint to Specific campaign URL . But each time we had to change this for different campaigns.

    • Hi Aparna,

      maybe a clarification is in place here: The "Authenticate" button is a trigger to start the flow to get an OAuth 2.0 access token which will happen in a new browser tab. If that goes well, you will end up on the page you mention (which asks you to close that tab). The campaign however should still be open in the initial browser tab.

      But: it is usually not necessary to press the "Authenticate" button with every campaign you create as the access token from Facebook usually has a life time of several weeks. The "Authenticate" button is only a convenience button to fetch an OAuth access token in case you don't have one or it expired

      Kind regards


  • Hi Jan,

    after following the instructions of the integration guide for the on premise solution we are facing an issue after pressing the "Authenticate" button. We are directed to the target endpoint with the following message: Client configuration error or network problem. See kernel trace.

    Can you give me a hint where I can inspect the referred trace?

    Kind Regards Christopher.

      • Hi Michael,

        actually I raised the question you referred to 🙂 but thank you anyway.

        Actually I would have a question regarding the information yMkt is passing to FB. Jan is stating above "The Hybris marketing campaign submits the target groups to the facebook campaign only and receives the success". However, when I create a campaign in yMkt with my personal contact as a target group where my FB ID is maintained it creates a campaign in FB with an empty "Advert Set". I am not yet familiar how FB adds work but I would have expected to see my FB account as a target group uploaded. Same goes for the end date and budget of the campaign.

        Currently it does not seem to take this data over from yMkt.

        Regards Christopher.

        • Hi Christopher,

          Hybris Marketing creates a campaign and passes the camapign name to Facebook as well as the objective you have selected.

          If you also include a target group we pass this as well as a custom audience. Note that you can use this custom audience in any campaign within your facebook ad account.

          Complying with Facebook policies we pass over all email addresses of a contact that our customer has collected and the mobile numbers, Apple or Android Marketing IDs, all of them hashed. Facebook then compares the hashed values with the ones they have and can identify a match or not. Hashing the data means that Facebook cannot reverse the hash to an email or mobile number. Note that Facebook IDs arent accepted by Facebook for loading.

          There are size limitations, Facebook is mentioning that you have to send at least 100 valid hashes in order to have a custom audience created. Valid means that Facebook can match them and also the members can be addressed. Members that are older than 18 (? -> pls check on Facebook pages) can be targeted which means that members who haven't maintained a birthday may lead to invalid counts.

          Hope that answers your question.



          • Hi Michael,

            thanks a lot for your reply. It was very helpful. We are currently trying to mock-up the FB campaign creation. Seems now we need 100 test FB accounts 🙂

            For anyone who wants to read more on FB custom audiences check here.

            Regards Christopher.