how to get venueID !!!!
-
import QtDigitalAdvertising 1.1
EmbeddedConfig {
qdaApiKey: "I have ApiKey"
venueId: "where to get this value?????"
}how to get venueID !!!!
-
It is user defined.
-
EmbeddedConfig {
qdaApiKey: "I have ApiKey"
venueId: "1234"
}QtDigitalAdvertising(1.1.1)[ERROR]: Server reply: Venue ID does not exist in your network
help !!!!
@ChrisW67
how to define?
venueId: "1234" is error -
Help !!!
-
Hi,
I have not used that module but did you follow the Workflow documentation ?
-
@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
-
Help! Help! Help!
-
@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.
-
@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: NoAdAvailableQt5.15.2
Platform: PC
OS: Win10how to fix this problem?
-
@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
-
@Cheng-shi-hua also pls make sure you followed these configuration steps - https://doc.qt.io/QtDigitalAdvertising/components.html
-
@nayka
import QtQuick 2.15
import QtQuick.Window 2.15
import QtQuick.Controls 2.15
import QtDigitalAdvertising 1.1ApplicationWindow {
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? -
@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"
} -
@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?