Create dynamic remarketing campaign from feed and create dynamic ads

120 views
Skip to first unread message

fi...@kofera.com

unread,
Mar 7, 2017, 10:51:24 AM3/7/17
to AdWords API Forum
Hi All,

I have several question:

1. It is possible to create custom structure for Dynamic Remarketing Campaign using API (Feed Service). To make it clear, suppose we have for Jobs as business type.



and we want to make following campaign structure
Title as Campaign
Subtitile as Ad Group
If possible, How to create dynamic remarketing campaign structure by this scenario?

2. Related to question 1, can also we target different campaign targeting. For able structure:
- Campaign Targeting
- Ad Group Targeting 

3. How to create dynamics ads using API?

Vishal Vinayak (Adwords API Team)

unread,
Mar 7, 2017, 4:32:14 PM3/7/17
to AdWords API Forum
Hi,

Unfortunately, the link to the screenshot in you message is broken. You should be able to create the campaign/ad group structure that you like. Also, re-marketing lists can be added as a criterion on both campaign level and ad group level.  Please refer to this document to understand if a particular criteria type can be applied to a campaign/ad group in general. Our Dynamic Remarketing Guide has more details on on how to go about setting up your FeedFeedMapping, and FeedItems for use with Dynamic Remarketing ads.

Regards,
Vishal, AdWords API Team

fi...@kofera.com

unread,
Mar 8, 2017, 12:41:42 AM3/8/17
to AdWords API Forum
Hi, Vishal.

Thank you for the answer.

Here I upload again image for question number 1.



1. Based on image above, I create campaign structure setting like below
  • Tittle field as campaign
  • Subtitle field as ad group
    How I can generate campaign and ad group based on my campaign structure setting and associate a feed to those campaign through Adwords API?

2.  To create ads in dynamic remarketing, can I get layout template id through Adwords API. If it is possible, how I can do that?



Regards,
Fitri Suryani

fi...@kofera.com

unread,
Mar 8, 2017, 8:12:45 AM3/8/17
to AdWords API Forum
and I have more question related question number 1. Can generate campaign and ad group automatically from Adwords?

Vishal Vinayak (Adwords API Team)

unread,
Mar 8, 2017, 2:51:23 PM3/8/17
to AdWords API Forum
Hi Fitri,

First off, you would need to fetch the feed item attributes using the FeedService (sample code below).

FeedItemServiceInterface feedItemService = adWordsServices.get(session, FeedItemServiceInterface.class);
String query = String.format("SELECT FeedItemId, AttributeValues, Scheduling WHERE Status = 'ENABLED' AND FeedId = YOUR_FEED_ID");
FeedItemPage feedItemPage = feedItemService.query(query);
System.out.println("--------------------------------------");
for (FeedItem i:feedItemPage.getEntries()) {
System.out.println("Feed ID : " + i.getFeedId());
System.out.println("Feed Item ID : " + i.getFeedItemId());
FeedItemAttributeValue[] fiav= i.getAttributeValues();
for(int j=0;j<fiav.length;j++){
System.out.println("Attribute Value : " + fiav[j].getStringValue());
}
System.out.println("--------------------------------------");
}

You can then refer to the AddCampaigns & AddAdGroups examples availabe here to create your campaigns and ad groups via the API. While creating a campaign/ad group, you can specify the attributes that you retrieved from the feed. Also, you can refer to this example to get an overview of how to go about creating feeds. 

You can fetch the templateID of a template ad using the field "TemplateId" in get call on AdGroupAdService. In general, information regarding all fields available in a TemplateAd is available here. You can also refer to this list of all fields that can be fetched using the AdGroupAdService, including template ads related fields. A complete list of all template ads that can be created via AdWords API is available here (although not all templates available in the AdWords web interface are available via the API). 

Most examples that I referred to are in the Java programming language, however, you can find same examples in other client libraries as well. Hope this helps. Please revert if you have additional questions or concerns.
Reply all
Reply to author
Forward
0 new messages