Re: Get Sitelinks

2022-09-22 Thread cv
Hi,

@zweitze, Thanks for additional information. Yes, I will keep that in mind.
@Nadine, Thanks for the update.

Thanks,


On Monday, 19 September 2022 at 18:15:20 UTC+5:30 Zweitze wrote:

> @Nadine, thanks for validating my approach. I still wasn't sure I caught 
> all scenario's!
> @Chirag, I found out the web UI now support sitelinks on customer 
> (account) level, be aware of that. That's only for new asset-based 
> sitelinks. For legacy feed-based sitelinks this was never possible and you 
> should not run into them.
>
>
> On Thursday, September 15, 2022 at 2:53:50 PM UTC+2 adsapi wrote:
>
>> Hello Chirag and Zweitze,
>>
>> I smiled as soon as I saw both of your names because you both have always 
>> been problem solvers over the years. I really appreciate that!
>>
>> @Zweitze Also, a big thank you for jumping in and helping out one of your 
>> fellow developers. You're amazing!
>>
>> @Chirag So, let me dive into the questions that are left here. First, 
>> Zweitze is right. His way is the only way I know of to do what you're 
>> trying to accomplish. I double-checked with our experts on the team just to 
>> be sure. We've also passed on this forum thread to folks managing the 
>> migration so they can understand how complex this has become for all of you 
>> in order to try to improve the process in the future.
>>
>> @Zweitze For any queries, that can be done with read-only. If you try to 
>> do a mutate (even if it's validate only), then it would be expected you 
>> would get back an error if you're read-only.
>>
>> @Chirag Yes, you are correct that Aryeh was trying to emphasize the 
>> 'validate_only' part of making the request to check if migrated or not.
>>
>> Thank you all for being such great problem solvers! I'm grateful for all 
>> this feedback, and I'm making sure it's making it to people who are leading 
>> this migration. 
>>
>> Take care,
>> [image: Google Logo] 
>> Nadine Wang 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2dwCSw: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/f9acc165-e9e5-4b19-8ac3-7f4d737a8d58n%40googlegroups.com.


Re: Get Sitelinks

2022-09-19 Thread Zweitze
@Nadine, thanks for validating my approach. I still wasn't sure I caught 
all scenario's!
@Chirag, I found out the web UI now support sitelinks on customer (account) 
level, be aware of that. That's only for new asset-based sitelinks. For 
legacy feed-based sitelinks this was never possible and you should not run 
into them.


On Thursday, September 15, 2022 at 2:53:50 PM UTC+2 adsapi wrote:

> Hello Chirag and Zweitze,
>
> I smiled as soon as I saw both of your names because you both have always 
> been problem solvers over the years. I really appreciate that!
>
> @Zweitze Also, a big thank you for jumping in and helping out one of your 
> fellow developers. You're amazing!
>
> @Chirag So, let me dive into the questions that are left here. First, 
> Zweitze is right. His way is the only way I know of to do what you're 
> trying to accomplish. I double-checked with our experts on the team just to 
> be sure. We've also passed on this forum thread to folks managing the 
> migration so they can understand how complex this has become for all of you 
> in order to try to improve the process in the future.
>
> @Zweitze For any queries, that can be done with read-only. If you try to 
> do a mutate (even if it's validate only), then it would be expected you 
> would get back an error if you're read-only.
>
> @Chirag Yes, you are correct that Aryeh was trying to emphasize the 
> 'validate_only' part of making the request to check if migrated or not.
>
> Thank you all for being such great problem solvers! I'm grateful for all 
> this feedback, and I'm making sure it's making it to people who are leading 
> this migration. 
>
> Take care,
> [image: Google Logo] 
> Nadine Wang 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2dwCSw: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/a5b3983e-db3e-4e83-baa3-bbecaada373cn%40googlegroups.com.


Re: Get Sitelinks

2022-09-15 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello Chirag and Zweitze,

I smiled as soon as I saw both of your names because you both have always been 
problem solvers over the years. I really appreciate that!

@Zweitze Also, a big thank you for jumping in and helping out one of your 
fellow developers. You're amazing!

@Chirag So, let me dive into the questions that are left here. First, Zweitze 
is right. His way is the only way I know of to do what you're trying to 
accomplish. I double-checked with our experts on the team just to be sure. 
We've also passed on this forum thread to folks managing the migration so they 
can understand how complex this has become for all of you in order to try to 
improve the process in the future.

@Zweitze For any queries, that can be done with read-only. If you try to do a 
mutate (even if it's validate only), then it would be expected you would get 
back an error if you're read-only.

@Chirag Yes, you are correct that Aryeh was trying to emphasize the 
'validate_only' part of making the request to check if migrated or not.

Thank you all for being such great problem solvers! I'm grateful for all this 
feedback, and I'm making sure it's making it to people who are leading this 
migration.

Take care,

Nadine Wang
Google Ads API Team
ref:_00D1U1174p._5004Q2dwCSw: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/4KqLi0RI955800QOOPb6iLTtKTAzuwu6qMmQ%40sfdc.net.


Re: Get Sitelinks

2022-09-13 Thread cv
Hi,

Perhaps Aryeh try to elaborate we need to make one API call with each 
extensions with validate_only 

 , 
So It will return error and with error handling we might detect it was 
migrated or not.

Yes exactly as said by Zweitze.  We just want to retrieve all ad 
extensions, legacy or migrated. and It is not really true with 
auto-migrated ad extensions detection.


Thanks,

 

On Tuesday, 13 September 2022 at 17:56:02 UTC+5:30 Zweitze wrote:

> Hi Aryeh,
>
> Thanks for mentioning the auto-migrated ad extensions, and how to detect 
> them. Indeed my code always uses a lot of API requests to obtain legacy ad 
> extensions (get feed mappings, get feed items, get associations with 
> groups, campaigns, and account if we're not talking about sitelinks) even 
> on accounts that were automigrated. Your suggestion could reduce that 
> number of API requests. But... I'm not really sure. This detection guide 
> assumes I already have a feed and feed item, and suggests to modify an 
> item. But in my case, I don't know any item, or what a relevant mapping 
> could be. So I need API requests to obtain feeds, feed mappings, feed 
> items, and one API request to modify a feed item.
> Which comes down to four API requests, exactly the same number of API 
> requests I'm using now for sitelinks.
>
> Can you elaborate? Also, will this work when the logged in user only has 
> Read-only access to the account?
>
>
> You may realize that my code - and probably Chirag's - is not about 
> migrating ad extensions. We just want to retrieve all ad extensions, legacy 
> or migrated.
>
>
> On Monday, September 12, 2022 at 4:41:22 PM UTC+2 adsapi wrote:
>
>> Hi Chirag and Zweitze,
>>
>> I want to add to the battle tested advice below that we have a Auto-migrated 
>> accounts detection 
>> 
>>  guide, 
>> as soon as you detect auto migrated feeds you will know that they won't 
>> continue to serve. For manual migration of extension links to ad groups and 
>> campaigns etc.. this won't work and we suggest you Remove the Feed-based 
>> extension 
>> 
>>  entirely 
>> in one shot.
>>
>> It's recommended that you replace entirely an extension with all its 
>> links in one shot using Associate the asset with campaigns and ad groups 
>> ,
>>  
>> the sample code on the page shows all the campaign extension links being 
>> found, but if you look further in that sample it also gets all ad group 
>> links too. You can easily add for customer linked extensions 
>> .
>>  
>> I can guess the reason for this advice is to easily and clearly keep track 
>> which extension feed items aren't serving anymore, while all others are 
>> still serving.
>>
>> It is possible that one or more ad groups were manually migrated from a 
>> specific extension feed item while others weren't, especially if 
>> experiments were done and/or haphazard upgrades occured and that could make 
>> things harder to track. You can modify the Associate the asset with 
>> campaigns and ad groups 
>> 
>>  to 
>> just show all active links to the extension feed items you are 
>> investigating.
>>
>> Regards,
>>
>> [image: Google Logo] 
>> Aryeh 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2dwCSw: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/8ba5e30c-d8b0-4c2f-8308-b501028bb4can%40googlegroups.com.


Re: Get Sitelinks

2022-09-13 Thread Zweitze
Hi Aryeh,

Thanks for mentioning the auto-migrated ad extensions, and how to detect 
them. Indeed my code always uses a lot of API requests to obtain legacy ad 
extensions (get feed mappings, get feed items, get associations with 
groups, campaigns, and account if we're not talking about sitelinks) even 
on accounts that were automigrated. Your suggestion could reduce that 
number of API requests. But... I'm not really sure. This detection guide 
assumes I already have a feed and feed item, and suggests to modify an 
item. But in my case, I don't know any item, or what a relevant mapping 
could be. So I need API requests to obtain feeds, feed mappings, feed 
items, and one API request to modify a feed item.
Which comes down to four API requests, exactly the same number of API 
requests I'm using now for sitelinks.

Can you elaborate? Also, will this work when the logged in user only has 
Read-only access to the account?


You may realize that my code - and probably Chirag's - is not about 
migrating ad extensions. We just want to retrieve all ad extensions, legacy 
or migrated.


On Monday, September 12, 2022 at 4:41:22 PM UTC+2 adsapi wrote:

> Hi Chirag and Zweitze,
>
> I want to add to the battle tested advice below that we have a Auto-migrated 
> accounts detection 
> 
>  guide, 
> as soon as you detect auto migrated feeds you will know that they won't 
> continue to serve. For manual migration of extension links to ad groups and 
> campaigns etc.. this won't work and we suggest you Remove the Feed-based 
> extension 
> 
>  entirely 
> in one shot.
>
> It's recommended that you replace entirely an extension with all its links 
> in one shot using Associate the asset with campaigns and ad groups 
> ,
>  
> the sample code on the page shows all the campaign extension links being 
> found, but if you look further in that sample it also gets all ad group 
> links too. You can easily add for customer linked extensions 
> .
>  
> I can guess the reason for this advice is to easily and clearly keep track 
> which extension feed items aren't serving anymore, while all others are 
> still serving.
>
> It is possible that one or more ad groups were manually migrated from a 
> specific extension feed item while others weren't, especially if 
> experiments were done and/or haphazard upgrades occured and that could make 
> things harder to track. You can modify the Associate the asset with 
> campaigns and ad groups 
> 
>  to 
> just show all active links to the extension feed items you are 
> investigating.
>
> Regards,
>
> [image: Google Logo] 
> Aryeh 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2dwCSw: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/13d3b5df-5bd5-4870-9e59-3f12f328e552n%40googlegroups.com.


RE: Get Sitelinks

2022-09-12 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Chirag and Zweitze,

I want to add to the battle tested advice below that we have a Auto-migrated 
accounts detection guide, as soon as you detect auto migrated feeds you will 
know that they won't continue to serve. For manual migration of extension links 
to ad groups and campaigns etc.. this won't work and we suggest you Remove the 
Feed-based extension entirely in one shot.

It's recommended that you replace entirely an extension with all its links in 
one shot using Associate the asset with campaigns and ad groups, the sample 
code on the page shows all the campaign extension links being found, but if you 
look further in that sample it also gets all ad group links too. You can easily 
add for customer linked extensions. I can guess the reason for this advice is 
to easily and clearly keep track which extension feed items aren't serving 
anymore, while all others are still serving.

It is possible that one or more ad groups were manually migrated from a 
specific extension feed item while others weren't, especially if experiments 
were done and/or haphazard upgrades occured and that could make things harder 
to track. You can modify the Associate the asset with campaigns and ad groups 
to just show all active links to the extension feed items you are investigating.

Regards,

Aryeh
Google Ads API Team
ref:_00D1U1174p._5004Q2dwCSw: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/EoxNk0RI3Q4B00-AiLc-ruQlOhwW9zlbNMJw%40sfdc.net.


Re: Get Sitelinks

2022-09-12 Thread Zweitze
About other ad extensions: I handle price extensions the same way, but 
beware: price extensions can also be attached to the account. You should 
understand how to handle those, just don't forget.

If you have findings contradicting my explanation, please share your 
findings!


On Monday, September 12, 2022 at 2:50:14 PM UTC+2 cv wrote:

> Hi Zweitze,
>
> Thanks for sharing your experience.
> This is really a wonderful explanation. 
>
> *The algorithm I use is:*
> *First get all asset-based sitelinks, and get the campaigns and ad groups 
> attached to them. Get each and everyone, including the disabled and removed 
> links. Then go on for the feed-based sitelinks, and get the campaigns and 
> ad groups they are attached too, EXCEPT the campaigns and ad groups that 
> are or were used for asset-based sitelinks - because these are migrated.*
> --> This is the right algorithm to minimise any error. I think this 
> applies to all extensions which are not migrated yet.
>
> One above also has confusion that they have not migrated or planned for 
> some extensions, so If I need to check all extensions then also this will 
> work. 
>
>
> Thanks,
>
>
>
> On Monday, 12 September 2022 at 17:37:35 UTC+5:30 Zweitze wrote:
>
>> Let you give my experience.
>>
>> *In Addition to this how I can identify I need to use migrated extensions 
>> or non migrated extensions?*
>>
>> This is not using one API or the other. Within the same account both 
>> migrated and non-migrated extensions may exist. If you look careful in the 
>> UI of an account with non-migrated extensions, you will notice that you can 
>> migrate these extensions OR SOME OF THEM.
>> Some articles on this subject mentioned that all sitelinks would be 
>> forcefully migrated last year October, then that date was postponed to 
>> March. However, a few weeks ago I ran into an account which still had 
>> unmigrated sitelinks.
>>
>> If the deadline of your project is still some months away, you are 
>> probably better off telling your boss or customers that your project will 
>> only work with migrated extensions, and use the API for asset-based 
>> sitelinks. One reason could be that you can no longer create unmigrated 
>> sitelinks, making testing extremely hard. Another reason is that the API 
>> for feed-based sitelinks is very hard.
>> If you can't get away with that, there's another nasty angle: Actually 
>> it's not the sitelinks that are migrated, but the campaigns or ad groups 
>> attached to sitelinks. Look again in the UI of unmigrated sitelinks: you 
>> can only upgrade groups and campaigns. On top of that, the API 
>> documentation does not state what happens to a feedbased sitelink once it 
>> is migrated, for instance what status it will get.
>>
>> The algorithm I use is:
>> First get all asset-based sitelinks, and get the campaigns and ad groups 
>> attached to them. Get each and everyone, including the disabled and removed 
>> links. Then go on for the feed-based sitelinks, and get the campaigns and 
>> ad groups they are attached too, EXCEPT the campaigns and ad groups that 
>> are or were used for asset-based sitelinks - because these are migrated.
>>
>> I hope this makes sense and helps you to get started.
>>
>>
>>
>>
>> On Wednesday, September 7, 2022 at 1:45:52 PM UTC+2 cv wrote:
>>
>>> Hi,
>>>
>>> In Addition to this how I can identify I need to use migrated extensions 
>>> or non migrated extensions?
>>>
>>> Thanks,
>>>
>>>
>>> On Wednesday, 7 September 2022 at 14:40:32 UTC+5:30 cv wrote:
>>>
 Hi,

 I need to get All Sitelinks in the account(Account, campaign or adgroup 
 level).
 I have gone through some of the post in this forum, and found there is 
 multiple way to get sitelinks.

 Some post says need to use 
 For the reports that will give you Sitelinks, you can use 
 asset_field_type_view 
 
   
 for migrated extensions and extension_feed_item 
 
  for 
 non migrated extensions.

 https://groups.google.com/g/adwords-api/c/EgojXNvvG5E/m/J59FQYS_AQAJ?pli=1

 Some says
 However, if you want to get a sitelink related report for the sitelinks 
 at different levels, then you can use the feed_placeholder_view 
 
  and 
 filter the feed_placeholder_view.placeholder_type 
 
  by 
 '*SITELINK*'. 
 https://groups.google.com/g/adwords-api/c/OFxlhPsZjOs/m/_TFfQMiyBQAJ

 I can also see some suggestion are also based on campaign_asset 
  
 and 
 ad_group_asset 
 

Re: Get Sitelinks

2022-09-12 Thread cv
Hi Zweitze,

Thanks for sharing your experience.
This is really a wonderful explanation. 

*The algorithm I use is:*
*First get all asset-based sitelinks, and get the campaigns and ad groups 
attached to them. Get each and everyone, including the disabled and removed 
links. Then go on for the feed-based sitelinks, and get the campaigns and 
ad groups they are attached too, EXCEPT the campaigns and ad groups that 
are or were used for asset-based sitelinks - because these are migrated.*
--> This is the right algorithm to minimise any error. I think this applies 
to all extensions which are not migrated yet.

One above also has confusion that they have not migrated or planned for 
some extensions, so If I need to check all extensions then also this will 
work. 


Thanks,



On Monday, 12 September 2022 at 17:37:35 UTC+5:30 Zweitze wrote:

> Let you give my experience.
>
> *In Addition to this how I can identify I need to use migrated extensions 
> or non migrated extensions?*
>
> This is not using one API or the other. Within the same account both 
> migrated and non-migrated extensions may exist. If you look careful in the 
> UI of an account with non-migrated extensions, you will notice that you can 
> migrate these extensions OR SOME OF THEM.
> Some articles on this subject mentioned that all sitelinks would be 
> forcefully migrated last year October, then that date was postponed to 
> March. However, a few weeks ago I ran into an account which still had 
> unmigrated sitelinks.
>
> If the deadline of your project is still some months away, you are 
> probably better off telling your boss or customers that your project will 
> only work with migrated extensions, and use the API for asset-based 
> sitelinks. One reason could be that you can no longer create unmigrated 
> sitelinks, making testing extremely hard. Another reason is that the API 
> for feed-based sitelinks is very hard.
> If you can't get away with that, there's another nasty angle: Actually 
> it's not the sitelinks that are migrated, but the campaigns or ad groups 
> attached to sitelinks. Look again in the UI of unmigrated sitelinks: you 
> can only upgrade groups and campaigns. On top of that, the API 
> documentation does not state what happens to a feedbased sitelink once it 
> is migrated, for instance what status it will get.
>
> The algorithm I use is:
> First get all asset-based sitelinks, and get the campaigns and ad groups 
> attached to them. Get each and everyone, including the disabled and removed 
> links. Then go on for the feed-based sitelinks, and get the campaigns and 
> ad groups they are attached too, EXCEPT the campaigns and ad groups that 
> are or were used for asset-based sitelinks - because these are migrated.
>
> I hope this makes sense and helps you to get started.
>
>
>
>
> On Wednesday, September 7, 2022 at 1:45:52 PM UTC+2 cv wrote:
>
>> Hi,
>>
>> In Addition to this how I can identify I need to use migrated extensions 
>> or non migrated extensions?
>>
>> Thanks,
>>
>>
>> On Wednesday, 7 September 2022 at 14:40:32 UTC+5:30 cv wrote:
>>
>>> Hi,
>>>
>>> I need to get All Sitelinks in the account(Account, campaign or adgroup 
>>> level).
>>> I have gone through some of the post in this forum, and found there is 
>>> multiple way to get sitelinks.
>>>
>>> Some post says need to use 
>>> For the reports that will give you Sitelinks, you can use 
>>> asset_field_type_view 
>>> 
>>>   
>>> for migrated extensions and extension_feed_item 
>>> 
>>>  for 
>>> non migrated extensions.
>>>
>>> https://groups.google.com/g/adwords-api/c/EgojXNvvG5E/m/J59FQYS_AQAJ?pli=1
>>>
>>> Some says
>>> However, if you want to get a sitelink related report for the sitelinks 
>>> at different levels, then you can use the feed_placeholder_view 
>>> 
>>>  and 
>>> filter the feed_placeholder_view.placeholder_type 
>>> 
>>>  by 
>>> '*SITELINK*'. 
>>> https://groups.google.com/g/adwords-api/c/OFxlhPsZjOs/m/_TFfQMiyBQAJ
>>>
>>> I can also see some suggestion are also based on campaign_asset 
>>>  
>>> and 
>>> ad_group_asset 
>>> 
>>> .
>>>
>>> So which are the correct way?
>>> Can you please explain how I can get?
>>>  
>>>
>>> Thanks,
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 

Re: Get Sitelinks

2022-09-12 Thread Zweitze
Let you give my experience.

*In Addition to this how I can identify I need to use migrated extensions 
or non migrated extensions?*

This is not using one API or the other. Within the same account both 
migrated and non-migrated extensions may exist. If you look careful in the 
UI of an account with non-migrated extensions, you will notice that you can 
migrate these extensions OR SOME OF THEM.
Some articles on this subject mentioned that all sitelinks would be 
forcefully migrated last year October, then that date was postponed to 
March. However, a few weeks ago I ran into an account which still had 
unmigrated sitelinks.

If the deadline of your project is still some months away, you are probably 
better off telling your boss or customers that your project will only work 
with migrated extensions, and use the API for asset-based sitelinks. One 
reason could be that you can no longer create unmigrated sitelinks, making 
testing extremely hard. Another reason is that the API for feed-based 
sitelinks is very hard.
If you can't get away with that, there's another nasty angle: Actually it's 
not the sitelinks that are migrated, but the campaigns or ad groups 
attached to sitelinks. Look again in the UI of unmigrated sitelinks: you 
can only upgrade groups and campaigns. On top of that, the API 
documentation does not state what happens to a feedbased sitelink once it 
is migrated, for instance what status it will get.

The algorithm I use is:
First get all asset-based sitelinks, and get the campaigns and ad groups 
attached to them. Get each and everyone, including the disabled and removed 
links. Then go on for the feed-based sitelinks, and get the campaigns and 
ad groups they are attached too, EXCEPT the campaigns and ad groups that 
are or were used for asset-based sitelinks - because these are migrated.

I hope this makes sense and helps you to get started.




On Wednesday, September 7, 2022 at 1:45:52 PM UTC+2 cv wrote:

> Hi,
>
> In Addition to this how I can identify I need to use migrated extensions 
> or non migrated extensions?
>
> Thanks,
>
>
> On Wednesday, 7 September 2022 at 14:40:32 UTC+5:30 cv wrote:
>
>> Hi,
>>
>> I need to get All Sitelinks in the account(Account, campaign or adgroup 
>> level).
>> I have gone through some of the post in this forum, and found there is 
>> multiple way to get sitelinks.
>>
>> Some post says need to use 
>> For the reports that will give you Sitelinks, you can use 
>> asset_field_type_view 
>> 
>>   
>> for migrated extensions and extension_feed_item 
>> 
>>  for 
>> non migrated extensions.
>> https://groups.google.com/g/adwords-api/c/EgojXNvvG5E/m/J59FQYS_AQAJ?pli=1
>>
>> Some says
>> However, if you want to get a sitelink related report for the sitelinks 
>> at different levels, then you can use the feed_placeholder_view 
>> 
>>  and 
>> filter the feed_placeholder_view.placeholder_type 
>> 
>>  by 
>> '*SITELINK*'. 
>> https://groups.google.com/g/adwords-api/c/OFxlhPsZjOs/m/_TFfQMiyBQAJ
>>
>> I can also see some suggestion are also based on campaign_asset 
>>  and 
>> ad_group_asset 
>> .
>>
>> So which are the correct way?
>> Can you please explain how I can get?
>>  
>>
>> Thanks,
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/73ef7444-9990-4e0c-9b80-4cc4b9c246c4n%40googlegroups.com.


RE: Get Sitelinks

2022-09-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to us.

For our team to further check and provide an appropriate recommendation to your 
concern, could you provide to us the whole Google Ads UI screenshots where you 
can see the sitelinks you want to retrieve?

You may then send the requested information via the Reply privately to author 
option. If this option is not available, you may send the details directly to 
our googleadsapi-supp...@google.com alias instead.

Best regards,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2dwCSw: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/aHcwN0RHU8YE00cJQBNCanRWGW1c9DI2mUrg%40sfdc.net.


Re: Get Sitelinks

2022-09-07 Thread cv
Hi,

In Addition to this how I can identify I need to use migrated extensions or 
non migrated extensions?

Thanks,


On Wednesday, 7 September 2022 at 14:40:32 UTC+5:30 cv wrote:

> Hi,
>
> I need to get All Sitelinks in the account(Account, campaign or adgroup 
> level).
> I have gone through some of the post in this forum, and found there is 
> multiple way to get sitelinks.
>
> Some post says need to use 
> For the reports that will give you Sitelinks, you can use 
> asset_field_type_view 
> 
>   
> for migrated extensions and extension_feed_item 
> 
>  for 
> non migrated extensions.
> https://groups.google.com/g/adwords-api/c/EgojXNvvG5E/m/J59FQYS_AQAJ?pli=1
>
> Some says
> However, if you want to get a sitelink related report for the sitelinks at 
> different levels, then you can use the feed_placeholder_view 
> 
>  and 
> filter the feed_placeholder_view.placeholder_type 
> 
>  by 
> '*SITELINK*'. 
> https://groups.google.com/g/adwords-api/c/OFxlhPsZjOs/m/_TFfQMiyBQAJ
>
> I can also see some suggestion are also based on campaign_asset 
>  and 
> ad_group_asset 
> .
>
> So which are the correct way?
> Can you please explain how I can get?
>  
>
> Thanks,
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e3c90cd2-efcb-4677-aa61-dfd1af52c787n%40googlegroups.com.


RE: get sitelinks for all adgroups for a given campaign (java)

2020-01-13 Thread Google Ads API Forum Advisor Prod
Hi Geofrey,

Thank you for reaching out to us. Unfortunately there is no way to fetch all 
sitelinks on both the campaign and ad-group level. The AdGroupFeedService will 
return a list of AdGroupFeeds, which is used to link a feed to an adgroup. 
Fields returned include feedId, adGroupId, matchingFunction, placeholderTypes, 
Status, baseCampaignId, and baseAdGroupId. Please let me know if you have 
further questions.

Thank you,
Bryan, Google Ads API Team
ref:_00D1U1174p._5001USwLxR: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 
"AdWords API and Google Ads 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/7t2DC0Q42DJ900WwkEiwWcQU-Zj0uHpzF5WQ%40sfdc.net.


Re: get sitelinks for all adgroups for a given campaign (java)

2020-01-13 Thread Geofrey F
Just to add I noticed that there is an AdGroupFeedService that can give you 
feed items for a given campaign, but not sure if this API would return 
sitelinks, and if it does, how to filter to process sitelinks only.

On Monday, 13 January 2020 15:48:54 UTC-5, Geofrey F wrote:
>
> Is there an easier way to fetch all sitelinks for a given campaign on both 
> campaign and ad-group level? 
>
> currently we're doing a few things:
> - fetch all campaign-level sitelinks using CampaignExtensionSettingService
> - fetch all adgroups for a given campaign using CampaignService
> - for each adgroup fetch sitelinks using AdgroupExtensionSettingService
>
>  just looking to see if there's a more efficient way of doing this.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/23aa5b37-3d7d-4708-8c9f-d020fcc2593f%40googlegroups.com.


Re: Get Sitelinks Urls from an account

2016-02-12 Thread 'Yin Niu' via AdWords API Forum
Hi, 

You could use the AdGroupExtensionService 

 to 
retrieve sitelinkFeedItem 

 and 
the sitelinkFinalUrls 

 
. 

Thanks,
Yin, AdWords API Team. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/28d88c3b-a6b3-464e-a588-14a8b27d7288%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.