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

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

Deprecated: ID of an AudienceSegment that this mapping belongs to.

↳ content_bundle_id int|string

Deprecated: ID of a ContentBundle that this mapping belongs to.

↳ custom_targeting_value_id int|string

Deprecated: ID of a CustomTargetingValue that this mapping belongs to.

↳ audience_segment string

The resource name of an AudienceSegment that this mapping belongs to. Format: networks/{network_code}/audienceSegments/{audience_segment_id}

↳ content_bundle string

The resource name of a ContentBundle that this mapping belongs to. Format: networks/{network_code}/contentBundles/{content_bundle_id}

↳ custom_targeting_value string

The resource name of a CustomTargetingValue that this mapping belongs to. Format: networks/{network_code}/customTargetingValues/{custom_targeting_value_id}

↳ 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. Deprecated: EntitySignalsMapping ID.

↳ taxonomy_category_ids int[]|string[]

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

↳ taxonomy_categories string[]

Optional. The resource names of the TaxonomyCategory that are associated with the referencing entity. Format: networks/{network_code}/taxonomyCategories/{taxonomyCategoryId}

getAudienceSegmentId

Deprecated: ID of an AudienceSegment that this mapping belongs to.

Returns
Type Description
int|string

hasAudienceSegmentId

setAudienceSegmentId

Deprecated: ID of an AudienceSegment that this mapping belongs to.

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

getContentBundleId

Deprecated: ID of a ContentBundle that this mapping belongs to.

Returns
Type Description
int|string

hasContentBundleId

setContentBundleId

Deprecated: ID of a ContentBundle that this mapping belongs to.

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

getCustomTargetingValueId

Deprecated: ID of a CustomTargetingValue that this mapping belongs to.

Returns
Type Description
int|string

hasCustomTargetingValueId

setCustomTargetingValueId

Deprecated: ID of a CustomTargetingValue that this mapping belongs to.

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

getAudienceSegment

The resource name of an AudienceSegment that this mapping belongs to. Format: networks/{network_code}/audienceSegments/{audience_segment_id}

Returns
Type Description
string

hasAudienceSegment

setAudienceSegment

The resource name of an AudienceSegment that this mapping belongs to. Format: networks/{network_code}/audienceSegments/{audience_segment_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getContentBundle

The resource name of a ContentBundle that this mapping belongs to. Format: networks/{network_code}/contentBundles/{content_bundle_id}

Returns
Type Description
string

hasContentBundle

setContentBundle

The resource name of a ContentBundle that this mapping belongs to. Format: networks/{network_code}/contentBundles/{content_bundle_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getCustomTargetingValue

The resource name of a CustomTargetingValue that this mapping belongs to. Format: networks/{network_code}/customTargetingValues/{custom_targeting_value_id}

Returns
Type Description
string

hasCustomTargetingValue

setCustomTargetingValue

The resource name of a CustomTargetingValue that this mapping belongs to. Format: networks/{network_code}/customTargetingValues/{custom_targeting_value_id}

Parameter
Name Description
var 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. Deprecated: EntitySignalsMapping ID.

Returns
Type Description
int|string

hasEntitySignalsMappingId

clearEntitySignalsMappingId

setEntitySignalsMappingId

Output only. Deprecated: EntitySignalsMapping ID.

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

getTaxonomyCategoryIds

Optional. Deprecated: 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. Deprecated: The IDs of the categories that are associated with the referencing entity.

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

getTaxonomyCategories

Optional. The resource names of the TaxonomyCategory that are associated with the referencing entity. Format: networks/{network_code}/taxonomyCategories/{taxonomyCategoryId}

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setTaxonomyCategories

Optional. The resource names of the TaxonomyCategory that are associated with the referencing entity. Format: networks/{network_code}/taxonomyCategories/{taxonomyCategoryId}

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

getEntity

Returns
Type Description
string

getEntityName

Returns
Type Description
string