Home | Sign in | French EN
  • Properties specific to the description of gglAdWTextAd variables
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
gglAdWTextAd (Type of variable)
In french: gglAdWAnnonceTexte (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 gglAdWTextAd type is used to describe a Google AdWords marketing ad whose type is "Text ad".
The characteristics of this text ad can be defined and modified by several WLanguage properties
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 an ad according to its identifier
MyVariant is Variant
MyVariant = GglAdWGetAd(Cnt, "5549")
MyAd is gglAdWTextAd = MyVariant

// Modify the ad
MyAd..DestinationURL = "http://newurl.com"
// Apply the changes to the server
MyArray is array of Variant
Add(MyArray, MyAd)
GglWrite(Cnt, MyArray)

Properties specific to the description of gglAdWTextAd variables

The following properties can be used to handle a text ad:
Name Type used Effect
ExemptionRequestCharacter stringText explaining why the ad does not comply with the use conditions of the service. This text can also be used to ask for an exception to this violation.
DescriptionLine1Character stringFirst line of the text of the add (up to 35 characters)
DescriptionLine2Character stringSecond line of the text of the add (up to 35 characters)
  • True if the ad was disapproved by Google,
  • False otherwise. This property is available in read-only.
StateString constantCurrent status of ad.
The available values are:
  • gglActive: The ad is active.
  • gglPaused: The ad is paused.
  • gglDeleted: The ad is deleted.
IdentifierCharacter stringIdentifier of the ad. This property is available in read-only.
GroupIdentifierCharacter stringIdentifier of ad group to which the ad belongs.
TitleCharacter stringHeader of the ad (up to 25 characters).
TypeCharacter stringType of the ad. This property is available in read-only.
The type of a text ad is "TextAd".
DisplayedURLCharacter stringURL displayed in the ad (up to 35 characters).
DestinationURLCharacter stringURL associated with the ad (up to 1024 characters). When the URL is clicked, the corresponding page will be displayed in the browser of Web user.
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