Need Information on Ad Strength Data for Performance Max Campaign Type

2022-09-28 Thread Harshitha
Hello Team, 

We would need the Campaign Id, Campaign Name, Campaign Type, Ad Strength, 
Ad Id, and Ad status  for the Performance Max campaigns. However, We are 
not getting the ad strength column for the Performance Max campaigns.

*Query Used: *
SELECT campaign.status,campaign.name, campaign.advertising_channel_type, 
campaign.id, asset_group.ad_strength, asset_group.id, asset_group.campaign 
FROM asset_group WHERE campaign.status = 'ENABLED' AND asset_group.status = 
'ENABLED'

*Code: *
ServerStream stream = 
gAdsAPIRequest.fetchServiceResponse(gAdsServiceClient, customerId, query);
if (stream != null) {
for (SearchGoogleAdsStreamResponse response : stream) {
for (GoogleAdsRow googleAdsRow : response.getResultsList()) {
Campaign campaign = googleAdsRow.getCampaign();
AssetGroup asset = googleAdsRow.getAssetGroup();
Metrics metrics = googleAdsRow.getMetrics();
Segments segments = googleAdsRow.getSegments();
}
}
}

*Response I got:*
googleAdsRow = (com.google.ads.googleads.v11.services.GoogleAdsRow) 
campaign {
  resource_name: "customers//campaigns/"
  status: ENABLED
  advertising_channel_type: PERFORMANCE_MAX
  name: "Performance_Max_Top_Category"
  id: XXX
}
asset_group {
  resource_name: "customers/XX/assetGroups/XX"
  campaign: "customers/XX/campaigns/XXX"
  id: XX
  10: 7
}

Please do the needful.

-- 
CONFIDENTIALITY INFORMATION AND DISCLAIMER


This email message and its 
attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is addressed. If you have erroneously received this message, 
please delete all copies of it immediately and notify the sender. If you 
are not the intended recipient of the email message you should not 
disseminate, distribute or copy this e-mail. E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be intercepted, 
corrupted, lost, destroyed, incomplete or contain viruses and NetElixir 
accepts no liability for any damage caused by the limitations of the e-mail 
transmission. Thank you for your cooperation.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3a240147-d209-4778-963b-99520e1245f8n%40googlegroups.com.


Re: Need information on Audience Data

2022-09-21 Thread Harshitha Yeddala
Hey, Thanks for the information. I tried doing the query. Unfortunately, I
couldn't get that.

 Could you share the query?  Please do the needful.

Below are the metrics need:
1. Audience segment name
2. Audience Type
3. Campaign name
3. Cost


Thanks,
-- 

*HARSHITHA YEDDALA*
*Senior Software Engineer | NetElixir*
(609) 356-5112
3 Independence Way, Suite #203, Princeton, NJ 08540
<https://maps.google.com/?q=3+Independence+Way,+Suite+%23203,+Princeton,+NJ+08540&entry=gmail&source=g>
[image: NetElixir | Search Marketing Solved] <https://www.netelixir.com/>


On Wed, Sep 21, 2022 at 7:56 PM Google Ads API Forum Advisor
 wrote:

> Hi Harshitha,
>
> Thank you for reaching out to our API support team.
>
> You can use the campaign_audience_view
> <https://developers.google.com/google-ads/api/fields/v11/campaign_audience_view>
> report to retrieve details of your audiences / userlists targeted at the
> campaign level. You can then use this query builder
> <https://developers.google.com/google-ads/api/fields/v11/campaign_audience_view_query_builder>
> to further determine the selectable fields and construct the query on your
> end.
>
> Let me know if this helps.
>
> Best regards,
>
> [image: Google Logo]
> Peter Laurence
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2ee6T6:ref
>

-- 
CONFIDENTIALITY INFORMATION AND DISCLAIMER


