- Open Source
- Yahoo Native to Yahoo DSP API Migration Guide
- Understanding Domain Models
- Migration scenarios
- Campaign package structure
- Understanding DSP packages
- Seat types
- Blocked cases
- Postman toolkit
- Sample code
- Yahoo Native Ads
- Audience Management
- Partner Support
- Sign In
All of the sample code for reading from Native and writing to DSP is available for download in Zip files by partners and developers who are working with Migration Scenario 3.
The samples are grouped in ordered sequence, as described in the navigation section below.
You may wish to test the samples in a sandbox (preliminary and staged) environment before actually migrating your Native accounts to DSP.
Navigate to Java Code Samples¶
The Java code samples are grouped progressively in sequence, so you should begin by creating a DSP shell campaign for migration, then move on to create DSP creatives and populate those creatives with Native ad assets, and finally, flatten and filter Native targeting attributes for line-level campaign targeting on the DSP platform.
Create DSP shell campaign for migration
Code snippets that demonstrate how to create a DSP shell campaign and how to map Gemini campaign and adgroups to a DSP Native IO line.
Create DSP creative for Native ad assets
Example code that shows how to create DSP creatives for Native ad assets.
Sample code on how to migrate Native targeting attributes and types to DSP.