Re: Google Ads API : RESULTS_NOT_READY

2022-05-19 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Arvind,

You can make a ListBatchJobResultsRequest for a batch job as soon as it 
finishes. You do not have to wait for other independently running batch jobs to 
finish in order to list results for a finished job.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2at6B7: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/oDEHQ0RC5C3800xNTSt78HR36lDnbw3uJ81Q%40sfdc.net.


Re: Google Ads API : RESULTS_NOT_READY

2022-05-17 Thread Arvind Rocky
Hello Team,
We have already followed the guide that you provided.
I have more than 3,000 operations and i am splitting that into multiple batches 
and for each batch, I am creating a new batch job.
I am checking if the batch job is complete or not using LRO’s done method. 
Until the done method returns true, sleep method is used in an exponential 
manner. 
List job results method is called only when the done method returns true. 
This is repeated for the other batch jobs as well.
Should I wait until all the 3 or more batch jobs complete or can I fetch the 
results as and when one of them complete.




> On May 17, 2022, at 04:51, Google Ads API Forum Advisor 
>  wrote:
>  Hi Arvind,
> 
> Thank you for providing the requested information. I work with Darwin and 
> allow me to assist you here.
> 
> According to this document, the ListBatchJobResults are used to print their 
> status, when all your batch jobs are finished. With this, you'll need to wait 
> until the batch job is finished before you can use ListBatchJobResults. While 
> waiting for the batch job to complete, you can poll the status of the batch 
> job until it's done by following this guide.
> 
> Best regards,
>   
> Jinky
> Google Ads API Team
>  
> 
> 
> ref:_00D1U1174p._5004Q2at6B7: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/30D8D28C-17FC-4068-BFDB-04B5A855ED2C%40gmail.com.


Re: Google Ads API : RESULTS_NOT_READY

2022-05-16 Thread Arvind
I replied privately to the author with the request and response details.
Please let me know on the update.

On Sunday, May 15, 2022 at 11:26:01 PM UTC-4 adsapi wrote:

> Hi Arvind,
>
>
> Thanks for reaching out to the Google Ads API Support team.
>  
>
> With regard to your concern, so our team can better check this concern, 
> could you provide the complete Ads API logs (request 
> 
>  and response 
> 
>  with request-id 
> )
>  
> to further investigation on this?
>  
>
> You can provide it via Reply privately to the author option. If this 
> option is not available, then send it instead on this email address 
> googleadsa...@google.com.
>  
>
> Regards,
> [image: Google Logo] 
> Darwin 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2at6B7: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/671d3911-24f5-4333-84a2-bd59dd25f3a9n%40googlegroups.com.


RE: Google Ads API : RESULTS_NOT_READY

2022-05-15 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Arvind,


Thanks for reaching out to the Google Ads API Support team.

With regard to your concern, so our team can better check this concern, could 
you provide the complete Ads API logs (request and response with request-id) to 
further investigation on this?

You can provide it via Reply privately to the author option. If this option is 
not available, then send it instead on this email address 
googleadsapi-supp...@google.com.

Regards,

Darwin
Google Ads API Team
ref:_00D1U1174p._5004Q2at6B7: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/Gv2_A0RBYHIV00rnvuXC7NQAOQYjFKfpEwLw%40sfdc.net.


Google Ads API : RESULTS_NOT_READY

2022-05-15 Thread Arvind
Hello Team,
I am using a batch job to remove AdGroups and I am seeing the below error.

After I submit the batch job, I am getting OperationFuture object and 
checking whether the batch job is completed or not using isDone() method.
Once isDone() method returns true, I am using listBatchJobResults of 
BatchJobServiceClient 
to fetch the results and getting the below error.

Can you please help me in handling this scenario and which method to use to 
check if batch job is completed or not?

errors {
  error_code {
batch_job_error: RESULTS_NOT_READY
  }
  message: "Results cannot be retrieved until batch job is finished."
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7a7655f5-03a4-45f5-b9de-faf25a053216n%40googlegroups.com.