Home | Sign in | English UK
  • Properties specific to the description of gglAdWVideo variables
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
gglAdWVideo (Type of variable)
In french: gglAdWVidéo (Type de variable)
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 gglAdWVideo type is used to find out the characteristics of a video. This video will be used for a Google AdWords marketing whose type is "Video ad".
Caution: The videos used by the Google AdWords ads cannot be uploaded by programming. The users must upload the videos from the interface of Google AdWords beforehand. When the videos are uploaded, GglAdWListVideo allows you to find out the identifiers of videos.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
// Connection to Google AdWords
Cnt is gglAdWConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..UserAgent = "MyApp-01"
Cnt..DeveloperToken = "ABcdeFGH93KL-NOPQ_STUv"
Cnt..ApplicationToken = "ZYXwvu-TSR123_456ABCDE"
Cnt..SandboxMode = True

// Retrieve a video ad from its identifier
MyVariant is Variant
MyVariant = GglAdWGetAd(Cnt, "8754")
MyAd is gglAdWVideoAd = MyVariant

// Modify the video associated with the ad
Video is gglAdWVideo
Video..Identifier = "9999" //Identifier of the video
MyAd..Video = Video

// Apply the changes to the server
MyArray is array of Variant
Add(MyArray, MyAd)
GglWrite(Cnt, MyArray)

Properties specific to the description of gglAdWVideo variables

The following properties can be used to handle a video:
Name Type used Effect
DurationIntegerDuration of video in milliseconds. This property is available in read-only.
IdentifierCharacter stringIdentifier of video
FileNameCharacter stringName of initial file of video when this one was uploaded. This property is available in read-only.
TitleCharacter stringTitle of video. This property is available in read-only.
PreviewURLCharacter stringURL used to view the video. This property is available in read-only.
Remark: These properties can be handled by using one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>
Minimum version required
  • Version 14
This page is also available for…
Click [Add] to post a comment