Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

Latest commit

 

History

History
 
 

amp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Amp integration

Overview

Diagram
Edit

Resources

  • Amp runtime is configured in the frontend repo.
  • The PBS is here.

Configuration

These are the current stored requests:

Testing a stored request

  1. Set up dev.theguardian.com as an alias host for localhost.
  2. Run frontend locally and ensure the prebid-amp switch is on.
  3. Go to an Amp locally.
    Eg. http://dev.theguardian.com:9000/world/2018/nov/06/new-discovery-throws-light-on-mystery-of-pyramids-construction?amp
  4. In the network console, look for a request going to prebid.adnxs.com.
  5. The response should have a targeting section, and a call to each bidder in a debug.httpcalls section. If the call failed there will also be an errors section.
  6. In the current folder, update the file with the same name as the tag_id parameter of the Prebid request.
    Eg. if the Prebid request shown in the network console starts https://prebid.adnxs.com/pbs/v1/openrtb2/amp?tag_id=3&...,
    update the file called 3.json.
  7. Log in to https://prebid.adnxs.com/.
  8. Go to https://prebid.adnxs.com/amp/ and edit the request with the same placement ID as the file just updated.
  9. Overwrite the request with the request updated locally and save it.

Useful docs