Are there Placeholder Feed Item Required Fields

52 views
Skip to first unread message

Kevin

unread,
Jun 20, 2018, 6:19:48 PM6/20/18
to AdWords API and Google Ads API Forum
Hi,

Are there required placeholder fields in placeholder-mapped feeds?

For example, in the AdWords UI, you cannot create a Sitelink Ad Extension without setting sitelink text and final url.
There's any restrictions on creating a Feed, but is there a similar restriction when you try to add a FeedMapping to that Feed?
If so, where are those required fields documented (for each placeholder type)?

Thanks,
Kevin

Peter Oliquino (AdWords API Team)

unread,
Jun 21, 2018, 2:08:10 AM6/21/18
to AdWords API and Google Ads API Forum
Hi Kevin,

You could refer to this guide specifically to this section and to our FeedMapping object documentation to check for the required fields to pass in your request. Let me know if this helps.

Thanks and regards,
Peter
AdWords API Team

Kevin

unread,
Jun 21, 2018, 2:02:47 PM6/21/18
to AdWords API and Google Ads API Forum
Hi Peter,

Thanks for the response! I'm actually still a bit confused. The guide says:

"For each supported AdWords features that uses tabular data, there is a placeholder type specifying the fields and data types required by that feature."

That seems like exactly what I'm looking for! However, when I click on that link, it isn't clear to me which of those fields and data types are required by the feature.
For example, the example only uses 4 of the 8 possible IDs:

private static final int PLACEHOLDER_FIELD_SITELINK_LINK_TEXT = 1;
private static final int PLACEHOLDER_FIELD_SITELINK_FINAL_URL = 5;
private static final int PLACEHOLDER_FIELD_LINE_2_TEXT = 3;
private static final int PLACEHOLDER_FIELD_LINE_3_TEXT = 4;

As I said in my last post, I think Text (1) and Url (5) are required, but it's not clear to me which ones are required for each placeholder type.
Where should I look?

Thanks,
Kevin

Peter Oliquino (AdWords API Team)

unread,
Jun 22, 2018, 3:17:46 AM6/22/18
to AdWords API and Google Ads API Forum
Hi Kevin,

Thanks for further clarifying your concern. Actually, there is really no required field as to which you wish to use from the fields listed in the documentation. What is important is that you use any of those for the FeedAttributeId and FieldId fields since AttributeFieldMappings are required when creating your FeedMapping.

For Sitelinks, you can just follow for now what is stated in the example. The rest are to be used or required only if you wish implement url tracking as discussed here. Let me know if you have any further clarifications.
Reply all
Reply to author
Forward
0 new messages