Skip to content

Instantly share code, notes, and snippets.

@davidwasamrf
Last active October 28, 2016 16:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidwasamrf/a745414e43b2e03b3d5e3f6138423333 to your computer and use it in GitHub Desktop.
Save davidwasamrf/a745414e43b2e03b3d5e3f6138423333 to your computer and use it in GitHub Desktop.
Ins 1666/show proper error to user when registering fails - Testing critera

Here are the criterias used in order to identify a bad credentials over an error, for each data provider.

Google

Adsense and Ga

401

Adx

401 or 404

Facebook

Facebook, FacebookInstant and FacebookMultiPlacement

400 and header "WWW-Authenticate" contains "invalid_token" 

Other

Kixer

response content without element with ID "slots"

PulsePoint

400

RevContent

response without content

Rubicon

401

Sovrn

400

Taboola

response contains <html or no cookie called "trc_backstage_publisher"

TaboolaPlacement

response contains "<html"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment