Resource size-based content item selection
Systems and methods for automatically determining a content item size may be based on a size of a viewport and a width of a parent element. A script may be configured to determine a size of a viewport, determine a width of a parent element of a resource, and determine a content item size based, at least in part, on the size of the view port and the width of the parent element. A dimension of the determined content item size may be used by a content item selection system to determine a set of content items. A content item selection system may select a content item from the determined set of content items and serve data to effect display of the selected content item in the parent element with the resource.
1. A system, comprising:
a data processing system including one or more processors coupled to memory to:
receive data packets comprising an input audio signal detected by a sensor of a client device;
parse the input audio signal to identify a request and a trigger keyword corresponding to the request;
identify a resource for presentation via a client device;
identify a size of a slot of the resource;
determine a content item size based on a comparison between the size of the slot and one or more standard sizes for the resource;
determine a set of content items based, at least in part, on the content item size;
select, from the set of content items based on the content item size and the trigger keyword, a content item via a real-time content selection process; and
serve, to the client device, data to cause presentation of the content item in the resource.
2. The system of claim 1 , comprising:
the data processing system to receive, from the client device, a request for content responsive to the resource for presentation via the client device.
3. The system of claim 1 , comprising the data processing system to:
identify a parameter of the resource; and
determine the content item size based on the parameter of the resource.
4. The system of claim 3 , comprising:
the data processing system to determine the content item size based on a comparison between the size of the slot and the one or more standard sizes and the parameter of the resource.
5. The system of claim 3 , wherein the slot comprises an audio slot, the parameter comprises a duration, and the resource comprises an audio output.
6. The system of claim 5 , comprising:
the data processing system to determine the size of the audio slot based on the duration of the audio output.
7. The system of claim 3 , wherein the slot comprises an audio slot, the parameter comprises a duration, and the resource comprises a thread, comprising the data processing system to:
determine the size of the audio slot based on the duration of the thread.
8. The system of claim 3 , wherein the slot comprises an audio slot, the parameter comprises a duration, and the resource comprises a single thread merged based on a sequence dependency parameter, comprising the data processing system to:
determine the size of the audio slot based on the duration of the single thread.
9. The system of claim 1 , comprising the data processing system to:
receive data packets carrying auditory signals transmitted between the client device and a conversational application programming interface that established a communication session with the client device responsive to interaction with the content item;
measure a duration of the communication session based on the auditory signals; and
select a second content item based on the duration of the communication session.
10. A method, comprising:
receiving, by a data processing system including one or more processors coupled to memory, data packets comprising an input audio signal detected by a sensor of a client device;
parsing, by the data processing system, the input audio signal to identify a request and a trigger keyword corresponding to the request;
identifying, by the data processing system, a resource for presentation via a client device;
identifying, by the data processing system, a size of a slot of the resource;
determining, by the data processing system, a content item size based on a comparison between the size of the slot and one or more standard sizes for the resource;
determining, by the data processing system, a set of content items based, at least in part, on the content item size;
selecting, by the data processing system, from the set of content items based on the content item size and the trigger keyword, a content item via a real-time content selection process; and
serving, by the data processing system to the client device, data to cause presentation of the content item in the resource.
11. The method of claim 10 , comprising:
receiving, by the data processing system from the client device, a request for content responsive to the resource for presentation via the client device.
12. The method of claim 10 , comprising:
identifying, by the data processing system, a parameter of the resource; and
determining, by the data processing system, the content item size based on the parameter of the resource.
13. The method of claim 12 , comprising:
determining, by the data processing system, the content item size based on a comparison between the size of the slot and the one or more standard sizes and the parameter of the resource.
14. The method of claim 12 , wherein the slot comprises an audio slot, the parameter comprises a duration, and the resource comprises an audio output.
15. The method of claim 14 , comprising:
determining, by the data processing system, the size of the audio slot based on the duration of the audio output.
16. The method of claim 12 , wherein the slot comprises an audio slot, the parameter comprises a duration, and the resource comprises a thread, comprising:
determining, by the data processing system, the size of the audio slot based on the duration of the thread.
17. The method of claim 12 , wherein the slot comprises an audio slot, the parameter comprises a duration, and the resource comprises a single thread merged based on a sequence dependency parameter, comprising:
determining, by the data processing system, the size of the audio slot based on the duration of the single thread.
18. The method of claim 10 , comprising:
receiving, by the data processing system, data packets carrying auditory signals transmitted between the client device and a conversational application programming interface that established a communication session with the client device responsive to interaction with the content item;
measuring, by the data processing system, a duration of the communication session based on the auditory signals; and
selecting, by the data processing system, a second content item based on the duration of the communication session.
19. A system, comprising:
a data processing system including one or more processors coupled to memory to:
identify a resource for presentation via a client device;
identify a parameter of the resource;
identify a size of a slot of the resource;
determine a content item size based on a comparison between the size of the slot and one or more standard sizes for the resource, wherein the content item size is determined based on the parameter of the resource;
determine a set of content items based, at least in part, on the content item size;
select, from the set of content items based on the content item size, a content item; and
serve, to the client device, data to cause presentation of the content item in the resource;
wherein the slot comprises an audio slot, the parameter comprises a duration, and the resource comprises a thread, the system comprising the data processing system to determine the size of the audio slot based on the duration of the thread.
20. A system, comprising:
a data processing system including one or more processors coupled to memory to:
identify a resource for presentation via a client device;
identify a parameter of the resource;
identify a size of a slot of the resource;
determine a content item size based on a comparison between the size of the slot and one or more standard sizes for the resource, wherein the content item size is determined based on the parameter of the resource;
determine a set of content items based, at least in part, on the content item size;
select, from the set of content items based on the content item size, a content item; and
serve, to the client device, data to cause presentation of the content item in the resource;
wherein the slot comprises an audio slot, the parameter comprises a duration, and the resource comprises a single thread merged based on a sequence dependency parameter, the system comprising the data processing system to determine the size of the audio slot based on the duration of the single thread.
21. A system, comprising:
a data processing system including one or more processors coupled to memory to:
identify a resource for presentation via a client device;
identify a parameter of the resource;
identify a size of a slot of the resource;
determine a content item size based on a comparison between the size of the slot and one or more standard sizes for the resource, wherein the content item size is determined based on the parameter of the resource;
determine a set of content items based, at least in part, on the content item size;
select, from the set of content items based on the content item size, a content item;
serve, to the client device, data to cause presentation of the content item in the resource;
receive data packets carrying auditory signals transmitted between the client device and a conversational application programming interface that established a communication session with the client device responsive to interaction with the content item;
measure a duration of the communication session based on the auditory signals; and
select a second content item based on the duration of the communication session.