Wiki source code of Debug_DFP_Ad_target-1
Version 3.1 by Admin on 2020/01/18 13:51
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
3.1 | 1 | |
| 2 | |||
| 3 | {{id name="_GoBack"/}}Documentation Audience: this documentation was written for web and software developers/engineers/project managers and advertising operations professionals. For further assistance, please contact the ONEcount team. | ||
| 4 | To Debug the DFP Ad target:\\ | ||
| 5 | |||
| 6 | 1. | ||
| 7 | |||
| 8 | {{unmigrated-wiki-markup}} | ||
| 9 | Using your web broswer's web developer tools, open the Inspector tool. (Visual shown using Firefox browser) \[Image: 1A\] | ||
| 10 | {{/unmigrated-wiki-markup}} | ||
| 11 | |||
| 12 | |||
| 13 | \\[[image:attach:worddava3fb3ea9bbd3c9172d5a180442ae2848.png||width="588" height="312"]] | ||
| 14 | \\ | ||
| 15 | |||
| 16 | 1. | ||
| 17 | |||
| 18 | {{unmigrated-wiki-markup}} | ||
| 19 | Within the Inspector tool, open the "Network" tab. \[Image: 2A\] | ||
| 20 | {{/unmigrated-wiki-markup}} | ||
| 21 | |||
| 22 | |||
| 23 | [[image:attach:worddavba039e5ef2ca84b23273c4d518dd0921.png||width="624" height="142"]] | ||
| 24 | \\ | ||
| 25 | |||
| 26 | 1. | ||
| 27 | |||
| 28 | {{unmigrated-wiki-markup}} | ||
| 29 | In the Network tab, check for the Response in "a.php": to do this, search for "a.php" using the search box located within the Network tab in the web development panel, results should filter in the left hand column. \[Image: 3A\] | ||
| 30 | {{/unmigrated-wiki-markup}} | ||
| 31 | |||
| 32 | |||
| 33 | \\[[image:attach:worddavc9712ff407c3f8f882dd7aff1d278de0.png||width="624" height="78"]]\\ | ||
| 34 | |||
| 35 | 1. | ||
| 36 | 11. (% style="color: rgb(255,0,0);" %)Check to see if the script matches what you have configured in ONEcount. Verify the values in quotes after "Target ID", "Action ID" and "Target Name" match the instructions/rules established in Onecount.If the response contains the required target details, then go to next step. | ||
| 37 | 11. Otherwise, check if the dates of the 'target'/ 'action' are valid (i.e. "target_start_date" and "target_end_date"). Also check 'domain' and 'section' values in the action are valid. If the action has been updated, please still try updating the target to insure a refresh is pushed to the system. | ||
| 38 | 1. Open the **Google Publisher Console** by following any of the below process: | ||
| 39 | 11. (% style="color: rgb(36,39,41);" %)Try to run the following command in browser console: | ||
| 40 | 111. (% style="color: rgb(36,39,41);" %)googletag.openConsole(); | ||
| 41 | 11. Or (% style="color: rgb(36,39,41);" %)paste the following code into the bookmark in Bookmark Manager: | ||
| 42 | 111. (% style="color: rgb(36,39,41);" %)javascript:googletag.openConsole(); | ||
| 43 | 1. After opening the Google Publisher Console, navigate to the website and click on newly created bookmark, or run the command from step 4a. | ||
| 44 | |||
| 45 | [[image:attach:worddav6058f6a1ca9f818f28bf20593dda0e7a.png||width="622" height="139"]] | ||
| 46 | |||
| 47 | 1. After opening the Google Publisher Console, navigate to the Page Request tab. | ||
| 48 | 1. Check for errors and Warnings, If not continue. | ||
| 49 | 1. Open a view of any Ad Unit the ONEcount system will instruct to serve. | ||
| 50 | 1. Go to delivery diagnostics and: | ||
| 51 | 11. Check for the key-value pair and make sure they are correct. | ||
| 52 | 11. Also, try to rerun the simulation to check the winning line item. If this winning line item is different from the expected one, then check the ad placement for the key-value pairs. | ||
| 53 | 11. If they are correct, your targeting for ad banner campaigns is looking great! If not, let's look into this—please see step 10. | ||
| 54 | 1. For further assistance ONEcount's support and success team is available to help. | ||
| 55 | |||
| 56 | |||
| 57 | References: | ||
| 58 | [[https:~~/~~/support.google.com/admanager/answer/2462712>>url:https://support.google.com/admanager/answer/2462712||shape="rect"]] |