Hi,

I saw there was a post on 2/13 about image and location auto-migration:
Google Ads Developer Blog: Image and Location Auto-migrations in Google Ads 
API (googleblog.com) 
<https://ads-developers.googleblog.com/2023/02/image-and-location-auto-migrations-in.html>

However, it's not clear to me how to map between old feed-based extension 
fields and new asset-based fields.

For example, for location extensions there are quite a lot of fields:
location_feed_item.address_line_1 
<https://developers.google.com/google-ads/api/fields/v13/extension_feed_item#extension_feed_item.location_feed_item.address_line_1>
location_feed_item.address_line_2 
<https://developers.google.com/google-ads/api/fields/v13/extension_feed_item#extension_feed_item.location_feed_item.address_line_2>
location_feed_item.business_name 
<https://developers.google.com/google-ads/api/fields/v13/extension_feed_item#extension_feed_item.location_feed_item.business_name>
location_feed_item.city 
<https://developers.google.com/google-ads/api/fields/v13/extension_feed_item#extension_feed_item.location_feed_item.city>
location_feed_item.country_code 
<https://developers.google.com/google-ads/api/fields/v13/extension_feed_item#extension_feed_item.location_feed_item.country_code>
location_feed_item.phone_number 
<https://developers.google.com/google-ads/api/fields/v13/extension_feed_item#extension_feed_item.location_feed_item.phone_number>
location_feed_item.postal_code 
<https://developers.google.com/google-ads/api/fields/v13/extension_feed_item#extension_feed_item.location_feed_item.postal_code>
location_feed_item.province 
<https://developers.google.com/google-ads/api/fields/v13/extension_feed_item#extension_feed_item.location_feed_item.province>

ad_schedules 
<https://developers.google.com/google-ads/api/fields/v13/extension_feed_item#extension_feed_item.ad_schedules>
start_date_time 
<https://developers.google.com/google-ads/api/fields/v13/extension_feed_item#extension_feed_item.start_date_time>
end_date_time 
<https://developers.google.com/google-ads/api/fields/v13/extension_feed_item#extension_feed_item.end_date_time>

My initial thought was that there would be similar fields in a 
`location_asset`. However, it looks like they don't really match:
location_asset.business_profile_locations 
<https://developers.google.com/google-ads/api/fields/v13/asset#asset.location_asset.business_profile_locations>
location_asset.location_ownership_type 
<https://developers.google.com/google-ads/api/fields/v13/asset#asset.location_asset.location_ownership_type>
location_asset.place_id 
<https://developers.google.com/google-ads/api/fields/v13/asset#asset.location_asset.place_id>
I could imagine that an extra request to the Places API 
<https://developers.google.com/maps/documentation/places/web-service/place-data-fields>
 could 
be necessary to decode that place_id, but I hope this is not the case - it 
would be quite a lot of extra work to onboard another API just to get the 
same data.

I'm looking for some explanation on how the fields are migrated and some 
advice on how to continue to retrieve these fields after the migration. I'd 
like to "migration-proof" my code before auto-migration starts in April.

Thanks,
Kevin

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/240adb34-bb86-4e29-8b3a-fa95fe38fbfen%40googlegroups.com.
  • Im... Kevin
    • ... Kevin
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Kevin
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... Kevin
              • ... Kevin
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Kevin
                • ... Kevin
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to