ments from a newly created
Google Ads API entity. These fields will be excluded when encoding the JSON HTTP
request payload.
=head3 Parameters
=over
=item *
I<hash_ref>: a hash reference to the ne
if !$ref_type;
# A boolean value reference in a JSON object is evaluated as "JSON::PP::Boolean".
my @invalid_types = ("SCALAR", "ARRAY", "JSON::PP::Boolean");
return 0 if grep /^$ref_type/, @i
GoogleAds::Constants::VERSION};
use Class::Std::Fast;
use JSON::SL;
use constant JSON_POINTER_RESULTS => "/^/results";
use constant JSON_POINTER_REQUEST_ID => "/^/requestId";
# Class::Std-style
TTR(:name<service> :default<>);
my %request_of : ATTR(:name<request> :default<>);
my %json_sl_of : ATTR(:name<json_sl> :default<>);
# Automatically called by Class::Std after the values for all the a
nt) = @_;
$json_sl_of{$ident} ||= JSON::SL->new();
# Set the query path to "results" for the JSON::SL object.
$json_sl_of{$ident}
->set_jsonpointer([JSON_POINTER_RESULTS, JSON_POINTER_REQUE
$args->{pollTimeoutSeconds}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
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;
sponse => $args->{response}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
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->{unpublishedErrorCode}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
ype => $args->{type}};
# 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;
{secondaryPaymentsProfileId}};
# 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;
value => $args->{value}};
# 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) = @_;
my $self = {};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
e => $args->{title}};
# 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->{useAudienceGrouped}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;
e => $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->{validationError}};
# 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->{trafficSplit}};
# Delete the unassigned fields in this object for a more concise JSON payload
remove_unassigned_fields($self, $args);
bless $self, $class;
return $self;
}
1;