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 !!!!

how to get venueID !!!!

Scheduled Pinned Locked Moved Unsolved Qt Digital Advertising Platform
16 Posts 4 Posters 7.7k Views
  • 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 last edited by
    #6

    Help !!!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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
      0
      • SGaistS SGaist

        Hi,

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

        C Offline
        C Offline
        Cheng shi hua
        wrote on 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 last edited by
          #9

          Help! Help! Help!

          1 Reply Last reply
          0
          • naykaN Offline
            naykaN Offline
            nayka
            wrote on 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
            2
            • naykaN nayka

              @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 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?

              naykaN 2 Replies Last reply
              0
              • C Cheng shi hua

                @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?

                naykaN Offline
                naykaN Offline
                nayka
                wrote on 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

                  @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?

                  naykaN Offline
                  naykaN Offline
                  nayka
                  wrote on 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
                  0
                  • naykaN nayka

                    @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 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?

                    naykaN 1 Reply Last reply
                    0
                    • C Cheng shi hua

                      @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?

                      naykaN Offline
                      naykaN Offline
                      nayka
                      wrote on 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
                      0
                      • naykaN nayka

                        @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 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

                        • Login

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