Reference documentation and code samples for the Google Ads Data Manager V1 Client class CustomVariable.
Custom variable for ads conversions.
Generated from protobuf message google.ads.datamanager.v1.CustomVariable
Namespace
Google \ Ads \ DataManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ variable
string
Optional. The name of the custom variable to set. If the variable is not found for the given destination, it will be ignored.
↳ value
string
Optional. The value to store for the custom variable.
↳ destination_references
array
Optional. Reference string used to determine which of the Event.destination_references the custom variable should be sent to. If empty, the Event.destination_references will be used.
getVariable
Optional. The name of the custom variable to set. If the variable is not found for the given destination, it will be ignored.
string
setVariable
Optional. The name of the custom variable to set. If the variable is not found for the given destination, it will be ignored.
var
string
$this
getValue
Optional. The value to store for the custom variable.
string
setValue
Optional. The value to store for the custom variable.
var
string
$this
getDestinationReferences
Optional. Reference string used to determine which of the Event.destination_references the custom variable should be sent to. If empty, the Event.destination_references will be used.
setDestinationReferences
Optional. Reference string used to determine which of the Event.destination_references the custom variable should be sent to. If empty, the Event.destination_references will be used.
var
string[]
$this

