offlineUserDataJobs

2023-04-24 Thread MEGANATHAN P
Hello Team Can you provide an example of how to use the Google Ads API's 
offlineUserDataJobs REST API to add matched users to an existing audience 
list that has already been created? 

Thanks!

Regrading,

Meganathan P

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0c0d7418-2e62-48ae-a31d-c09675a8a91en%40googlegroups.com.


Re: OfflineUserDataJobs Questions

2022-02-21 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Vamshi,

Thank you for the reply. I am also a member of the Google Ads API team and let 
me provide support to your concern.

For #1, according to this document, it says that you can add operations to an 
existing job which can be done at any time but before the job is started.

Moving forward to this question "So, can the job be kept in the PENDING state 
for as long as we want?", I can confirm that your understanding here is correct.

Let me know if you have further questions.

Regards,

Ernie John
Google Ads API Team
ref:_00D1U1174p._5004Q2Wvu9x: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/cZyFW0R7NAT200MaVOwRGzQymwGu2tfxhMzQ%40sfdc.net.


Re: OfflineUserDataJobs Questions

2022-02-17 Thread Vamshi TG
Hi,

It appears that my follow-up questions got lost in the thread. I have added 
them again below, could you please clarify them?

*1. The Google Ads documentation says we might get an error if we try to 
execute two Jobs at the same time for a particular audience. Would there be 
a problem if we create a Job for the same audience that has a Job, add 
users to that Job, and execute it only after the previous Job has finished? 
Would the above approach work?*


>> Yes, you would need to avoid executing two Jobs at the same time for a 
particular audience. If you need to submit more than 100,000 identifiers 
for a job, you need to send multiple requests with the same job 
*resource_name* 
<https://developers.google.com/google-ads/api/reference/rpc/v10/AddOfflineUserDataJobOperationsRequest#resource_name>.
 
This will help you to send millions of userlist for the same 
OfflineUserDataJob.

>>>> I understood that we can create multiple jobs for the same resource. 
But my question was something different. What happens if there is a job 
already running (i.e it is in RUNNING status) for an audience and I create 
a new job for the same audience, add operations 
<https://developers.google.com/google-ads/api/rest/reference/rest/v8/customers.offlineUserDataJobs/addOperations>
 
to the new job and only execute it after the previous job has finished. 
Will this approach work seamlessly or would it cause any issues?



* 2. For how long can a Job be in "PENDING 
<https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.offlineUserDataJobs#offlineuserdatajobstatus>"
 
state? I.e Can we create a Job, keep adding User Identifiers, and only run 
it after a few hours? (for example after 24h or 48h)*

>> PENDING status of an offline user data job is when the job has been 
successfully created and is pending for uploading. In order to start 
uploading and processing data further, you would need to run 
RunOfflineUserDataJob().

>>>> For our use case, we want to add operations for the same job at 
regular intervals and run the job once when we have a large number of 
operations. So, we might execute it once every 24hrs or 48hrs. So, can the 
job be kept in the *PENDING* state for as long as we want?


Thanks,

Vamshi
On Thursday, February 17, 2022 at 7:41:34 PM UTC+5:30 adsapi wrote:

> Hi Mohanty,
>
> Thank you for reaching out to the Google Ads API support team.
>
> With regards to your concern, you may refer to this guide 
> <https://developers.google.com/google-ads/api/reference/rpc/v8/OfflineUserDataJobOperation>
>  
> to create and remove operations for OfflineUserDataJobs. Let me know if you 
> have any question.
>
> Thanks,
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Wvu9x: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/eca09b33-e4fc-4172-975c-e09593346c4an%40googlegroups.com.


Re: OfflineUserDataJobs Questions

2022-02-17 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Mohanty,

Thank you for reaching out to the Google Ads API support team.

With regards to your concern, you may refer to this guide to create and remove 
operations for OfflineUserDataJobs. Let me know if you have any question.

Thanks,

Nirmita
Google Ads API Team
ref:_00D1U1174p._5004Q2Wvu9x: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/S6NVt0R7GCPY00NO7TZkiOSgyhJeQ3EYaSug%40sfdc.net.


Re: OfflineUserDataJobs Questions

2022-02-17 Thread Subhranshu Mohanty
Hey Vamshi, How you're sending create and remove operations for 
OfflineUserDataJobs?

On Wednesday, February 16, 2022 at 8:51:06 PM UTC+5:30 vams...@sojern.com 
wrote:

> Hi,
>
> Thank you for the response. Could you please clarify the follow-up 
> questions?
>
> *1. The Google Ads documentation says we might get an error if we try to 
> execute two Jobs at the same time for a particular audience. Would there be 
> a problem if we create a Job for the same audience that has a Job, add 
> users to that Job, and execute it only after the previous Job has finished? 
> Would the above approach work?*
>
>
>
> >> Yes, you would need to avoid executing two Jobs at the same time for a 
> particular audience. If you need to submit more than 100,000 identifiers 
> for a job, you need to send multiple requests with the same job 
> *resource_name* 
> <https://developers.google.com/google-ads/api/reference/rpc/v10/AddOfflineUserDataJobOperationsRequest#resource_name>.
>  
> This will help you to send millions of userlist for the same 
> OfflineUserDataJob.
>
> >>>> I understood that we can create multiple jobs for the same resource. 
> But my question was something different. What happens if there is a job 
> already running (i.e it is in RUNNING status) for an audience and I create 
> a new job for the same audience, add operations 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v8/customers.offlineUserDataJobs/addOperations>
>  
> to the new job and only execute it after the previous job has finished. 
> Will this approach work seamlessly or would it cause any issues?
>
>
>
> * 2. For how long can a Job be in "PENDING 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.offlineUserDataJobs#offlineuserdatajobstatus>"
>  
> state? I.e Can we create a Job, keep adding User Identifiers, and only run 
> it after a few hours? (for example after 24h or 48h)*
>
> >> PENDING status of an offline user data job is when the job has been 
> successfully created and is pending for uploading. In order to start 
> uploading and processing data further, you would need to run 
> RunOfflineUserDataJob().
>
> >>>> For our use case, we want to add operations for the same job at 
> regular intervals and run the job once when we have a large number of 
> operations. So, we might execute it once every 24hrs or 48hrs. So, can the 
> job be kept in the *PENDING* state for as long as we want?
> Thanks,
> Vamshi
> On Wednesday, February 16, 2022 at 3:46:14 PM UTC+5:30 adsapi wrote:
>
>> Hi Vamshi,
>>
>> Thanks for reaching out to the Google Ads API Support.
>>
>> Kindly see below responses to your queries:
>>
>> *The Google Ads documentation says we might get an error if we try to 
>> execute two Jobs at the same time for a particular audience. Would there be 
>> a problem if we create a Job for the same audience that has a Job, add 
>> users to that Job, and execute it only after the previous Job has 
>> finished?Would the above approach work?*
>>
>> >> Yes, you would need to avoid executing two Jobs at the same time for a 
>> particular audience. If you need to submit more than 100,000 identifiers 
>> for a job, you need to send multiple requests with the same job 
>> *resource_name* 
>> <https://developers.google.com/google-ads/api/reference/rpc/v10/AddOfflineUserDataJobOperationsRequest#resource_name>.
>>  
>> This will help you to send millions of userlist for the same 
>> OfflineUserDataJob.
>>
>>
>>
>> *2. For how long can a Job be in "**PENDING* 
>> <https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.offlineUserDataJobs#offlineuserdatajobstatus>*"
>>  
>> state? I.e Can we create a Job, keep adding User Identifiers, and only run 
>> it after a few hours? (for example after 24h or 48h)*
>>
>> >> PENDING status of an offline user data job is when the job has been 
>> successfully created and is pending for uploading. In order to start 
>> uploading and processing data further, you would need to run 
>> RunOfflineUserDataJob().
>>
>>
>>
>> *3. The Google Ads documentation says we can add a maximum of 100K User 
>> Identifiers per add operation, but is there a total limit of User 
>> Identifiers per Job?*
>>
>> >> Note that the maximum number of user identifiers allowed per request 
>> is 100,000 and per operation is 20. 
>>
>> Let us know if you have any further questions.
>>
>> Regards,
>> [image: Google Logo] 
>> Yasa

Re: OfflineUserDataJobs Questions

2022-02-16 Thread Vamshi TG
Hi,

Thank you for the response. Could you please clarify the follow-up 
questions?

*1. The Google Ads documentation says we might get an error if we try to 
execute two Jobs at the same time for a particular audience. Would there be 
a problem if we create a Job for the same audience that has a Job, add 
users to that Job, and execute it only after the previous Job has finished? 
Would the above approach work?*

>> Yes, you would need to avoid executing two Jobs at the same time for a 
particular audience. If you need to submit more than 100,000 identifiers 
for a job, you need to send multiple requests with the same job 
*resource_name* 
.
 
This will help you to send millions of userlist for the same 
OfflineUserDataJob.

 I understood that we can create multiple jobs for the same resource. 
But my question was something different. What happens if there is a job 
already running (i.e it is in RUNNING status) for an audience and I create 
a new job for the same audience, add operations 

 
to the new job and only execute it after the previous job has finished. 
Will this approach work seamlessly or would it cause any issues?

* 2. For how long can a Job be in "PENDING 
"
 
state? I.e Can we create a Job, keep adding User Identifiers, and only run 
it after a few hours? (for example after 24h or 48h)*

>> PENDING status of an offline user data job is when the job has been 
successfully created and is pending for uploading. In order to start 
uploading and processing data further, you would need to run 
RunOfflineUserDataJob().

 For our use case, we want to add operations for the same job at 
regular intervals and run the job once when we have a large number of 
operations. So, we might execute it once every 24hrs or 48hrs. So, can the 
job be kept in the *PENDING* state for as long as we want?
Thanks,
Vamshi
On Wednesday, February 16, 2022 at 3:46:14 PM UTC+5:30 adsapi wrote:

> Hi Vamshi,
>
> Thanks for reaching out to the Google Ads API Support.
>
> Kindly see below responses to your queries:
>
> *The Google Ads documentation says we might get an error if we try to 
> execute two Jobs at the same time for a particular audience. Would there be 
> a problem if we create a Job for the same audience that has a Job, add 
> users to that Job, and execute it only after the previous Job has 
> finished?Would the above approach work?*
>
> >> Yes, you would need to avoid executing two Jobs at the same time for a 
> particular audience. If you need to submit more than 100,000 identifiers 
> for a job, you need to send multiple requests with the same job 
> *resource_name* 
> .
>  
> This will help you to send millions of userlist for the same 
> OfflineUserDataJob.
>
>
>
> *2. For how long can a Job be in "**PENDING* 
> *"
>  
> state? I.e Can we create a Job, keep adding User Identifiers, and only run 
> it after a few hours? (for example after 24h or 48h)*
>
> >> PENDING status of an offline user data job is when the job has been 
> successfully created and is pending for uploading. In order to start 
> uploading and processing data further, you would need to run 
> RunOfflineUserDataJob().
>
>
>
> *3. The Google Ads documentation says we can add a maximum of 100K User 
> Identifiers per add operation, but is there a total limit of User 
> Identifiers per Job?*
>
> >> Note that the maximum number of user identifiers allowed per request is 
> 100,000 and per operation is 20. 
>
> Let us know if you have any further questions.
>
> Regards,
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Wvu9x: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 thi

OfflineUserDataJobs Questions

2022-02-15 Thread Vamshi TG
Hi,

We are trying to upload users to User Lists using the OfflineUserDataJobs 
<https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.offlineUserDataJobs#OfflineUserDataJob>
 
REST endpoint. Need help with the below questions we have.

1. The Google Ads documentation says we might get an error if we try to 
execute two Jobs at the same time for a particular audience. Would there be 
a problem if we create a Job for the same audience that has a Job, add 
users to that Job, and execute it only after the previous Job has finished?

[image: upload-users-workflow-sequence-diagram.png]
Would the above approach work?

2. For how long can a Job be in "PENDING 
<https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.offlineUserDataJobs#offlineuserdatajobstatus>"
 
state? I.e Can we create a Job, keep adding User Identifiers, and only run 
it after a few hours? (for example after 24h or 48h)

3. The Google Ads documentation says we can add a maximum of 100K User 
Identifiers per add operation, but is there a total limit of User 
Identifiers per Job?

Thanks,
Vamshi

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d9490f3a-4536-40bc-b3bb-586f142e0f4cn%40googlegroups.com.