Class GoogleImaAdDescription.Builder
-
- All Implemented Interfaces:
public class GoogleImaAdDescription.Builder
The builder for the GoogleImaAdDescription.
-
-
Constructor Summary
Constructors Constructor Description GoogleImaAdDescription.Builder(String source)
Creates a builder for GoogleImaAdDescription configured with an ad source.
-
Method Summary
Modifier and Type Method Description GoogleImaAdDescription.Builder
timeOffset(@NonNull() String timeOffset)
Sets the offset after which the ad break will start. GoogleImaAdDescription
build()
Builds the GoogleImaAdDescription. -
-
Constructor Detail
-
GoogleImaAdDescription.Builder
GoogleImaAdDescription.Builder(String source)
Creates a builder for GoogleImaAdDescription configured with an ad source.- Parameters:
source
- The source which contains the location of the ad resources to be scheduled.
-
-
Method Detail
-
timeOffset
@NonNull() GoogleImaAdDescription.Builder timeOffset(@NonNull() String timeOffset)
Sets the offset after which the ad break will start. Possible formats:
- A number for the offset in seconds.
- A percentage string (XX%) for a proportion of the content duration.
- A time-description specifying "start" or "end".
- A timestamp of the format: 00:00:10.000.
- Parameters:
timeOffset
- The time offset after which the ad break will start.
-
build
@NonNull() GoogleImaAdDescription build()
Builds the GoogleImaAdDescription.
-
-
-
-