Filter Location Assets Type AFFILIATE

57 views
Skip to first unread message

FW API

unread,
Jul 25, 2023, 5:29:52 AM7/25/23
to Google Ads API and AdWords API Forum
Hello,

We're currently using affiliate location extensions with location groups (FeedItemSets). Due to the announced migration from feeds to assets I'm trying to change our code accordingly.

I want to add specific Location Assets (synced from ChainIds) to my location group asset set. For example only those with a certain place.

Unfortunately I can't find a way to filter or retrieve these data.
I can retrieve these data from "FeedItem" using feed_item.attribute_values, but there seems no similar selectable field in "Asset". According to the docs "Asset" only has the following location related selectable fields:  asset.location_asset.business_profile_locationsasset.location_asset.location_ownership_type and  asset.location_asset.place_id.

"AssetSet" looks similar. It offers multiple fields from business_profile_location_set ( business_name_filter, label_filters, ....),  but only relationship_type for  chain_location_set.
I can't find a way to filter AFFILIATE (chain_location) location assets.

Tldr: How can I create filtered location group asset sets based on a Chain_ID synced AssetSet?

Google Ads API Forum Advisor

unread,
Jul 25, 2023, 9:38:28 AM7/25/23
to api.fw...@gmail.com, adwor...@googlegroups.com

Hello,

Thanks for reaching out to the Google Ads API Team.

Can you please provide us with the complete logs(request and response with request ID) generated on your end when you mentioned “I can retrieve these data from "FeedItem" using feed_item.attribute_values” and an uncropped screenshot of the Google Ads UI that shows this data so we can provide precise guidance and recommendations?

You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com

Please also take note of the following information if it helps. The extension fields below are not stored as part of the asset.

You can obtain the data via location_asset.place_id (https://developers.google.com/google-ads/api/fields/v13/asset#asset.location_asset.place_id) using the Google Maps API. You can input place ids to retrieve whatever organic location information you would like to have: https://developers.google.com/maps/documentation/places/web-service/place-id

This message is in relation to case "ref:_00D1U1174p._5004Q2nSItK:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages