Reference documentation and code samples for the Google Ads Ad Manager V1 Client class ProgrammaticBuyer.
Represents a programmatic buyer.
Generated from protobuf message google.ads.admanager.v1.ProgrammaticBuyer
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the ProgrammaticBuyer
. Format: networks/{network_code}/programmaticBuyers/{buyer_account_id}
↳ buyer_account_id
int|string
Output only. The buyer account ID of the buyer.
↳ display_name
string
Output only. The display name of the buyer.
↳ parent_account_id
int|string
Output only. The ID of the programmatic buyer's sponsor. If the buyer has no sponsor, this field will be -1.
↳ partner_client_id
string
Output only. ID of the Display & Video 360 client buyer partner ID (if Display & Video 360) or Authorized Buyers client buyer account ID.
↳ agency
bool
Output only. Whether the buyer is an advertising agency.
↳ preferred_deals_enabled
bool
Output only. Whether the buyer is enabled for preferred deals.
↳ programmatic_guaranteed_enabled
bool
Output only. Whether the buyer is enabled for programmatic guaranteed deals.
getName
Identifier. The resource name of the ProgrammaticBuyer
.
Format: networks/{network_code}/programmaticBuyers/{buyer_account_id}
string
setName
Identifier. The resource name of the ProgrammaticBuyer
.
Format: networks/{network_code}/programmaticBuyers/{buyer_account_id}
var
string
$this
getBuyerAccountId
Output only. The buyer account ID of the buyer.
int|string
hasBuyerAccountId
clearBuyerAccountId
setBuyerAccountId
Output only. The buyer account ID of the buyer.
var
int|string
$this
getDisplayName
Output only. The display name of the buyer.
string
hasDisplayName
clearDisplayName
setDisplayName
Output only. The display name of the buyer.
var
string
$this
getParentAccountId
Output only. The ID of the programmatic buyer's sponsor. If the buyer has no sponsor, this field will be -1.
int|string
hasParentAccountId
clearParentAccountId
setParentAccountId
Output only. The ID of the programmatic buyer's sponsor. If the buyer has no sponsor, this field will be -1.
var
int|string
$this
getPartnerClientId
Output only. ID of the Display & Video 360 client buyer partner ID (if Display & Video 360) or Authorized Buyers client buyer account ID.
string
hasPartnerClientId
clearPartnerClientId
setPartnerClientId
Output only. ID of the Display & Video 360 client buyer partner ID (if Display & Video 360) or Authorized Buyers client buyer account ID.
var
string
$this
getAgency
Output only. Whether the buyer is an advertising agency.
bool
hasAgency
clearAgency
setAgency
Output only. Whether the buyer is an advertising agency.
var
bool
$this
getPreferredDealsEnabled
Output only. Whether the buyer is enabled for preferred deals.
bool
hasPreferredDealsEnabled
clearPreferredDealsEnabled
setPreferredDealsEnabled
Output only. Whether the buyer is enabled for preferred deals.
var
bool
$this
getProgrammaticGuaranteedEnabled
Output only. Whether the buyer is enabled for programmatic guaranteed deals.
bool
hasProgrammaticGuaranteedEnabled
clearProgrammaticGuaranteedEnabled
setProgrammaticGuaranteedEnabled
Output only. Whether the buyer is enabled for programmatic guaranteed deals.
var
bool
$this