Hi,
I would like to define a custom feed to manage a list of callout text in a separate feed than the 'Main Callout Feed' that gets populated by default. The intention is so that we can create this feed and use it for adgroups in specific campaigns, and not fill the main callout feed with those callouts.
Using the php adwords API, I'm able to create a new feed, populate it with the feed items we desire, and I created the feed mapping with the callout placeholder. I can retrieve the FeedId, FeedItemId of the callouts that I wish to add to a particular adgroup (I have adgroupId). When using the AdGroupExtensionSettingService I'm getting an error back saying the feedItemId is not found:
Error
object(SoapFault)#113 (10) {
["message":protected]=>
string(130) "[EntityNotFound.INVALID_ID @ operations[0].operand.extensionSetting.extensions[0].feedItemId; trigger:'FeedItemId{id=
9897330092}']"
I've confirmed that I can use a feedItemId from the 'Main Callout Feed' with AdGroupExtensionSettingService and add a callout extension successfully, but when I specify the feedId/feedItemId from my user defined feed I get the above error.
[4] => FeedMapping Object
(
[feedMappingId] => 47676708
[feedId] => 45012406
[placeholderType] => 17
[status] => ENABLED
[attributeFieldMappings] => Array
(
[0] => AttributeFieldMapping Object
(
[feedAttributeId] => 1
[fieldId] => 1
)
)
[criterionType] =>
)
FeedItem Object
(
[feedId] => 45012406
[status] => ENABLED
[startTime] =>
[endTime] =>
[attributeValues] => Array
(
[0] => FeedItemAttributeValue Object
(
[feedAttributeId] => 1
[integerValue] =>
[doubleValue] =>
[booleanValue] =>
[stringValue] => Utility
[integerValues] =>
[doubleValues] =>
[booleanValues] =>
[stringValues] =>
[moneyWithCurrencyValue] =>
)
)
[policyData] =>
[devicePreference] =>
[scheduling] =>
[campaignTargeting] =>
[adGroupTargeting] =>
[keywordTargeting] =>
[geoTargeting] =>
[geoTargetingRestriction] =>
[urlCustomParameters] =>
)
AdGroupExtensionSetting Object
(
[adGroupId] => 38646523193
[extensionType] => CALLOUT
[extensionSetting] => ExtensionSetting Object
(
[extensions] => Array
(
[0] => CalloutFeedItem Object
(
[calloutText] => Utility
[feedId] => 45012406
[status] =>
[feedType] =>
[startTime] =>
[endTime] =>
[devicePreference] =>
[scheduling] =>
[campaignTargeting] =>
[adGroupTargeting] =>
[keywordTargeting] =>
[geoTargeting] =>
[geoTargetingRestriction] =>
[policyData] =>
[ExtensionFeedItemType] =>
[_parameterMap:ExtensionFeedItem:private] => Array
(
[ExtensionFeedItem.Type] => ExtensionFeedItemType
)
)
)
[platformRestrictions] => NONE
)
)
I was really hoping to use the AdGroupExtensionSettingService instead of creating a matching function in an adgroupFeedService.
It seems to me that adding Callouts with AdGroupExtensionSettingService is limited to the feedItems in the 'Main Callout Feed'? Can somebody confirm this?
Thanks,
Matt.