Friday, 13 December 2013

How to show AdSense ads that are non-standard sizes

This QuickTip is about AdSense's new custom-size-advertisement option, which lets you choose the height and width of each advertisement that you show on your site.


quick-tips logo
Today, AdSense announced that we can now make ad-units in any size that we want - within certain restrictions.  

They don't use the phase in the text of their announcement, but the post-URL for their says that this feature is  "the-next-evolution-of-responsive-ads" - so I guess it can be seen as part of the efforts to cater to mobile-readers and mobile site-publishers, even though these ads themselves don't adapt to according to the size of your visitor's screen.


What will custom-size text ads look like:

For text ads, AdSesne, will work out the best number of text ads to show in each ad-block, and the individual ads will be shown the same way they that the look inside the standard ad-sizes.

Note that they say
"For unique ad unit sizes, our system will need some time before it can optimize the number of ads shown."

My guess is that this means that initially they will just fit a standard text-unit ad within your custom size, but may manage to figure how how to fit in more content over time, as they observe what display options make most money for you (and thus for them).


What will custom-size display ads look like:

For display ads (ie ones that show pictures which the advertiser has created), AdSense will work out the best size ad to show in the custom space that you select; the only guarantee is that "the selected ad will not be larger than the space requested".

There are some accompanying  rules about maximum and minimum AdSense ad-unit sizes, and any custom ad size that doesn't satisfy these restrictions simply won't appear on a page.  These rules may change (so do go and check the official version) - but to start with they say that:
  • Only one dimension can be greater than 300 pixels
  • The minimum width is 120 pixels
  • The minimum height is 50 pixels
  • Neither height nor width can exceed 1200 pixels.

One more point:   a while after the 300x600 ad-unit was introduced, they also added a rule saying there could be no more than one of these units per page.   With custom ads, they simply say:
As always, please use your best judgement when using custom-sized ad units; ad units similar in size to the 300x600 ad format will be subject to similar placement restrictions.


How to create a custom-sized AdSense advert for Blogger

  1. Log into www.adsense.google.com using your AdSense account.
  2. Start to create an ad unit in the usual way,
  3. Select "Custom ad size" from the Ad size drop-down and enter the width and height that you want for for your ad unit.
  4. Copy and paste the ad code into the HTML source code provided by AdSense, and add it to your blog in the usual way.


Note: you will only be able to do this if you have gone through the full AdSense sign-up process. If you do not have a custom-domain and signed up for AdSense after the fast-track process for hosted-content was introduced, then your only option is to choose standard ad-sizes from the regular Add-a-gadget > Adsense process.

Wednesday, 11 December 2013

AUD/USD 12th December 2013 Monthly Reports

AUD Primary cycles and breakout patterns (Dilernia Principles) suggests the AUD will continue down towards the 2014 yearly lows. We've just recently seen Secondary support come into play around .8870 and swing back up into the 50% level @ .9730 (#3)....

 My view is that the Primary cycles will now come into play and push the AUD downward, as part of a Primary break & extend pattern (Revious Report)


AUD Primary cycles

Primary Cycles continue to play out as expected, with an overall trend bias to continue down into the 2014 lows, and the next long-term BUY zone.

Any short-term buying, and the expectation is that the 2014 yearly 50% level will form resistance, until those lows are reached.

Tuesday, 10 December 2013

arithmetic operators in java

Question :
Write a java program that demonstrates the use of arithmetic operators.

Answer :
In this program we perform basic calculator functions like addition, subtraction, division and multiplication, which clearly shows the using of arithmetic operators in java.

1:  import java.io.BufferedReader;  
2: import java.io.IOException;
3: import java.io.InputStreamReader;
4: public class CalculatorDemo {
5: public static void main(String args[]) throws IOException
6: {
7: int a,b,c;
8: float s;
9: BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
10: System.out.println("Enter first number");
11: a = Integer.parseInt(br.readLine());
12: b = Integer.parseInt(br.readLine());
13: c = a + b;
14: System.out.println("Sum :"+c);
15: c = a - b;
16: System.out.println("Difference :"+c);
17: c = a * b;
18: System.out.println("Product :"+c);
19: s = (float)a/b;
20: System.out.println("Quotient :"+s);
21: }
22: }



Ads by Google



read a string in java

Question 2 :
Write a java program for read a string from keyboard and display it.

Answer :
In this program we accept a string from the keyboard and print that string on the output console.

1:  import java.io.BufferedReader;  
2: import java.io.IOException;
3: import java.io.InputStreamReader;
4: public class ReadStringDemo
5: {
6: public static void main(String args[])throws IOException
7: {
8: BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
9: String S;
10: System.out.println("Enter any String ");
11: S = br.readLine();
12: System.out.println("Entered String is : "+S);
13: }
14: }

read a string in java


Ads by Google




first java program

Question 1 :
Write a program in java for print a greeting message .

Answer:
 This program demonstrate how to write a simple java program print a greeting message on the output console.
1:  public class FirstProgram   
2: {
3: // Create the main method here
4: public static void main(String args[])
5: {
6: System.out.println("this is my first program in java");
7: }
8: }



Ads By Google