Questions tagged [targeting]

"Targeting" is to make a thing or group a target, to select it or them to be acted upon. In a context of programming, is to select or wish to select an object or entity and to execute some code that has effect on the 'target'.

"Targeting" is to make a thing or group a target, to select it or them to be acted upon. In a context of programming, it is the action of selecting an object or entity with one part of the code and do something specific to the 'target'.

In most programming languages we define targets with an 'id' and give it a unique identifier; setting variables that hold a target object, etc. This allows us to then reference it at ease, which allows us to create solutions much more easily.

For example, in CSS we target elements with specific classes or id's and set rules for those to abide by:

.class #id {
    color: #FFF;
}
170 questions
2
votes
0 answers

Facebook Targeting Field removed from 'Post' object documentation

Within the documentation for Status and Post there used to be a field called 'targeting'. See: http://developers.facebook.com/docs/reference/api/status/ and https://developers.facebook.com/docs/reference/api/post/ However, now that 'targeting'…
2
votes
3 answers

How to specify location targeting of FB post via Graph API

Some time ago there was a field called targeting in the Post API Reference but now it's gone and I don't know how to add a specific location and language targeting to the post via API. I've search a lot: some results refer to the targeting…
haynar
  • 5,961
  • 7
  • 33
  • 53
2
votes
1 answer

Targeting the last odd element with a given class

I have a dynamic photo list, pulled from the CMS. Photos are vertical and horizontal. I am trying to create a "dynamic grid" where all horizontal photos are 100% wide and vertical photos are 50% wide. I was able to achieve this with the help of…
2
votes
0 answers

UWP How to programmatically set the touch target size of a UIElement

I have a button very small (18 x 18 pixels) and I would like to programmatically extend its touch target size. Is it possible? How?
Cristiano Ghersi
  • 1,944
  • 1
  • 20
  • 46
2
votes
0 answers

Facebook custom audience API. Users are added, but nothing gets matched. Hashing issue maybe?

I'm using https://github.com/facebook/facebook-php-ads-sdk in Laravel PHP to add users to a Facebook Custom Audience. The request goes fine, but after a few days of adding users, nothing gets matched. If I manually add users to that same audience,…
2
votes
1 answer

Cookie Syncing: user id mapping between different cookie domains

I am quite new to ad targeting field, and have a question while reading blogs about cookie syncing. Let's assume User123 has never been to Amazon.com and Facebook.com in her entire life, and the scenario is User123 bought a PS4 on Amazon and then…
Cloud_cal
  • 132
  • 2
  • 12
2
votes
1 answer

Python-Selenium Targeting a user within a list of other users

I am trying to target a user in a list of other users. For example I created an automated test case to create a user named "tester1". I would now like to create a test case that finds and deletes "tester1" within a list of other users. Right now my…
Chris
  • 123
  • 1
  • 1
  • 21
2
votes
4 answers

Immediate children css, and only those

What I'm trying to achieve sounds really simple, but is not. I don't even know if I can accomplish what I'm trying todo. Ok so we got our element with the classname .parent, .parent got two div children, one is immediate and the other one is put…
kortes
  • 33
  • 1
  • 9
2
votes
2 answers

jQuery .on() is giving me the wrong "this"

Probably a slap-my-forehead solution, but:

click me

click me

click me