public static class GoogleImaAdDescription.Builder extends Object
GoogleImaAdDescription
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GoogleImaAdDescription |
build()
Builds the GoogleImaAdDescription.
|
static GoogleImaAdDescription.Builder |
googleImaAdDescription()
Creates a builder for GoogleImaAdDescription.
|
static GoogleImaAdDescription.Builder |
googleImaAdDescription(String source)
Creates a builder for GoogleImaAdDescription configured with an ad source.
|
GoogleImaAdDescription.Builder |
source(String source)
Sets the source which contains the location of the ad resources to be scheduled.
|
GoogleImaAdDescription.Builder |
timeOffset(String timeOffset)
Sets the offset after which the ad break will start.
|
public static GoogleImaAdDescription.Builder googleImaAdDescription()
public static GoogleImaAdDescription.Builder googleImaAdDescription(String source)
source
- The source which contains the location of the ad resources to be scheduled. (NonNull)public GoogleImaAdDescription.Builder source(String source)
source
- The ad source. (NonNull)public GoogleImaAdDescription.Builder timeOffset(String timeOffset)
timeOffset
- The time offset after which the ad break will start. (NonNull)- A number for the offset in seconds. - A percentage string (XX%) for a proportion of the content duration.
public GoogleImaAdDescription build()