PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Possible error cases:
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
GglAdWScheduleReportJob (Function)
In French: GglAdWPlanifieRequêteRapport
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
Schedules the execution of a Google AdWords report by the "Google AdWords Report Service".
Example
// Connection to Google
Cnt is gglAdWConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..UserAgent = "MyApp-01"
Cnt..SandboxMode = True
// Create a report
MyRequest is gglAdWDefinedReportJob
MyRequest..AdGroupStatus = gglEnabled + CR + gglPaused
MyRequest..AdWordsType = "searchOnly"
MyRequest..StartDay = "20090302"
MyRequest..EndDay = "20090302"
MyRequest..KeywordStatuses= "Enabled" + CR + "Paused"
MyRequest..Name = "My report of March 3"
MyRequest..SelectedReportType = "Campaign"
// Validate the report and ask for completion
id is int = 0
IF GglAdWValidateReportJob(Cnt, MyRequest)=True THEN
        id = GglAdWScheduleReportJob(Cnt, MyRequest)
END
Syntax
<Result> = GglAdWScheduleReportJob(<AdWords Connection> , <Report to Run>)
<Result>: Integer
Identifier of the report. This identifier is used to handle the report (find out its status, retrieve its content, ...).
<AdWords Connection>: gglAdWConnection variable
Name of gglAdWConnection variable to use.
<Report to Run>: gglAdWDefinedReportJob variable
Name of the gglAdWDefinedReportJob variable containing the characteristics of the report to run.
Remarks

Possible error cases:

  • The Internet connection is not valid.
  • The authentication was not performed properly.
  • The XML response of the server cannot be read.
To find out whether an error occurred, use the ErrorOccurred variable.
Components
WINDEVWEBDEV - Server code wd160ggl.dll
Windows Mobile wp160ggl.dll
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment