Hi Vinuntha, Thanks for reaching out with this question! For future reference, this is the perfect type of question to post on the Issues tracker of the Github Repository for the library. It's really helpful to other users who might have the same question :)
The frequency_caps field on a campaign is a repeated message field, which means it's a list of message objects, in this case FrequencyCapEntry object. The proto3 documentation here explains how those fields work and how to manipulate them. What you'll want to do is call the .add() method on the field, which will insert a FrequencyCapEntry instance into the repeated field and return it back. From there you can set fields on the object directly. Here's an example of it being done in the update_keyword.py example. Hope that helps! Best, Ben Karl, Google Ads API Team ref:_00D1U1174p._5001UAqKsP: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 [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 and Google Ads 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/4RvSU000000000000000000000000000000000000000000000PRYNI600fr8huWehQpSsMXJLwfMEqw%40sfdc.net. For more options, visit https://groups.google.com/d/optout.
