Re: Updating Feed Attributes (related to Upgraded URLs)

2015-05-26 Thread Stacie Waleyko
Hi Josh,

Thank you for the pointers! It sounds like I am heading down the right 
track :-)

Thanks,

Stacie

On Tuesday, May 26, 2015 at 12:17:27 PM UTC-7, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi Stacie,
>
> Sorry, I misread your question on migrations. Unfortunately, we don't have 
> a guide specifically on using feed services to migrate to upgraded URLs. 
> The closest example we have is the AddSiteLinksUsingFeeds.java example 
> ,
>  
> which you may be able to modify to:
>
>- Add attributes to your Feed for the upgraded URL fields
>- Remove your existing FeedMapping and replace it with a new 
>FeedMapping that includes the upgraded URL fields
>- Update your FeedItems, populating the new upgraded URL fields
>
> Cheers,
> Josh, AdWords API Team
>
> On Tuesday, May 26, 2015 at 11:24:33 AM UTC-7, Stacie Waleyko wrote:
>>
>> Hi Josh,
>>
>> Thanks for the detailed response. Agreed that the best way is to use the 
>> attribute field mapping to figure out which placeholder field the attribute 
>> corresponds to. We create all our extensions with feed services (we don't 
>> use any extensions created by the AdWords UI/system) so it would have been 
>> nice to maintain that level of consistency across accounts.
>>
>> Thank you for the migration guide for extension settings. While we would 
>> very much like to migrate to extension settings we have invested a lot of 
>> energy in creating a system that works with feed services and currently do 
>> not have the resources to migrate to extension settings. Hopefully we can 
>> do this in the future. I was mainly looking for a guide to update sitelinks 
>> using feed services (not extension settings) but I'm fairly certain that 
>> doesn't exist. 
>>
>> Thanks again,
>>
>> Stacie
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4191e2bf-414b-4faa-878c-2a958232db6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Updating Feed Attributes (related to Upgraded URLs)

2015-05-26 Thread Josh Radcliff (AdWords API Team)
Hi Stacie,

Sorry, I misread your question on migrations. Unfortunately, we don't have 
a guide specifically on using feed services to migrate to upgraded URLs. 
The closest example we have is the AddSiteLinksUsingFeeds.java example 
,
 
which you may be able to modify to:

   - Add attributes to your Feed for the upgraded URL fields
   - Remove your existing FeedMapping and replace it with a new FeedMapping 
   that includes the upgraded URL fields
   - Update your FeedItems, populating the new upgraded URL fields

Cheers,
Josh, AdWords API Team

On Tuesday, May 26, 2015 at 11:24:33 AM UTC-7, Stacie Waleyko wrote:
>
> Hi Josh,
>
> Thanks for the detailed response. Agreed that the best way is to use the 
> attribute field mapping to figure out which placeholder field the attribute 
> corresponds to. We create all our extensions with feed services (we don't 
> use any extensions created by the AdWords UI/system) so it would have been 
> nice to maintain that level of consistency across accounts.
>
> Thank you for the migration guide for extension settings. While we would 
> very much like to migrate to extension settings we have invested a lot of 
> energy in creating a system that works with feed services and currently do 
> not have the resources to migrate to extension settings. Hopefully we can 
> do this in the future. I was mainly looking for a guide to update sitelinks 
> using feed services (not extension settings) but I'm fairly certain that 
> doesn't exist. 
>
> Thanks again,
>
> Stacie
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a12c4a10-6d87-43eb-99b4-2966b99a0fe0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Updating Feed Attributes (related to Upgraded URLs)

2015-05-26 Thread Stacie Waleyko
Hi Josh,

Thanks for the detailed response. Agreed that the best way is to use the 
attribute field mapping to figure out which placeholder field the attribute 
corresponds to. We create all our extensions with feed services (we don't 
use any extensions created by the AdWords UI/system) so it would have been 
nice to maintain that level of consistency across accounts.

Thank you for the migration guide for extension settings. While we would 
very much like to migrate to extension settings we have invested a lot of 
energy in creating a system that works with feed services and currently do 
not have the resources to migrate to extension settings. Hopefully we can 
do this in the future. I was mainly looking for a guide to update sitelinks 
using feed services (not extension settings) but I'm fairly certain that 
doesn't exist. 

Thanks again,

Stacie

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0c8f74ad-3467-422f-b332-bf4437ae2306%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Updating Feed Attributes (related to Upgraded URLs)

2015-05-26 Thread Josh Radcliff (AdWords API Team)
Hi Stacie,

You can only *add* attributes to a Feed. You won't be able to modify 
existing attributes of a Feed, e.g., you won't be able to change their 
types.

I would recommend against relying on specific attribute IDs always being of 
a specific type. In particular, feeds created by the AdWords system offer 
no guarantees about which attribute ID will be used for each placeholder 
field. A better solution would be to use the 
FeedMapping.attributeFieldMappings 

 to 
look up the feedAttributeId 

 
that corresponds to each placeholder fieldId 

.

Regarding migrating to extension settings, please check out our Migration 
Guide 
,
 
which includes links to code examples in each language.

Thanks,
Josh, AdWords API Team 

