Retrieving My Locations for Location Groups

33 views
Skip to first unread message

Rodrigo Oliveira

unread,
Apr 12, 2016, 10:07:56 AM4/12/16
to AdWords API Forum

Hello,

I found a google dev blog post saying that, in order to use LocationGroups with LocationExtensionOperand, I have to provide a feedId, and it says that I should be able to retrieve a feedId for this operation through the FeedMappingService getting the objects with CriterionType 77.
I did this, but it returns around 17 objects when I have only one Google My Business Locations option when trying to create a LocationGroup inside Adwords. I think it's because each one of these 17 are associated to a campaign, am I going on the right direction?

If so, how do I retrieve the Google My Business Location than I can in fact use inside that campaign? How do I get the Google My Business Location object that I have on the select inside adwords? (+Location > Advanced Search > Location Groups > My Locations > Google My Business Location)

Yin Niu

unread,
Apr 12, 2016, 10:53:39 AM4/12/16
to AdWords API Forum
Hi, 


You can use CampaignCriteriaService to get location criteria used by the campaign. Location extensions are automatically applied to every campaign and ad group under the account. See Feed Services: Location Extensions guide. 

Thanks,
Yin, AdWords API Team. 
Reply all
Reply to author
Forward
0 new messages