PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWError 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
gglAdWError (Type of variable)
In French: gglAdWErreur (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 gglAdWError type is used to find out the characteristics of an error returned by the Google AdWords service. The characteristics of these errors are returned by several WLanguage properties.
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..SandboxMode = True

MyTextAd is gglAdWTextAd
MyTextAd..BudgetAmount = 1500
ArrAd is array of 1 Variant
ArrAd[1] = MyTextAd

ArrError is array of gglAdWError
ArrError = GglAdWCheckAd(Cnt, ArrAd)
Remarks

Properties specific to the description of gglAdWError variables

The following properties can be used to handle a Google AdWords error.
All these properties are available in read-only.
Name Type used Effect
FieldCharacter stringControl affected by the error.
CodeIntegerCode of error.
TriggerCharacter stringText that triggered the charter violation.
DetailCharacter stringDetails of error.
IndexInRequestIntegerSubscript of element that caused the error in the request sent to the Google AdWords server.
TextIndexIntegerSubscript of error in the text that caused the error.
TextLengthIntegerLength of text of character string that caused the error.
IsExemptableBoolean
  • True if the element that caused the error can make a request for exception,
  • False otherwise.
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