FeedItemService Location Extensions linked to Google My Business

54 views
Skip to first unread message

Michael Buetow

unread,
Aug 4, 2015, 6:15:28 PM8/4/15
to AdWords API Forum
Hello,

I'm attempting to retrieve Upgraded Location Extensions that were synced via Google My Business and been having some troubles around the attribute values and feed mapping service.

When I request a feed mapping for Location Extensions from the FeedMappingService by specifying a predicate of Status Equals Enabled, and PlaceholderType Equals 7 (pulled from https://developers.google.com/adwords/api/docs/appendix/placeholders), I receive a FeedMapping with Origin of AdWords that has 8 attribute values in the AttributeFieldMapping collection returned. These 8 AttributeFieldMappings correspond to the 8 in the table found here https://developers.google.com/adwords/api/docs/appendix/placeholders#location but the 9th one mentioned below the table is not present. Then when I request Location Extensions from the FeedItemService use the received FeedId from the FeedMappingService to filter, I receive a FeedItem with a collection of attributeValues in some cases 10 attributeValues one of which is clearly Categories (based on the content) though it's FeedAttributeId was not returned via the feed mapping service, and there is a second attributeValue in the whose FeedAttributeId was also not returned via the FeedMappingService what this value represents I am unsure. 

Based on this experience my question is:

Should the FeedItemService return AttributeValues with FeedAttributeIds that are not present in the FeedMappingService for the requested FeedId.

Thanks,
Michael

Michael Buetow

unread,
Aug 4, 2015, 6:16:15 PM8/4/15
to AdWords API Forum
I can provide soap request/responses if necessary.

Umesh Dengale

unread,
Aug 5, 2015, 11:52:05 AM8/5/15
to AdWords API Forum
Hello,

Yes, you are correct. The FeedItemService's get or query operations return the FeedItemPage which is an array of FeedItem. The FeedItem has a field FeedItemAttributeValue which will have all feedAttributeIds.

Thanks,
Umesh, AdWords API Team.

Michael Buetow

unread,
Aug 5, 2015, 12:09:21 PM8/5/15
to AdWords API Forum
I understand that, my question is related to the FeedItemAttributeValue's that have feedAttributeIds not found in the FeedMappingService so I have no way of knowing what these FeedItemAttributeValues represent.

Umesh Dengale

unread,
Aug 5, 2015, 5:05:28 PM8/5/15
to AdWords API Forum
Hello,

Could you provide SOAP request and response? Just click Reply privately to author in the forum when responding. Don't forget to remove the developer token in the output.

Thanks,
Umesh, AdWords API Team

Nadine Sundquist (AdWords API Team)

unread,
Aug 7, 2015, 1:30:08 PM8/7/15
to AdWords API Forum
Hi Michael,

Thanks for providing the SOAP XML logs; they were extremely helpful in determining what was going on. 

The key to this unexpected behavior is that your Feed has the origin as ADWORDS. Our documentation has a note saying that:

    Occasionally the attributes defined for a particular type of Feed is expanded. 

This means that you're going to see extra attributes that AdWords has generated when the feed has an origin of ADWORDS. For Placeholder Type 7, you saw that you only had IDs 1-8 defined, which matches with the numbers in your AttributeFieldMappings. The reason you did not see 9 or 10 in your AttributeFieldMappings is because these mapping are used by AdWords and are not set through the API. For example, the mysterious 10 with its associated value that you did not find documented allows AdWords to sync the feed with the GMB account. 

If you're writing code against this, it's a good idea to ignore any FeedItemAttributeValues that do not appear in your AttributeFieldMappings

Cheers,
Nadine, AdWords API Team 

Michael Buetow

unread,
Aug 10, 2015, 6:53:57 PM8/10/15
to AdWords API Forum
Thanks for clearing up my confusion Nadine.
Reply all
Reply to author
Forward
0 new messages