Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Digital Advertising Platform
  4. how to get venueID !!!!
Forum Updated to NodeBB v4.3 + New Features

how to get venueID !!!!

Scheduled Pinned Locked Moved Unsolved Qt Digital Advertising Platform
16 Posts 4 Posters 7.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cheng shi hua
    wrote on 17 Sept 2022, 14:26 last edited by
    #6

    Help !!!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 17 Sept 2022, 17:05 last edited by
      #7

      Hi,

      I have not used that module but did you follow the Workflow documentation ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply 17 Sept 2022, 23:31
      0
      • S SGaist
        17 Sept 2022, 17:05

        Hi,

        I have not used that module but did you follow the Workflow documentation ?

        C Offline
        C Offline
        Cheng shi hua
        wrote on 17 Sept 2022, 23:31 last edited by
        #8

        @SGaist Yes, the installation has been successful and APIKEY has been obtained, but I don't know where to set the VenueID. There is no description in the document, but I tell you that it must be set. I set a value randomly and then tell you that the VenueID does not exist

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Cheng shi hua
          wrote on 19 Sept 2022, 02:26 last edited by
          #9

          Help! Help! Help!

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nayka
            wrote on 19 Sept 2022, 11:16 last edited by nayka
            #10

            @Cheng-shi-hua sorry about this issue. I am Nail - Product at Digital Advertising.

            You can use this one as default.

            venueId: "Qt_Demo_Evaluation_Venue1".

            It is documented here - https://doc.qt.io/QtDigitalAdvertising/widgets.html

            However, we will also include it in Workflow documentation. I would be happy to jump with you on a call to better understand your use case and if we could help you out in something. My email - nail.valiyev@qt.io

            Let me know if you have any questions.

            C 1 Reply Last reply 20 Sept 2022, 02:23
            2
            • N nayka
              19 Sept 2022, 11:16

              @Cheng-shi-hua sorry about this issue. I am Nail - Product at Digital Advertising.

              You can use this one as default.

              venueId: "Qt_Demo_Evaluation_Venue1".

              It is documented here - https://doc.qt.io/QtDigitalAdvertising/widgets.html

              However, we will also include it in Workflow documentation. I would be happy to jump with you on a call to better understand your use case and if we could help you out in something. My email - nail.valiyev@qt.io

              Let me know if you have any questions.

              C Offline
              C Offline
              Cheng shi hua
              wrote on 20 Sept 2022, 02:23 last edited by
              #11

              @nayka said in how to get venueID !!!!:

              Qt_Demo_Evaluation_Venue1

              thank you!

              "QtDigitalAdvertising(1.1.1)WARNING: There is no qualifying ad to be returned based on your campaign targeting parameters, no ad will be displayed"
              qml: NoAdAvailable

              Qt5.15.2
              Platform: PC
              OS: Win10

              how to fix this problem?

              N 2 Replies Last reply 20 Sept 2022, 08:14
              0
              • C Cheng shi hua
                20 Sept 2022, 02:23

                @nayka said in how to get venueID !!!!:

                Qt_Demo_Evaluation_Venue1

                thank you!

                "QtDigitalAdvertising(1.1.1)WARNING: There is no qualifying ad to be returned based on your campaign targeting parameters, no ad will be displayed"
                qml: NoAdAvailable

                Qt5.15.2
                Platform: PC
                OS: Win10

                how to fix this problem?

                N Offline
                N Offline
                nayka
                wrote on 20 Sept 2022, 08:14 last edited by
                #12

                @Cheng-shi-hua could you pls send us the code snippet? We need to have a look in order to understand more clearly. Perhaps it is something to do with mediawidth & mediaHeight parameters

                1 Reply Last reply
                0
                • C Cheng shi hua
                  20 Sept 2022, 02:23

                  @nayka said in how to get venueID !!!!:

                  Qt_Demo_Evaluation_Venue1

                  thank you!

                  "QtDigitalAdvertising(1.1.1)WARNING: There is no qualifying ad to be returned based on your campaign targeting parameters, no ad will be displayed"
                  qml: NoAdAvailable

                  Qt5.15.2
                  Platform: PC
                  OS: Win10

                  how to fix this problem?

                  N Offline
                  N Offline
                  nayka
                  wrote on 20 Sept 2022, 08:39 last edited by
                  #13

                  @Cheng-shi-hua also pls make sure you followed these configuration steps - https://doc.qt.io/QtDigitalAdvertising/components.html

                  C 1 Reply Last reply 22 Sept 2022, 09:00
                  0
                  • N nayka
                    20 Sept 2022, 08:39

                    @Cheng-shi-hua also pls make sure you followed these configuration steps - https://doc.qt.io/QtDigitalAdvertising/components.html

                    C Offline
                    C Offline
                    Cheng shi hua
                    wrote on 22 Sept 2022, 09:00 last edited by Cheng shi hua
                    #14

                    @nayka
                    import QtQuick 2.15
                    import QtQuick.Window 2.15
                    import QtQuick.Controls 2.15
                    import QtDigitalAdvertising 1.1

                    ApplicationWindow {
                    id: root
                    width: 1920
                    height: 1080
                    visible: true
                    title: qsTr("Hello World")

                    EmbeddedConfig {
                        qdaApiKey: "my api key"
                        venueId: "Qt_Demo_Evaluation_Venue1"
                    }
                    
                    EmbeddedAd {
                        anchors.centerIn:  parent
                        mediaWidth: 1920
                        mediaHeight: 1080
                        playMode: QtDigitalAdvertising.AutoPlay
                        displayMode: QtDigitalAdvertising.SingleShot
                        onAdError: {
                            console.log(error)
                        }
                    }
                    

                    }

                    the new error is:
                    session close time out!
                    qml: PluginError
                    how to fix it?

                    N 1 Reply Last reply 28 Sept 2022, 08:19
                    0
                    • C Cheng shi hua
                      22 Sept 2022, 09:00

                      @nayka
                      import QtQuick 2.15
                      import QtQuick.Window 2.15
                      import QtQuick.Controls 2.15
                      import QtDigitalAdvertising 1.1

                      ApplicationWindow {
                      id: root
                      width: 1920
                      height: 1080
                      visible: true
                      title: qsTr("Hello World")

                      EmbeddedConfig {
                          qdaApiKey: "my api key"
                          venueId: "Qt_Demo_Evaluation_Venue1"
                      }
                      
                      EmbeddedAd {
                          anchors.centerIn:  parent
                          mediaWidth: 1920
                          mediaHeight: 1080
                          playMode: QtDigitalAdvertising.AutoPlay
                          displayMode: QtDigitalAdvertising.SingleShot
                          onAdError: {
                              console.log(error)
                          }
                      }
                      

                      }

                      the new error is:
                      session close time out!
                      qml: PluginError
                      how to fix it?

                      N Offline
                      N Offline
                      nayka
                      wrote on 28 Sept 2022, 08:19 last edited by
                      #15

                      @Cheng-shi-hua I believe you have been reached out to by our team. I think your case is different. Are your target devices mobile? If so, you don't need a venue id. Below pls find the case for mobile targets.

                      https://doc.qt.io/QtDigitalAdvertising/configuration.html

                      import QtDigitalAdvertising 1.1

                      MobileConfig
                      {
                      id: qdaConfig
                      qdaApiKey: "paste-your-api-key-here"
                      networkId: "4147"
                      siteId: "492520"
                      appName: "ExampleApp"
                      bundleId: "com.example.org"
                      }

                      MobileAd {
                      width: 320;
                      height: 250
                      playMode: QtDigitalAdvertising.AutoPlay
                      displayMode: QtDigitalAdvertising.Loop
                      pageId: "1515277"
                      formatId: "104693"
                      }

                      C 1 Reply Last reply 30 Sept 2022, 11:09
                      0
                      • N nayka
                        28 Sept 2022, 08:19

                        @Cheng-shi-hua I believe you have been reached out to by our team. I think your case is different. Are your target devices mobile? If so, you don't need a venue id. Below pls find the case for mobile targets.

                        https://doc.qt.io/QtDigitalAdvertising/configuration.html

                        import QtDigitalAdvertising 1.1

                        MobileConfig
                        {
                        id: qdaConfig
                        qdaApiKey: "paste-your-api-key-here"
                        networkId: "4147"
                        siteId: "492520"
                        appName: "ExampleApp"
                        bundleId: "com.example.org"
                        }

                        MobileAd {
                        width: 320;
                        height: 250
                        playMode: QtDigitalAdvertising.AutoPlay
                        displayMode: QtDigitalAdvertising.Loop
                        pageId: "1515277"
                        formatId: "104693"
                        }

                        C Offline
                        C Offline
                        Cheng shi hua
                        wrote on 30 Sept 2022, 11:09 last edited by
                        #16

                        @nayka Thank you very much for your reply. I am more willing to communicate with you. The QT China team did contact me, but they won't do anything. I can't get any help from them.

                        In addition, I have a question to ask whether this module can only be used on the mobile phone, because I use EmbeddedAd on the PC to always prompt the session timeout

                        Now you suggest that I use MobileAd. Is it impossible to use this advertising module on a PC?

                        1 Reply Last reply
                        0

                        15/16

                        28 Sept 2022, 08:19

                        • Login

                        • Login or register to search.
                        15 out of 16
                        • First post
                          15/16
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved