Google-Ads-GoogleAds-Client

 view release on metacpan or  search on metacpan

lib/Google/Ads/GoogleAds/Constants.pm  view on Meta::CPAN

use constant DEFAULT_PROPERTIES_FILE =>
  catfile(File::HomeDir->my_home, "googleads.properties");

# Default Google Ads API version used if the API client is created without a
# specified version.
use constant DEFAULT_API_VERSION => "V21";

# The Google OAuth2 service base URL.
use constant OAUTH2_BASE_URL => "https://accounts.google.com/o/oauth2";

# The Google OAuth2 tokeninfo endpoint.
use constant OAUTH2_TOKEN_INFO_URL => "https://oauth2.googleapis.com/tokeninfo";

# Default OAuth2 scope for Google Ads API.
use constant DEFAULT_OAUTH2_SCOPE => "https://www.googleapis.com/auth/adwords";

# The error message when the auth handlers are not set up properly.
use constant NO_AUTH_HANDLER_SETUP_MESSAGE =>
  "The library couldn't find any authorization mechanism set up to properly " .
  "sign the requests against the API. Please read the guide for OAuth2 from " .
  "https://github.com/googleads/google-ads-perl#getting-started";

lib/Google/Ads/GoogleAds/Logging/DetailStats.pm  view on Meta::CPAN


=head1 DESCRIPTION

Class that wraps the detailed HTTP request and response like host, method,
headers, payload.

=head1 ATTRIBUTES

=head2 host

The Google Ads API server endpoint.

=head2 method

The name of the service method that was called.

=head2 request_headers

The REST HTTP request headers.

=head2 request_content

lib/Google/Ads/GoogleAds/Logging/SummaryStats.pm  view on Meta::CPAN


=head1 DESCRIPTION

Class that wraps API request statistics such as client customer ID, request id,
API method and others.

=head1 ATTRIBUTES

=head2 host

The Google Ads API server endpoint.

=head2 customer_id

The client customer id against which the API call was made.

=head2 method

The name of the service method that was called.

=head2 request_id



( run in 0.240 second using v1.01-cache-2.11-cpan-beeb90c9504 )