PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWVideo variables
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
gglAdWVideo (Type of variable)
In French: gglAdWVidéo (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 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.
Note: See Declaring a variable for more details.
Example
// 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)
Remarks

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.
Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment