CN113723992B - Advertisement request construction method, device, equipment and storage medium - Google Patents

Advertisement request construction method, device, equipment and storage medium Download PDF

Info

Publication number
CN113723992B
CN113723992B CN202110932382.1A CN202110932382A CN113723992B CN 113723992 B CN113723992 B CN 113723992B CN 202110932382 A CN202110932382 A CN 202110932382A CN 113723992 B CN113723992 B CN 113723992B
Authority
CN
China
Prior art keywords
advertisement
data
request
constructing
orientation
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.)
Active
Application number
CN202110932382.1A
Other languages
Chinese (zh)
Other versions
CN113723992A (en
Inventor
马舒婕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202110932382.1A priority Critical patent/CN113723992B/en
Publication of CN113723992A publication Critical patent/CN113723992A/en
Application granted granted Critical
Publication of CN113723992B publication Critical patent/CN113723992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0269Targeted advertisements based on user profile or attribute
    • G06Q30/0271Personalized advertisement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0272Period of advertisement exposure

Abstract

The embodiment of the invention provides a construction method, a device, equipment and a storage medium of an advertisement request, wherein the method comprises the following steps: the method comprises the steps of acquiring data of an order, and acquiring configuration data of an advertisement engine for carrying out recall test on the advertisement order, wherein the configuration data comprises at least one preset advertisement putting condition, and the advertisement putting condition is a condition which can be met by an advertisement put by the advertisement engine; analyzing the data of the advertisement order to at least obtain analysis data for constructing the advertisement request; at least one advertisement request is constructed based on the parsed data and the at least one advertisement placement condition. Therefore, the advertisement request can be automatically constructed, the construction efficiency of the advertisement request is improved, and a foundation is laid for improving the test efficiency of the advertisement engine.

Description

Advertisement request construction method, device, equipment and storage medium
Technical Field
The present invention relates to the field of testing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for constructing an advertisement request.
Background
The advertisement engine may provide services for delivering advertisements to advertisers. Before the advertisement engine is on line, under the condition of advertisement business iteration and the like, the advertisement engine needs to be tested so as to improve the accuracy of the service. When the advertisement engine is tested, the advertisement request from the advertisement front end under different scenes can be simulated and responded, and according to debugging node information (namely log information generated in different processing stages) generated in the process of responding to the advertisement request by the advertisement engine, logic testing of different processing stages is performed, for example, logic testing is performed on different processing stages such as preliminary screening, sorting, bidding and the like which are passed in the recall process of the advertisement when responding to the advertisement request. Logic testing at different processing stages is performed for various advertisement forms such as information flow, patch, pause, focus map, and the like.
Constructing an advertisement request is an important element in the testing process of the advertisement engine. In the related art, a method for constructing advertisement requests mainly includes capturing actual advertisement requests of different advertisement positions, different channels, different versions and the like at the front end of an advertisement, and then obtaining the constructed advertisement request based on the captured actual advertisement requests by mock (i.e. for some objects which are not easy to construct or are not easy to obtain, a virtual object is used for creating so as to test) custom parameters (i.e. the values of parameters in the custom captured advertisement requests) or writing parameters which need to be matched (i.e. adding parameters which need to be matched in the captured advertisement requests). The composed ad request is then sent to the ad engine for testing.
However, in the face of rapid iteration of the advertisement business, the above efficiency of constructing the advertisement request cannot meet the actual requirement, because a lot of accurate work needs to be done manually before constructing the advertisement request, for example, a tester needs to contact a technical team to modify the values of parameters in the actual advertisement request that is grabbed, and contact the technical team to write the parameters that need to be matched, the whole preparation process is serious in time consumption, complex in execution steps, difficult in scene construction, and increased communication cost across teams, resulting in low efficiency of constructing the advertisement request and further low efficiency of testing.
Disclosure of Invention
The embodiment of the invention aims to provide a construction method, a device, equipment and a storage medium of an advertisement request, so as to improve the construction efficiency of the advertisement request and lay a foundation for improving the test efficiency of an advertisement engine. The specific technical scheme is as follows:
in a first aspect of the present invention, there is provided a method for constructing an advertisement request, including:
when a construction request for constructing an advertisement request for an advertisement order to be recalled is received, acquiring data of the advertisement order, and acquiring configuration data of an advertisement engine for recalling the advertisement order, wherein the configuration data comprises at least one preset advertisement putting condition which can be met by an advertisement put by the advertisement engine;
analyzing the data of the advertisement order to at least obtain analysis data for constructing the advertisement request;
at least one advertisement request is constructed based on the parsed data and the at least one advertisement placement condition.
In one embodiment, the parsed data includes at least first parsed data for advertisement targeting and second parsed data for matching the at least one advertisement placement condition;
Said constructing at least one advertisement request based on said parsed data and said at least one advertisement delivery condition, comprising:
at least one advertisement request is constructed based on the first parsed data, the second parsed data, and the at least one advertisement delivery condition.
In one embodiment, the advertisement placement conditions include advertisement placement conditions of an advertisement slot;
the constructing at least one advertisement request based on the first parsing data, the second parsing data and the at least one advertisement delivery condition includes:
determining available advertisement positions corresponding to the advertisement orders based on the second analysis data and the at least one advertisement putting condition to obtain an advertisement position set;
for each of the available ad slots in the set of ad slots, constructing at least one ad request corresponding to the available ad slot based on the first parsed data.
In one embodiment, the advertisement putting condition of the advertisement space includes a mapping relationship between first advertisement space information and first constraint condition information, and the second analysis data includes second advertisement space information and second constraint condition information;
the determining, based on the second analysis data and the at least one advertisement delivery condition, an available advertisement space corresponding to the advertisement order, to obtain an advertisement space set, includes:
Matching the mapping relation with the second analysis data aiming at each mapping relation, and if the first constraint condition information corresponding to the first advertisement position information in the mapping relation is matched with the second constraint condition information corresponding to the second advertisement position information in the second analysis data, taking the advertisement position corresponding to the first advertisement position information as an available advertisement position;
and obtaining the advertisement space set based on the obtained available advertisement space.
In one embodiment, the first parsed data includes at least one orientation attribute;
the constructing at least one advertisement request corresponding to the available advertisement space based on the first parsing data includes:
constructing parameters corresponding to the available advertisement positions;
constructing a parameter corresponding to the orientation attribute for each orientation attribute in the first analysis data, wherein the value of the parameter of the orientation attribute comprises at least one value;
obtaining at least one parameter set based on the parameters corresponding to the available advertisement positions and the parameters corresponding to all the orientation attributes, wherein each parameter set at least comprises the parameters corresponding to the available advertisement positions and the parameters corresponding to all the orientation attributes, and the values of the parameters corresponding to all the orientation attributes in different parameter sets are not completely the same;
Based on at least the parameter set, obtaining an advertisement request corresponding to the parameter set;
and obtaining at least one advertisement request corresponding to the available advertisement space based on the advertisement request corresponding to the at least one parameter group.
In one embodiment, the categories of the orientation attribute include a plurality of categories;
the constructing, for each of the orientation attributes in the first parsing data, a parameter corresponding to the orientation attribute includes:
and aiming at the directional attribute of each category, adopting a strategy corresponding to the current category to construct parameters corresponding to the directional attribute in the current category.
In one embodiment, if the category of the orientation attribute includes audio and video resource orientation, the constructing the parameter corresponding to the orientation attribute in the current category includes:
acquiring identification information of an audio and video resource matched with the attribute value of the orientation attribute in the audio and video resource orientation;
and taking the identification information of the audio and video resource as the value of the parameter corresponding to the orientation attribute.
In one embodiment, the method further comprises:
and outputting the at least one advertisement request to a test end of the advertisement engine through an interface call or a visual interface so that the test end carries out recall test on the advertisement order based on the advertisement request.
In a second aspect of the present invention, there is also provided an apparatus for constructing an advertisement request, including:
the system comprises an acquisition module, a recall test module and a recall test module, wherein the acquisition module is used for acquiring data of an advertisement order when receiving a construction request for constructing the advertisement request for the advertisement order to be recalled, and acquiring configuration data of an advertisement engine for recalling the advertisement order, wherein the configuration data comprises at least one preset advertisement putting condition which can be met by an advertisement put by the advertisement engine;
the analysis module is used for analyzing the data of the advertisement order and at least obtaining analysis data for constructing the advertisement request;
and a construction module for constructing at least one advertisement request based on the parsing data and the at least one advertisement delivery condition.
In one embodiment, the parsed data includes at least first parsed data for advertisement targeting and second parsed data for matching the at least one advertisement placement condition;
the construction module is specifically used for:
at least one advertisement request is constructed based on the first parsed data, the second parsed data, and the at least one advertisement delivery condition.
In one embodiment, the advertisement placement conditions include advertisement placement conditions of an advertisement slot;
the construction module is specifically used for:
determining available advertisement positions corresponding to the advertisement orders based on the second analysis data and the at least one advertisement putting condition to obtain an advertisement position set;
for each of the available ad slots in the set of ad slots, constructing at least one ad request corresponding to the available ad slot based on the first parsed data.
In one embodiment, the advertisement putting condition of the advertisement space includes a mapping relationship between first advertisement space information and first constraint condition information, and the second analysis data includes second advertisement space information and second constraint condition information;
the construction module is specifically used for:
matching the mapping relation with the second analysis data aiming at each mapping relation, and if the first constraint condition information corresponding to the first advertisement position information in the mapping relation is matched with the second constraint condition information corresponding to the second advertisement position information in the second analysis data, taking the advertisement position corresponding to the first advertisement position information as an available advertisement position;
And obtaining the advertisement space set based on the obtained available advertisement space.
In one embodiment, the first parsed data includes at least one orientation attribute;
the construction module is specifically used for:
constructing parameters corresponding to the available advertisement positions;
constructing a parameter corresponding to the orientation attribute for each orientation attribute in the first analysis data, wherein the value of the parameter of the orientation attribute comprises at least one value;
obtaining at least one parameter set based on the parameters corresponding to the available advertisement positions and the parameters corresponding to all the orientation attributes, wherein each parameter set at least comprises the parameters corresponding to the available advertisement positions and the parameters corresponding to all the orientation attributes, and the values of the parameters corresponding to all the orientation attributes in different parameter sets are not completely the same;
based on at least the parameter set, obtaining an advertisement request corresponding to the parameter set;
and obtaining at least one advertisement request corresponding to the available advertisement space based on the advertisement request corresponding to the at least one parameter group.
In one embodiment, the categories of the orientation attribute include a plurality of categories;
the construction module is specifically used for:
And aiming at the directional attribute of each category, adopting a strategy corresponding to the current category to construct parameters corresponding to the directional attribute in the current category.
In one embodiment, if the category of the orientation attribute includes audio and video resource orientation, the construction module is specifically configured to:
acquiring identification information of an audio and video resource matched with the attribute value of the orientation attribute in the audio and video resource orientation;
and taking the identification information of the audio and video resource as the value of the parameter corresponding to the orientation attribute.
In one embodiment, the method further comprises:
and the output module is used for calling or visualizing the interface through the interface to output the at least one advertisement request to the test end of the advertisement engine so that the test end can carry out recall test on the advertisement order based on the advertisement request.
In yet another aspect of the present invention, there is also provided an electronic device including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory perform communication with each other through the communication bus;
a memory for storing a computer program;
and a processor for implementing any of the above-described method steps when executing a program stored on the memory.
In yet another aspect of the present invention, there is also provided a computer readable storage medium having stored thereon a computer program which when executed by a processor implements a method as described in any of the above.
In yet another aspect of the invention, there is also provided a computer program product containing instructions that, when run on a computer, cause the computer to perform the method of constructing an advertisement request as described in any one of the above.
According to the construction method, the device, the equipment and the storage medium for the advertisement request, when the construction request for constructing the advertisement request for the advertisement order to be recalled is received, one or more advertisement requests are constructed based on the analyzed data of the advertisement order and the advertisement putting condition of the advertisement engine by acquiring the data of the advertisement order to be recalled and the advertisement putting condition of the advertisement engine, so that the automatic construction of the advertisement request is realized, because the data of the advertisement order for constructing the advertisement request and the advertisement putting condition are all the existing data which are automatically acquired, one or more advertisement requests which can meet the recall test requirement of the advertisement order can be automatically constructed without needing to do a large amount of preparation work by manpower, compared with the mode of capturing one advertisement request from the front end of the advertisement and doing a large amount of preparation work by manpower in the related art to construct the advertisement request, the manual intervention is reduced, the problems of serious time consumption, complex execution steps, difficult scene construction and communication cost crossing teams are avoided, the efficiency of constructing the advertisement request is improved, the following test engine is improved, the necessary test engine is simplified, the necessary test item is provided for meeting the whole test requirements of the advertisement engine is guaranteed, and the necessary test item is required to be delivered, and the necessary test item is guaranteed.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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.
Fig. 1 is a system architecture diagram in an embodiment of the present invention.
Fig. 2 is a flowchart of a method for constructing an advertisement request according to an embodiment of the present invention.
FIG. 3 is a flow chart of a method of constructing an advertisement request in an embodiment of the present invention.
Fig. 4 is a flowchart of a method for constructing an advertisement request according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an apparatus for constructing advertisement requests according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an apparatus for constructing advertisement requests according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of an electronic device for implementing a construction method of an advertisement request according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
Fig. 1 is a system architecture diagram in an embodiment of the present invention. Based on the system architecture shown in fig. 1, the embodiment of the invention provides a construction method of an advertisement request, which can automatically construct the advertisement request, improves the construction efficiency of the advertisement request and lays a foundation for improving the test efficiency of an advertisement engine. As shown in FIG. 1, the system architecture comprises an advertisement delivery platform, an advertisement engine, an advertisement front end and a testing end (i.e. a testing tool). In practical application, when an advertiser has an advertisement demand under the condition that the advertisement engine is on line, an advertisement order can be placed through the advertisement delivery platform, the advertisement front end can send an advertisement request to the advertisement engine, the advertisement engine receives the advertisement request, and the advertisement of the advertisement order placed by the advertiser can be returned to the advertisement front end, so that a user of the advertisement front end can see the advertisement. Advertisement targeting, i.e., screening of advertisement audience. In practical application, for an advertisement engine, a large number of advertisements need to be accurately put according to advertisement orientation, and the advertisement engine needs to recall proper advertisements for users at the front end of the advertisement sending an advertisement request from the large number of advertisements according to certain advertisement recall logic. If the user at the front end of the advertisement belongs to the scope of the advertisement targeting corresponding to a certain advertisement order, the advertisement of the advertisement order may be recalled. In the test process of the advertisement engine, the test of advertisement recall needs to be carried out for the advertisement order, and the test content comprises whether the logic flow of the advertisement recall of the advertisement engine is accurate, whether the result of the advertisement recall of the advertisement order reaches the expected or not, and the like. When testing is performed, the testing end can be associated with each module to perform logic processing. For example, the testing end performs parameter agreement with the advertisement front end, and simulates and constructs an advertisement request in a specified format. And the test end performs logic reverse processing with the advertisement engine, and meets the condition of advertisement recall by assigning the parameters. The test end analyzes and processes the business data of the advertisement putting platform to obtain the data of the advertisement order and extracts the configuration data of the advertisement engine. Based on this, the testing end can construct an advertisement request and simulate the advertisement front end, and send the constructed advertisement request to the advertisement engine to test the advertisement engine.
The method for constructing the advertisement request provided by the embodiment of the invention can be executed by the functional modules of the software and/or hardware of the test terminal. The following describes a method for constructing an advertisement request in detail.
Fig. 2 is a flowchart of a method for constructing an advertisement request according to an embodiment of the present invention. As shown in fig. 2, the method for constructing an advertisement request provided in this embodiment at least includes the following steps:
step 201, when a construction request for constructing an advertisement request for an advertisement order to be recalled is received, acquiring data of the advertisement order, and acquiring configuration data of an advertisement engine for recalling the advertisement order, wherein the configuration data comprises at least one preset advertisement putting condition which is a condition that an advertisement put by the advertisement engine needs to meet.
Step 202, analyzing the data of the advertisement order to obtain at least the analysis data for constructing the advertisement request.
Step 203, constructing at least one advertisement request based on the parsed data and at least one advertisement delivery condition.
In practical applications, the test personnel may specify an advertisement order to be recalled for testing. The data of the advertisement order is related data of the advertisement order generated when an advertiser places the advertisement order in the advertisement delivery platform according to advertisement requirements.
Advertisement engine will generally be preconfigured with advertisement delivery conditions limited based on its own logic function. In practical application, firstly, the advertisement front end generates and sends out an advertisement request, then, the advertisement engine receives the advertisement request of the advertisement front end, combines the data of the advertisement order and the configured advertisement putting condition, and displays the advertisement of the proper advertisement order to the user of the advertisement front end according to a certain strategy. This is the forward advertising flow. And during testing, an advertisement request, also called reverse data construction, is constructed, and the advertisement engine is tested based on the constructed advertisement request. To improve efficiency, the inventors of the present invention propose an automated reverse data construction method. The number of the constructed advertisement requests can be one or a plurality of. If multiple advertisement requests are constructed, different scene requirements can be met.
In the scheme, when a construction request for constructing an advertisement request for an advertisement order to be recalled is received, one or more advertisement requests are constructed based on analysis data analyzed from the data of the advertisement order and the advertisement putting condition of the advertisement engine by acquiring the data of the advertisement order to be recalled and the advertisement putting condition of the advertisement engine, so that the automatic construction of the advertisement request is realized.
In practical applications, the specific data included in the data of the advertisement order is numerous, however, not all the included data is involved in the construction of the advertisement request, the data not involved in the construction of the advertisement request may be considered as unnecessary data, may not be included in the parsing data, and the data involved in the construction of the advertisement request may be considered as necessary data, and may need to be included in the parsing data. Therefore, unnecessary data may not be included in the analysis data, but necessary data may be included, and thus, by reducing the analysis of unnecessary data, the processing efficiency is improved.
In one embodiment, the parsing data includes at least a first parsing data for advertisement targeting and a second parsing data for matching at least one advertisement putting condition. Accordingly, the above construction of at least one advertisement request based on the parsing data and at least one advertisement delivery condition may include: at least one advertisement request is constructed based on the first parsed data, the second parsed data, and at least one advertisement placement condition.
In general, the parameters carried in the advertisement request may represent characteristics of the user at the front end of the advertisement, and therefore, the advertisement engine may determine, based on the parameters carried in the advertisement request, whether the user at the front end of the advertisement matches the scope of advertisement targeting corresponding to the advertisement order. Because advertisers typically enter data for ad targeting when placing an ad order on an ad placement platform to indicate which users are looking at the ad desired to be placed, the data for ad targeting will be included in the data for the ad order.
In order to realize accurate test of advertisement recall, an accurate advertisement request needs to be constructed, based on which, the characteristics of the advertisement request can be consulted, the test end analyzes first analysis data for advertisement orientation from the data of the advertisement order, and the advertisement request is constructed by reversely utilizing the first analysis data so as to accurately orient the advertisement order, thus, the advertisement request which is more matched with the advertisement order can be constructed. In addition, because the advertisement engine is also provided with advertisement delivery conditions limited based on the logic function, the advertisement delivery conditions are conditions which can be met by advertisements delivered by the advertisement engine, namely, the advertisements meeting the advertisement delivery conditions can be successfully delivered, based on the conditions, the test end also needs to analyze second analysis data for matching the advertisement delivery conditions from the data of the advertisement order, and the advertisement request is constructed by utilizing the second analysis data, so that the advertisement request which is more matched with the advertisement order can be further constructed. That is, the test end can obtain the advertisement request which is more matched with the advertisement order based on the cooperation of the first analysis data, the second analysis data and the advertisement putting condition, and the test end is applied to the subsequent test of advertisement recall, so that the accurate test of the logic flow of the advertisement recall can be realized, the advertisement orientation of the advertisement order on the putting side (namely the advertisement putting platform) can be accurately matched with the user on the flow side (namely the advertisement front end), and the specified advertisement order can be correctly recalled in the constructed advertisement request, and the test requirement can be better met.
It should be noted that the first resolved data and the second resolved data may have partially identical data. Some data need to be used as advertisement targeting data and also need to be used as data matched with advertisement putting conditions, so that the obtained first analysis data and second analysis data can both comprise the data, and the first analysis data and the second analysis data have the same data so as to adapt to the actual situation.
Besides the test requirements of the advertisement engine on-line, advertisement business iteration and the like, when a problem occurs in a certain advertisement order in the advertisement engine on-line environment, the advertisement order with the problem can be input as a designated advertisement order, an advertisement request is constructed, the advertisement order is recalled based on the constructed advertisement request, and the on-line problem is reproduced, so that the problem is rapidly solved.
In one embodiment, the advertisement placement conditions include advertisement placement conditions for an ad spot. Correspondingly, the constructing at least one advertisement request based on the first analysis data, the second analysis data and the at least one advertisement putting condition may include: determining available advertisement positions corresponding to the advertisement orders based on the second analysis data and at least one advertisement putting condition to obtain an advertisement position set; for each available ad spot in the set of ad spots, at least one ad request corresponding to the available ad spot is constructed based on the first parsing data.
In practical application, the advertisement engine generally uses advertisement slots as basic units, configures advertisement putting conditions of the advertisement slots for each advertisement slot, and advertisements meeting the advertisement putting conditions of the advertisement slots can only use the advertisement slots. The advertisement request sent by the advertisement front-end is also an advertisement request from an advertisement slot for which the advertisement engine can recall the appropriate advertisement. Based on the above, when the test end constructs the advertisement request, the advertisement request is constructed more accurately by taking the advertisement position as a basic unit. When constructing the advertisement request, firstly, the available advertisement positions corresponding to the advertisement orders are determined based on the second analysis data and at least one advertisement putting condition to obtain an advertisement position set, namely, the available advertisement positions of the advertisement orders are screened out, and then the advertisement request is respectively constructed for each available advertisement position, on one hand, a large number of advertisement requests aiming at different advertisement positions can be quickly constructed, various scenes can be covered, the test requirements of various scenes are met, and on the other hand, only the available advertisement positions are constructed, the advertisement requests are constructed, so that the appointed advertisement orders can be correctly recalled under the constructed advertisement requests, and the advertisement requests are not required to be constructed aiming at the unavailable advertisement positions, so that unnecessary processing is reduced, and the processing efficiency is improved.
In one embodiment, the advertisement placement condition of the advertisement slot may include a mapping relationship between the first advertisement slot information and the first constraint condition information. Correspondingly, the second parsing data may include second advertisement space information and second constraint information. Then, determining the available advertisement slots corresponding to the advertisement orders based on the second analysis data and the at least one advertisement putting condition to obtain the advertisement slot set, and the specific implementation manner may include: matching the mapping relation with the second analysis data aiming at each mapping relation, and if the first constraint condition information corresponding to the first advertisement position information in the mapping relation is matched with the second constraint condition information corresponding to the second advertisement position information in the second analysis data, taking the advertisement position corresponding to the first advertisement position information as an available advertisement position; based on the available ad spots obtained, a set of ad spots is obtained.
The first constraint condition information is a condition which needs to be met when the advertisement engine allows the advertisement position corresponding to the first advertisement position information to be used. The second constraint condition information is a condition corresponding to second advertisement space information obtained based on a delivery requirement of the advertiser.
Since there may be a plurality of advertisement placement conditions for the advertisement space, there may be a plurality of mapping relationships. At this time, each mapping relation needs to be matched with the second advertisement information and the second constraint condition information in the second analysis data, so as to obtain an available advertisement space. Each mapping relation can be traversed, the available advertisement position results of the mapping relation of the current traversal are obtained based on the available advertisement position results of the mapping relation of the previous traversal from the mapping relation of the second traversal, and the available advertisement position is finally screened out through all the mapping relations, so that the advertisement position which does not meet the mapping relation of the previous traversal does not need to participate in the matching of the following mapping relation, and the processing speed is improved.
The above ad placement conditions for ad spots are for physical ad spots. Here, an entity ad spot is an ad spot that can be seen by the ad front end. The constructed ad request is an ad request for an entity ad slot. The above available ad slots are also available physical ad slots.
The mapping relationships generally configured in the advertisement engine may include mapping relationships between physical advertisement slots and virtual advertisement slots, version control mapping relationships, player mapping relationships, etc., which are not listed here, and are adapted to the actual configuration of the advertisement engine.
The mapping relationship between the entity advertisement space and the virtual advertisement space may include mapping relationship between the entity advertisement space identification information and the virtual advertisement space identification information. In the mapping relationship, the entity advertisement space identification information can be used as first advertisement information, and the virtual advertisement space identification information can be used as first constraint condition information.
Here, the virtual advertisement space is an advertisement space that cannot be seen by the front end of the advertisement, when a plurality of advertisements want to be displayed in the same physical advertisement space, a mapping relation between a plurality of virtual advertisement space identification information and the physical advertisement space identification information is set in the advertisement engine, and the advertisement engine can display a plurality of advertisements in the physical advertisement space in turn according to a certain logic based on the mapping relation.
When placing an advertisement order, the advertiser can input various delivery requirements, for example, can input advertisement forms such as information flow, focus diagram, patch and the like, and the advertisement delivery platform can determine second advertisement position information corresponding to the advertisement form input by the advertiser according to the advertisement form input by the advertiser. The second ad spot information may include physical ad spot identification information, or virtual ad spot identification information, which may be used to identify ad spots for which the information meets the advertiser's placement needs.
If the second advertisement position information includes virtual advertisement position identification information, the second constraint condition information can be considered to include the virtual advertisement position identification information included in the second advertisement position information, and when the second constraint condition information is matched, whether the virtual advertisement position identification information included in the second advertisement position information exists in the mapping relation between the entity advertisement position and the virtual advertisement position can be judged, if the virtual advertisement position identification information exists, the matching is considered to be successful, and the entity advertisement position corresponding to the entity advertisement position identification information successfully matched in the mapping relation between the entity advertisement position and the virtual advertisement position can be used as the current available advertisement position.
If the second advertisement position information includes the entity advertisement position identification information, the second constraint condition information may be considered to include the entity advertisement position identification information included in the second advertisement position information, and the virtual advertisement position is not limited, and when the virtual advertisement position is matched, it may be determined whether the entity advertisement position identification information included in the second advertisement position information exists in the mapping relationship between the entity advertisement position and the virtual advertisement position, if the entity advertisement position identification information exists, the matching is considered to be successful, and the entity advertisement position corresponding to the entity advertisement position identification information successfully matched in the mapping relationship between the entity advertisement position and the virtual advertisement position may be used as the current available advertisement position.
Because the advertisement request is constructed for the physical advertisement space, if the restriction is set for the virtual advertisement space, whether the physical advertisement space corresponding to the restricted virtual advertisement space exists in the mapping relation is required to be judged, and if the restriction is set for the physical advertisement space, the virtual advertisement space is not required to be paid attention to any more, and whether the restricted physical advertisement space exists in the mapping relation is required to be directly judged.
The player mapping relationship may include entity advertisement slot identification information, platform identification information, site identification information, and player identification information. The platform identification information may be IOS platform identification information, android platform identification information, and the like. The site identification information may be different video website identification information. In the mapping relationship, the entity advertisement position identification information can be used as first advertisement position information, and the platform identification information, the site identification information and the player identification information can be used as first constraint condition information.
Accordingly, advertisers may also enter desired platforms, sites, and players at the advertising platform. The second constraint information further includes platform identification information, site identification information, and player identification information derived based on advertiser impression requirements.
When matching, if the mapping relationship between the entity advertisement position and the virtual advertisement position has been traversed, when traversing to the player mapping relationship, whether the entity advertisement position identifier corresponding to the platform identifier information, the site identifier information and the player identifier information included in the second constraint condition information exists in the player mapping relationship or not can be judged based on the available advertisement position corresponding to the mapping relationship between the entity advertisement position and the virtual advertisement position, if so, the matching is considered successful, and the entity advertisement position corresponding to the entity advertisement position identifier information successfully matched in the player mapping relationship can be used as the current available advertisement position.
The version control mapping relationship may include entity ad slot identification information, player identification information, creative templates, version identification information, and channel identification information, among others. In the mapping relationship, the entity advertisement space identification information can be used as first advertisement space information, and the player identification information, the creative template, the version identification information and the channel identification information can be used as first constraint condition information.
Accordingly, advertisers may also enter desired creative templates, versions of players, and channels at the advertising platform. The second constraint information may also include creative templates, version identification information, and channel identification information derived based on advertiser impression requirements.
When matching, if the mapping relation between the entity advertisement position and the virtual advertisement position and the player mapping relation are traversed in sequence, when traversing to the version control mapping relation, whether the entity advertisement position identification corresponding to the player identification information, the creative template, the version identification information and the channel identification information included in the second constraint condition information exists in the version control mapping relation or not can be judged based on the available advertisement position corresponding to the player mapping relation, if so, the entity advertisement position corresponding to the entity advertisement position identification information successfully matched in the version control mapping relation can be regarded as the current available advertisement position. If all mapping relations are traversed, the available advertisement position obtained at the moment is the final available advertisement position.
The above is merely illustrative of the manner in which available ad spots may be obtained, and other manners may be employed to obtain available ad spots.
In this embodiment, the mapping relation defined by the advertisement putting conditions of the advertisement slots and including the first advertisement slot information and the first constraint condition information is matched with the second advertisement slot information and the second constraint condition information in the second analysis data, so that the available advertisement slots meeting the putting requirements of advertisers and meeting the requirements of advertisement engines are obtained, the obtained available advertisement slots are more accurate, and the matching degree of the constructed advertisement request and the advertisement order is further improved, so that the designated advertisement order can be correctly recalled under the constructed advertisement request.
In one embodiment, the first parsing data may include at least one orientation attribute. Accordingly, based on the first parsing data, at least one advertisement request corresponding to the available advertisement space is constructed, as shown in fig. 3, and a specific implementation manner thereof may include:
step 301, constructing parameters corresponding to available advertisement slots.
Step 302, constructing a parameter corresponding to the orientation attribute for each orientation attribute in the first analysis data, wherein the value of the parameter of the orientation attribute comprises at least one value.
Step 303, obtaining at least one parameter set based on the parameters corresponding to the available advertisement slots and the parameters corresponding to all the orientation attributes, wherein each parameter set at least comprises the parameters corresponding to the available advertisement slots and the parameters corresponding to all the orientation attributes, and the values of the parameters corresponding to all the orientation attributes in different parameter sets are not completely the same.
And step 304, obtaining the advertisement request corresponding to the parameter group at least based on the parameter group.
Step 305, obtaining at least one advertisement request corresponding to the available advertisement space based on the advertisement request corresponding to the at least one parameter group.
In practice, the data for advertisement targeting may include at least one of the following: players, channels, versions, policies, user gender, user age, data management platform (DMP, data-Management Platform) crowd labels, user personality keywords, video labels, region labels, and so forth. Each data may be a directional attribute. Each targeting attribute may be considered to correspond to an advertising scene.
When constructing an advertisement request of an available advertisement position, a parameter corresponding to the available advertisement position can be constructed to identify the advertisement position corresponding to the advertisement request, and a parameter corresponding to the orientation attribute can be constructed for each orientation attribute so as to embody the characteristics of a user in the advertisement request. In addition, the values of the parameters corresponding to each directional attribute may be multiple, and finally multiple advertisement requests may be obtained, so that accurate construction of various scenes can be provided.
Especially for complex scenes, the situation that recall is impossible because the orientation is complex and the number of the users for the load is too small easily occurs, and the advertisement request is constructed from the angle of the advertisement order, so that the advertisement orientation of the advertisement order on the putting side is accurately matched with the user on the flow side, the advertisement recall can be accurately realized, and the situation that recall is impossible is avoided.
Besides the parameters corresponding to the above listed targeting attributes and the parameters corresponding to the available advertisement positions, the parameter set may also include other parameters, which may be specifically set according to actual needs. The parameters in the parameter set may be divided into base parameters and core parameters. For example, the player, the site, and the device are basic parameters, and parameters other than the basic parameters are core parameters.
Based on at least the parameter set, the advertisement request corresponding to the parameter set is obtained, and the specific implementation manner may include: and splicing at least each parameter of the parameter sets, and generating an advertisement request based on the splicing result. When the advertisement request is generated, the core parameters are also required to be encrypted so as to ensure the data security.
In practical application, the parameters corresponding to the constructed available advertisement space and the symbols of the parameters corresponding to the targeting property may be preset, which is not limited herein.
In implementation, the identification information of the available advertisement slots can be used as the value of the parameters corresponding to the available advertisement slots.
In implementation, the number of the directional attributes is numerous, so that the structure of the advertisement request is simpler and clearer, and the directional attributes can be classified. Based on this, in one embodiment, the categories of directional attributes include multiple categories. Then, for each directional attribute in the first parsing data, a parameter corresponding to the directional attribute is constructed, and a specific implementation manner of the method may include: aiming at the directional attribute of each category, adopting a strategy corresponding to the current category to construct a parameter corresponding to the directional attribute in the current category.
The categories of the orientation attribute may include, among others, base orientation, user orientation, video orientation, zone orientation, and so on.
The base orientation may include player, channel, version and policy, etc.
The user orientation may include user gender, user age, DMP crowd labels, user personality keywords, and the like.
In this embodiment, for different types of directional attributes, the parameters may be accurately configured by adopting a matched parameter configuration mode.
Specifically, constructing parameters corresponding to the orientation attribute may include: determining the value of a parameter corresponding to the orientation attribute according to the attribute value of the orientation attribute; or determining the value of the parameter corresponding to the orientation attribute according to the user-defined setting.
Here, two ways are provided to determine the value of the parameter corresponding to the orientation attribute.
In the first mode, the value of the parameter corresponding to the orientation attribute is determined through the attribute value of the orientation attribute, and the value of the determined parameter is very accurate. For example, the attribute value of the orientation attribute may be directly used as the value of the parameter corresponding to the constructed orientation attribute. For example, the age-oriented attribute may carry specific oriented ages, such as 11 years old, 12 years old, 13 years old and 14 years old, which are attribute values of the age-oriented attribute, and if the parameter corresponding to the age-oriented attribute is a, it may be directly determined that the value of the parameter a is 11 years old, 12 years old, 13 years old and 14 years old, respectively.
In the second mode, the value of the parameter corresponding to the orientation attribute is determined through custom setting, so that in implementation, a tester can flexibly select whether to input the custom value according to actual needs, so as to meet special test requirements and realize customization.
Under the condition of the self-defined value, the self-defined value is preferentially adopted as the value of the parameter corresponding to the orientation attribute.
In one embodiment, if the category of the targeting attribute includes user targeting, the method for constructing an advertisement request may further include: and updating parameters corresponding to the orientation attribute in the user orientation to a database of the user portrait. Therefore, the constructed parameters corresponding to the user orientation can be updated to the database of the user portrait in real time, so that the related processing logic can acquire the data in time during the test, and the test can be smoothly carried out.
In one embodiment, if the category of the orientation attribute includes audio and video resource orientation, the constructing a parameter corresponding to the orientation attribute in the current category may include: acquiring identification information of an audio and video resource matched with an attribute value of an orientation attribute in audio and video resource orientation; and taking the identification information of the audio and video resource as the value of the parameter corresponding to the orientation attribute.
The audio-video resource orientation may be a video orientation or an audio orientation.
For example, one orientation attribute is a video tag, and is assumed to be denoted as "type=25, id=123", where "type=25" indicates that the orientation attribute is a video tag, and an attribute value "123" of the video tag indicates that the oriented video is an even-image play, at this time, identification information (for example, video ID) of a piece of video resource belonging to the even-image play may be obtained, and the identification information of the video resource is taken as a value of a parameter corresponding to the video tag.
In this embodiment, for audio and video resource targeting, identification information of audio and video resources matched with the targeting attribute is automatically obtained, and further, the parameters corresponding to the targeting attribute are assigned, so that a more real and accurate advertisement request can be quickly constructed.
In one embodiment, if the class of the directional attribute includes a geographic orientation, determining, according to an attribute value of the directional attribute, a value of a parameter corresponding to the directional attribute, where the specific implementation manner may include: and determining longitude and latitude and/or service IP according to the region information expressed by the attribute value of the directional attribute, and taking the calculated longitude and latitude and/or service IP as the value of the parameter corresponding to the directional attribute.
For example, if the geographic information expressed by the attribute value of the directional attribute, i.e., the geographic tag in the geographic direction, is Beijing, then the longitude and latitude of Beijing and/or the service IP can be determined, and the value of the parameter corresponding to the directional attribute can be assigned.
Wherein, when determining longitude and latitude, the longitude and latitude standard adopts GCJ-02- - > WGS-84.
Service IP may be obtained through a global IP database.
In this embodiment, for the geographic orientation, the latitude and longitude or the service IP matched with the orientation attribute is automatically obtained, so that the value of the parameter corresponding to the orientation attribute is assigned, and a more real and accurate advertisement request can be quickly constructed.
In logic of the advertisement engine, longitude and latitude matching is performed preferentially, an algorithm region database is read according to the longitude and latitude in the advertisement request, and the accurate geographic position is obtained, if the longitude and latitude are not available in the advertisement request, the accurate geographic position is determined according to the service IP.
After the ad request is constructed, the ad request may be tested using the ad request. Based on this, in one embodiment, the method for constructing an advertisement request may further include: and outputting at least one advertisement request to a testing end of the advertisement engine through an interface call or a visual interface so that the testing end can carry out recall test on the advertisement order based on the advertisement request. The beneficial effects of applying the advertisement request may refer to the derivation process in the embodiment of the method for constructing the advertisement request, which is not described herein.
Wherein, two modes are provided to output at least one advertisement request to the test end of the advertisement engine.
In the first mode, at least one advertisement request is called through an interface and is output to a test end of an advertisement engine. In practical application, the method for constructing the advertisement request can be packaged into an interface. The method can simplify the writing flow of the test automation case (case) by means of interface calling, and can provide real-time data base for case construction without the need of re-writing the flow of constructing advertisement requests, so that a stable interface is provided for the automation case.
And in a second mode, outputting at least one advertisement request to a test end of the advertisement engine through a visual interface. In practical application, a visual interface can be provided, and the visual interface is convenient for development, testing and other personnel to use rapidly.
In the test process, when an advertisement request needs to be constructed, a specified advertisement order, such as an order number A, can be input through the interface call or the visual interface, and an advertisement request set M (i.e. at least one advertisement request) can be automatically output for the advertisement order, i.e. the advertisement order A can be recalled in all the advertisement requests M meeting the condition.
In addition, a plurality of sets of advertisement orders may be input, and at this time, sets of advertisement requests of different advertisement orders may be output respectively, for example, three order numbers { a, B, C } are input, and three sets of advertisement requests { M, N, P } corresponding to one another are output, that is, advertisement order a may be recalled at all advertisement requests M satisfying the condition, advertisement order B may be recalled at all advertisement requests N satisfying the condition, and advertisement order C may be recalled at all advertisement requests P satisfying the condition.
Therefore, an accurate and efficient data construction tool is provided for advertisement engine testing through the interface call or the visual interface. A brand new solution is provided for constructing a more automatic test closed-loop flow.
With the rapid iteration of the advertisement engine function, the targeting function of the newly added data construction tool can be continuously expanded and perfected as required, for example, the setting of parameters corresponding to new targeting attributes is added, and the like. When the new advertisement putting platform is accessed for use, the bottom logic of the new and old platforms can be compatible according to actual needs.
Besides the advertisement recall, other scenes in the test process can refer to the construction method of the advertisement request, for example, when the test requirement of advertisement filtering exists, an advertisement request can be constructed at will without being matched with an advertisement order accurately.
The following describes in more detail a method for constructing an advertisement request according to an embodiment of the present invention based on a specific application scenario.
The development environment of the construction scheme of the advertisement request provided by the embodiment can be but not limited to Python 3.8, the development language can be but not limited to Python 3.0, and the development tool can be but not limited to PyCharm IDE.
As shown in FIG. 4, the construction process of the advertisement request mainly comprises three stages of data analysis, directional construction and parameter encryption.
1. And a data analysis stage:
step one, downloading the latest business data (including data of advertisement orders) of the advertisement delivery platform from an Object Storage service (QOS), acquiring configuration data (including mapping relation of configuration) of an advertisement engine, and the like.
QOS may provide data storage services that store business data for the advertising platform as well as data for the advertising engine. The Data obtained in this step may be stored in a file named Business Data.
Analyzing the data of the advertisement order A to obtain first analysis data, second analysis data and the like, and analyzing the mapping relation in the configuration data of the advertisement engine.
The ad order a may be entered by a tester. And then, acquiring and analyzing the data of the advertisement order A.
Wherein the first parsing data includes: the system comprises a player, channels, versions, strategies, user sexes, user ages, DMP crowd labels, user personalized keywords, video labels, region labels and other directional attributes.
The second parsed data includes entity or virtual ad spot identification information, creative templates, player identification information, channel identification information, version identification information, site identification information, platform identification information, and the like.
The creative template above may be stored in a file named creativity. Other parsed data is stored in a file named order.
The mapping in this step may include a mapping (ad zone relation) of the physical ad spot and the virtual ad spot, a version control mapping (config player page version), a player mapping (ad player), and the like. These mappings may be stored in a file named config.
And thirdly, matching the second analysis data with each analyzed mapping relation, and screening out an available entity advertisement space set M meeting the recall of the advertisement order A. The specific matching process may refer to the above related embodiments, and will not be described herein.
2. A targeting build phase for each available physical ad spot:
Firstly, constructing parameters corresponding to available entity advertisement positions, and then, respectively constructing parameters corresponding to orientation attributes. And obtaining at least one parameter set based on the parameters corresponding to the parameters and the targeting attributes corresponding to the established available entity advertisement space. The specific process of respectively constructing the parameters corresponding to the orientation attribute is as follows:
and step four, classifying the orientation attribute, including basic orientation, user orientation, video orientation, region orientation and the like.
And fifthly, constructing parameters for the orientation attribute included in the basic orientation.
And step six, constructing parameters for the orientation attribute (user label) included in the user orientation.
Wherein, different user labels (tags) contained in the user orientation belong to different user Couchbase stores. Couchbase is a database that provides storage services. After the parameters are built, the function set_user_tag_info can be written in through a preset user tag and updated to the Couchbase in time. The test end can check, write, update, delete and the like the directional label through the proto file, namely a protobuf protocol.
And step seven, constructing parameters of the orientation attribute included in the video orientation.
The identification information (for example, video ID) of a video resource belonging to the even image can be obtained through the video resource database, and the identification information of the video resource is used as the value of the parameter corresponding to the video tag. The identification information of the video resource can be obtained through a preset tag query function get_qipu_tag_info.
And step eight, constructing parameters of the directional attribute included in the region orientation, wherein the parameters include longitude and latitude and service IP.
The longitude and latitude may be calculated by a longitude and latitude calculation function get_ip_location.
The specific parameter construction process from the fifth step to the eighth step can refer to the above related embodiments, and will not be described herein.
3. Parameter encryption phase for each parameter set:
and step nine, encrypting the core parameters in the constructed parameter set to generate an advertisement request.
Specifically, the encryption rule of the advertisement engine may be invoked to generate a return value (ret), and thus obtain the advertisement request. In the encryption process, base64 encoding and other processes are performed. base64 coding is a common coding scheme.
The set of ad requests for an available ad spot that can be obtained by this step. A set of advertisement requests for advertisement order a is derived based on the set of advertisement requests for all available ad slots. The advertisement engine may then be tested based on the constructed advertisement request.
In the scheme of the embodiment, accurate, efficient and automatic construction of advertisement requests is realized, on one hand, the accurate construction of dozens of advertisement scenes is provided, and the method comprises the following steps: region, user individual keywords, APP classification, user gender, user age, DMP crowd and the like, on the other hand, the execution steps of the whole function test of the advertisement engine are simplified, daily test requirements of the advertisement engine are met, and necessary guarantee is provided for high-quality delivery of projects of the advertisement engine.
The common social software such as video industry, APP shopping, friend making and the like can have various advertisement services such as information flow advertisement, floating layer advertisement, patch advertisement and the like, and the advertisement service line can refer to the construction method or the construction thought of the advertisement request according to the scheme, and based on the construction method or the construction thought, quick function test, scene coverage and the like can be performed.
Fig. 5 is a schematic structural diagram of an advertisement request constructing apparatus according to an embodiment of the present invention. As shown in fig. 5, the apparatus 500 includes:
the obtaining module 501 is configured to obtain data of an advertisement order when receiving a construction request for constructing an advertisement request for the advertisement order to be recalled, and obtain configuration data of an advertisement engine for recalling the advertisement order, where the configuration data includes at least one preset advertisement delivery condition, and the advertisement delivery condition is a condition that an advertisement capable of being delivered by the advertisement engine needs to meet;
the parsing module 502 is configured to parse the data of the advertisement order, at least to obtain parsed data for constructing an advertisement request;
a construction module 503 is configured to construct at least one advertisement request based on the parsing data and the at least one advertisement delivery condition.
In one embodiment, the parsed data includes at least first parsed data for advertisement targeting and second parsed data for matching at least one advertisement placement condition;
The construction module 503 is specifically configured to:
at least one advertisement request is constructed based on the first parsed data, the second parsed data, and at least one advertisement placement condition.
In one embodiment, the advertisement placement conditions include advertisement placement conditions for an advertisement slot;
the construction module 503 is specifically configured to:
determining available advertisement positions corresponding to the advertisement orders based on the second analysis data and at least one advertisement putting condition to obtain an advertisement position set;
for each available ad spot in the set of ad spots, at least one ad request corresponding to the available ad spot is constructed based on the first parsing data.
In one embodiment, the advertisement putting condition of the advertisement space includes a mapping relation between the first advertisement space information and the first constraint condition information, and the second analysis data includes the second advertisement space information and the second constraint condition information;
the construction module 503 is specifically configured to:
matching the mapping relation with the second analysis data aiming at each mapping relation, and if the first constraint condition information corresponding to the first advertisement position information in the mapping relation is matched with the second constraint condition information corresponding to the second advertisement position information in the second analysis data, taking the advertisement position corresponding to the first advertisement position information as an available advertisement position;
Based on the available ad spots obtained, a set of ad spots is obtained.
In one embodiment, the first resolved data includes at least one orientation attribute;
the construction module 503 is specifically configured to:
constructing parameters corresponding to the available advertisement positions;
constructing a parameter corresponding to the orientation attribute for each orientation attribute in the first analysis data, wherein the value of the parameter of the orientation attribute comprises at least one value;
obtaining at least one parameter set based on the parameters corresponding to the available advertisement positions and the parameters corresponding to all the orientation attributes, wherein each parameter set at least comprises the parameters corresponding to the available advertisement positions and the parameters corresponding to all the orientation attributes, and the values of the parameters corresponding to all the orientation attributes in different parameter sets are not completely the same;
based on at least the parameter set, obtaining an advertisement request corresponding to the parameter set;
based on the advertisement request corresponding to the at least one parameter set, at least one advertisement request corresponding to the available advertisement space is obtained.
In one embodiment, the categories of the orientation attribute include a plurality of categories;
the construction module 503 is specifically configured to:
aiming at the directional attribute of each category, adopting a strategy corresponding to the current category to construct a parameter corresponding to the directional attribute in the current category.
In one embodiment, if the category of the orientation attribute includes audio and video resource orientation, the construction module is specifically configured to:
acquiring identification information of an audio and video resource matched with an attribute value of an orientation attribute in audio and video resource orientation;
and taking the identification information of the audio and video resource as the value of the parameter corresponding to the orientation attribute.
In one embodiment, as shown in fig. 6, further comprising:
and the output module 504 is configured to output at least one advertisement request to a testing end of the advertisement engine through an interface call or a visual interface, so that the testing end performs recall test on the advertisement order based on the advertisement request.
The functions of each module in each device of the embodiment of the present invention may be referred to the corresponding description in the embodiment of the method for constructing an advertisement request, which is not described herein.
The embodiment of the present invention further provides an electronic device, as shown in fig. 7, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 perform communication with each other through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to execute the program stored in the memory 703, and implement the following steps:
When a construction request for constructing an advertisement request for an advertisement order to be recalled is received, acquiring data of the advertisement order, and acquiring configuration data of an advertisement engine for recalling the advertisement order, wherein the configuration data comprises at least one preset advertisement putting condition which is a condition that an advertisement put by the advertisement engine needs to meet;
analyzing the data of the advertisement order to at least obtain analysis data for constructing an advertisement request;
at least one advertisement request is constructed based on the parsed data and at least one advertisement placement condition.
The communication bus mentioned by the above terminal may be a peripheral component interconnect standard (Perheral Component Interconnect, abbreviated as PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the terminal and other devices.
The memory may include random access memory (Random Access Memory, RAM) or non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processing, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present invention, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements a method of constructing an advertisement request as described in any of the above embodiments.
In yet another embodiment of the present invention, a computer program product containing instructions that, when run on a computer, cause the computer to perform the method of constructing an advertisement request as described in any of the above embodiments is also provided.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (9)

1. A method of constructing an advertisement request, comprising:
when a construction request for constructing an advertisement request for an advertisement order to be recalled is received, acquiring data of the advertisement order, and acquiring configuration data of an advertisement engine for recalling the advertisement order, wherein the configuration data comprises at least one preset advertisement putting condition which can be met by an advertisement put by the advertisement engine; the advertisement putting conditions comprise advertisement putting conditions of the advertisement space;
analyzing the data of the advertisement order to at least obtain analysis data for constructing the advertisement request; the analytic data at least comprises first analytic data for advertisement targeting and second analytic data for matching the at least one advertisement putting condition;
determining available advertisement positions corresponding to the advertisement orders based on the second analysis data and the at least one advertisement putting condition to obtain an advertisement position set;
For each of the available ad slots in the set of ad slots, constructing at least one ad request corresponding to the available ad slot based on the first parsed data.
2. The method of claim 1, wherein the advertisement placement condition of the advertisement slot includes a mapping relationship between first advertisement slot information and first constraint information, and the second resolution data includes second advertisement slot information and second constraint information;
the determining, based on the second analysis data and the at least one advertisement delivery condition, an available advertisement space corresponding to the advertisement order, to obtain an advertisement space set, includes:
matching the mapping relation with the second analysis data aiming at each mapping relation, and if the first constraint condition information corresponding to the first advertisement position information in the mapping relation is matched with the second constraint condition information corresponding to the second advertisement position information in the second analysis data, taking the advertisement position corresponding to the first advertisement position information as an available advertisement position;
and obtaining the advertisement space set based on the obtained available advertisement space.
3. The method of claim 1, wherein the first parsed data includes at least one orientation attribute;
The constructing at least one advertisement request corresponding to the available advertisement space based on the first parsing data includes:
constructing parameters corresponding to the available advertisement positions;
constructing a parameter corresponding to the orientation attribute for each orientation attribute in the first analysis data, wherein the value of the parameter of the orientation attribute comprises at least one value;
obtaining at least one parameter set based on the parameters corresponding to the available advertisement positions and the parameters corresponding to all the orientation attributes, wherein each parameter set at least comprises the parameters corresponding to the available advertisement positions and the parameters corresponding to all the orientation attributes, and the values of the parameters corresponding to all the orientation attributes in different parameter sets are not completely the same;
based on at least the parameter set, obtaining an advertisement request corresponding to the parameter set;
and obtaining at least one advertisement request corresponding to the available advertisement space based on the advertisement request corresponding to the at least one parameter group.
4. A method according to claim 3, wherein the categories of orientation properties comprise a plurality of categories;
the constructing, for each of the orientation attributes in the first parsing data, a parameter corresponding to the orientation attribute includes:
And aiming at the directional attribute of each category, adopting a strategy corresponding to the current category to construct parameters corresponding to the directional attribute in the current category.
5. The method of claim 4, wherein if the category of the orientation attribute includes audio-video resource orientation, the constructing the parameter corresponding to the orientation attribute in the current category includes:
acquiring identification information of an audio and video resource matched with the attribute value of the orientation attribute in the audio and video resource orientation;
and taking the identification information of the audio and video resource as the value of the parameter corresponding to the orientation attribute.
6. The method of any one of claims 1-5, further comprising:
and outputting the at least one advertisement request to a test end of the advertisement engine through an interface call or a visual interface so that the test end carries out recall test on the advertisement order based on the advertisement request.
7. An apparatus for constructing an advertisement request, comprising:
the system comprises an acquisition module, a recall test module and a recall test module, wherein the acquisition module is used for acquiring data of an advertisement order when receiving a construction request for constructing the advertisement request for the advertisement order to be recalled, and acquiring configuration data of an advertisement engine for recalling the advertisement order, wherein the configuration data comprises at least one preset advertisement putting condition which can be met by an advertisement put by the advertisement engine; the advertisement putting conditions comprise advertisement putting conditions of the advertisement space;
The analysis module is used for analyzing the data of the advertisement order and at least obtaining analysis data for constructing the advertisement request; the analytic data at least comprises first analytic data for advertisement targeting and second analytic data for matching the at least one advertisement putting condition;
a construction module for constructing at least one advertisement request based on the parsed data and the at least one advertisement delivery condition;
the construction module is specifically used for:
determining available advertisement positions corresponding to the advertisement orders based on the second analysis data and the at least one advertisement putting condition to obtain an advertisement position set;
for each of the available ad slots in the set of ad slots, constructing at least one ad request corresponding to the available ad slot based on the first parsed data.
8. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for carrying out the method steps of any one of claims 1-6 when executing a program stored on a memory.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-6.
CN202110932382.1A 2021-08-13 2021-08-13 Advertisement request construction method, device, equipment and storage medium Active CN113723992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110932382.1A CN113723992B (en) 2021-08-13 2021-08-13 Advertisement request construction method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110932382.1A CN113723992B (en) 2021-08-13 2021-08-13 Advertisement request construction method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113723992A CN113723992A (en) 2021-11-30
CN113723992B true CN113723992B (en) 2023-08-22

Family

ID=78675845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110932382.1A Active CN113723992B (en) 2021-08-13 2021-08-13 Advertisement request construction method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113723992B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017197821A1 (en) * 2016-05-16 2017-11-23 乐视控股(北京)有限公司 Advertisement placement method, advertisement server and system
CN108960898A (en) * 2018-06-11 2018-12-07 北京奇艺世纪科技有限公司 A kind of advertisement placement method and device
CN110659917A (en) * 2018-06-28 2020-01-07 上海传漾广告有限公司 Method for optimizing network advertisement mixed display
CN111724180A (en) * 2019-03-19 2020-09-29 北京奇虎科技有限公司 Advertisement putting method and system
CN112488769A (en) * 2020-12-16 2021-03-12 未来电视有限公司 Advertisement putting test method, device, equipment and storage medium
CN112927024A (en) * 2021-03-29 2021-06-08 北京奇艺世纪科技有限公司 Advertisement putting method, system, device, electronic equipment and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050033641A1 (en) * 2003-08-05 2005-02-10 Vikas Jha System, method and computer program product for presenting directed advertising to a user via a network
US8402114B2 (en) * 2006-12-28 2013-03-19 Advertising.Com Llc Systems and methods for selecting advertisements for display over a communications network
US20170180445A1 (en) * 2015-12-22 2017-06-22 Le Holdings (Beijing) Co., Ltd. Advertisement data acquisition method and electronic equipment
US20190095959A1 (en) * 2017-09-25 2019-03-28 Hai Yu Internet of advertisement method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017197821A1 (en) * 2016-05-16 2017-11-23 乐视控股(北京)有限公司 Advertisement placement method, advertisement server and system
CN108960898A (en) * 2018-06-11 2018-12-07 北京奇艺世纪科技有限公司 A kind of advertisement placement method and device
CN110659917A (en) * 2018-06-28 2020-01-07 上海传漾广告有限公司 Method for optimizing network advertisement mixed display
CN111724180A (en) * 2019-03-19 2020-09-29 北京奇虎科技有限公司 Advertisement putting method and system
CN112488769A (en) * 2020-12-16 2021-03-12 未来电视有限公司 Advertisement putting test method, device, equipment and storage medium
CN112927024A (en) * 2021-03-29 2021-06-08 北京奇艺世纪科技有限公司 Advertisement putting method, system, device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN113723992A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
CN108038053B (en) A kind of dynamic configuration buries method and apparatus a little
CN108255847B (en) Page generation method and device
CN108776941B (en) Digital work copyright management method and system and block chain link point equipment
CN106997357B (en) Message processing method, device and system
US8997081B1 (en) Analytics for mobile applications
US9250088B1 (en) Discovery of public points of interest
CN106528432A (en) Construction method and apparatus for test scene data, and buried point test method
CN108696399B (en) Business service test method and device
DE112016002120T5 (en) Development and sales platform for software
CN110337641A (en) It is determined using screenshot capture metadata and applies test result
CN107368488A (en) A kind of method for determining user behavior preference, the methods of exhibiting and device of recommendation information
CN107844518B (en) Method for evaluating download quantity of specified APP, data server, packaging platform and system
US9037716B2 (en) System and method to manage a policy related to a network-based service
CN108959087A (en) test method and device
CN109767257A (en) Advertisement placement method, system and electronic equipment based on big data analysis
CN107590682B (en) Advertisement putting method, server, hotspot device and system
CN110719284A (en) Data sharing method and related equipment
CN114629929A (en) Log recording method, device and system
CN106790380A (en) Data reporting method and device
CN114185770A (en) Method and device for generating test data, computer equipment and storage medium
CN113723992B (en) Advertisement request construction method, device, equipment and storage medium
CN109542743B (en) Log checking method and device, electronic equipment and computer readable storage medium
CN109815106B (en) Interactive function testing method and device of information delivery platform
CN113271334B (en) Service policy distribution method and device based on SaaS scene and electronic equipment
CN114884804A (en) Multi-channel information isolation method and device based on microservice and computer equipment

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