| Package | Description |
|---|---|
| com.google.api.ads.dfp.axis.utils.v201111 | |
| com.google.api.ads.dfp.axis.v201111 |
| Modifier and Type | Method and Description |
|---|---|
static DateTime |
DateTimes.toDateTime(Calendar calendar)
Converts a
Calendar object to an API date time preserving the
time zone. |
static DateTime |
DateTimes.toDateTime(org.joda.time.DateTime dateTime)
Converts a
DateTime object to an API date time preserving the
time zone. |
static DateTime |
DateTimes.toDateTime(org.joda.time.Instant instant,
String timeZoneId)
Converts an
Instant object to an API date time in the time zone
supplied. |
static DateTime |
DateTimes.toDateTime(String dateTime,
String timeZoneId)
Converts a string in the form of
yyyy-MM-dd'T'HH:mm:ss to an API
date time in the time zone supplied. |
| Modifier and Type | Method and Description |
|---|---|
static Calendar |
DateTimes.toCalendar(DateTime dateTime)
Gets a calendar for a
DateTime using the default locale,
i.e. |
static Calendar |
DateTimes.toCalendar(DateTime dateTime,
Locale locale)
Gets a calendar for a
DateTime in the supplied locale. |
static org.joda.time.DateTime |
DateTimes.toDateTime(DateTime dateTime)
Converts an API date time to a
DateTime preserving the time zone. |
static String |
DateTimes.toString(DateTime dateTime)
Returns string representation of this date time.
|
static String |
DateTimes.toStringWithZone(DateTime dateTime,
String newZoneId)
Returns string representation of this date time with a different time
zone, preserving the millisecond instant.
|
| Modifier and Type | Method and Description |
|---|---|
DateTime |
LineItemSummary.getEndDateTime()
Gets the endDateTime value for this LineItemSummary.
|
DateTime |
LineItemCreativeAssociation.getEndDateTime()
Gets the endDateTime value for this LineItemCreativeAssociation.
|
DateTime |
Order.getEndDateTime()
Gets the endDateTime value for this Order.
|
DateTime |
LineItemSummary.getStartDateTime()
Gets the startDateTime value for this LineItemSummary.
|
DateTime |
LineItemCreativeAssociation.getStartDateTime()
Gets the startDateTime value for this LineItemCreativeAssociation.
|
DateTime |
Order.getStartDateTime()
Gets the startDateTime value for this Order.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LineItemSummary.setEndDateTime(DateTime endDateTime)
Sets the endDateTime value for this LineItemSummary.
|
void |
LineItemCreativeAssociation.setEndDateTime(DateTime endDateTime)
Sets the endDateTime value for this LineItemCreativeAssociation.
|
void |
Order.setEndDateTime(DateTime endDateTime)
Sets the endDateTime value for this Order.
|
void |
LineItemSummary.setStartDateTime(DateTime startDateTime)
Sets the startDateTime value for this LineItemSummary.
|
void |
LineItemCreativeAssociation.setStartDateTime(DateTime startDateTime)
Sets the startDateTime value for this LineItemCreativeAssociation.
|
void |
Order.setStartDateTime(DateTime startDateTime)
Sets the startDateTime value for this Order.
|
| Constructor and Description |
|---|
LineItem(Long orderId,
Long id,
String name,
String externalId,
String orderName,
DateTime startDateTime,
StartDateTimeType startDateTimeType,
DateTime endDateTime,
Boolean unlimitedEndDateTime,
CreativeRotationType creativeRotationType,
DeliveryRateType deliveryRateType,
RoadblockingType roadblockingType,
FrequencyCap[] frequencyCaps,
LineItemType lineItemType,
Integer priority,
UnitType unitType,
LineItemSummaryDuration duration,
Long unitsBought,
Money costPerUnit,
Money valueCostPerUnit,
CostType costType,
LineItemDiscountType discountType,
Double discount,
Long contractedUnitsBought,
CreativePlaceholder[] creativePlaceholders,
TargetPlatform targetPlatform,
EnvironmentType environmentType,
CompanionDeliveryOption companionDeliveryOption,
Boolean allowOverbook,
Boolean reserveAtCreation,
Stats stats,
DeliveryIndicator deliveryIndicator,
DeliveryData deliveryData,
Money budget,
ComputedStatus status,
LineItemSummaryReservationStatus reservationStatus,
Boolean isArchived,
AppliedLabel[] appliedLabels,
AppliedLabel[] effectiveAppliedLabels,
Boolean disableSameAdvertiserCompetitiveExclusion,
String lastModifiedByApp,
String notes,
String lineItemSummaryType,
Targeting targeting) |
LineItemCreativeAssociation(Long lineItemId,
Long creativeId,
Double manualCreativeRotationWeight,
DateTime startDateTime,
StartDateTimeType startDateTimeType,
DateTime endDateTime,
String destinationUrl,
Size[] sizes,
LineItemCreativeAssociationStatus status,
LineItemCreativeAssociationStats stats) |
LineItemSummary(Long orderId,
Long id,
String name,
String externalId,
String orderName,
DateTime startDateTime,
StartDateTimeType startDateTimeType,
DateTime endDateTime,
Boolean unlimitedEndDateTime,
CreativeRotationType creativeRotationType,
DeliveryRateType deliveryRateType,
RoadblockingType roadblockingType,
FrequencyCap[] frequencyCaps,
LineItemType lineItemType,
Integer priority,
UnitType unitType,
LineItemSummaryDuration duration,
Long unitsBought,
Money costPerUnit,
Money valueCostPerUnit,
CostType costType,
LineItemDiscountType discountType,
Double discount,
Long contractedUnitsBought,
CreativePlaceholder[] creativePlaceholders,
TargetPlatform targetPlatform,
EnvironmentType environmentType,
CompanionDeliveryOption companionDeliveryOption,
Boolean allowOverbook,
Boolean reserveAtCreation,
Stats stats,
DeliveryIndicator deliveryIndicator,
DeliveryData deliveryData,
Money budget,
ComputedStatus status,
LineItemSummaryReservationStatus reservationStatus,
Boolean isArchived,
AppliedLabel[] appliedLabels,
AppliedLabel[] effectiveAppliedLabels,
Boolean disableSameAdvertiserCompetitiveExclusion,
String lastModifiedByApp,
String notes,
String lineItemSummaryType) |
Order(Long id,
String name,
DateTime startDateTime,
DateTime endDateTime,
Boolean unlimitedEndDateTime,
OrderStatus status,
Boolean isArchived,
String notes,
Integer externalOrderId,
String poNumber,
String currencyCode,
Long advertiserId,
Long agencyId,
Long creatorId,
Long traffickerId,
long[] secondaryTraffickerIds,
Long salespersonId,
long[] secondarySalespersonIds,
Long totalImpressionsDelivered,
Long totalClicksDelivered,
Money totalBudget,
AppliedLabel[] appliedLabels,
AppliedLabel[] effectiveAppliedLabels,
String lastModifiedByApp) |
Copyright © 2012. All Rights Reserved.