Google Ads Ad Manager V1 Client - Class PrivateAuctionDeal (0.3.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class PrivateAuctionDeal.

The PrivateAuctionDeal resource.

Generated from protobuf message google.ads.admanager.v1.PrivateAuctionDeal

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Identifier. The resource name of the PrivateAuctionDeal . Format: networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}

↳ private_auction_deal_id
int|string

Output only. PrivateAuctionDeal ID.

↳ private_auction_id
int|string

Immutable. The ID of the PrivateAuction .

↳ private_auction_display_name
string

Output only. The display name of the PrivateAuction .

↳ buyer_account_id
int|string

Immutable. The account ID of the buyer of the PrivateAuctionDeal .

↳ external_deal_id
int|string

Output only. The external ID of the PrivateAuctionDeal .

↳ targeting
Targeting

Optional. The targeting of the PrivateAuctionDeal .

↳ end_time
Google\Protobuf\Timestamp

Optional. The end time of the PrivateAuctionDeal .

↳ floor_price
Google\Type\Money

Required. The floor price of the PrivateAuctionDeal .

↳ creative_sizes
array< Size >

Optional. The expected creative sizes of the PrivateAuctionDeal .

↳ status
int

Output only. The status of the PrivateAuctionDeal .

↳ auction_priority_enabled
bool

Optional. Whether the deal is enabled with priority over open auction.

↳ block_override_enabled
bool

Optional. Whether the deal has block override enabled.

↳ buyer_permission_type
int

Optional. The buyer permission model defining how the deal would transact among all buyers under the same bidder.

↳ buyer_data
PrivateAuctionDeal\BuyerData

Optional. The buyer data required by the Marketplace API.

↳ create_time
Google\Protobuf\Timestamp

Output only. The instant at which the PrivateAuctionDeal was created.

↳ update_time
Google\Protobuf\Timestamp

Output only. The instant at which the PrivateAuctionDeal was last updated.

getName

Identifier. The resource name of the PrivateAuctionDeal .

Format: networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}

Returns
Type
Description
string

setName

Identifier. The resource name of the PrivateAuctionDeal .

Format: networks/{network_code}/privateAuctionDeals/{private_auction_deal_id}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPrivateAuctionDealId

Output only. PrivateAuctionDeal ID.

Returns
Type
Description
int|string

hasPrivateAuctionDealId

clearPrivateAuctionDealId

setPrivateAuctionDealId

Output only. PrivateAuctionDeal ID.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getPrivateAuctionId

Immutable. The ID of the PrivateAuction .

Returns
Type
Description
int|string

hasPrivateAuctionId

clearPrivateAuctionId

setPrivateAuctionId

Immutable. The ID of the PrivateAuction .

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getPrivateAuctionDisplayName

Output only. The display name of the PrivateAuction .

Returns
Type
Description
string

hasPrivateAuctionDisplayName

clearPrivateAuctionDisplayName

setPrivateAuctionDisplayName

Output only. The display name of the PrivateAuction .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getBuyerAccountId

Immutable. The account ID of the buyer of the PrivateAuctionDeal .

Returns
Type
Description
int|string

hasBuyerAccountId

clearBuyerAccountId

setBuyerAccountId

Immutable. The account ID of the buyer of the PrivateAuctionDeal .

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getExternalDealId

Output only. The external ID of the PrivateAuctionDeal .

Returns
Type
Description
int|string

hasExternalDealId

clearExternalDealId

setExternalDealId

Output only. The external ID of the PrivateAuctionDeal .

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getTargeting

Optional. The targeting of the PrivateAuctionDeal .

Returns
Type
Description
Targeting |null

hasTargeting

clearTargeting

setTargeting

Optional. The targeting of the PrivateAuctionDeal .

Parameter
Name
Description
var
Returns
Type
Description
$this

getEndTime

Optional. The end time of the PrivateAuctionDeal .

Returns
Type
Description

hasEndTime

clearEndTime

setEndTime

Optional. The end time of the PrivateAuctionDeal .

Parameter
Name
Description
Returns
Type
Description
$this

getFloorPrice

Required. The floor price of the PrivateAuctionDeal .

Returns
Type
Description

hasFloorPrice

clearFloorPrice

setFloorPrice

Required. The floor price of the PrivateAuctionDeal .

Parameter
Name
Description
Returns
Type
Description
$this

getCreativeSizes

Optional. The expected creative sizes of the PrivateAuctionDeal .

Returns
Type
Description

setCreativeSizes

Optional. The expected creative sizes of the PrivateAuctionDeal .

Parameter
Name
Description
var
array< Size >
Returns
Type
Description
$this

getStatus

Output only. The status of the PrivateAuctionDeal .

Returns
Type
Description
int

hasStatus

clearStatus

setStatus

Output only. The status of the PrivateAuctionDeal .

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getAuctionPriorityEnabled

Optional. Whether the deal is enabled with priority over open auction.

Returns
Type
Description
bool

hasAuctionPriorityEnabled

clearAuctionPriorityEnabled

setAuctionPriorityEnabled

Optional. Whether the deal is enabled with priority over open auction.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getBlockOverrideEnabled

Optional. Whether the deal has block override enabled.

Returns
Type
Description
bool

hasBlockOverrideEnabled

clearBlockOverrideEnabled

setBlockOverrideEnabled

Optional. Whether the deal has block override enabled.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getBuyerPermissionType

Optional. The buyer permission model defining how the deal would transact among all buyers under the same bidder.

Returns
Type
Description
int

hasBuyerPermissionType

clearBuyerPermissionType

setBuyerPermissionType

Optional. The buyer permission model defining how the deal would transact among all buyers under the same bidder.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getBuyerData

Optional. The buyer data required by the Marketplace API.

Returns
Type
Description

hasBuyerData

clearBuyerData

setBuyerData

Optional. The buyer data required by the Marketplace API.

Parameter
Name
Description
Returns
Type
Description
$this

getCreateTime

Output only. The instant at which the PrivateAuctionDeal was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The instant at which the PrivateAuctionDeal was created.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. The instant at which the PrivateAuctionDeal was last updated.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The instant at which the PrivateAuctionDeal was last updated.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: