Google_Service_AdExchangeBuyer_Creative
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.
- $accountId : mixed
- $adChoicesDestinationUrl : mixed
- $advertiserId : mixed
- $advertiserName : mixed
- $agencyId : mixed
- $apiUploadTimestamp : mixed
- $attribute : mixed
- $buyerCreativeId : mixed
- $clickThroughUrl : mixed
- $creativeStatusIdentityType : mixed
- $dealsStatus : mixed
- $detectedDomains : mixed
- $height : mixed
- $hTMLSnippet : mixed
- $impressionTrackingUrl : mixed
- $kind : mixed
- $languages : mixed
- $openAuctionStatus : mixed
- $productCategories : mixed
- $restrictedCategories : mixed
- $sensitiveCategories : mixed
- $vendorType : mixed
- $version : mixed
- $videoURL : mixed
- $videoVastXML : mixed
- $width : mixed
- $adTechnologyProvidersDataType : mixed
- $adTechnologyProvidersType : mixed
- $collection_key : mixed
- $correctionsDataType : mixed
- $correctionsType : mixed
- $filteringReasonsDataType : mixed
- $filteringReasonsType : mixed
- $internal_gapi_mappings : mixed
- $modelData : mixed
- $nativeAdDataType : mixed
- $nativeAdType : mixed
- $processed : mixed
- $servingRestrictionsDataType : mixed
- $servingRestrictionsType : 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
- getAccountId() : mixed
- getAdChoicesDestinationUrl() : mixed
- getAdTechnologyProviders() : Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders
- getAdvertiserId() : mixed
- getAdvertiserName() : mixed
- getAgencyId() : mixed
- getApiUploadTimestamp() : mixed
- getAttribute() : mixed
- getBuyerCreativeId() : mixed
- getClickThroughUrl() : mixed
- getCorrections() : Google_Service_AdExchangeBuyer_CreativeCorrections
- getCreativeStatusIdentityType() : mixed
- getDealsStatus() : mixed
- getDetectedDomains() : mixed
- getFilteringReasons() : Google_Service_AdExchangeBuyer_CreativeFilteringReasons
- getHeight() : mixed
- getHTMLSnippet() : mixed
- getImpressionTrackingUrl() : mixed
- getKind() : mixed
- getLanguages() : mixed
- getNativeAd() : Google_Service_AdExchangeBuyer_CreativeNativeAd
- getOpenAuctionStatus() : mixed
- getProductCategories() : mixed
- getRestrictedCategories() : mixed
- getSensitiveCategories() : mixed
- getServingRestrictions() : Google_Service_AdExchangeBuyer_CreativeServingRestrictions
- getVendorType() : mixed
- getVersion() : mixed
- getVideoURL() : mixed
- getVideoVastXML() : mixed
- getWidth() : mixed
- key() : mixed
- next() : mixed
- offsetExists() : mixed
- offsetGet() : mixed
- offsetSet() : mixed
- offsetUnset() : mixed
- rewind() : mixed
- setAccountId() : mixed
- setAdChoicesDestinationUrl() : mixed
- setAdTechnologyProviders() : mixed
- setAdvertiserId() : mixed
- setAdvertiserName() : mixed
- setAgencyId() : mixed
- setApiUploadTimestamp() : mixed
- setAttribute() : mixed
- setBuyerCreativeId() : mixed
- setClickThroughUrl() : mixed
- setCorrections() : mixed
- setCreativeStatusIdentityType() : mixed
- setDealsStatus() : mixed
- setDetectedDomains() : mixed
- setFilteringReasons() : mixed
- setHeight() : mixed
- setHTMLSnippet() : mixed
- setImpressionTrackingUrl() : mixed
- setKind() : mixed
- setLanguages() : mixed
- setNativeAd() : mixed
- setOpenAuctionStatus() : mixed
- setProductCategories() : mixed
- setRestrictedCategories() : mixed
- setSensitiveCategories() : mixed
- setServingRestrictions() : mixed
- setVendorType() : mixed
- setVersion() : mixed
- setVideoURL() : mixed
- setVideoVastXML() : mixed
- setWidth() : 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
$accountId
public
mixed
$accountId
$adChoicesDestinationUrl
public
mixed
$adChoicesDestinationUrl
$advertiserId
public
mixed
$advertiserId
$advertiserName
public
mixed
$advertiserName
$agencyId
public
mixed
$agencyId
$apiUploadTimestamp
public
mixed
$apiUploadTimestamp
$attribute
public
mixed
$attribute
$buyerCreativeId
public
mixed
$buyerCreativeId
$clickThroughUrl
public
mixed
$clickThroughUrl
$creativeStatusIdentityType
public
mixed
$creativeStatusIdentityType
$dealsStatus
public
mixed
$dealsStatus
$detectedDomains
public
mixed
$detectedDomains
$height
public
mixed
$height
$hTMLSnippet
public
mixed
$hTMLSnippet
$impressionTrackingUrl
public
mixed
$impressionTrackingUrl
$kind
public
mixed
$kind
$languages
public
mixed
$languages
$openAuctionStatus
public
mixed
$openAuctionStatus
$productCategories
public
mixed
$productCategories
$restrictedCategories
public
mixed
$restrictedCategories
$sensitiveCategories
public
mixed
$sensitiveCategories
$vendorType
public
mixed
$vendorType
$version
public
mixed
$version
$videoURL
public
mixed
$videoURL
$videoVastXML
public
mixed
$videoVastXML
$width
public
mixed
$width
$adTechnologyProvidersDataType
protected
mixed
$adTechnologyProvidersDataType
= ''
$adTechnologyProvidersType
protected
mixed
$adTechnologyProvidersType
= 'Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders'
$collection_key
protected
mixed
$collection_key
= 'vendorType'
$correctionsDataType
protected
mixed
$correctionsDataType
= 'array'
$correctionsType
protected
mixed
$correctionsType
= 'Google_Service_AdExchangeBuyer_CreativeCorrections'
$filteringReasonsDataType
protected
mixed
$filteringReasonsDataType
= ''
$filteringReasonsType
protected
mixed
$filteringReasonsType
= 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons'
$internal_gapi_mappings
protected
mixed
$internal_gapi_mappings
= array("hTMLSnippet" => "HTMLSnippet")
$modelData
protected
mixed
$modelData
= array()
$nativeAdDataType
protected
mixed
$nativeAdDataType
= ''
$nativeAdType
protected
mixed
$nativeAdType
= 'Google_Service_AdExchangeBuyer_CreativeNativeAd'
$processed
protected
mixed
$processed
= array()
$servingRestrictionsDataType
protected
mixed
$servingRestrictionsDataType
= 'array'
$servingRestrictionsType
protected
mixed
$servingRestrictionsType
= 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions'
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 —getAccountId()
public
getAccountId() : mixed
Return values
mixed —getAdChoicesDestinationUrl()
public
getAdChoicesDestinationUrl() : mixed
Return values
mixed —getAdTechnologyProviders()
public
getAdTechnologyProviders() : Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders
Return values
Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders —getAdvertiserId()
public
getAdvertiserId() : mixed
Return values
mixed —getAdvertiserName()
public
getAdvertiserName() : mixed
Return values
mixed —getAgencyId()
public
getAgencyId() : mixed
Return values
mixed —getApiUploadTimestamp()
public
getApiUploadTimestamp() : mixed
Return values
mixed —getAttribute()
public
getAttribute() : mixed
Return values
mixed —getBuyerCreativeId()
public
getBuyerCreativeId() : mixed
Return values
mixed —getClickThroughUrl()
public
getClickThroughUrl() : mixed
Return values
mixed —getCorrections()
public
getCorrections() : Google_Service_AdExchangeBuyer_CreativeCorrections
Return values
Google_Service_AdExchangeBuyer_CreativeCorrections —getCreativeStatusIdentityType()
public
getCreativeStatusIdentityType() : mixed
Return values
mixed —getDealsStatus()
public
getDealsStatus() : mixed
Return values
mixed —getDetectedDomains()
public
getDetectedDomains() : mixed
Return values
mixed —getFilteringReasons()
public
getFilteringReasons() : Google_Service_AdExchangeBuyer_CreativeFilteringReasons
Return values
Google_Service_AdExchangeBuyer_CreativeFilteringReasons —getHeight()
public
getHeight() : mixed
Return values
mixed —getHTMLSnippet()
public
getHTMLSnippet() : mixed
Return values
mixed —getImpressionTrackingUrl()
public
getImpressionTrackingUrl() : mixed
Return values
mixed —getKind()
public
getKind() : mixed
Return values
mixed —getLanguages()
public
getLanguages() : mixed
Return values
mixed —getNativeAd()
public
getNativeAd() : Google_Service_AdExchangeBuyer_CreativeNativeAd
Return values
Google_Service_AdExchangeBuyer_CreativeNativeAd —getOpenAuctionStatus()
public
getOpenAuctionStatus() : mixed
Return values
mixed —getProductCategories()
public
getProductCategories() : mixed
Return values
mixed —getRestrictedCategories()
public
getRestrictedCategories() : mixed
Return values
mixed —getSensitiveCategories()
public
getSensitiveCategories() : mixed
Return values
mixed —getServingRestrictions()
public
getServingRestrictions() : Google_Service_AdExchangeBuyer_CreativeServingRestrictions
Return values
Google_Service_AdExchangeBuyer_CreativeServingRestrictions —getVendorType()
public
getVendorType() : mixed
Return values
mixed —getVersion()
public
getVersion() : mixed
Return values
mixed —getVideoURL()
public
getVideoURL() : mixed
Return values
mixed —getVideoVastXML()
public
getVideoVastXML() : mixed
Return values
mixed —getWidth()
public
getWidth() : 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 —setAccountId()
public
setAccountId(mixed $accountId) : mixed
Parameters
- $accountId : mixed
Return values
mixed —setAdChoicesDestinationUrl()
public
setAdChoicesDestinationUrl(mixed $adChoicesDestinationUrl) : mixed
Parameters
- $adChoicesDestinationUrl : mixed
Return values
mixed —setAdTechnologyProviders()
public
setAdTechnologyProviders(Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders $adTechnologyProviders) : mixed
Parameters
- $adTechnologyProviders : Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders
Return values
mixed —setAdvertiserId()
public
setAdvertiserId(mixed $advertiserId) : mixed
Parameters
- $advertiserId : mixed
Return values
mixed —setAdvertiserName()
public
setAdvertiserName(mixed $advertiserName) : mixed
Parameters
- $advertiserName : mixed
Return values
mixed —setAgencyId()
public
setAgencyId(mixed $agencyId) : mixed
Parameters
- $agencyId : mixed
Return values
mixed —setApiUploadTimestamp()
public
setApiUploadTimestamp(mixed $apiUploadTimestamp) : mixed
Parameters
- $apiUploadTimestamp : mixed
Return values
mixed —setAttribute()
public
setAttribute(mixed $attribute) : mixed
Parameters
- $attribute : mixed
Return values
mixed —setBuyerCreativeId()
public
setBuyerCreativeId(mixed $buyerCreativeId) : mixed
Parameters
- $buyerCreativeId : mixed
Return values
mixed —setClickThroughUrl()
public
setClickThroughUrl(mixed $clickThroughUrl) : mixed
Parameters
- $clickThroughUrl : mixed
Return values
mixed —setCorrections()
public
setCorrections(mixed $corrections) : mixed
Parameters
- $corrections : mixed
Return values
mixed —setCreativeStatusIdentityType()
public
setCreativeStatusIdentityType(mixed $creativeStatusIdentityType) : mixed
Parameters
- $creativeStatusIdentityType : mixed
Return values
mixed —setDealsStatus()
public
setDealsStatus(mixed $dealsStatus) : mixed
Parameters
- $dealsStatus : mixed
Return values
mixed —setDetectedDomains()
public
setDetectedDomains(mixed $detectedDomains) : mixed
Parameters
- $detectedDomains : mixed
Return values
mixed —setFilteringReasons()
public
setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons) : mixed
Parameters
- $filteringReasons : Google_Service_AdExchangeBuyer_CreativeFilteringReasons
Return values
mixed —setHeight()
public
setHeight(mixed $height) : mixed
Parameters
- $height : mixed
Return values
mixed —setHTMLSnippet()
public
setHTMLSnippet(mixed $hTMLSnippet) : mixed
Parameters
- $hTMLSnippet : mixed
Return values
mixed —setImpressionTrackingUrl()
public
setImpressionTrackingUrl(mixed $impressionTrackingUrl) : mixed
Parameters
- $impressionTrackingUrl : mixed
Return values
mixed —setKind()
public
setKind(mixed $kind) : mixed
Parameters
- $kind : mixed
Return values
mixed —setLanguages()
public
setLanguages(mixed $languages) : mixed
Parameters
- $languages : mixed
Return values
mixed —setNativeAd()
public
setNativeAd(Google_Service_AdExchangeBuyer_CreativeNativeAd $nativeAd) : mixed
Parameters
- $nativeAd : Google_Service_AdExchangeBuyer_CreativeNativeAd
Return values
mixed —setOpenAuctionStatus()
public
setOpenAuctionStatus(mixed $openAuctionStatus) : mixed
Parameters
- $openAuctionStatus : mixed
Return values
mixed —setProductCategories()
public
setProductCategories(mixed $productCategories) : mixed
Parameters
- $productCategories : mixed
Return values
mixed —setRestrictedCategories()
public
setRestrictedCategories(mixed $restrictedCategories) : mixed
Parameters
- $restrictedCategories : mixed
Return values
mixed —setSensitiveCategories()
public
setSensitiveCategories(mixed $sensitiveCategories) : mixed
Parameters
- $sensitiveCategories : mixed
Return values
mixed —setServingRestrictions()
public
setServingRestrictions(mixed $servingRestrictions) : mixed
Parameters
- $servingRestrictions : mixed
Return values
mixed —setVendorType()
public
setVendorType(mixed $vendorType) : mixed
Parameters
- $vendorType : mixed
Return values
mixed —setVersion()
public
setVersion(mixed $version) : mixed
Parameters
- $version : mixed
Return values
mixed —setVideoURL()
public
setVideoURL(mixed $videoURL) : mixed
Parameters
- $videoURL : mixed
Return values
mixed —setVideoVastXML()
public
setVideoVastXML(mixed $videoVastXML) : mixed
Parameters
- $videoVastXML : mixed
Return values
mixed —setWidth()
public
setWidth(mixed $width) : mixed
Parameters
- $width : 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