PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWImage variables
  • Size constraints for an image used for a Mobile ad
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
gglAdWImage (Type of variable)
In French: gglAdWImage (Type de variable)
Warning
From version 17, this feature is not available anymore. To use Google AdWords, see the corresponding Google API: https://developers.google.com/adwords/api/docs/guides/start
The gglAdWImage type is used to describe an image. This image will be used for a Google AdWords ad.
This image can correspond to:
  • the image of the custom icon used for the ads whose type is "Local business ad".
  • the image of the company associated with an ad whose type is "Local business ad".
  • the image used for an image ad.
Note: See Declaring a variable for more details.
Remarks

Properties specific to the description of gglAdWImage variables

The following properties can be used to handle an image used by Google AdWords:
Name Type used Effect
HeightIntegerHeight of image expressed in pixels.
For a mobile image ad, the size constraints must be respected. See the following note for more details.
ImageCharacter stringImage to use. This image can correspond to:
  • the path of an image accessible on the computer. The image will be automatically uploaded.
  • an Image control.
  • to a drawing performed with the drawing functions in an image control.
WidthIntegerWidth of image expressed in pixels.

For a mobile image ad, the size constraints must be respected. See the following note for more details.
NameCharacter stringName given to the image. This name is mandatory for an image ad. Once defined, this name cannot be modified.
TypeImageCharacter stringType of image. The available types are:
  • "image": used for any type of static image.
  • "dynamic image": used for the animated gif.
  • "flash": used for the flash animations.
MIMETypeCharacter stringMIME type of image.
This property is available in read-only.
ThumbnailImageURLCharacter stringURL of image in miniature format.
This property is available in read-only. This thumbnail image was generated by the Google AdWords service. Once the image ad was created, this URL can be used to create a link toward the miniature of the image.
OriginalImageURLCharacter stringURL of image in source format.
This property is available in read-only. This URL was generated by the Google AdWords service. Once the image ad was created, this URL can be used to create a link toward the image.
ShrunkenImageURLCharacter stringURL of shrunken image.
This property is available in read-only. This shrunken image was generated by the Google AdWords service. Once the image ad was created, this URL can be used to create a link toward the shrunken image.
Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Size constraints for an image used for a Mobile ad

For a Mobile ad, the height and width of the image used must be specified. These characteristics must correspond to one of the following dimensions:
  • Ratio 6:1
    • 300 x 50
    • 216 x 36
    • 168 x 28
  • Ratio 4:1
    • 300 x 75
    • 216 x 54
    • 168 x 42
  • Standard size for Japan: 192 x 53
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment