Google Ads Ad Manager V1 Client - Class EntitySignalsMapping (0.6.2)

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

The EntitySignalsMapping resource.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ audience_segment_id int|string

ID of an AudienceSegment that this mapping belongs to.

↳ content_bundle_id int|string

ID of a ContentBundle that this mapping belongs to.

↳ custom_targeting_value_id int|string

ID of a CustomValue that this mapping belongs to.

↳ name string

Identifier. The resource name of the EntitySignalsMapping. Format: networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}

↳ entity_signals_mapping_id int|string

Output only. EntitySignalsMapping ID.

↳ taxonomy_category_ids int[]|string[]

Optional. The IDs of the categories that are associated with the referencing entity.

getAudienceSegmentId

ID of an AudienceSegment that this mapping belongs to.

Returns
Type Description
int|string

hasAudienceSegmentId

setAudienceSegmentId

ID of an AudienceSegment that this mapping belongs to.

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

getContentBundleId

ID of a ContentBundle that this mapping belongs to.

Returns
Type Description
int|string

hasContentBundleId

setContentBundleId

ID of a ContentBundle that this mapping belongs to.

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

getCustomTargetingValueId

ID of a CustomValue that this mapping belongs to.

Returns
Type Description
int|string

hasCustomTargetingValueId

setCustomTargetingValueId

ID of a CustomValue that this mapping belongs to.

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

getName

Identifier. The resource name of the EntitySignalsMapping.

Format: networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}

Returns
Type Description
string

setName

Identifier. The resource name of the EntitySignalsMapping.

Format: networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getEntitySignalsMappingId

Output only. EntitySignalsMapping ID.

Returns
Type Description
int|string

hasEntitySignalsMappingId

clearEntitySignalsMappingId

setEntitySignalsMappingId

Output only. EntitySignalsMapping ID.

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

getTaxonomyCategoryIds

Optional. The IDs of the categories that are associated with the referencing entity.

Returns
Type Description
Google\Protobuf\RepeatedField<int>|Google\Protobuf\RepeatedField<string>

setTaxonomyCategoryIds

Optional. The IDs of the categories that are associated with the referencing entity.

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

getEntity

Returns
Type Description
string