Targeting settings that specify when and where ads are played.
JSON representation |
---|
{ "adUnitTargeting": { object ( |
Fields | |
---|---|
adUnitTargeting |
Specifies what inventory is targeted. If omitted, all ad units supported by the products referenced from the line are targeted. |
dayPartTargeting |
Specifies the targeted week days and times. |
AdUnitTargeting
Which ad units are targeted.
JSON representation |
---|
{ "adUnits": [ string ] } |
Fields | |
---|---|
adUnits[] |
Required. The names of the targeted ad units. Format = adUnits/456 |
DayPartTargeting
Defines targeting for a period of time on a specific week day.
JSON representation |
---|
{
"dayParts": [
{
object ( |
Fields | |
---|---|
dayParts[] |
A List of DayPart. |
DayPart
Daypart specifies if the ad can be shown only during certain parts of the day of the week.
JSON representation |
---|
{ "startTime": { object ( |
Fields | |
---|---|
startTime |
Specifies the targeted start time of day (inclusive). If either start or end time are omitted, any time of day is targeted. |
endTime |
Specifies the targeted end time of day (exclusive). If either start or end time are omitted, any time of day is targeted. |
targetedDays |
Specifies the targeted day of the week. If omitted, all days of the week is targeted. |