how to create display network only campaign and ads with google adwords api?

162 views
Skip to first unread message

ZHENHUA LUAN

unread,
Oct 2, 2017, 5:56:22 PM10/2/17
to AdWords API Forum
Hi dear all,

I am trying to modify my codes to push display network only campaigns and ads instead of search network only. 

But I am confused what exactly should I modify my codes to push this kind of display network only campaigns , adgroups, ads , keywords , etc ?

I modified:
1.advertisingChannelType of campagin service to DISPLAY
2.adGroupType of adGroup service to DISPLAY_STANDARD

what else should I modify to show my ads in google partner website? 
Should I implement ResponsiveDisplayAd instead of AdGroupAd?

Bunch of thanks in advance!
Thanks,
James

Peter Oliquino

unread,
Oct 3, 2017, 2:59:51 AM10/3/17
to AdWords API Forum
Hi,

In the AddCampaigns example (other languages are also available in the link), you can refer to the code that creates an AdvertisingChannelType.DISPLAY campaign. As for the AdGroup, you no longer need to specify a value for the AdGroupType field as it is read-only and is generated automatically. In the AddAdGroup example, just make sure to specify the CampaignId of the display campaign.

As for the Ad Types, you can refer to this guide for more information on which ads can serve in the Display Network. Let me know if this helps.

Best regards,
Peter
AdWords API Team 
Reply all
Reply to author
Forward
0 new messages