Hi,
The placeholder type will always be 1 for sitelinks, but the attribute IDs you get back in the JSON may vary by feed. There are two phases to setting up a feed:
1. Create the
Feed and specify the list of
attributes. The order of these attributes can be
any order you choose, so you could, for example, choose to make the LINE 1 attribute attribute ID 1 (the first attribute), the TEXT attribute attribute ID 2 (the second attribute), and so on.
a) For which
placeholderType (e.g., extension type such as 1 for sitelinks) you want AdWords to use the feed.
Using the example above with the following attributes:
- LINE 1 : attribute ID = 1
- TEXT : attribute ID = 2
Therefore, when running the PLACEHOLDER_FEED_ITEM_REPORT, the returned JSON objects, which have the feedAttributeId, would come back with:
"1": the value for LINE 1
"2": the value for TEXT
In other words, you need to look at the FeedMapping for the feed and placeholder type if you want to tie the JSON IDs back to placeholder fields.
Cheers,
Josh, AdWords API Team