Hello, thanks! New API required new type of filed:
$urlAttribute->type = "URL_LIST"; and define("SITELINKS_URL_FIELD_ID", 5); After that app works right! Thanks! середа, 29 липня 2015 р. 17:59:34 UTC+3 користувач Anash P. Oommen (AdWords API Team) написав: > > Hi, > > My guess is that one of the attributes you are trying to update is the > Link URL. As part of Upgraded URL migration, these fields became readonly > on July 1. 2015. See > http://googleadsdeveloper.blogspot.com/2015/05/reminder-adwords-destination-urls-will.html > > for details. > > Cheers, > Anash P. Oommen, > AdWords API Advisor. > > On Tuesday, July 28, 2015 at 1:02:57 PM UTC-4, Александр Бунке wrote: >> >> When I try to add some *additional* sitelinks (after Mapping) to feed it >> gets error: [EntityAccessDenied.WRITE_ACCESS_DENIED @ >> operations[0].operand.attributeValues, >> EntityAccessDenied.WRITE_ACCESS_DENIED @ >> operations[1].operand.attributeValues] >> >> Feed ID 28653591 >> Why it happens? >> >> Thaks >> >> вівторок, 28 липня 2015 р. 18:43:42 UTC+3 користувач Александр Бунке >> написав: >>> >>> Hello, I tried to use 1 feed to create custom sitelinks for AdGroups, >>> but I cant understand how to use MatchingFunction to associate some Feed >>> Items to AdGroup... >>> >>> From Example: >>> >>> // There we creating list of feed items >>> >>> foreach ($sitelinksData['siteLinkFeedItemIds'] as $feedItemId) { >>> $constantOperand = new ConstantOperand(); >>> $constantOperand->longValue = $feedItemId; >>> $constantOperand->type = 'LONG'; >>> $operands[] = $constantOperand; >>> } >>> $feedItemFunction->rhsOperand = $operands; >>> >>> // There we creating Operand with this list of items >>> >>> $feedItemFunctionOperand->value = $feedItemFunction; >>> >>> // There we creating function with this Operand >>> $combinedFunction->lhsOperand = array($feedItemFunctionOperand, >>> $platformFunctionOperand); >>> >>> // There we linking Feed with Campaign >>> >>> $campaignFeed = new CampaignFeed(); >>> $campaignFeed->feedId = $sitelinksData['sitelinksFeedId']; >>> $campaignFeed->campaignId = $campaignId; >>> $campaignFeed->matchingFunction = $combinedFunction; >>> // Specifying placeholder types on the CampaignFeed allows the same >>> feed >>> // to be used for different placeholders in different Campaigns. >>> $campaignFeed->placeholderTypes = array(PLACEHOLDER_SITELINKS); >>> >>> >>> Am I right in my comments? Can i use same way to link feed Items with >>> AdGroup? >>> >>> середа, 1 жовтня 2014 р. 21:07:33 UTC+3 користувач Anash P. Oommen >>> (AdWords API Team) написав: >>>> >>>> Hi Danny, >>>> >>>> You should be using a single feed, and associating the right set of >>>> FeedItems with the campaigns using a MatchingFunction. The usual practice >>>> is to keep one feed per extension type (e.g. one for sitelinks, one for >>>> call extensions, etc.). >>>> https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201406/AdvancedOperations/AddSitelinks.php#L214 >>>> >>>> shows how to associate individual FeedItems with a campaign. >>>> >>>> If you have exceeded the 20 feed limit, then you can delete the feeds >>>> using FeedItem.mutate, REMOVE operator. >>>> >>>> Cheers, >>>> Anash P. Oommen, >>>> AdWords API Advisor. >>>> >>>> On Tuesday, September 30, 2014 11:28:29 AM UTC-4, Danny wrote: >>>>> >>>>> Hi >>>>> >>>>> I am relatively new to the AdWords API, having been using it for the >>>>> past 2 months or so. I am using v201406 and the PHP client library. >>>>> >>>>> Everything has been working well except for a new update I just >>>>> deployed that would automatically create unique sitelinks for each >>>>> campaign. I integrated this feature by following the sample code in the >>>>> library examples, and all worked fine while testing. Once live however, I >>>>> seem to have hit an account limit of 20 feeds per account which is >>>>> problematic since I have 73 campaigns and was trying to allocate a feed >>>>> to >>>>> each campaign. >>>>> >>>>> I found this link here which seems to deal with a similar issue, but I >>>>> found the answer to be rather vague: >>>>> https://groups.google.com/forum/#!searchin/adwords-api/EntityCountLimitExceeded.ACCOUNT_LIMIT$20sitelinks/adwords-api/rrmQ3PgongE/2fOsxX6D8V0J >>>>> >>>>> >>>>> I specifically need the correct sitelinks to link to the relevant >>>>> campaigns, but I do not need to go down to adgroup level. Is there a >>>>> better >>>>> way of doing this than following the php client example? Please could you >>>>> kindly assist. >>>>> >>>>> Thank you >>>>> >>>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/43b7cd50-bb3f-4710-b056-95cd6e9ce616%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.