On Friday, May 22, 2015 at 9:12:34 PM UTC-7, Stacie Waleyko wrote:
>
> Hello,
>
> We are working on migrating our sitelinks to use upgraded URLs. We are 
> using feed services to create sitelinks with link text going in attribute 
> #1 and the URL in attribute #2. New sitelinks are created with upgraded 
> URLs that are stored with attribute #2 (attribute #2 is of type URL_LIST). 
> For old sitelinks that have destination URLs attribute #2 is of type URL. 
> Ideally we would like to maintain consistency across the system and have 
> attribute #2 always correspond to an upgraded URL for *both* new and 
> migrated sitelinks. To migrate old sitelinks I tried to change attribute #2 
> from URL to URL_LIST but I got an error. Is there any way to edit a 
> FeedAttribute? The only other way we could maintain consistency in our 
> system would be to create an additional attribute. Attribute #2 would have 
> to always be of type URL for the old destination URLs and then there would 
> be a new attribute #3 of type URL_LIST. This could work but I'm worried the 
> URL type might one day sunset since destination URLs are no longer being 
> supported. What is the best way to approach this? Also, I was not able to 
> find a guide for migrating sitelinks with feed services. Any documentation 
> on this would be greatly appreciated.
>
> Thanks,
>
> Stacie
>
>
>
> *The feed I'm trying to edit:*
>
> 2015-05-22 20:33:24,698 [P2T1] INFO  c.g.a.a.a.l.c.A.soapXmlLogger - SOAP 
> Response:
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
> 
> https://adwords.google.com/api/adwords/cm/v201502";>
> 000516b770aedad90ab64ea1d40034a7
> FeedService
> get
> 0
> 214
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v201502";>
> 
> 1
> FeedPage
> 
> 26292527
> SiteLinkExtension
> 
> 1
> linkText
> STRING
> false
> 
> 
> 2
> siteLinkUrl
> URL
> false
> 
> ENABLED
> USER
> 
> 
> 
> 
> 
>
>
>
> *SOAP request/response for trying to update attribute #2:*
>
>
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> https://adwords.google.com/api/adwords/cm/v201502"; 
> soapenv:mustUnderstand="0">
> redacted
> redacted
> redacted
> false
> false
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v201502";>
> 
> SET
> 
> 26292527
> SiteLinkExtension
> 
> 1
> linkText
> STRING
> false
> 
> 
> 2
> siteLinkUrl
> URL_LIST
> false
> 
> ENABLED
> USER
> 
> 
> 
> 
> 
>
> 2015-05-22 20:34:58,293 [P2T1] WARN  c.g.a.a.a.l.c.A.soapXmlLogger - SOAP 
> Response:
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
> 
> https://adwords.google.com/api/adwords/cm/v201502";>
> 000516b776477cc00abfb9c2160046b0
>   

Updating Feed Attributes (related to Upgraded URLs)

2015-05-22 Thread Stacie Waleyko
Hello,

We are working on migrating our sitelinks to use upgraded URLs. We are 
using feed services to create sitelinks with link text going in attribute 
#1 and the URL in attribute #2. New sitelinks are created with upgraded 
URLs that are stored with attribute #2 (attribute #2 is of type URL_LIST). 
For old sitelinks that have destination URLs attribute #2 is of type URL. 
Ideally we would like to maintain consistency across the system and have 
attribute #2 always correspond to an upgraded URL for *both* new and 
migrated sitelinks. To migrate old sitelinks I tried to change attribute #2 
from URL to URL_LIST but I got an error. Is there any way to edit a 
FeedAttribute? The only other way we could maintain consistency in our 
system would be to create an additional attribute. Attribute #2 would have 
to always be of type URL for the old destination URLs and then there would 
be a new attribute #3 of type URL_LIST. This could work but I'm worried the 
URL type might one day sunset since destination URLs are no longer being 
supported. What is the best way to approach this? Also, I was not able to 
find a guide for migrating sitelinks with feed services. Any documentation 
on this would be greatly appreciated.

Thanks,

Stacie



*The feed I'm trying to edit:*

2015-05-22 20:33:24,698 [P2T1] INFO  c.g.a.a.a.l.c.A.soapXmlLogger - SOAP 
Response:

http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/v201502";>
000516b770aedad90ab64ea1d40034a7
FeedService
get
0
214



https://adwords.google.com/api/adwords/cm/v201502";>

1
FeedPage

26292527
SiteLinkExtension

1
linkText
STRING
false


2
siteLinkUrl
URL
false

ENABLED
USER








*SOAP request/response for trying to update attribute #2:*




http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

https://adwords.google.com/api/adwords/cm/v201502"; 
soapenv:mustUnderstand="0">
redacted
redacted
redacted
false
false



https://adwords.google.com/api/adwords/cm/v201502";>

SET

26292527
SiteLinkExtension

1
linkText
STRING
false


2
siteLinkUrl
URL_LIST
false

ENABLED
USER






2015-05-22 20:34:58,293 [P2T1] WARN  c.g.a.a.a.l.c.A.soapXmlLogger - SOAP 
Response:

http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/v201502";>
000516b776477cc00abfb9c2160046b0
FeedService
mutate
0
89




soap:Server
[FeedError.ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES 
@ operations[0].operand.attributes]

https://adwords.google.com/api/adwords/cm/v201502";>

[FeedError.ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES @ 
operations[0].operand.attributes]

ApiException
http://www.w3.org/2001/XMLSchema-instance"; xsi:type="FeedError">

operations[0].operand.attributes


FeedError.ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES
FeedError

ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES










-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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