Google Ads Ad Manager V1 Client - Class BrowserTargeting (0.5.0)

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

Browser Targeting.

Allows publishers to target/exclude a browser type (e.g. Chrome, Firefox, Safari). For more information, see https://support.google.com/admanager/answer/2884033 (Targeting types > Browser).

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ targeted_browsers array

Optional. A list of browser resource names that should be targeted/included.

↳ excluded_browsers array

Optional. A list of browser resource names that should be excluded.

getTargetedBrowsers

Optional. A list of browser resource names that should be targeted/included.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTargetedBrowsers

Optional. A list of browser resource names that should be targeted/included.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getExcludedBrowsers

Optional. A list of browser resource names that should be excluded.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setExcludedBrowsers

Optional. A list of browser resource names that should be excluded.

Parameter
Name Description
var string[]
Returns
Type Description
$this