=> $args->{travelField}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
tus => $args->{status}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
ame => $args->{resourceName}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
=> $args->{resourceName}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
=> $args->{key}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
uestId => $args->{requestId}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
Delay => $args->{retryDelay}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
=> $args->{limitType}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
index => $args->{index}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
utubeVideoRegistrationError}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
g::DetailStats;
use File::HomeDir;
use File::Spec;
use Log::Log4perl qw(get_logger :levels);
use JSON::XS;
# Module initialization.
# This is the log4perl configuration format.
my $logs_folder
ses the fault message from the HTTP response JSON payload.
sub __parse_fault_message {
my $response_content = shift;
my $response_body = decode_json($response_content);
# When the fault is a
s from the HTTP response JSON payload.
sub __parse_faults {
my $response_content = shift;
my $json_coder = JSON::XS->new->utf8->pretty;
my $response_body = $json_coder->decode($response
$args->{policyTopicEntries}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
> $args->{fieldPathElements}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
rigger => $args->{trigger}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
nstants; our $VERSION = ${Google::Ads::GoogleAds::Constants::VERSION};
use Class::Std::Fast;
use JSON::XS;
use Encode qw( encode_utf8 decode_utf8 );
# A list of fields in HTTP headers, content and G
nt);
$response_content = _scrub_content($response_content) if $response_content;
my $json_coder = JSON::XS->new->utf8->pretty;
my $detail_message = sprintf(
"Request\n" .
"-------
n" . "-------\n" . "Headers: %s\n",
$method, $host, $json_coder->encode({%$request_headers}),
$request_content, $json_coder->encode({%$response_headers}));
$detail_message .= "Resp
lf = {name => $args->{name}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
=> $args->{status}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
handler = $self->get_oauth2_service_accounts_handler();
my $json_key_file_path =
$ENV{Google::Ads::GoogleAds::Constants::ENV_VAR_JSON_KEY_FILE_PATH};
my $impersonated_email =
$ENV{Google::
:GoogleAds::Constants::ENV_VAR_IMPERSONATED_EMAIL};
$auth_handler->set_json_key_file_path($json_key_file_path)
if $json_key_file_path;
$auth_handler->set_impersonated_email($impersonated_emai
g/overriding its properties.
$api_client->get_oauth2_service_accounts_handler()->set_json_key_file_path('json-key-file-path');
$api_client->get_oauth2_service_accounts_handler()->set_impersonated
ast;
use JSON::XS;
use JSON::WebToken;
# Class::Std-style attributes. Need to be kept in the same line.
# These need to go in the same line for older Perl interpreters to understand.
my %json_key_fil
e_path_of : ATTR(:name<json_key_file_path> :default<>);
my %impersonated_email_of : ATTR(:name<impersonated_email> :default<>);
my %additional_scopes_of : ATTR(:name<additional_scopes> :default<>);
#
$api_client, $properties) = @_;
my $ident = ident $self;
$json_key_file_path_of{$ident} = $properties->{jsonKeyFilePath}
|| $json_key_file_path_of{$ident};
$impersonated_email_of{$ident} =
tion;
use Class::Std::Fast;
use LWP::UserAgent::Determined;
use HTTP::Status qw(:constants);
use JSON::XS;
use URI::Query;
use utf8;
use constant GET => "GET";
use constant POST => "POST";
# Class
lient> :default<>);
my %__lwp_agent_of : ATTR(:name<__lwp_agent> :default<>);
my %__json_coder_of : ATTR(:name<__json_coder> :default<>);
# Automatically called by Class::Std after the values for all
The 'convert_blessed' attributed should be enabled to convert blessed objects.
$__json_coder_of{$ident} ||= JSON::XS->new->utf8->pretty->convert_blessed;
}
# Sends a HTTP request to Google Ads API