Hi,
*background:*

I'm developing a tool that will allow marketing manager to upload customer 
emails to Google Adwords via API.
I'm using .NET client library 
- https://github.com/googleads/googleads-dotnet-lib
I call API endpoint using  AdwordsUserListService v201605,   
CrmBasedUserList type

Docs say that I can make three types of operations for a User List: *ADD*, 
*SET* and *REMOVE*.
When list is uploaded first time, I can fire a bunch of batch ADD requests 
to the API, and list will be eventually filled up.
But what about list refresh? I will need the list in google to contain only 
members I have to upload.

*I see 2 options:*

   1. SET operation + N ADD operations. 
      1. Create a SET operation with first 10.000 users, and submit it. 
      This will overwrite the list, and members that do not exist in new list 
      will be removed.
      2. Create and submit N ADD operations for the rest of users, not 
      included in the first SET
   2. Compute difference and construct needed ADD and REMOVE operations
      1. Having previously uploaded state stored somewhere on my side, I 
      compare it with incoming list that should replace the current one in 
Google
      2. Comparison will give me two sets of users: those to add and those 
      to remove
      3. Make required number of ADD and REMOVE requests to the API
   

To me looks like the first option is easier, because I don't need to store 
last upload data for each list and have comparison logic in place.

*What I don't know is *

- is there a guarantee that SET operations following by a number of ADD 
execute in and order of submission? Will ADD start only after SET is 
finished?
- is this correct: after first SET is finished, list will be updated 
transactionally to contain on members for SET operation, and then ADD 
operations will start to happen?
If so, it means that for some time, until ADD operations are finished, my 
list will contain just a part of the data, and it that can affect campaigns 
the list is used in?

Considering the above, what option is preferrable, or is there a better way 
to make a list refresh?


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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b5cddc16-7cad-49e4-91d4-db5a3b099b66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • How to organize... Alexander B
    • Re: How to... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
      • Re: Ho... Alexander B
        • Re... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
          • ... Alexander B
            • ... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to