This email message and its 
attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is addressed. If you have erroneously received this message, 
please delete all copies of it immediately and notify the sender. If you 
are not the intended recipient of the email message you should not 
disseminate, distribute or copy this e-mail. E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be intercepted, 
corrupted, lost, destroyed, incomplete or contain viruses and NetElixir 
accepts no liability for any damage caused by the limitations of the e-mail 
transmission. Thank you for your cooperation.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAGu6hDEgf6bqHe%2BUyZJNKjvEh8545D2KjP%2BN1d%2BvwWYL48jtyw%40mail.gmail.com.


Re: Need information on Audience Data

2022-09-21 Thread Harshitha
Hey, Thanks for the information. I tried doing the query. Unfortunately I 
couldn't get that.

 Could you share the query?  Please do the needful

Below are the metrics need: 
1. Audience segment name
2. Audience Type
3. Campaign name
3. Cost


Thanks

On Wednesday, September 21, 2022 at 7:56:54 PM UTC+5:30 adsapi wrote:

> Hi Harshitha,
>
> Thank you for reaching out to our API support team.
>
> You can use the campaign_audience_view 
> <https://developers.google.com/google-ads/api/fields/v11/campaign_audience_view>
>  
> report to retrieve details of your audiences / userlists targeted at the 
> campaign level. You can then use this query builder 
> <https://developers.google.com/google-ads/api/fields/v11/campaign_audience_view_query_builder>
>  
> to further determine the selectable fields and construct the query on your 
> end.
>
> Let me know if this helps.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2ee6T6:ref
>

-- 
CONFIDENTIALITY INFORMATION AND DISCLAIMER


This email message and its 
attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is addressed. If you have erroneously received this message, 
please delete all copies of it immediately and notify the sender. If you 
are not the intended recipient of the email message you should not 
disseminate, distribute or copy this e-mail. E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be intercepted, 
corrupted, lost, destroyed, incomplete or contain viruses and NetElixir 
accepts no liability for any damage caused by the limitations of the e-mail 
transmission. Thank you for your cooperation.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f7863770-938d-453c-9f10-4b234ca5d473n%40googlegroups.com.


Need information on Audience Data

2022-09-21 Thread Harshitha
Hi Team,

We would need the Audience data at the campaign level.

Metrics need: 
1. Audience segment name
2. Audience Type
3. Campaign name
3. Cost

If you could provide the query for that. 
Thank you in advance.


-- 
CONFIDENTIALITY INFORMATION AND DISCLAIMER


This email message and its 
attachments may contain confidential, proprietary or legally privileged 
information and is intended solely for the use of the individual or entity 
to whom it is addressed. If you have erroneously received this message, 
please delete all copies of it immediately and notify the sender. If you 
are not the intended recipient of the email message you should not 
disseminate, distribute or copy this e-mail. E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be intercepted, 
corrupted, lost, destroyed, incomplete or contain viruses and NetElixir 
accepts no liability for any damage caused by the limitations of the e-mail 
transmission. Thank you for your cooperation.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/236205aa-3e10-4012-847b-7c54ca84b483n%40googlegroups.com.


Re: Generate Forecast Metrics returns Quite different response than AdWords API

2022-07-18 Thread Harshitha Moka
Hello Aqeel,

I'm on the same boat with the same problem of seeing discrepancies. I was 
wondering if you could share what you did to fix it, or what attributes did 
you add/remove from keyword plan or campaign keyword plan or adgroup keywod 
plan to get similar results?

On Friday, April 29, 2022 at 6:32:50 AM UTC-7 aqeel...@gmail.com wrote:

