Thanks Anash, I'll give that a try. Unfortunately, through testing my CampaignFeed and AdGroupFeed code I've accidentally used all the feeds I'm allowed to use (limit of 20). I tried to delete the sitelinks manually through Adwords (not the API), but the feeds are still being counted and blocking me from creating any new ones. The SOAP requests/responses I'm receiving are:
SOAP Request: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201402" soapenv:mustUnderstand="0"> <ns1:clientCustomerId>1519222635</ns1:clientCustomerId> <ns1:developerToken>-zdBSXMOjspiyY9A-KvtwQ</ns1:developerToken> <ns1:userAgent>ConcertHotels.com (AwApi-Java, AdWords-Axis/1.26.0, Common-Java/1.26.0, Axis/1.4, Java/1.5.0_22, jars)</ns1:userAgent> <ns1:validateOnly>false</ns1:validateOnly> <ns1:partialFailure>false</ns1:partialFailure> </ns1:RequestHeader> </soapenv:Header> <soapenv:Body> <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201402"> <operations> <operator>ADD</operator> <operand> <name>Feed For Sitelinks for Campaign : 152645088</name> <attributes> <name>Link Text</name> <type>STRING</type> </attributes> <attributes> <name>Link URL</name> <type>URL</type> </attributes> <attributes> <name>Line 1 Description</name> <type>STRING</type> </attributes> <attributes> <name>Line 2 Description</name> <type>STRING</type> </attributes> <origin>USER</origin> </operand> </operations> </mutate> </soapenv:Body> </soapenv:Envelope> 09:53:00,178 WARN [soapXmlLogger] SOAP Response: <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201402"> <requestId>0004f7b1dc5a8ec80ae022c4000039ae</requestId> <serviceName>FeedService</serviceName> <methodName>mutate</methodName> <operations>0</operations> <responseTime>237</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>[EntityCountLimitExceeded.ACCOUNT_LIMIT @ operations[0] (enclosingId=1519222635, limit=20, accountLimitType=FEEDS_PER_ACCOUNT, existingCount=27)]</faultstring> <detail> <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201402"> <message>[EntityCountLimitExceeded.ACCOUNT_LIMIT @ operations[0] (enclosingId=1519222635, limit=20, accountLimitType=FEEDS_PER_ACCOUNT, existingCount=27)]</message> <ApplicationException.Type>ApiException</ApplicationException.Type> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="EntityCountLimitExceeded"> <fieldPath>operations[0]</fieldPath> <trigger/> <errorString>EntityCountLimitExceeded.ACCOUNT_LIMIT</errorString> <ApiError.Type>EntityCountLimitExceeded</ApiError.Type> <reason>ACCOUNT_LIMIT</reason> <enclosingId>1519222635</enclosingId> <limit>20</limit> <accountLimitType>FEEDS_PER_ACCOUNT</accountLimitType> <existingCount>27</existingCount> </errors> </ApiExceptionFault> </detail> </soap:Fault> </soap:Body> </soap:Envelope> Do you have any idea how I'd go about removing the old feeds? They appear to have a status of DELETED, but still are being counted in the list of feeds for the account. Many thanks Mike On Tuesday, 22 April 2014 09:03:42 UTC+1, [email protected] wrote: > > Hi everyone, > I'm attempting to set up sitelinks for each AdGroup in my campaign (a > few thousand ad groups in total). I've been basing my code on the Java > example for setting up a CampaignFeed: > https://developers.google.com/adwords/api/docs/guides/feed-services > > The documentation says that to set up on an adgroup basis, you use > AdGroupFeed and AdGroupFeedPage, but I'm struggling, and keep reaching the > number of feeds per account limit. > > Does anyone have a Java example of how to set up different sitelinks per > adgroup using AdGroupFeed and AdGroupFeedPage? > > Many thanks > Mike > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
