Google_Service_Doubleclicksearch_Conversion
extends Google_Collection
in package
Extension to the regular Google_Model that automatically exposes the items array for iteration, so you can just iterate over the object rather than a reference inside.
Table of Contents
- NULL_VALUE = "{}gapi-php-null"
- If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE instead - it will be replaced when converting to JSON with a real null.
- $adGroupId : mixed
- $adId : mixed
- $advertiserId : mixed
- $agencyId : mixed
- $attributionModel : mixed
- $campaignId : mixed
- $channel : mixed
- $clickId : mixed
- $conversionId : mixed
- $conversionModifiedTimestamp : mixed
- $conversionTimestamp : mixed
- $countMillis : mixed
- $criterionId : mixed
- $currencyCode : mixed
- $deviceType : mixed
- $dsConversionId : mixed
- $engineAccountId : mixed
- $floodlightOrderId : mixed
- $inventoryAccountId : mixed
- $productCountry : mixed
- $productGroupId : mixed
- $productId : mixed
- $productLanguage : mixed
- $quantityMillis : mixed
- $revenueMicros : mixed
- $segmentationId : mixed
- $segmentationName : mixed
- $segmentationType : mixed
- $state : mixed
- $storeId : mixed
- $type : mixed
- $collection_key : mixed
- $customDimensionDataType : mixed
- $customDimensionType : mixed
- $customMetricDataType : mixed
- $customMetricType : mixed
- $internal_gapi_mappings : mixed
- $modelData : mixed
- $processed : mixed
- __construct() : mixed
- Polymorphic - accepts a variable number of arguments dependent on the type of the model subclass.
- __get() : mixed
- Getter that handles passthrough access to the data array, and lazy object creation.
- __isset() : mixed
- __unset() : mixed
- assertIsArray() : mixed
- Verify if $obj is an array.
- count() : mixed
- current() : mixed
- getAdGroupId() : mixed
- getAdId() : mixed
- getAdvertiserId() : mixed
- getAgencyId() : mixed
- getAttributionModel() : mixed
- getCampaignId() : mixed
- getChannel() : mixed
- getClickId() : mixed
- getConversionId() : mixed
- getConversionModifiedTimestamp() : mixed
- getConversionTimestamp() : mixed
- getCountMillis() : mixed
- getCriterionId() : mixed
- getCurrencyCode() : mixed
- getCustomDimension() : Google_Service_Doubleclicksearch_CustomDimension
- getCustomMetric() : Google_Service_Doubleclicksearch_CustomMetric
- getDeviceType() : mixed
- getDsConversionId() : mixed
- getEngineAccountId() : mixed
- getFloodlightOrderId() : mixed
- getInventoryAccountId() : mixed
- getProductCountry() : mixed
- getProductGroupId() : mixed
- getProductId() : mixed
- getProductLanguage() : mixed
- getQuantityMillis() : mixed
- getRevenueMicros() : mixed
- getSegmentationId() : mixed
- getSegmentationName() : mixed
- getSegmentationType() : mixed
- getState() : mixed
- getStoreId() : mixed
- getType() : mixed
- key() : mixed
- next() : mixed
- offsetExists() : mixed
- offsetGet() : mixed
- offsetSet() : mixed
- offsetUnset() : mixed
- rewind() : mixed
- setAdGroupId() : mixed
- setAdId() : mixed
- setAdvertiserId() : mixed
- setAgencyId() : mixed
- setAttributionModel() : mixed
- setCampaignId() : mixed
- setChannel() : mixed
- setClickId() : mixed
- setConversionId() : mixed
- setConversionModifiedTimestamp() : mixed
- setConversionTimestamp() : mixed
- setCountMillis() : mixed
- setCriterionId() : mixed
- setCurrencyCode() : mixed
- setCustomDimension() : mixed
- setCustomMetric() : mixed
- setDeviceType() : mixed
- setDsConversionId() : mixed
- setEngineAccountId() : mixed
- setFloodlightOrderId() : mixed
- setInventoryAccountId() : mixed
- setProductCountry() : mixed
- setProductGroupId() : mixed
- setProductId() : mixed
- setProductLanguage() : mixed
- setQuantityMillis() : mixed
- setRevenueMicros() : mixed
- setSegmentationId() : mixed
- setSegmentationName() : mixed
- setSegmentationType() : mixed
- setState() : mixed
- setStoreId() : mixed
- setType() : mixed
- toSimpleObject() : mixed
- Create a simplified object suitable for straightforward conversion to JSON. This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.
- valid() : mixed
- dataType() : mixed
- gapiInit() : mixed
- Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
- isAssociativeArray() : bool
- Returns true only if the array is associative.
- keyType() : mixed
- mapTypes() : void
- Initialize this object's properties from an array.
- camelCase() : string
- Convert a string to camelCase
- coerceType() : mixed
- getMappedName() : mixed
- If there is an internal name mapping, use that.
- getSimpleValue() : mixed
- Handle different types of values, primarily other objects and map and array data types.
- nullPlaceholderCheck() : mixed
- Check whether the value is the null placeholder and return true null.
Constants
NULL_VALUE
If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE instead - it will be replaced when converting to JSON with a real null.
public
mixed
NULL_VALUE
= "{}gapi-php-null"
Properties
$adGroupId
public
mixed
$adGroupId
$adId
public
mixed
$adId
$advertiserId
public
mixed
$advertiserId
$agencyId
public
mixed
$agencyId
$attributionModel
public
mixed
$attributionModel
$campaignId
public
mixed
$campaignId
$channel
public
mixed
$channel
$clickId
public
mixed
$clickId
$conversionId
public
mixed
$conversionId
$conversionModifiedTimestamp
public
mixed
$conversionModifiedTimestamp
$conversionTimestamp
public
mixed
$conversionTimestamp
$countMillis
public
mixed
$countMillis
$criterionId
public
mixed
$criterionId
$currencyCode
public
mixed
$currencyCode
$deviceType
public
mixed
$deviceType
$dsConversionId
public
mixed
$dsConversionId
$engineAccountId
public
mixed
$engineAccountId
$floodlightOrderId
public
mixed
$floodlightOrderId
$inventoryAccountId
public
mixed
$inventoryAccountId
$productCountry
public
mixed
$productCountry
$productGroupId
public
mixed
$productGroupId
$productId
public
mixed
$productId
$productLanguage
public
mixed
$productLanguage
$quantityMillis
public
mixed
$quantityMillis
$revenueMicros
public
mixed
$revenueMicros
$segmentationId
public
mixed
$segmentationId
$segmentationName
public
mixed
$segmentationName
$segmentationType
public
mixed
$segmentationType
$state
public
mixed
$state
$storeId
public
mixed
$storeId
$type
public
mixed
$type
$collection_key
protected
mixed
$collection_key
= 'customMetric'
$customDimensionDataType
protected
mixed
$customDimensionDataType
= 'array'
$customDimensionType
protected
mixed
$customDimensionType
= 'Google_Service_Doubleclicksearch_CustomDimension'
$customMetricDataType
protected
mixed
$customMetricDataType
= 'array'
$customMetricType
protected
mixed
$customMetricType
= 'Google_Service_Doubleclicksearch_CustomMetric'
$internal_gapi_mappings
protected
mixed
$internal_gapi_mappings
= array()
$modelData
protected
mixed
$modelData
= array()
$processed
protected
mixed
$processed
= array()
Methods
__construct()
Polymorphic - accepts a variable number of arguments dependent on the type of the model subclass.
public
final __construct() : mixed
Return values
mixed —__get()
Getter that handles passthrough access to the data array, and lazy object creation.
public
__get(string $key) : mixed
Parameters
- $key : string
-
Property name.
Return values
mixed —The value if any, or null.
__isset()
public
__isset(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —__unset()
public
__unset(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —assertIsArray()
Verify if $obj is an array.
public
assertIsArray(array<string|int, mixed> $obj, string $method) : mixed
Parameters
- $obj : array<string|int, mixed>
-
Items that should be validated.
- $method : string
-
Method expecting an array as an argument.
Tags
Return values
mixed —count()
public
count() : mixed
Return values
mixed —current()
public
current() : mixed
Return values
mixed —getAdGroupId()
public
getAdGroupId() : mixed
Return values
mixed —getAdId()
public
getAdId() : mixed
Return values
mixed —getAdvertiserId()
public
getAdvertiserId() : mixed
Return values
mixed —getAgencyId()
public
getAgencyId() : mixed
Return values
mixed —getAttributionModel()
public
getAttributionModel() : mixed
Return values
mixed —getCampaignId()
public
getCampaignId() : mixed
Return values
mixed —getChannel()
public
getChannel() : mixed
Return values
mixed —getClickId()
public
getClickId() : mixed
Return values
mixed —getConversionId()
public
getConversionId() : mixed
Return values
mixed —getConversionModifiedTimestamp()
public
getConversionModifiedTimestamp() : mixed
Return values
mixed —getConversionTimestamp()
public
getConversionTimestamp() : mixed
Return values
mixed —getCountMillis()
public
getCountMillis() : mixed
Return values
mixed —getCriterionId()
public
getCriterionId() : mixed
Return values
mixed —getCurrencyCode()
public
getCurrencyCode() : mixed
Return values
mixed —getCustomDimension()
public
getCustomDimension() : Google_Service_Doubleclicksearch_CustomDimension
Return values
Google_Service_Doubleclicksearch_CustomDimension —getCustomMetric()
public
getCustomMetric() : Google_Service_Doubleclicksearch_CustomMetric
Return values
Google_Service_Doubleclicksearch_CustomMetric —getDeviceType()
public
getDeviceType() : mixed
Return values
mixed —getDsConversionId()
public
getDsConversionId() : mixed
Return values
mixed —getEngineAccountId()
public
getEngineAccountId() : mixed
Return values
mixed —getFloodlightOrderId()
public
getFloodlightOrderId() : mixed
Return values
mixed —getInventoryAccountId()
public
getInventoryAccountId() : mixed
Return values
mixed —getProductCountry()
public
getProductCountry() : mixed
Return values
mixed —getProductGroupId()
public
getProductGroupId() : mixed
Return values
mixed —getProductId()
public
getProductId() : mixed
Return values
mixed —getProductLanguage()
public
getProductLanguage() : mixed
Return values
mixed —getQuantityMillis()
public
getQuantityMillis() : mixed
Return values
mixed —getRevenueMicros()
public
getRevenueMicros() : mixed
Return values
mixed —getSegmentationId()
public
getSegmentationId() : mixed
Return values
mixed —getSegmentationName()
public
getSegmentationName() : mixed
Return values
mixed —getSegmentationType()
public
getSegmentationType() : mixed
Return values
mixed —getState()
public
getState() : mixed
Return values
mixed —getStoreId()
public
getStoreId() : mixed
Return values
mixed —getType()
public
getType() : mixed
Return values
mixed —key()
public
key() : mixed
Return values
mixed —next()
public
next() : mixed
Return values
mixed —offsetExists()
public
offsetExists(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetSet()
public
offsetSet(mixed $offset, mixed $value) : mixed
Parameters
- $offset : mixed
- $value : mixed
Return values
mixed —offsetUnset()
public
offsetUnset(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —rewind()
public
rewind() : mixed
Return values
mixed —setAdGroupId()
public
setAdGroupId(mixed $adGroupId) : mixed
Parameters
- $adGroupId : mixed
Return values
mixed —setAdId()
public
setAdId(mixed $adId) : mixed
Parameters
- $adId : mixed
Return values
mixed —setAdvertiserId()
public
setAdvertiserId(mixed $advertiserId) : mixed
Parameters
- $advertiserId : mixed
Return values
mixed —setAgencyId()
public
setAgencyId(mixed $agencyId) : mixed
Parameters
- $agencyId : mixed
Return values
mixed —setAttributionModel()
public
setAttributionModel(mixed $attributionModel) : mixed
Parameters
- $attributionModel : mixed
Return values
mixed —setCampaignId()
public
setCampaignId(mixed $campaignId) : mixed
Parameters
- $campaignId : mixed
Return values
mixed —setChannel()
public
setChannel(mixed $channel) : mixed
Parameters
- $channel : mixed
Return values
mixed —setClickId()
public
setClickId(mixed $clickId) : mixed
Parameters
- $clickId : mixed
Return values
mixed —setConversionId()
public
setConversionId(mixed $conversionId) : mixed
Parameters
- $conversionId : mixed
Return values
mixed —setConversionModifiedTimestamp()
public
setConversionModifiedTimestamp(mixed $conversionModifiedTimestamp) : mixed
Parameters
- $conversionModifiedTimestamp : mixed
Return values
mixed —setConversionTimestamp()
public
setConversionTimestamp(mixed $conversionTimestamp) : mixed
Parameters
- $conversionTimestamp : mixed
Return values
mixed —setCountMillis()
public
setCountMillis(mixed $countMillis) : mixed
Parameters
- $countMillis : mixed
Return values
mixed —setCriterionId()
public
setCriterionId(mixed $criterionId) : mixed
Parameters
- $criterionId : mixed
Return values
mixed —setCurrencyCode()
public
setCurrencyCode(mixed $currencyCode) : mixed
Parameters
- $currencyCode : mixed
Return values
mixed —setCustomDimension()
public
setCustomDimension(mixed $customDimension) : mixed
Parameters
- $customDimension : mixed
Return values
mixed —setCustomMetric()
public
setCustomMetric(mixed $customMetric) : mixed
Parameters
- $customMetric : mixed
Return values
mixed —setDeviceType()
public
setDeviceType(mixed $deviceType) : mixed
Parameters
- $deviceType : mixed
Return values
mixed —setDsConversionId()
public
setDsConversionId(mixed $dsConversionId) : mixed
Parameters
- $dsConversionId : mixed
Return values
mixed —setEngineAccountId()
public
setEngineAccountId(mixed $engineAccountId) : mixed
Parameters
- $engineAccountId : mixed
Return values
mixed —setFloodlightOrderId()
public
setFloodlightOrderId(mixed $floodlightOrderId) : mixed
Parameters
- $floodlightOrderId : mixed
Return values
mixed —setInventoryAccountId()
public
setInventoryAccountId(mixed $inventoryAccountId) : mixed
Parameters
- $inventoryAccountId : mixed
Return values
mixed —setProductCountry()
public
setProductCountry(mixed $productCountry) : mixed
Parameters
- $productCountry : mixed
Return values
mixed —setProductGroupId()
public
setProductGroupId(mixed $productGroupId) : mixed
Parameters
- $productGroupId : mixed
Return values
mixed —setProductId()
public
setProductId(mixed $productId) : mixed
Parameters
- $productId : mixed
Return values
mixed —setProductLanguage()
public
setProductLanguage(mixed $productLanguage) : mixed
Parameters
- $productLanguage : mixed
Return values
mixed —setQuantityMillis()
public
setQuantityMillis(mixed $quantityMillis) : mixed
Parameters
- $quantityMillis : mixed
Return values
mixed —setRevenueMicros()
public
setRevenueMicros(mixed $revenueMicros) : mixed
Parameters
- $revenueMicros : mixed
Return values
mixed —setSegmentationId()
public
setSegmentationId(mixed $segmentationId) : mixed
Parameters
- $segmentationId : mixed
Return values
mixed —setSegmentationName()
public
setSegmentationName(mixed $segmentationName) : mixed
Parameters
- $segmentationName : mixed
Return values
mixed —setSegmentationType()
public
setSegmentationType(mixed $segmentationType) : mixed
Parameters
- $segmentationType : mixed
Return values
mixed —setState()
public
setState(mixed $state) : mixed
Parameters
- $state : mixed
Return values
mixed —setStoreId()
public
setStoreId(mixed $storeId) : mixed
Parameters
- $storeId : mixed
Return values
mixed —setType()
public
setType(mixed $type) : mixed
Parameters
- $type : mixed
Return values
mixed —toSimpleObject()
Create a simplified object suitable for straightforward conversion to JSON. This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.
public
toSimpleObject() : mixed
Return values
mixed —valid()
public
valid() : mixed
Return values
mixed —dataType()
protected
dataType(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —gapiInit()
Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
protected
gapiInit() : mixed
Return values
mixed —isAssociativeArray()
Returns true only if the array is associative.
protected
isAssociativeArray(array<string|int, mixed> $array) : bool
Parameters
- $array : array<string|int, mixed>
Return values
bool —True if the array is associative.
keyType()
protected
keyType(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —mapTypes()
Initialize this object's properties from an array.
protected
mapTypes(array<string|int, mixed> $array) : void
Parameters
- $array : array<string|int, mixed>
-
Used to seed this object's properties.
Return values
void —camelCase()
Convert a string to camelCase
private
camelCase(string $value) : string
Parameters
- $value : string
Return values
string —coerceType()
private
coerceType(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —getMappedName()
If there is an internal name mapping, use that.
private
getMappedName(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —getSimpleValue()
Handle different types of values, primarily other objects and map and array data types.
private
getSimpleValue(mixed $value) : mixed
Parameters
- $value : mixed
Return values
mixed —nullPlaceholderCheck()
Check whether the value is the null placeholder and return true null.
private
nullPlaceholderCheck(mixed $value) : mixed
Parameters
- $value : mixed