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

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

Browser Language Targeting.

For ads targeting mobile apps and their associated WebViews, the language used is based on the language specified by the user in their mobile device settings. If a browser has more than one language assigned to it, each language generates an impression.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ targeted_browser_languages array

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

↳ excluded_browser_languages array

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

getTargetedBrowserLanguages

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTargetedBrowserLanguages

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

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

getExcludedBrowserLanguages

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setExcludedBrowserLanguages

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

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