Skip to content

Commit

Permalink
RAD-1542: Update Prebid.org examples to use new test Placement ID (#215)
Browse files Browse the repository at this point in the history
* Delete unused `test` directory.

* Update everything with new test placement ID

s/4799418/10433394/g

This includes all local files and editing all of the linked JSFiddles.

* Update placement ID in custom price bucket example
  • Loading branch information
rmloveland authored Apr 14, 2017
1 parent 15a8807 commit 4407e5f
Show file tree
Hide file tree
Showing 24 changed files with 39 additions and 869 deletions.
2 changes: 1 addition & 1 deletion dev-docs/examples/adjust-price.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ about:
- Standard price granularity


jsfiddle_link: jsfiddle.net/prebid/hn06j4f4/10/embedded/html,result
jsfiddle_link: jsfiddle.net/prebid/hn06j4f4/11/embedded/html,result

code_height: 2725
code_lines: 125
Expand Down
2 changes: 1 addition & 1 deletion dev-docs/examples/adunit-refresh.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ about:
- Standard keyword targeting setup (<a href="/dev-docs/publisher-api-reference.html#bidderSettingsDefault">reference</a>)
- Standard price granularity

jsfiddle_link: jsfiddle.net/prebid/dzrs3gfL/10/embedded/html,result
jsfiddle_link: jsfiddle.net/prebid/dzrs3gfL/51/embedded/html,result
code_height: 2900
code_lines: 134

Expand Down
2 changes: 1 addition & 1 deletion dev-docs/examples/basic-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ about:
- Standard keyword targeting setup (<a href="/dev-docs/publisher-api-reference.html#bidderSettingsDefault">reference</a>).
- Standard price granularity

jsfiddle_link: jsfiddle.net/prebid/bhn3xk2j/4/embedded/html,result
jsfiddle_link: jsfiddle.net/prebid/bhn3xk2j/458/embedded/html,result

code_lines: 110
code_height: 2389
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ about:
- Integration with DFP's GPT single request asynchronous mode.
- One set of line items for all bidders.

jsfiddle_link: jsfiddle.net/prebid/bp9magow/65/embedded/html,result
jsfiddle_link: jsfiddle.net/prebid/bp9magow/86/embedded/html,result
code_height: 3166
code_lines: 146
pid: 101
Expand Down
2 changes: 1 addition & 1 deletion dev-docs/examples/custom-price-bucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ about:
- Integration with DFP's GPT single request asynchronous mode
- One set of line items for all bidders

jsfiddle_link: jsfiddle.net/prebid/bp9magow/17/embedded/html,result
jsfiddle_link: jsfiddle.net/prebid/bp9magow/87/embedded/html,result
code_height: 3166
code_lines: 146

Expand Down
2 changes: 1 addition & 1 deletion dev-docs/examples/full-page-refresh.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ about:
- Standard keyword targeting setup (<a href="/dev-docs/publisher-api-reference.html#bidderSettingsDefault">reference</a>)
- Standard price granularity

jsfiddle_link: jsfiddle.net/prebid/amg49spy/11/embedded/html,result
jsfiddle_link: jsfiddle.net/prebid/amg49spy/13/embedded/html,result
code_height: 2662
code_lines: 122

Expand Down
2 changes: 1 addition & 1 deletion dev-docs/examples/postbid.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ about:
- There is no need for per-price-bucket-per-line-item setup, because the post-bid creative is chosen after the ad server has chosen the line item.
- This post-bid creative <strong>supports passback</strong>. See more info on passbacks in the below line-by-line explanation.

jsfiddle_link: jsfiddle.net/prebid/akLqdj3d/8/embedded/html,result
jsfiddle_link: jsfiddle.net/prebid/akLqdj3d/146/embedded/html,result
code_height: 1864
code_lines: 84

Expand Down
2 changes: 1 addition & 1 deletion dev-docs/examples/send-all-bids.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ about:
- Standard price granularity
- Standard integration with DFP's GPT single request asynchronous mode

jsfiddle_link: jsfiddle.net/prebid/qu68xoz5/3/embedded/html,result
jsfiddle_link: jsfiddle.net/prebid/qu68xoz5/35/embedded/html,result

code_lines: 121
code_height: 2641
Expand Down
2 changes: 1 addition & 1 deletion dev-docs/examples/simplified-price-bucket-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hide: true
about:
- Simplified price bucket setup with one function call to <a href="/dev-docs/publisher-api-reference.html#module_pbjs.setPriceGranularity"><code>pbjs.setPriceGranularity()</code></a>

jsfiddle_link: jsfiddle.net/prebid/bp9magow/18/embedded/html,result
jsfiddle_link: jsfiddle.net/prebid/bp9magow/84/embedded/html,result
code_height: 2641
code_lines: 121

Expand Down
2 changes: 1 addition & 1 deletion dev-docs/examples/size-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hide: true
about:
- Example showing how to configure ad units to resize dynamically based on screen size

jsfiddle_link: jsfiddle.net/prebid/58udrja1/embedded/html,result
jsfiddle_link: jsfiddle.net/prebid/58udrja1/31/embedded/html,result

code_height: 3000
code_lines: 118
Expand Down
2 changes: 1 addition & 1 deletion dev-docs/show-prebid-ads-on-amp-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The `amp-ad` elements in the page body need to be set up as shown below, especia
height="250"
layout="fixed"
type="doubleclick"
json='{"prebid":{"requestBidsDuration":1000,"adUnits":[{"code":"/19968336/header-bid-tag-1","sizes":[[300,250],[300,600],[300,250],[100,100]],"bids":[{"bidder":"appnexusAst","params":{"placementId":"4799418","dealId":"some deal!"}},{"bidder":"aol","params":{"network":"10077.1","placement":3671670}},{"bidder":"sovrn","params":{"tagid":"315045"}}]},{"code":"/19968336/header-bid-tag-2","sizes":[[300,250],[300,600],[300,250],[100,100]],"bids":[{"bidder":"appnexusAst","params":{"placementId":"4799418","dealId":"some deal!"}},{"bidder":"aol","params":{"network":"10077.1","placement":3671670}},{"bidder":"sovrn","params":{"tagid":"315045"}}]}]}}'
json='{"prebid":{"requestBidsDuration":1000,"adUnits":[{"code":"/19968336/header-bid-tag-1","sizes":[[300,250],[300,600],[300,250],[100,100]],"bids":[{"bidder":"appnexusAst","params":{"placementId":"10433394","dealId":"some deal!"}},{"bidder":"aol","params":{"network":"10077.1","placement":3671670}},{"bidder":"sovrn","params":{"tagid":"315045"}}]},{"code":"/19968336/header-bid-tag-2","sizes":[[300,250],[300,600],[300,250],[100,100]],"bids":[{"bidder":"appnexusAst","params":{"placementId":"10433394","dealId":"some deal!"}},{"bidder":"aol","params":{"network":"10077.1","placement":3671670}},{"bidder":"sovrn","params":{"tagid":"315045"}}]}]}}'
data-slot="/19968336/header-bid-tag-1">
</amp-ad>
```
Expand Down
4 changes: 2 additions & 2 deletions examples/amazon_example2.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
{
bidder: 'appnexus',
params: {
placementId: '4799418'
placementId: '10433394'
}
}
]
Expand Down Expand Up @@ -122,4 +122,4 @@

</body>

</html>
</html>
6 changes: 3 additions & 3 deletions examples/pbjs_appnexus.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
{
bidder: 'appnexus',
params: {
placementId: '4799418'
placementId: '10433394'
}
}

Expand All @@ -78,7 +78,7 @@
{
bidder: 'appnexus',
params: {
placementId: '4799418'
placementId: '10433394'
}
}
]
Expand Down Expand Up @@ -231,4 +231,4 @@ <h5>Div-2, 728x90 or 970x90</h5>

</body>

</html>
</html>
4 changes: 2 additions & 2 deletions examples/pbjs_ed.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{
bidder: 'appnexus',
params: {
placementId: '4799418'
placementId: '10433394'
}
},
{
Expand Down Expand Up @@ -111,7 +111,7 @@
{
bidder: 'appnexus',
params: {
placementId: '4799418'
placementId: '10433394'
}
},
{
Expand Down
24 changes: 12 additions & 12 deletions examples/pbjs_full_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,78 +68,78 @@
{
bidder: 'appnexus',
params: {
placementId: '4799418',
placementId: '10433394',
referrer: 'appnexus.com',
foo: 'ahaha'
}
},
// {
// bidder: 'appnexus',
// params: {
// placementId: '4799418',
// placementId: '10433394',
// referrer: 'appnexus.com',
// foo: 'ahaha'
// }
// },{
// bidder: 'appnexus',
// params: {
// placementId: '4799418',
// placementId: '10433394',
// referrer: 'appnexus.com',
// foo: 'ahaha'
// }
// },{
// bidder: 'appnexus',
// params: {
// placementId: '4799418',
// placementId: '10433394',
// referrer: 'appnexus.com',
// foo: 'ahaha'
// }
// },{
// bidder: 'appnexus',
// params: {
// placementId: '4799418',
// placementId: '10433394',
// referrer: 'appnexus.com',
// foo: 'ahaha'
// }
// },{
// bidder: 'appnexus',
// params: {
// placementId: '4799418',
// placementId: '10433394',
// referrer: 'appnexus.com',
// foo: 'ahaha'
// }
// },{
// bidder: 'appnexus',
// params: {
// placementId: '4799418',
// placementId: '10433394',
// referrer: 'appnexus.com',
// foo: 'ahaha'
// }
// },{
// bidder: 'appnexus',
// params: {
// placementId: '4799418',
// placementId: '10433394',
// referrer: 'appnexus.com',
// foo: 'ahaha'
// }
// },{
// bidder: 'appnexus',
// params: {
// placementId: '4799418',
// placementId: '10433394',
// referrer: 'appnexus.com',
// foo: 'ahaha'
// }
// },{
// bidder: 'appnexus',
// params: {
// placementId: '4799418',
// placementId: '10433394',
// referrer: 'appnexus.com',
// foo: 'ahaha'
// }
// },{
// bidder: 'appnexus',
// params: {
// placementId: '4799418',
// placementId: '10433394',
// referrer: 'appnexus.com',
// foo: 'ahaha'
// }
Expand Down Expand Up @@ -359,4 +359,4 @@ <h5>Div-2, 728x90 or 970x90</h5>

</body>

</html>
</html>
6 changes: 3 additions & 3 deletions examples/pbjs_partial_refresh_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
{
bidder: 'appnexus',
params: {
placementId: '4799418'
placementId: '10433394'
}
},
// 1 ad unit can also be targeted by multiple bids from 1 bidder
Expand Down Expand Up @@ -109,7 +109,7 @@
{
bidder: 'appnexus',
params: {
placementId: '4799418'
placementId: '10433394'
}
},

Expand Down Expand Up @@ -344,4 +344,4 @@ <h5>Div-2, 728x90 or 970x90</h5>

</body>

</html>
</html>
6 changes: 3 additions & 3 deletions examples/pbjs_sync_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
// {
// bidder: 'appnexus',
// params: {
// placementId: '4799418',
// placementId: '10433394',
// referrer: 'appnexus.com'
// }
// }
Expand Down Expand Up @@ -137,7 +137,7 @@
// {
// bidder: 'appnexus',
// params: {
// //placementId: '4799418'
// //placementId: '10433394'
// }
// },

Expand Down Expand Up @@ -327,4 +327,4 @@ <h5>Div-2, 728x90 or 970x90</h5>

</body>

</html>
</html>
2 changes: 1 addition & 1 deletion examples/postbid.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
bidder: 'appnexus',
params: {
placementId: '4799418'
placementId: '10433394'
}
}, {
bidder: 'pubmatic',
Expand Down
4 changes: 2 additions & 2 deletions examples/simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
bids: [{
bidder: 'appnexus',
params: {
placementId: '4799418'
placementId: '10433394'
}
}]
},{
Expand All @@ -22,7 +22,7 @@
bids: [{
bidder: 'appnexus',
params: {
placementId: '4799418'
placementId: '10433394'
}
}]
}];
Expand Down
Loading

0 comments on commit 4407e5f

Please sign in to comment.