@guardian/google-admanager-api
Version:
Google Ad Manager API Client Library for NodeJs
76 lines • 3.35 kB
TypeScript
/**
* Represents the actions that can be performed on {@link https://developers.google.com/ad-manager/api/reference/latest/LineItemService.LineItem LineItem} objects.
*/
export declare abstract class LineItemAction {
buildAttributes(): object;
}
/**
* The action used for activating {@link https://developers.google.com/ad-manager/api/reference/latest/LineItemService.LineItem LineItem} objects.
*/
export declare class ActivateLineItems implements LineItemAction {
buildAttributes(): object;
}
/**
* The action used for archiving {@link https://developers.google.com/ad-manager/api/reference/latest/LineItemService.LineItem LineItem} objects.
*/
export declare class ArchiveLineItems implements LineItemAction {
buildAttributes(): object;
}
/**
* The action used for deleting {@link https://developers.google.com/ad-manager/api/reference/latest/LineItemService.LineItem LineItem} objects.
* A line item can be deleted if it has never been eligible to serve.
* Note: deleted line items will still count against your network limits.
* For more information, see the {@link https://support.google.com/admanager/answer/1628457 Help Center}.
*/
export declare class DeleteLineItems implements LineItemAction {
buildAttributes(): object;
}
/**
* The action used for pausing {@link https://developers.google.com/ad-manager/api/reference/latest/LineItemService.LineItem LineItem} objects.
*/
export declare class PauseLineItems implements LineItemAction {
buildAttributes(): object;
}
/**
* The action used for releasing {@link https://developers.google.com/ad-manager/api/reference/latest/LineItemService.LineItem LineItem} objects.
*/
export declare class ReleaseLineItems implements LineItemAction {
buildAttributes(): object;
}
/**
* The action used for activating {@link https://developers.google.com/ad-manager/api/reference/latest/LineItemService.LineItem LineItem} objects.
*/
export declare class ReserveLineItems implements LineItemAction {
private skipInventoryCheckField;
/**
* Indicates whether the inventory check should be skipped when performing this action. The default value is false.
*/
get skipInventoryCheck(): boolean;
/**
* Indicates whether the inventory check should be skipped when performing this action. The default value is false.
*/
set skipInventoryCheck(value: boolean);
buildAttributes(): object;
}
/**
* The action used for activating {@link https://developers.google.com/ad-manager/api/reference/latest/LineItemService.LineItem LineItem} objects.
*/
export declare class ResumeLineItems implements LineItemAction {
private skipInventoryCheckField;
/**
* Indicates whether the inventory check should be skipped when performing this action. The default value is false.
*/
get skipInventoryCheck(): boolean;
/**
* Indicates whether the inventory check should be skipped when performing this action. The default value is false.
*/
set skipInventoryCheck(value: boolean);
buildAttributes(): object;
}
/**
* The action used for activating {@link https://developers.google.com/ad-manager/api/reference/latest/LineItemService.LineItem LineItem} objects.
*/
export declare class UnarchiveLineItems implements LineItemAction {
buildAttributes(): object;
}
//# sourceMappingURL=lineItem.action.d.ts.map