> Hi Aryeh,
>
> Thanks for your help and support and I manage to make it work. Now I found 
> one more issue. I create a KeywordPlanCampaign with one location, it worked 
> fine. I need to create a KeywordPlanCampaign with multiple locations, how 
> can I send multiple locations. Below you can see the code to set one 
> location:
>
> $keywordPlanCampaign->setGeoTargets([
> new KeywordPlanGeoTarget([
> 'geo_target_constant' => 
> ResourceNames::forGeoTargetConstant(2250)
> ])
> ]);
>
> Looking for quick help. Thanks
>
> On Thursday, 14 April 2022 at 23:47:37 UTC+5 adsapi wrote:
>
>> Hi Aqeel, 
>>
>> You may try in Ads API to set the KeywordPlanNetwork field 
>> to GOOGLE_SEARCH_AND_PARTNERS, or use the network settings 
>> 
>>  
>> in AdWords API and then multiply the results from AdWords API by the amount 
>> of days in one quarter of a year to match your next quarter setting as 
>> close as possible. For PHP samples you may reach out to the issue tracker 
>> of each library.
>>
>> Regards,
>>
>> [image: Google Logo] 
>> Aryeh 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2W5LON:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bde4dc6f-ed35-4e22-89eb-527f13a495b7n%40googlegroups.com.


TargetingIdeaSelector Google Adwords - INVALID_SEARCH_PARAMETERS

2019-02-28 Thread Harshitha


Hai team,


Currently, I am using the TargetingIdeaService to provide a subset of the 
functionality of the Keyword Planner by providing a list of locations, 
language and a RelatedToQuerySearchParameter query to 
TargetingIdeaService.get to get a list of keywords and their associated 
data.


My API Version: V201806


But, I am getting the exception like below,


e = (com.google.api.ads.adwords.axis.v201806.cm.ApiException) 
ApiException{applicationExceptionType=ApiException, 
errors=[TargetingIdeaError{apiErrorType=TargetingIdeaError, 
errorString=TargetingIdeaError.INVALID_SEARCH_PARAMETERS, 
fieldPath=selector.searchParameters.searchParameters[0], 
fieldPathElements=[FieldPathElement{field=selector},

 FieldPathElement{field=searchParameters}, 
FieldPathElement{field=searchParameters, index=0}], 
reason=INVALID_SEARCH_PARAMETERS, trigger=LanguageSearchParameter}, 
TargetingIdeaError{apiErrorType=TargetingIdeaError, 
errorString=TargetingIdeaError.INVALID_SEARCH_PARAMETERS, 
fieldPath=selector.searchParameters.searchParameters[1], 
fieldPathElements=[FieldPathElement{field=selector},

 FieldPathElement{field=searchParameters}, 
FieldPathElement{field=searchParameters, index=1}], 
reason=INVALID_SEARCH_PARAMETERS, trigger=LocationSearchParameter}, 
TargetingIdeaError{apiErrorType=TargetingIdeaError, 
errorString=TargetingIdeaError.INVALID_SEARCH_PARAMETERS, 
fieldPath=selector.searchParameters.searchParameters[2], 
fieldPathElements=[FieldPathElement{field=selector}, 
FieldPathElement{field=searchParameters}, 
FieldPathElement{field=searchParameters, index=2}], 
reason=INVALID_SEARCH_PARAMETERS, trigger=RelatedToQuerySearchParameter}]}



