CN112488769A - Advertisement putting test method, device, equipment and storage medium - Google Patents
Advertisement putting test method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN112488769A CN112488769A CN202011491743.5A CN202011491743A CN112488769A CN 112488769 A CN112488769 A CN 112488769A CN 202011491743 A CN202011491743 A CN 202011491743A CN 112488769 A CN112488769 A CN 112488769A
- Authority
- CN
- China
- Prior art keywords
- test
- recommendation
- type
- advertisement
- release
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000010998 test method Methods 0.000 title claims abstract description 8
- 238000012360 testing method Methods 0.000 claims abstract description 312
- 238000000034 method Methods 0.000 claims abstract description 57
- 238000012384 transportation and delivery Methods 0.000 claims description 95
- 238000007726 management method Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 11
- 230000008569 process Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000013515 script Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0242—Determining effectiveness of advertisements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Economics (AREA)
- Game Theory and Decision Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application discloses an advertisement putting test method, device, equipment and storage medium, and relates to the field of automatic advertisement testing. The method comprises the following steps: and acquiring directional release content corresponding to the target test case, and generating information of the test recommendation position according to the release type of the target test case. And then clicking the test recommendation bit on the application page of the test terminal through a preset mobile test interface according to the information of the test recommendation bit. Finally, obtaining an advertisement log generated by clicking a test recommendation position from an application log of the test terminal; and comparing the return result in the advertisement log with the expected return result corresponding to the targeted release content to obtain the targeted release test result of the target test case. The embodiment of the application can realize automatic advertisement putting test.
Description
Technical Field
The present application relates to the field of advertisement testing technologies, and in particular, to an advertisement placement testing method, apparatus, device, and storage medium.
Background
The advertisement test is also called advertisement paperwork test (Advertising test), and refers to a test evaluation of an advertisement work which is designed and created but not released yet. Usually, a plurality of advertisement scripts are involved in the test, and through comparing the form, style, appeal point, understanding degree and the like of each file, an advertisement script with an ideal effect is selected to be launched, the launching position of the advertisement script is accurately obtained, and clicking is carried out at the terminal after launching is finished to judge the correctness of launching.
At present, most of advertisement system tests are manually operated by technicians, and have the defects of complicated test process, large workload, more repeated work and the like. With the rapid development of the internet media at present, the requirements of users on the richness of the content in the advertisement and the application range of the scene are higher and higher, the number of terminal function modules in the advertisement system is increased, the design is more and more complex, and the difficulty of manually carrying out advertisement testing is greatly increased.
Disclosure of Invention
The main objective of the present application is to provide an advertisement placement testing method, device, equipment and storage medium, which can quickly create placement, simplify testing process, automatically perform advertisement testing, simplify advertisement testing process, and greatly improve testing efficiency, aiming at the defects in the prior art.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides an advertisement placement testing method, including:
acquiring directional release content corresponding to a target test case;
generating information of a test recommendation position according to the release type of the target test case;
according to the information of the test recommendation bit, clicking the test recommendation bit on an application page of the test terminal through a preset mobile test interface;
obtaining an advertisement log generated by clicking the test recommendation position from an application log of the test terminal;
and comparing the return result in the advertisement log with an expected return result corresponding to the targeted delivery content to obtain a targeted delivery test result of the target test case, wherein the targeted delivery test result is used for indicating whether the test recommendation position on an application interface of the test terminal plays the targeted delivery content or not.
Optionally, the obtaining of the targeted delivery content corresponding to the target test case includes:
creating the directional release content according to the release configuration parameters in the target test case; or,
and acquiring the pre-created directional delivery content according to the identification of the target test case.
Optionally, the generating of the information of the test recommendation bit according to the release type of the target test case includes:
acquiring information of various types of recommendation positions corresponding to the release types;
randomly selecting one recommendation bit from each type of recommendation bits as the test recommendation bit.
Optionally, if the delivery type is a first delivery type, the first delivery type is a delivery type of a known advertisement slot; the obtaining of the information of the recommendation bits of the plurality of types corresponding to the release type includes:
and acquiring information of various types of recommendation bits corresponding to the first release type from the terminal recommendation bit parameters in the target test case.
Optionally, if the launch type is a second launch type, the second launch type is an unknown ad slot, but the number of ad slots in the launch page is known; the obtaining of the information of the recommendation position corresponding to the release type includes:
and sequentially calling at least one access interface corresponding to the application interface, and acquiring information of multiple types of recommendation positions corresponding to the second delivery type from a content management system.
Optionally, if the delivery type is a third delivery type, the third delivery type is an unknown advertisement slot, but the type of the recommended slot in the delivery page is known; the obtaining of the information of the recommendation position corresponding to the release type includes:
and sequentially calling at least one access interface corresponding to the application interface, and acquiring information of multiple types of recommendation positions corresponding to the third delivery type from a content management system.
Optionally, in the advertisement placement testing method, the method further includes:
and generating a test report of the target test case according to the directional launching test result.
In a second aspect, an embodiment of the present application further provides an advertisement placement testing apparatus, including:
the first acquisition module is used for acquiring the directional release content corresponding to the target test case;
the second acquisition module is used for generating information of a test recommendation position according to the release type of the target test case;
the clicking module is used for clicking the test recommending position on the application page of the test terminal through a preset mobile test interface according to the information of the test recommending position;
the third acquisition module is used for acquiring an advertisement log generated by clicking the test recommendation position from an application log of the test terminal;
and the comparison module is used for comparing a return result in the advertisement log with an expected return result corresponding to the targeted delivery content to obtain a targeted delivery test result of the target test case, wherein the targeted delivery test result is used for indicating whether the test recommendation position plays the targeted delivery content on an application interface of the test terminal.
In a third aspect, an embodiment of the present application further provides an advertisement delivery testing device, including: the advertisement delivery test system comprises a memory and a processor, wherein the processor is connected with an audio acquisition device, the memory stores a computer program which can be executed by the processor, and the processor realizes the advertisement delivery test method in any one of the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present application further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is read and executed, the advertisement placement testing method in any of the first aspects is implemented.
According to the advertisement putting test method, the device, the equipment and the storage medium, the information of the test recommendation position can be obtained according to the putting type of the target test case by obtaining the directional putting content corresponding to the target test case, the test recommendation position on the application page of the test terminal is clicked through the preset mobile test interface according to the information of the test recommendation position, and then the advertisement log generated by clicking the test recommendation position is obtained from the application log of the test terminal; and comparing the return result in the advertisement log with the expected return result corresponding to the targeted release content to obtain the targeted release test result of the target test case. The scheme provided by the embodiment of the application can realize the automatic test of the targeted advertisement delivery, replaces the traditional manual test, simplifies the test process of the advertisement delivery, reduces the workload of the advertisement delivery test, thereby improving the advertisement test efficiency, effectively adapting to the future requirements of test development, and continuously and completely and quickly testing the advertisement delivery system with the increasing complexity.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a network architecture diagram of an advertisement testing system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an advertisement placement testing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another advertisement placement testing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another advertisement placement testing method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another advertisement placement testing method according to an embodiment of the present application;
fig. 6 is a functional module schematic diagram of an advertisement placement testing apparatus according to an embodiment of the present disclosure;
fig. 7 is a functional block diagram of another advertisement placement testing apparatus according to an embodiment of the present disclosure;
fig. 8 is a functional block diagram of another advertisement placement testing apparatus according to an embodiment of the present disclosure;
fig. 9 is a functional block diagram of another advertisement placement testing apparatus according to an embodiment of the present disclosure;
fig. 10 is a functional block diagram of another advertisement placement testing apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The advertisement delivery test method, device, equipment and storage medium provided by the embodiment of the application can be applied to an advertisement delivery test system, and the advertisement delivery test system is exemplified by the following figures. Fig. 1 is a network architecture diagram of an advertisement testing system according to an embodiment of the present application, and as shown in fig. 1, the advertisement testing system may include: the system comprises an operation terminal 10, a test terminal 20 and a console 30, wherein the operation terminal 10 can be connected with the test terminal 20 in a communication mode, and the operation terminal 10 is connected with the console 30 in a communication mode.
The operation terminal 10 may be a computer device operated by a tester during an advertisement placement test, and may be installed and run with advertisement placement test software, and the advertisement testing method provided in the embodiment of the present application may be executed by running the advertisement placement test software, and the product form of the operation terminal 10 may be an operable terminal device such as a computer, a tablet computer, and the like. The test terminal 20 may be installed and run with a preset multimedia application, and by running the multimedia application, a corresponding application interface may be displayed, and the operation terminal 10 may control the advertisement click operation on the application interface of the test terminal 20 by communicating with the test terminal 20. The product form of the test terminal 20 may be, for example, an intelligent device having a display function, such as an intelligent television or an intelligent set-top box.
The operation terminal 10 may further transmit a directional placement test result generated by executing the advertisement placement test method to the console 30, so that after the console 30 obtains the directional placement test result, a test report is generated based on the directional placement test result, and the test report is sent to the target communication account corresponding to the preset mode in a preset mode. The test report may be, for example, a test report in a preset format, such as a hypertext Markup Language (html) format, where the preset mode may be, for example, an email mode, and the target communication account may be, for example, an email account, and the preset mode may be, for example, an instant messaging mode, and the target communication account may be, for example, an instant messaging account. The target communication account refers to an account of a target user associated with the target test case, and the target user may be, for example, a tester or a developer of the target test case.
Fig. 2 is a schematic flow chart of an advertisement placement testing method according to an embodiment of the present application. The method is applied to the advertisement test system shown in fig. 1, which can be implemented by the operation terminal 10 in the advertisement test system. In an embodiment of the present application, as shown in fig. 2, the method may include:
and S11, obtaining the directional release content corresponding to the target test case.
The targeted delivery content may be the delivery content created in real time according to the parameters in the target test case, or the delivery content selected based on the target test case from a pre-created database such as a delivery content library. The targeted content may be, for example, the advertisement content of a player class acquired by using a preset advertisement system.
The target test case may be a test case determined from a preset case storage directory by a case selection operation input by a tester, or a test case automatically selected from the preset case storage directory according to a preset case selection rule. The use case selection rule may be a use case selection rule corresponding to a sequence, a delivery type, or other parameters, for example. At least one test case can be stored in the case storage directory, for example.
The target test case may be stored in a preset format, for example, an electronic form format such as an excel format. The preset use case storage directory can be a program data (data) directory corresponding to the advertisement putting test software. Before executing S11, a table corresponding to the target test case may be created in advance under the program data (data) directory by a user, for example, a developer of the test case. The created delivery use case table may include fixed parameters such as names, methods, uniform resource locators (urls), parameter names, parameter values, expected return value names, expected return values, variable names, and variable values. Optionally, the method parameters may include a post request, a get request, and a parameter definition (define). The table corresponding to the target test case may include: at least one sub-table. Each sub-table may store a set of configuration parameters corresponding to the target test case, where the set of configuration parameters at least includes: and a set of configuration parameters corresponding to the target test case. Table 1 below is an example of configuration parameters in a sub-table in the scheme provided in the embodiment of the present application.
TABLE 1
As shown in table 1, the release configuration parameters of the target test case include: fixed parameters such as names, methods, uniform resource locators (url), parameter names, parameter values, expected return value names, expected return values, variable names, variable values, and the like. When the method parameter is the mode (function), the corresponding parameter name and parameter value are input in turn according to the name. And when the name is a new release front label and the method parameter is post, inputting a corresponding expected return name (status) and an expected return value (ok). The corresponding parameter names and parameter values are respectively as follows: name (name), which is directed and then pasted to the content level one channel; string format (order _ id), 8; sales type (sale _ type), 1; price (price), 0; dates (dateperiod); [2019-05-0100:00:00,2029-07-1500: 00:00 ]; product policy (stream _ item), content ("content"); number of sets (adspace _ id), 42.
After S11, it is further determined whether the targeted content is completely acquired, if yes, the following S12 is continuously performed, otherwise, if the targeted content is not completely acquired, an exception prompt message is output to indicate that the targeted content is failed to be acquired.
And S12, generating the information of the test recommendation position according to the release type of the target test case.
The launch type can be used to indicate whether a corresponding directional launch advertisement position is preset in the target test case. For example, the information of the test recommendation bit may be generated by using a recommendation bit generation manner corresponding to the launch type according to the launch type.
Different process configuration files can be provided for different delivery types, and the information of the test recommendation bit is generated in a recommendation bit generation mode corresponding to the different process configuration files. In a possible implementation manner, for example, the process configuration file corresponding to the launch type may be read according to the launch type, and then the information of the test recommendation bit may be generated according to the recommendation bit generation manner corresponding to the process configuration file.
And S13, controlling the test recommendation bit on the application page of the test terminal to execute the click operation through a preset mobile test interface according to the information of the test recommendation bit.
Specifically, the test recommendation position information obtained through the above operations starts the preset application on the test terminal 20 through the preset mobile test interface, and successively traverses and clicks the first-level page navigation, the second-level page navigation and the page block on the preset application until the detail page is entered, and controls the test terminal 20 to display the detail interface of the preset application, so that a tester can click on the detail interface on the test terminal 20, or automatically perform click operation on the position, corresponding to the test recommendation position, on the detail page on the test terminal 20 after the detail page is entered, thereby implementing the traversal click operation of the test recommendation position on the test terminal 20. Wherein the mobile test interface may be an appium interface.
In the traversal clicking process, whether traversal clicking of the test terminal is completed or not needs to be detected, and if the traversal clicking is completed, the preset application on the test terminal can be controlled to be closed through the preset mobile test interface.
For example, after the preset application of the test terminal 20 is started, the channel page is first traversed to find the interface data meeting the requirement, such as page _ block _ list. And then traversing the interface data list to obtain a block data list. And then, traversing the block data list, and judging whether a test recommendation bit exists according to the length of the block list. When the deblocking length is less than 1, the test terminal 20 does not have the test recommendation bit. When the block list is greater than or equal to 1: and generating a block recommendation bit list according to the first element in the block list. The recommended bit list is traversed when the generated tile list length is equal to 1, and then the tile traversal is ended. When the generated block list length is not equal to 1: and traversing the recommendation position list except the block list of the first element, then ending the block traversal, and finding the page where the corresponding advertisement recommendation position is located according to the traversal result.
S14, obtaining the advertisement log generated by clicking the test recommendation position from the application log of the test terminal.
Specifically, when the click operation of the test recommendation bit is performed on the application page on the test terminal 20, an application log corresponding to the test terminal is generated on the operation terminal 10. Therefore, after S13, the operation terminal 10 may generate an application log, and obtain an advertisement log generated by the test from the application log.
And S15, comparing the return result in the advertisement log with the expected return result corresponding to the targeted delivery content to obtain a targeted delivery test result of the target test case, wherein the targeted delivery test result is used for indicating whether the test recommendation position plays the targeted delivery content on the application interface of the test terminal.
After the advertisement log is obtained, whether the advertisement log meets the launching requirement corresponding to the target test case or not is judged by comparing the return result in the advertisement log with the expected return result corresponding to the targeted launching content.
Optionally, if the comparison between the returned result in the advertisement log and the expected returned result corresponding to the targeted delivery content is consistent, it may be determined that the targeted delivery test result is a test pass, and may be used to indicate that the targeted delivery content is played on a test recommendation position on an application interface of the test terminal; on the contrary, if the comparison between the return result in the advertisement log and the expected return result corresponding to the targeted delivery content is inconsistent, it can be determined that the targeted delivery test result is not tested and passed, and the method can be used for indicating that the targeted delivery content is not played on the test recommendation position on the application interface of the test terminal.
For example, after the test position is recommended to the test terminal through the above S13 and the click operation is performed, the operation terminal may obtain an expected return value (mid) returned by the click module through the placement creation module, that is, the expected return value (mid) may be used as an expected return result corresponding to the targeted content, and after the advertisement log is obtained, may further obtain a click return parameter corresponding to the test recommendation position, that is, the placement result in the advertisement log.
For example, fig. 3 is a schematic flowchart of another advertisement placement testing method provided in the embodiment of the present application; the log comparison can be performed in the manner of fig. 3.
Specifically, S141, all log files are acquired from the operation terminal 10. Wherein, the log file comprises an advertisement putting test log generated in the advertisement putting test process.
S142, according to the delivered advertisement ID, the log generated in the advertisement delivery test process is searched.
And S143, analyzing and reading the advertisement putting test log.
Specifically, the obtained advertisement placement test log is read and analyzed to obtain parameter information generated in the advertisement placement test process.
S143, comparing the parameters in the advertisement putting test log according to the preset expected value.
Wherein, the parameters in the advertisement placement test log may include: ad spot location information, placement ID, material name, etc.
And S145, obtaining a comparison result. And comparing the preset expected value with the parameters in the advertisement putting test log to obtain a comparison result, if the results are not equal, displaying abnormal throwing, and if the results are equal, finishing the comparison.
To sum up, the advertisement placement testing method provided by the embodiment of the present application may include: acquiring directional release content corresponding to the target test case, and generating information of a test recommendation position according to the release type of the target test case; then, according to the information of the test recommendation bit, clicking the test recommendation bit on the application page of the test terminal through a preset mobile test interface; then, acquiring an advertisement log generated by clicking a test recommendation position from an application log of the test terminal; and comparing the return result in the advertisement log with an expected return result corresponding to the targeted delivery content to obtain a targeted delivery test result of the target test case, wherein the targeted delivery test result is used for indicating whether the test recommendation position on the application interface of the test terminal plays the targeted delivery content or not. And automatic test of advertisement putting is realized. The method and the system can uniformly and efficiently create the advertisement, obtain the recommendation positions, click the terminal and judge the advertisement correctness, and greatly improve the flexibility, the integrity, the tightness and the test efficiency of the advertisement system test.
Further, in an implementation manner, the obtaining of the targeted release content corresponding to the target test case may include:
and creating directional release content according to the release configuration parameters in the target test case.
Fig. 4 is a flowchart illustrating another advertisement placement testing method provided by an embodiment of the present application, and the following creation of targeted placement content may be performed by a placement creation module in advertisement placement testing software. As shown in fig. 4, the creation of targeted content may be implemented, for example, by:
and S110, reading the release configuration parameters.
Reading the delivery configuration parameters may include: name, method, uniform resource locator (url), parameter name, parameter value, expected return value name, expected return value, variable name, variable value.
And S111, determining a request method according to a method field in the release configuration parameters.
The request method may be a post request or a get request.
And S112, executing the request by adopting a request method.
Wherein: if the request method is a post request, whether a Content Type field in the release configuration parameter is a preset field such as an application field or a Json format can be judged, and if the Content Type field is not the preset field, abnormal prompt information is sent; if the content type field is the preset field, a post request can be executed, parameters such as a uniform resource locator (url), a navigation bar (headers) and data (data) in the release configuration parameters are read, and the parameters are sent by a post request method.
And when the request method is a get request, executing the get method, reading the url and the parameter value (parameter) in the delivery configuration parameters, and sending the read url and the parameter value to a recommendation position acquisition module in the advertisement delivery test software by the get request method.
And S113, verifying whether the request is correct according to the expected return value in the release configuration parameters and the return value after the request is executed.
Specifically, if the request method is a post request, after the post request is executed, a return value obtained by executing the post request and an expected return value in the release configuration parameter are read. And secondly, judging whether the return value obtained by executing the post request meets the correct standard or not according to the expected return value, if not, sending abnormal prompt information, if so, reading a global variable in the release configuration parameter, and then calling an end (finish) method in the release configuration parameter to process the return value obtained by executing the post request.
If the method parameter is a get request, after the get request is executed, a return value obtained by executing the get request and an expected return value in the release configuration parameter are read. Secondly, judging whether the return value obtained by executing the get request meets the correct standard or not according to the expected return value; if not, the exception is thrown, if yes, a read variable (readVariable) is called to read the global variable, and then an end (finish) method is used to process a return value obtained by executing the get request.
In the method provided by this embodiment, by reading the delivery configuration parameters in the table and verifying the return value after the request executed by the request method determined based on the delivery configuration parameters, the correctness of the data can be ensured, and then a large amount of deliveries can be quickly created according to the parameters.
Optionally, in the process of creating the targeted delivery content, the parameter name and the parameter value of a definition (define) keyword in the delivery configuration parameter may be read, and by determining whether the parameter name and the parameter value are empty characters, whether the parameter name and the parameter value are in an array format, removing a blank space, and the like, the data correctness of the delivery configuration parameter is maintained, so that the targeted delivery content can be created and directly read and referred.
In another possible implementation manner, the obtaining of the targeted delivery content corresponding to the target test case may include:
and acquiring the pre-created directional delivery content according to the identification of the target test case.
Specifically, according to the implementation manner of creating the targeted delivery content, the corresponding targeted delivery content may be created in advance based on the delivery configuration parameters in the multiple test cases, and stored in a preset delivery content library. In the test process, the targeted release content corresponding to the target test case is inquired from a preset release content library only according to the identification of the target test case, so that convenience is provided for advertisement release maintenance and test, and the advertisement release test efficiency is improved.
Further, fig. 5 is a schematic flow chart of another advertisement placement testing method provided in the embodiment of the present application, and as shown in fig. 5, the obtaining information of the test recommendation position according to the placement type of the target test case further includes:
and S120, acquiring information of various types of recommendation bits corresponding to the release types.
The recommendation bits of multiple types may be information of recommendation bits of multiple program types, and the recommendation bit of each program type may include multiple recommendation bits.
S121, randomly selecting one recommendation bit from each type of recommendation bits as a test recommendation bit.
Specifically, according to different set launching strategies, different parameters are compared, and whether the parameters are the same as the parameters for creating launching orientation is judged. And meanwhile, searching the page where the program set is located and navigating upwards according to the contentld, filtering data which do not meet the conditions, finding out a meeting recommendation position, and then transmitting the meeting recommendation position to a click module according to a required format to generate a test recommendation position.
In one implementation, when the placement type is a first placement type, that is, a placement type of a known ad slot:
and acquiring information of various types of recommendation bits corresponding to the first release type from the terminal recommendation bit parameters in the target test case.
Besides the above implementation manners, there are two other implementation manners, and it is necessary to obtain information of multiple types of recommendation bits corresponding to the delivery type from the content management system by sequentially calling at least one access interface corresponding to the application interface.
Specifically, the data of the recommendation bit is acquired from a Content Management System (CMS) through traversing a navigation interface, a page interface, and a Content interface, and incorrect data Content is filtered in the acquisition process, for example: a block which can not be clicked, a navigation page containing a logo (logo), a focus recommendation position, a pay program, a program below a program set less than 3, on-demand, live broadcast, carousel and the like. And finally, obtaining corresponding recommendation bit information of various types.
Firstly, calling a navigation interface to acquire all page identity identification numbers (IDs) and page titles (titles) corresponding to the page IDs. After the ID acquired in the previous step is taken out, a layout code (layout code), a content type (contentType), a component code (cellCode), and a file name (contentld) are acquired. And processing the contentld according to the format required by the interface, and sending a hypertext transfer protocol (http) request to the content interface. Then obtaining in the content interface return data: contentType, video type (videoType), member code (vipFlag), video data (videoClass), and type name (categoryIDs). And calling a tree interface to acquire all IDs, and comparing the ID value with the categoryIDs acquired in the last step. The categoryIDs are not unique, and the ID value is the same as one of them. When the values are not equal, displaying throwing abnormity; and when the number of the columns is equal, performing reverse check upwards on the column tree interface according to the ID, and finding a higher-level ID value corresponding to the ID, namely the ID value of the first-level column set for delivery.
In the other two implementation manners, when the placement type is a second placement type, that is, the second placement type is an unknown ad spot, but the number of ad spots in the placement page is known, the obtaining information of the recommended spots corresponding to the placement types includes:
and sequentially calling at least one access interface corresponding to the application interface, and acquiring information of multiple types of recommendation bits corresponding to the second delivery type from the content management system.
And under the condition that the release type is a second release type, sequentially calling at least one access interface, acquiring at least one page parameter corresponding to the second release type, and acquiring information of multiple types of recommendation bits corresponding to the second release type based on the at least one page parameter corresponding to the second release type.
For example, a navigation interface, a page interface, and a content interface in the application interface may be sequentially called to obtain a page configuration ID, a page ID, and a column, a category, and a channel parameter from the navigation interface, the page interface, and the content interface, information of a target recommendation position corresponding to the second launch type is obtained from the content management system based on the page configuration ID, the page ID, and the column, the category, and the channel parameter, and then recommendation positions of four program types are found from information of the target recommendation position corresponding to the second launch type according to the launch configuration parameter, that is, information of multiple types of recommendation positions corresponding to the second launch type. Under the condition of obtaining the four program types, the recommendation bit of each program type is randomly selected and returned to the click module as a test recommendation bit. The four program types include: programs, program collections, television columns, and television collections.
In the other two implementation manners, when the placement type is a third placement type, that is, the third placement type is an unknown ad spot, but the type of the recommendation spot in the placement page is known, the obtaining information of the recommendation spot corresponding to the placement type includes:
and sequentially calling at least one access interface corresponding to the application interface, and acquiring information of multiple types of recommendation bits corresponding to the third delivery type from the content management system.
And under the condition that the release type is a third release type, sequentially calling at least one access interface, acquiring at least one page parameter corresponding to the third release type, and acquiring information of multiple types of recommendation positions corresponding to the third release type based on the at least one page parameter corresponding to the third release type.
For example, a navigation interface, a page interface, and a content interface in an application interface may be sequentially called to obtain a page configuration ID, a page ID, and a content classification parameter from the navigation interface, the page interface, and the content interface, information of a target recommendation position corresponding to the third launch type is obtained from the content management system based on the page configuration ID, the page ID, and the content classification parameter, and then recommendation positions of four program types, that is, information of multiple types of recommendation positions corresponding to the third launch type, are found from information of the target recommendation position corresponding to the third launch type according to the launch configuration parameter. Under the condition of obtaining the four program types, the recommendation bit of each program type is randomly selected and returned to the click module as a test recommendation bit. The four program types include: programs, program collections, television columns, and television collections.
Specifically, the difference between the second launch type and the third launch type is as follows: after the navigation interface, the page interface and the content interface in the application interface are called in sequence, parameters obtained from the navigation interface, the page interface and the content interface are different. The second delivery type obtains a page configuration ID, a page ID, column, classification and channel parameters by sequentially calling a navigation interface, a page interface and a content interface in an application interface, and the third delivery type obtains the page configuration ID, the page ID and the content classification parameters by sequentially calling the navigation interface, the page interface and the content interface in the application interface.
Optionally, in the present application, after the test is performed in the test terminal 20, the directional drop test result of the target test case of the operation terminal 10 is transmitted to the console 30 in a communication manner, so that after the console 30 obtains the directional drop test result, a test report is generated based on the directional drop test result, and the test report is sent to the target communication account corresponding to the preset mode in a preset mode. Second, the console 30 may also present test reports to the user.
Fig. 6 is a functional module schematic diagram of an advertisement placement testing apparatus according to an embodiment of the present application, the basic principle and the generated technical effect of the apparatus are the same as those of the foregoing corresponding method embodiment, and for brief description, the corresponding contents in the method embodiment may be referred to for parts not mentioned in this embodiment.
As shown in fig. 6, the apparatus 100 includes: a first obtaining module 110, a second obtaining module 120, a clicking module 130, a third obtaining module 140, and a comparing module 150.
Wherein: a first obtaining module 110, configured to obtain targeted release content corresponding to a target test case;
the second obtaining module 120 is configured to generate information of a test recommendation bit according to the release type of the target test case;
the clicking module 130 is configured to click a test recommendation bit on an application page of the test terminal through a preset mobile test interface according to the information of the test recommendation bit;
a third obtaining module 140, configured to obtain an advertisement log generated by clicking a test recommendation position from an application log of the test terminal;
and the comparison module 150 is configured to compare the return result in the advertisement log with an expected return result corresponding to the targeted delivery content to obtain a targeted delivery test result of the target test case, where the targeted delivery test result is used to indicate whether the test recommendation position plays the targeted delivery content on the application interface of the test terminal.
Fig. 7 is a functional module schematic diagram of another advertisement placement testing apparatus according to an embodiment of the present application. Optionally, as shown in fig. 7, the apparatus 100 further includes: a fourth obtaining module 160, configured to obtain information of multiple types of recommendation slots corresponding to the first delivery type from the terminal recommendation slot parameters in the target test case when the delivery type is the first delivery type, that is, the delivery type of a known advertisement slot.
Fig. 8 is a functional module schematic diagram of another advertisement placement testing apparatus according to an embodiment of the present application. Optionally, as shown in fig. 8, the apparatus 100 further includes: a fifth obtaining module 170, configured to, when the advertisement type is a second advertisement type, that is, an unknown advertisement slot, but the number of advertisement slots in the advertisement page is a known type, sequentially invoke at least one access interface corresponding to the application interface, and obtain information of multiple types of recommendation slots corresponding to the second advertisement type from the content management system.
Fig. 9 is a functional module schematic diagram of another advertisement placement testing apparatus according to an embodiment of the present application. Optionally, as shown in fig. 9, the apparatus 100 further includes: a sixth obtaining module 180, configured to, when the launch type is a third launch type, that is, an unknown advertisement slot, but the type of the recommendation slot in the launch page is a known type, sequentially invoke at least one access interface corresponding to the application interface, and obtain information of multiple types of recommendation slots corresponding to the third launch type from the content management system.
Fig. 10 is a functional module schematic diagram of another advertisement placement testing apparatus according to an embodiment of the present application. Optionally, as shown in fig. 10, the apparatus 100 further includes: the transmission module 190 is configured to transmit the directional launch test result to a console, so that the console generates a test report of a target test case based on the directional launch test result.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device may be an operation terminal installed with advertisement delivery test software. As shown in fig. 11, the electronic device may include: the processor 410 is connected with an audio acquisition device, the storage medium 420 stores a computer program executable by the processor 410, when the electronic device runs, the processor 410 communicates with the storage medium 420 through the bus 430, and the processor 410 executes the computer program, so as to implement the advertisement placement testing method of the above method embodiment. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application further provides a storage medium, where a computer program is stored on the storage medium, and the computer program is executed by the processor to perform the steps of the advertisement placement testing method. The specific implementation and technical effects are similar, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications and equivalents of the technical solutions that can be directly or indirectly applied to other related fields without departing from the spirit of the present application are intended to be included in the scope of the present application.
Claims (10)
1. An advertisement placement testing method, comprising:
acquiring directional release content corresponding to a target test case;
acquiring information of a test recommendation position according to the release type of the target test case;
controlling the test recommending position on the application page of the test terminal to execute a clicking operation through a preset mobile test interface according to the information of the test recommending position;
obtaining an advertisement log generated by clicking the test recommendation position from an application log of the test terminal;
and comparing the return result in the advertisement log with an expected return result corresponding to the targeted delivery content to obtain a targeted delivery test result of the target test case, wherein the targeted delivery test result is used for indicating whether the test recommendation position on an application interface of the test terminal plays the targeted delivery content or not.
2. The method according to claim 1, wherein the obtaining targeted delivery content corresponding to the target test case comprises:
creating the directional release content according to the release configuration parameters in the target test case; or,
and acquiring the pre-created directional delivery content according to the identification of the target test case.
3. The method according to claim 1, wherein the obtaining information of a test recommendation bit according to the release type of the target test case comprises:
acquiring information of various types of recommendation positions corresponding to the release types;
randomly selecting one recommendation bit from each type of recommendation bits as the test recommendation bit.
4. The method of claim 3, wherein if the placement type is a first placement type, the first placement type is a placement type of a known ad slot; the obtaining of the information of the recommendation bits of the plurality of types corresponding to the release type includes:
and acquiring information of various types of recommendation bits corresponding to the first release type from the terminal recommendation bit parameters in the target test case.
5. The method of claim 3, wherein if the impression type is a second impression type, the second impression type is an unknown ad spot, but the number of ad spots in an impression page is known; the obtaining of the information of the recommendation position corresponding to the release type includes:
and sequentially calling at least one access interface corresponding to the application interface, and acquiring information of multiple types of recommendation positions corresponding to the second delivery type from a content management system.
6. The method of claim 3, wherein if the impression type is a third impression type, the third impression type is an unknown ad spot, but the type of a recommended spot in an impression page is known; the obtaining of the information of the recommendation position corresponding to the release type includes:
and sequentially calling at least one access interface corresponding to the application interface, and acquiring information of multiple types of recommendation positions corresponding to the third delivery type from a content management system.
7. The method according to any one of claims 1-6, further comprising:
and transmitting the directional launching test result to a console, so that the console generates a test report of the target test case based on the directional launching test result.
8. An advertisement placement testing device, comprising:
the first acquisition module is used for acquiring the directional release content corresponding to the target test case;
the second acquisition module is used for generating information of a test recommendation position according to the release type of the target test case;
the clicking module is used for clicking the test recommending position on the application page of the test terminal through a preset mobile test interface according to the information of the test recommending position;
the third acquisition module is used for acquiring an advertisement log generated by clicking the test recommendation position from an application log of the test terminal;
and the comparison module is used for comparing a return result in the advertisement log with an expected return result corresponding to the targeted delivery content to obtain a targeted delivery test result of the target test case, wherein the targeted delivery test result is used for indicating whether the test recommendation position plays the targeted delivery content on an application interface of the test terminal.
9. An advertisement placement testing device, comprising: the device comprises a memory and a processor, wherein the processor is connected with an audio acquisition device, the memory stores a computer program executable by the processor, and the processor realizes the advertisement placement test method of any one of the claims 1-7 when executing the computer program.
10. A storage medium having stored thereon a computer program which, when read and executed, implements the advertisement placement testing method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011491743.5A CN112488769B (en) | 2020-12-16 | 2020-12-16 | Advertisement putting test method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011491743.5A CN112488769B (en) | 2020-12-16 | 2020-12-16 | Advertisement putting test method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112488769A true CN112488769A (en) | 2021-03-12 |
CN112488769B CN112488769B (en) | 2022-11-22 |
Family
ID=74916572
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011491743.5A Active CN112488769B (en) | 2020-12-16 | 2020-12-16 | Advertisement putting test method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112488769B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112950289A (en) * | 2021-03-31 | 2021-06-11 | 北京奇艺世纪科技有限公司 | Advertisement putting processing method and device, electronic equipment and readable storage medium |
CN112990979A (en) * | 2021-04-01 | 2021-06-18 | 上海哔哩哔哩科技有限公司 | Data processing method and device |
CN113723992A (en) * | 2021-08-13 | 2021-11-30 | 北京奇艺世纪科技有限公司 | Method, device and equipment for constructing advertisement request and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107066386A (en) * | 2017-04-12 | 2017-08-18 | 合网络技术(北京)有限公司 | The method of testing and system of a kind of video ads |
CN108062678A (en) * | 2016-11-08 | 2018-05-22 | 阿里巴巴集团控股有限公司 | A kind of advertisement bit allocation method, device and advertisement delivery system |
CN110891197A (en) * | 2019-11-27 | 2020-03-17 | 秒针信息技术有限公司 | Video advertisement putting condition detection method and device, electronic equipment and storage medium |
CN110968511A (en) * | 2019-11-29 | 2020-04-07 | 车智互联(北京)科技有限公司 | Recommendation engine testing method, device, computing equipment and system |
US20200226637A1 (en) * | 2019-01-10 | 2020-07-16 | Baidu Online Network Technology (Beijing) Co., Ltd. | Recommendation method and apparatus for delivery resource of outdoor advertisement, and storage medium |
CN112016953A (en) * | 2020-07-08 | 2020-12-01 | 北京新意互动数字技术有限公司 | Method and system for automatically detecting network advertisement putting state |
-
2020
- 2020-12-16 CN CN202011491743.5A patent/CN112488769B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108062678A (en) * | 2016-11-08 | 2018-05-22 | 阿里巴巴集团控股有限公司 | A kind of advertisement bit allocation method, device and advertisement delivery system |
CN107066386A (en) * | 2017-04-12 | 2017-08-18 | 合网络技术(北京)有限公司 | The method of testing and system of a kind of video ads |
US20200226637A1 (en) * | 2019-01-10 | 2020-07-16 | Baidu Online Network Technology (Beijing) Co., Ltd. | Recommendation method and apparatus for delivery resource of outdoor advertisement, and storage medium |
CN110891197A (en) * | 2019-11-27 | 2020-03-17 | 秒针信息技术有限公司 | Video advertisement putting condition detection method and device, electronic equipment and storage medium |
CN110968511A (en) * | 2019-11-29 | 2020-04-07 | 车智互联(北京)科技有限公司 | Recommendation engine testing method, device, computing equipment and system |
CN112016953A (en) * | 2020-07-08 | 2020-12-01 | 北京新意互动数字技术有限公司 | Method and system for automatically detecting network advertisement putting state |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112950289A (en) * | 2021-03-31 | 2021-06-11 | 北京奇艺世纪科技有限公司 | Advertisement putting processing method and device, electronic equipment and readable storage medium |
CN112990979A (en) * | 2021-04-01 | 2021-06-18 | 上海哔哩哔哩科技有限公司 | Data processing method and device |
CN113723992A (en) * | 2021-08-13 | 2021-11-30 | 北京奇艺世纪科技有限公司 | Method, device and equipment for constructing advertisement request and storage medium |
CN113723992B (en) * | 2021-08-13 | 2023-08-22 | 北京奇艺世纪科技有限公司 | Advertisement request construction method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112488769B (en) | 2022-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112488769B (en) | Advertisement putting test method, device, equipment and storage medium | |
CN106649316B (en) | Video pushing method and device | |
CN112100052B (en) | Playback method and device of interface test scene | |
CN107633433B (en) | Advertisement auditing method and device | |
CN111563041B (en) | Test case on-demand accurate execution method | |
CN109167816A (en) | Information-pushing method, device, equipment and storage medium | |
CN107133165B (en) | Browser compatibility detection method and device | |
CN109358898B (en) | Information processing method and device, electronic equipment and storage medium | |
CN111400586A (en) | Group display method, terminal, server, system and storage medium | |
CN112433991A (en) | Problem positioning method and device | |
US10241957B2 (en) | Workload patterns for realistic load recreation in performance testing | |
CN112035412A (en) | Data file importing method, device, storage medium and device | |
CN110569429A (en) | method, device and equipment for generating content selection model | |
CN112306870A (en) | Data processing method and device based on live APP | |
CN116155597A (en) | Access request processing method and device and computer equipment | |
CN112542166B (en) | Voice interaction method and device | |
CN111459817B (en) | Method and device for checking program execution code | |
CN111104328B (en) | Use case generation method and device, computer equipment and readable storage medium | |
CN113515436A (en) | Interface testing method and device | |
CN110704729A (en) | Application search method and cloud server | |
CN115203057B (en) | Low code test automation method, device, equipment and storage medium | |
CN112181414B (en) | Data processing method and device, electronic equipment and storage medium | |
CN106920117A (en) | Deliver the method and device of promotion message | |
US8874971B1 (en) | Detecting and reporting problems in a distributed resource computing system | |
CN113723720B (en) | Page browsing quality evaluation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |