Google Ads Ad Manager V1 Client - Class ThirdPartyDataDeclaration (0.14.1)

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

Represents a set of declarations about what (if any) third party companies are associated with a given creative. This can also be set on the Network to serve as a default for those creatives that don't have such field set.

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

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ declaration_type int

Optional. The declaration about third party data usage on the associated entity.

↳ third_party_companies string[]

Optional. A list of ThirdPartyCompanies associated with this entity. Format: "networks/{network_code}/thirdPartyCompanies/{third_party_company}"

getDeclarationType

Optional. The declaration about third party data usage on the associated entity.

Returns
Type Description
int Enum of type ThirdPartyDataDeclarationType.

setDeclarationType

Optional. The declaration about third party data usage on the associated entity.

Parameter
Name Description
var int

Enum of type ThirdPartyDataDeclarationType.

Returns
Type Description
$this

getThirdPartyCompanies

Optional. A list of ThirdPartyCompanies associated with this entity.

Format: "networks/{network_code}/thirdPartyCompanies/{third_party_company}"

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setThirdPartyCompanies

Optional. A list of ThirdPartyCompanies associated with this entity.

Format: "networks/{network_code}/thirdPartyCompanies/{third_party_company}"

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