Java Code:



 public TargetingIdea[] getClusterCol(ClientAccounts campInfo, String 
phrase, AccountDetails accDetails) throws ApiException, RemoteException, 
OAuthException {

ClientAccounts keyCol = new ClientAccounts();

GleServices gleServices = new GleServices();

TargetingIdea[] targetingIdea = null;

GoogleTokenResponse tokenResp = new GoogleTokenResponse();

tokenResp.setAccessToken(accDetails.getAccessToken());

tokenResp.setRefreshToken(accDetails.getRefreshToken());

gleServices.setAccountDetails(accDetails);

TargetingIdeaPage page = new TargetingIdeaPage();

try {

adWordsSession = gleServices.createAdWordsSession(clientId, 
clientSecret, tokenResp.getRefreshToken(), developerToken, userAgent);

} catch (ValidationException ex) {


Logger.getLogger(TenMinCampaignService.class.getName()).log(Level.SEVERE, 
null, ex);

}

TargetingIdeaServiceInterface targetingIdeaService = 
(TargetingIdeaServiceInterface) 
gleServices.getService(gleServices.TARGETING_IDEA_SERVICE, adWordsSession);


TargetingIdeaSelector selector = new TargetingIdeaSelector();

try {


selector.setRequestType(RequestType.IDEAS);

selector.setIdeaType(IdeaType.KEYWORD);

selector.setRequestedAttributeTypes(new 
AttributeType[]{AttributeType.KEYWORD_TEXT});

selector.setPaging(new Paging(0, 200));


Location loc = new Location();

loc.setId(2356L);

LocationSearchParameter countryTargetSearchParameter = new 
LocationSearchParameter();

countryTargetSearchParameter.setLocations(new Location[]{loc});


Language lang = new Language();

lang.setId(1000L);

LanguageSearchParameter langTargetSearchParameter = new 
LanguageSearchParameter();

langTargetSearchParameter.setLanguages(new Language[]{lang});


List searchParameters = new ArrayList<>();

RelatedToQuerySearchParameter relatedToQuerySearchParameter

= new RelatedToQuerySearchParameter();

relatedToQuerySearchParameter.setQueries(new String[]{"bakery", 
"pastries", "birthday cake"});

searchParameters.add(relatedToQuerySearchParameter);


selector.setSearchParameters(new SearchParameter[]{new 
RelatedToQuerySearchParameter(null, new 
String[]{searchParameters.toString()}), countryTargetSearchParameter, 
langTargetSearchParameter});


page = targetingIdeaService.get(selector);

targetingIdea = page.getEntries();


} catch (ApiException e) {

for (ApiError er : e.getErrors()) {

if (er instanceof RateExceededError) {

try {

Thread.sleep(((RateExceededError) 
er).getRetryAfterSeconds());// 30seconds

page = targetingIdeaService.get(selector);

targetingIdea = page.getEntries();

} catch (Exception th) {

e.printStackTrace();

throw e;

}

}

}

e.printStackTrace();

}

return targetingIdea;

   

TargetingIdeaService -

2019-02-28 Thread Harshitha
Currently, I am using the TargetingIdeaService to provide a subset of the 
functionality of the Keyword Planner by providing a list of locations, 
language and a RelatedToQuerySearchParameter query to 
TargetingIdeaService.get to get a list of keywords and their associated 
data.

My API Version: V201806

But, I am getting the exception like

ex = (com.google.api.ads.adwords.axis.v201806.cm.ApiException) 
ApiException{applicationExceptionType=ApiException, 
errors=[TargetingIdeaError{apiErrorType=TargetingIdeaError, 
errorString=TargetingIdeaError.INVALID_SEARCH_PARAMETERS, 
fieldPath=selector.searchParameters.searchParameters[0], 
fieldPathElements=[FieldPathElement{field=selector}, 
FieldPathElement{field=searchParameters}, 
FieldPathElement{field=searchParameters, index=0}], 
reason=INVALID_SEARCH_PARAMETERS, trigger=LanguageSearchParameter}, 
TargetingIdeaError{apiErrorType=TargetingIdeaError, 
errorString=TargetingIdeaError.INVALID_SEARCH_PARAMETERS, 
fieldPath=selector.searchParameters.searchParameters[1], 
fieldPathElements=[FieldPathElement{field=selector}, 
FieldPathElement{field=searchParameters}, 
FieldPathElement{field=searchParameters, index=1}], 
reason=INVALID_SEARCH_PARAMETERS, trigger=LocationSearchParameter}, 
TargetingIdeaError{apiErrorType=TargetingIdeaError, 
errorString=TargetingIdeaError.INVALID_SEARCH_PARAMETERS, 
fieldPath=selector.searchParameters.searchParameters[2], 
fieldPathElements=[FieldPathElement{field=selector}, 
FieldPathElement{field=searchParameters}, 
FieldPathElement{field=searchParameters, index=2}], 
reason=INVALID_SEARCH_PARAMETERS, trigger=RelatedToQuerySearchParameter}]}

Kindly look into the code.

 GoogleTokenResponse tokenResp = new GoogleTokenResponse();
tokenResp.setAccessToken(accDetails.getAccessToken());
tokenResp.setRefreshToken(accDetails.getRefreshToken());
gleServices.setAccountDetails(accDetails);
adWordsSession = gleServices.createAdWordsSession(clientId, 
clientSecret, tokenResp.getRefreshToken(), developerToken, userAgent);
TargetingIdeaServiceInterface targetingIdeaService = 
(TargetingIdeaServiceInterface) 
gleServices.getService(gleServices.TARGETING_IDEA_SERVICE, adWordsSession);

TargetingIdeaSelector selector = new TargetingIdeaSelector();
selector.setRequestType(RequestType.IDEAS);
selector.setIdeaType(IdeaType.KEYWORD);
selector.setRequestedAttributeTypes(new 
AttributeType[]{AttributeType.KEYWORD_TEXT});

Paging paging = new Paging();
paging.setStartIndex(0);
paging.setNumberResults(200);
selector.setPaging(paging);

Location loc = new Location();
loc.setId(Long.valueOf(2356));
LocationSearchParameter countryTargetSearchParameter = new 
LocationSearchParameter();
countryTargetSearchParameter.setLocations(new Location[]{loc});

Language lang = new Language();
lang.setId(Long.valueOf(1000));
LanguageSearchParameter langTargetSearchParameter = new 
LanguageSearchParameter();
langTargetSearchParameter.setLanguages(new Language[]{lang});

RateExceededError rateExceeded = new RateExceededError();
rateExceeded.setRetryAfterSeconds(100);
Thread.sleep(rateExceeded.getRetryAfterSeconds() * 1000);

selector.setSearchParameters(new SearchParameter[]{new 
RelatedToQuerySearchParameter(null, new String[]{"bakery"}), 
countryTargetSearchParameter, langTargetSearchParameter});

TargetingIdeaPage page = targetingIdeaService.get(selector);
targetingIdea = page.getEntries();


Thanks in advance

-- 




CONFIDENTIALITY INFORMATION AND DISCLAIMER



This email message and 
its attachments may contain
confidential, proprietary or legally privileged 
information and is intended
solely for the use of the individual or entity 
to whom it is addressed. If you
have erroneously received this message, 
please delete all copies of it
immediately and notify the sender. If you 
are not the intended recipient of the
email message you should not 
disseminate, distribute or copy this e-mail.
E-mail transmission cannot be 
guaranteed to be secure or error-free as information
could be intercepted, 
corrupted, lost, destroyed, incomplete or contain viruses
and NetElixir 
accepts no liability for any damage caused by the limitations of
the e-mail 
transmission. Thank you for your cooperation.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more opti

(javax.net.ssl.SSLHandshakeException) javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timest

2017-03-27 Thread harshitha . yeddala


When i am doing through scheduler i am getting an error like below.

*Scheduler Time*:0 30 * ? * * *

and the above time is monthly scheduler dumping of stats and it should fire 
on every 2nd of month

I have updated the access token and refresh token too.


javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path validation failed: 
java.security.cert.CertPathValidatorException: timestamp check failed
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at 
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1497)
at 
sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at 
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
at 
com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:93)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:965)
at 
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419)
at 
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)
at 
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)
at 
com.netelixir.api.reportsautomation.AnalyticsDumpAutoReportsStats.getNewAnalyticsReportDefination(AnalyticsDumpAutoReportsStats.java:174)
at 
com.netelixir.api.reportsautomation.SEReportDefinationsServiceImpl.getNewGAReportDefination(SEReportDefinationsServiceImpl.java:159)
at 
com.netelixir.api.reportsautomation.AutoRprtsNewMntlyStats.getJsonAndInsert(AutoRprtsNewMntlyStats.java:201)
at 
com.netelixir.api.reportsautomation.AutoRprtsNewMntlyStats.setCommonData(AutoRprtsNewMntlyStats.java:189)
at 
com.netelixir.api.reportsautomation.AutoRprtsNewMntlyStats.getMonthlyStatsAndInsert(AutoRprtsNewMntlyStats.java:104)
at 
com.netelixir.api.reportsautomation.AutoRprtsMonthlyNewGAStatsDumpThread.run(AutoRprtsMonthlyNewGAStatsDumpThread.java:84)
at java.lang.Thread.run(Thread.java:745)
Caused by: sun.security.validator.ValidatorException: PKIX path validation 
failed: java.security.cert.CertPathValidatorException: timestamp check 
failed
at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:352)
at 
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:249)
at sun.security.validator.Validator.validate(Validator.java:260)
at 
sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
at 
sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at 
sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
at 
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1479)
... 22 more
Caused by: java.security.cert.CertPathValidatorException: timestamp check 
failed
at 
sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:129)
at 
sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:219)
at 
sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140)
at 
sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79)
at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292)
at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:347)
... 28 more
Caused by: java.security.cert.CertificateNotYetValidException: NotBefore: 
Thu Mar 16 14:24:00 IST 2017
at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:270)
at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:629)
at 
sun.security.provider.certpath.BasicChecker.verifyTimestamp(BasicChecker.java:190)
at sun.security.provider.certpath.BasicChecker.check(BasicChecker.java:144)
at 
sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:119)
... 33 more


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDeve

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed

