PHP Class FeedItem, googleads-php-lib

FeedItem class - Used as feed element in FeedWriter class
Author: Anis uddin Ahmad ([email protected])
Show file Open project: googleads/googleads-php-lib Class Usage Examples

Public Properties

Property Type Description
$adGroupTargeting FeedItemAdGroupTargeting
$attributeValues FeedItemAttributeValue[]
$campaignTargeting FeedItemCampaignTargeting
$devicePreference FeedItemDevicePreference
$endTime string
$feedId integer
$feedItemId integer
$geoTargeting Location
$geoTargetingRestriction FeedItemGeoRestriction
$keywordTargeting Keyword
$policyData FeedItemPolicyData[]
$scheduling FeedItemScheduling
$startTime string
$status tnsFeedItemStatus
$urlCustomParameters CustomParameters

Public Methods

Method Description
__construct ( $feedId = null, $feedItemId = null, $status = null, $startTime = null, $endTime = null, $attributeValues = null, $policyData = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $urlCustomParameters = null )
__construct ( $feedId = null, $feedItemId = null, $status = null, $startTime = null, $endTime = null, $attributeValues = null, $policyData = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $urlCustomParameters = null )
getNamespace ( ) : string Gets the namesapce of this class
getXsiTypeName ( ) : string Gets the xsi:type name of this class

Method Details

__construct() public method

public __construct ( $feedId = null, $feedItemId = null, $status = null, $startTime = null, $endTime = null, $attributeValues = null, $policyData = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $urlCustomParameters = null )

__construct() public method

public __construct ( $feedId = null, $feedItemId = null, $status = null, $startTime = null, $endTime = null, $attributeValues = null, $policyData = null, $devicePreference = null, $scheduling = null, $campaignTargeting = null, $adGroupTargeting = null, $keywordTargeting = null, $geoTargeting = null, $geoTargetingRestriction = null, $urlCustomParameters = null )

getNamespace() public method

Gets the namesapce of this class
public getNamespace ( ) : string
return string the namespace of this class

getXsiTypeName() public method

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
return string the xsi:type name of this class

Property Details

$adGroupTargeting public property

public FeedItemAdGroupTargeting $adGroupTargeting
return FeedItemAdGroupTargeting

$attributeValues public property

public FeedItemAttributeValue[] $attributeValues
return FeedItemAttributeValue[]

$campaignTargeting public property

public FeedItemCampaignTargeting $campaignTargeting
return FeedItemCampaignTargeting

$devicePreference public property

public FeedItemDevicePreference $devicePreference
return FeedItemDevicePreference

$endTime public property

public string $endTime
return string

$feedId public property

public int $feedId
return integer

$feedItemId public property

public int $feedItemId
return integer

$geoTargeting public property

public Location $geoTargeting
return Location

$geoTargetingRestriction public property

public FeedItemGeoRestriction $geoTargetingRestriction
return FeedItemGeoRestriction

$keywordTargeting public property

public Keyword $keywordTargeting
return Keyword

$policyData public property

public FeedItemPolicyData[] $policyData
return FeedItemPolicyData[]

$scheduling public property

public FeedItemScheduling $scheduling
return FeedItemScheduling

$startTime public property

public string $startTime
return string

$status public property

public tnsFeedItemStatus $status
return tnsFeedItemStatus

$urlCustomParameters public property

public CustomParameters $urlCustomParameters
return CustomParameters