2017-03-27 Thread harshitha . yeddala
Hi Team,

up vdown vote
favorite 


When i am doing through scheduler i am getting an error like below.

*Scheduler Time*:0 30 * ? * * *

and the above time is monthly scheduler of dumping the stats and it should 
fire on every 2nd of month

I have updated the access token and refresh token too.

For instance: i run on Mar 2nd 2017  02:30:00 AM and i m getting exception 
like below


javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path validation failed: 
java.security.cert.CertPathValidatorException: timestamp check failed

at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)

at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)

at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)

at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)

at 
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1497)

at 
sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)

at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)

at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)

at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)

at 
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)

at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)

at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)

at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)

at 
com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:93)

at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:965)

at 
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419)

at 
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)

at 
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)

at 
com.netelixir.api.reportsautomation.AnalyticsDumpAutoReportsStats.getNewAnalyticsReportDefination(AnalyticsDumpAutoReportsStats.java:174)

at 
com.netelixir.api.reportsautomation.SEReportDefinationsServiceImpl.getNewGAReportDefination(SEReportDefinationsServiceImpl.java:159)

at 
com.netelixir.api.reportsautomation.AutoRprtsNewMntlyStats.getJsonAndInsert(AutoRprtsNewMntlyStats.java:201)

at 
com.netelixir.api.reportsautomation.AutoRprtsNewMntlyStats.setCommonData(AutoRprtsNewMntlyStats.java:189)

at 
com.netelixir.api.reportsautomation.AutoRprtsNewMntlyStats.getMonthlyStatsAndInsert(AutoRprtsNewMntlyStats.java:104)

at 
com.netelixir.api.reportsautomation.AutoRprtsMonthlyNewGAStatsDumpThread.run(AutoRprtsMonthlyNewGAStatsDumpThread.java:84)

at java.lang.Thread.run(Thread.java:745)

Caused by: sun.security.validator.ValidatorException: PKIX path validation 
failed: java.security.cert.CertPathValidatorException: timestamp check 
failed

at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:352)

at 
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:249)

at sun.security.validator.Validator.validate(Validator.java:260)

at 
sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)

at 
sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)

at 
sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)

at 
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1479)

... 22 more
Caused by: java.security.cert.CertPathValidatorException: timestamp check 
failed





at 
sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:129)

at 
sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:219)

at 
sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140)

at 
sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79)

at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292)

at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:347)

... 28 more

Caused by: java.security.cert.CertificateNotYetValidException: NotBefore: 
Thu Mar 16 14:24:00 IST 2017

at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:270)

at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:629)

at 
sun.security.provider.certpath.BasicChecker.verifyTimestamp(BasicChecker.java:190)

at sun.security.provider.certpath.BasicChecker.check(BasicChecker.java: